Changeset 121 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit
- Timestamp:
- May 27, 2009, 12:13:56 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/SelfTest/src/test.cpp
r88 r121 135 135 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_CONTEXT_ID ,_param->_nb_inst_insert); 136 136 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RA ,_param->_nb_inst_insert); 137 #ifdef DEBUG 137 138 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RA_LOG ,_param->_nb_inst_insert); 139 #endif 138 140 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RA_PHY ,_param->_nb_inst_insert); 139 141 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RB ,_param->_nb_inst_insert); 142 #ifdef DEBUG 140 143 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RB_LOG ,_param->_nb_inst_insert); 144 #endif 141 145 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RB_PHY ,_param->_nb_inst_insert); 142 146 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_READ_RC ,_param->_nb_inst_insert); 147 #ifdef DEBUG 143 148 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RC_LOG ,_param->_nb_inst_insert); 149 #endif 144 150 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_NUM_REG_RC_PHY ,_param->_nb_inst_insert); 145 151 INSTANCE1_SC_SIGNAL(_Dependency_checking_unit,out_RENAME_OUT_WRITE_RD ,_param->_nb_inst_insert); … … 324 330 325 331 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RA [i]->read(), read_ra ); 332 #ifdef DEBUG 326 333 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RA_LOG [i]->read(), num_reg_ra_log ); 334 #endif 327 335 if (read_ra) 328 336 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RA_PHY [i]->read(), rat_gpr[front_end_id][context_id][num_reg_ra_log]); 329 337 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RB [i]->read(), read_rb ); 338 #ifdef DEBUG 330 339 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RB_LOG [i]->read(), num_reg_rb_log ); 340 #endif 331 341 if (read_rb) 332 342 TEST(Tgeneral_address_t,out_RENAME_OUT_NUM_REG_RB_PHY [i]->read(), rat_gpr[front_end_id][context_id][num_reg_rb_log]); 333 343 TEST(Tcontrol_t ,out_RENAME_OUT_READ_RC [i]->read(), read_rc ); 344 #ifdef DEBUG 334 345 TEST(Tspecial_address_t,out_RENAME_OUT_NUM_REG_RC_LOG [i]->read(), num_reg_rc_log ); 346 #endif 335 347 if (read_rc) 336 348 TEST(Tspecial_address_t,out_RENAME_OUT_NUM_REG_RC_PHY [i]->read(), rat_spr[front_end_id][context_id][num_reg_rc_log]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/include/Dependency_checking_unit.h
r82 r121 92 92 public : SC_OUT(Tcontext_t ) ** out_RENAME_OUT_CONTEXT_ID ;//[nb_inst_insert] 93 93 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RA ;//[nb_inst_insert] 94 #ifdef DEBUG 94 95 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RA_LOG ;//[nb_inst_insert] 96 #endif 95 97 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RA_PHY ;//[nb_inst_insert] 96 98 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RB ;//[nb_inst_insert] 99 #ifdef DEBUG 97 100 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RB_LOG ;//[nb_inst_insert] 101 #endif 98 102 public : SC_OUT(Tgeneral_address_t) ** out_RENAME_OUT_NUM_REG_RB_PHY ;//[nb_inst_insert] 99 103 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_READ_RC ;//[nb_inst_insert] 104 #ifdef DEBUG 100 105 public : SC_OUT(Tspecial_address_t) ** out_RENAME_OUT_NUM_REG_RC_LOG ;//[nb_inst_insert] 106 #endif 101 107 public : SC_OUT(Tspecial_address_t) ** out_RENAME_OUT_NUM_REG_RC_PHY ;//[nb_inst_insert] 102 108 public : SC_OUT(Tcontrol_t ) ** out_RENAME_OUT_WRITE_RD ;//[nb_inst_insert] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit.cpp
r88 r121 131 131 (*(out_RENAME_OUT_CONTEXT_ID [i])) (*(in_RENAME_IN_CONTEXT_ID [i])); 132 132 (*(out_RENAME_OUT_READ_RA [i])) (*(in_RENAME_IN_READ_RA [i])); 133 #ifdef DEBUG 133 134 (*(out_RENAME_OUT_NUM_REG_RA_LOG [i])) (*(in_RENAME_IN_NUM_REG_RA_LOG [i])); 135 #endif 134 136 (*(out_RENAME_OUT_READ_RB [i])) (*(in_RENAME_IN_READ_RB [i])); 137 #ifdef DEBUG 135 138 (*(out_RENAME_OUT_NUM_REG_RB_LOG [i])) (*(in_RENAME_IN_NUM_REG_RB_LOG [i])); 139 #endif 136 140 (*(out_RENAME_OUT_READ_RC [i])) (*(in_RENAME_IN_READ_RC [i])); 141 #ifdef DEBUG 137 142 (*(out_RENAME_OUT_NUM_REG_RC_LOG [i])) (*(in_RENAME_IN_NUM_REG_RC_LOG [i])); 143 #endif 138 144 (*(out_RENAME_OUT_WRITE_RD [i])) (*(in_RENAME_IN_WRITE_RD [i])); 139 145 (*(out_RENAME_OUT_NUM_REG_RD_LOG [i])) (*(in_RENAME_IN_NUM_REG_RD_LOG [i])); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_allocation.cpp
r112 r121 94 94 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 95 95 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RA ,"read_ra" ,Tcontrol_t ,1 ); 96 #ifdef DEBUG 96 97 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RA_LOG ,"num_reg_ra_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 98 #endif 97 99 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RA_PHY ,"num_reg_ra_phy" ,Tgeneral_address_t,_param->_size_general_register ); 98 100 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RB ,"read_rb" ,Tcontrol_t ,1 ); 101 #ifdef DEBUG 99 102 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RB_LOG ,"num_reg_rb_log" ,Tgeneral_address_t,_param->_size_general_register_logic); 103 #endif 100 104 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RB_PHY ,"num_reg_rb_phy" ,Tgeneral_address_t,_param->_size_general_register ); 101 105 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_READ_RC ,"read_rc" ,Tcontrol_t ,1 ); 106 #ifdef DEBUG 102 107 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RC_LOG ,"num_reg_rc_log" ,Tspecial_address_t,_param->_size_special_register_logic); 108 #endif 103 109 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_NUM_REG_RC_PHY ,"num_reg_rc_phy" ,Tspecial_address_t,_param->_size_special_register ); 104 110 ALLOC1_SIGNAL_OUT(out_RENAME_OUT_WRITE_RD ,"write_rd" ,Tcontrol_t ,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_deallocation.cpp
r112 r121 57 57 DELETE1_SIGNAL(out_RENAME_OUT_CONTEXT_ID ,_param->_nb_inst_insert,_param->_size_context_id ); 58 58 DELETE1_SIGNAL(out_RENAME_OUT_READ_RA ,_param->_nb_inst_insert,1 ); 59 #ifdef DEBUG 59 60 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 61 #endif 60 62 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RA_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 61 63 DELETE1_SIGNAL(out_RENAME_OUT_READ_RB ,_param->_nb_inst_insert,1 ); 64 #ifdef DEBUG 62 65 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_LOG ,_param->_nb_inst_insert,_param->_size_general_register_logic); 66 #endif 63 67 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RB_PHY ,_param->_nb_inst_insert,_param->_size_general_register ); 64 68 DELETE1_SIGNAL(out_RENAME_OUT_READ_RC ,_param->_nb_inst_insert,1 ); 69 #ifdef DEBUG 65 70 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_LOG ,_param->_nb_inst_insert,_param->_size_special_register_logic); 71 #endif 66 72 DELETE1_SIGNAL(out_RENAME_OUT_NUM_REG_RC_PHY ,_param->_nb_inst_insert,_param->_size_special_register ); 67 73 DELETE1_SIGNAL(out_RENAME_OUT_WRITE_RD ,_param->_nb_inst_insert,1 ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Dependency_checking_unit_genMealy.cpp
r88 r121 200 200 PORT_WRITE(out_RENAME_OUT_CONTEXT_ID [i], context_id [i]); 201 201 PORT_WRITE(out_RENAME_OUT_READ_RA [i], read_ra [i]); 202 #ifdef DEBUG 202 203 PORT_WRITE(out_RENAME_OUT_NUM_REG_RA_LOG [i], num_reg_ra_log [i]); 204 #endif 203 205 PORT_WRITE(out_RENAME_OUT_NUM_REG_RA_PHY [i], num_reg_ra_phy [i]); 204 206 PORT_WRITE(out_RENAME_OUT_READ_RB [i], read_rb [i]); 207 #ifdef DEBUG 205 208 PORT_WRITE(out_RENAME_OUT_NUM_REG_RB_LOG [i], num_reg_rb_log [i]); 209 #endif 206 210 PORT_WRITE(out_RENAME_OUT_NUM_REG_RB_PHY [i], num_reg_rb_phy [i]); 207 211 PORT_WRITE(out_RENAME_OUT_READ_RC [i], read_rc [i]); 212 #ifdef DEBUG 208 213 PORT_WRITE(out_RENAME_OUT_NUM_REG_RC_LOG [i], num_reg_rc_log [i]); 214 #endif 209 215 PORT_WRITE(out_RENAME_OUT_NUM_REG_RC_PHY [i], num_reg_rc_phy [i]); 210 216 PORT_WRITE(out_RENAME_OUT_WRITE_RD [i], write_rd [i]);
Note: See TracChangeset
for help on using the changeset viewer.