Changeset 108 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/SelfTest/src
- Timestamp:
- Feb 12, 2009, 12:55:06 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/SelfTest/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/SelfTest/src/main.cpp
r88 r108 8 8 #include "Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/SelfTest/include/test.h" 9 9 10 #define NB_PARAMS 410 #define NB_PARAMS 5 11 11 12 12 void usage (int argc, char * argv[]) … … 22 22 err (_(" * size_depth [nb_context] (uint32_t)\n")); 23 23 err (_(" * nb_branch_speculated [nb_context] (uint32_t)\n")); 24 err (_(" * size_nb_inst_decod (uint32_t)\n")); 24 25 25 26 exit (1); … … 69 70 _nb_branch_speculated [i] = fromString<uint32_t>(argv[x++]); 70 71 72 uint32_t _size_nb_inst_decod = fromString<uint32_t>(argv[x++]); 73 71 74 std::vector<uint32_t> * _translate_context_id_from_decod_unit = new std::vector<uint32_t> [_nb_decod_unit]; 72 75 … … 87 90 _size_depth , 88 91 _nb_branch_speculated , 92 _size_nb_inst_decod , 89 93 true // is_toplevel 90 94 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Front_end_Glue/SelfTest/src/test.cpp
r101 r108 104 104 ALLOC2_SC_SIGNAL(out_CONTEXT_DECOD_UNIT_DEPTH_VAL ,"out_CONTEXT_DECOD_UNIT_DEPTH_VAL ",Tcontrol_t,_param->_nb_decod_unit,_param->_decod_unit_nb_context [it1]); 105 105 ALLOC2_SC_SIGNAL(out_CONTEXT_DECOD_UNIT_DEPTH ,"out_CONTEXT_DECOD_UNIT_DEPTH ",Tdepth_t ,_param->_nb_decod_unit,_param->_decod_unit_nb_context [it1]); 106 107 ALLOC1_SC_SIGNAL(out_NB_INST_DECOD_ALL ,"out_NB_INST_DECOD_ALL ",Tcounter_t,_param->_nb_context); 108 ALLOC1_SC_SIGNAL( in_NB_INST_DECOD_UNIT_DECOD_ALL ," in_NB_INST_DECOD_UNIT_DECOD_ALL ",Tcounter_t,_param->_nb_context); 109 ALLOC1_SC_SIGNAL(out_NB_INST_CONTEXT_STATE_DECOD_ALL ,"out_NB_INST_CONTEXT_STATE_DECOD_ALL ",Tcounter_t,_param->_nb_context); 106 110 107 111 /******************************************************** … … 182 186 } 183 187 188 INSTANCE1_SC_SIGNAL(_Front_end_Glue,out_NB_INST_DECOD_ALL ,_param->_nb_context); 189 INSTANCE1_SC_SIGNAL(_Front_end_Glue, in_NB_INST_DECOD_UNIT_DECOD_ALL ,_param->_nb_context); 190 INSTANCE1_SC_SIGNAL(_Front_end_Glue,out_NB_INST_CONTEXT_STATE_DECOD_ALL ,_param->_nb_context); 191 184 192 msg(_("<%s> : Start Simulation ............\n"),name.c_str()); 185 193 … … 282 290 DELETE2_SC_SIGNAL(out_CONTEXT_DECOD_UNIT_DEPTH_VAL ,_param->_nb_decod_unit,_param->_decod_unit_nb_context [it1]); 283 291 DELETE2_SC_SIGNAL(out_CONTEXT_DECOD_UNIT_DEPTH ,_param->_nb_decod_unit,_param->_decod_unit_nb_context [it1]); 292 293 DELETE1_SC_SIGNAL(out_NB_INST_DECOD_ALL ,_param->_nb_context); 294 DELETE1_SC_SIGNAL( in_NB_INST_DECOD_UNIT_DECOD_ALL ,_param->_nb_context); 295 DELETE1_SC_SIGNAL(out_NB_INST_CONTEXT_STATE_DECOD_ALL ,_param->_nb_context); 284 296 } 285 297 #endif
Note: See TracChangeset
for help on using the changeset viewer.