Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/SelfTest/src/test.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/SelfTest/src/test.cpp
r82 r88 99 99 #endif 100 100 101 Tusage_t _usage = USE_ALL; 102 103 // _usage = usage_unset(_usage,USE_SYSTEMC ); 104 // _usage = usage_unset(_usage,USE_VHDL ); 105 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH ); 106 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT); 107 // _usage = usage_unset(_usage,USE_POSITION ); 108 _usage = usage_unset(_usage,USE_STATISTICS ); 109 // _usage = usage_unset(_usage,USE_INFORMATION ); 110 101 111 Write_unit * _Write_unit = new Write_unit 102 112 (name.c_str(), … … 105 115 #endif 106 116 _param, 107 USE_ALL);117 _usage); 108 118 109 119 #ifdef SYSTEMC … … 145 155 ALLOC_SC_SIGNAL (out_WRITE_UNIT_OUT_NO_SEQUENCE ,"out_WRITE_UNIT_OUT_NO_SEQUENCE" , Tcontrol_t ); 146 156 ALLOC_SC_SIGNAL (out_WRITE_UNIT_OUT_ADDRESS ,"out_WRITE_UNIT_OUT_ADDRESS" , Tgeneral_data_t ); 157 ALLOC_SC_SIGNAL (out_WRITE_UNIT_OUT_DATA ,"out_WRITE_UNIT_OUT_DATA" , Tgeneral_data_t ); 147 158 ALLOC1_SC_SIGNAL(out_GPR_WRITE_VAL ,"out_GPR_WRITE_VAL" , Tcontrol_t , _param->_nb_gpr_write); 148 159 ALLOC1_SC_SIGNAL( in_GPR_WRITE_ACK ," in_GPR_WRITE_ACK" , Tcontrol_t , _param->_nb_gpr_write); … … 181 192 if (_param->_have_port_ooo_engine_id) 182 193 INSTANCE_SC_SIGNAL (_Write_unit, in_WRITE_UNIT_IN_OOO_ENGINE_ID ); 183 if (_param->_have_port_ packet_id)194 if (_param->_have_port_rob_ptr) 184 195 INSTANCE_SC_SIGNAL (_Write_unit, in_WRITE_UNIT_IN_PACKET_ID ); 185 196 //INSTANCE_SC_SIGNAL (_Write_unit, in_WRITE_UNIT_IN_OPERATION ); … … 202 213 if (_param->_have_port_ooo_engine_id) 203 214 INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_OOO_ENGINE_ID); 204 if (_param->_have_port_ packet_id)215 if (_param->_have_port_rob_ptr) 205 216 INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_PACKET_ID ); 206 217 //INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_OPERATION ); … … 210 221 INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_NO_SEQUENCE ); 211 222 INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_ADDRESS ); 223 INSTANCE_SC_SIGNAL (_Write_unit, out_WRITE_UNIT_OUT_DATA ); 212 224 INSTANCE1_SC_SIGNAL(_Write_unit, out_GPR_WRITE_VAL , _param->_nb_gpr_write); 213 225 INSTANCE1_SC_SIGNAL(_Write_unit, in_GPR_WRITE_ACK , _param->_nb_gpr_write); … … 445 457 { 446 458 Tcontext_t packet; 447 if (_param->_have_port_ packet_id)459 if (_param->_have_port_rob_ptr) 448 460 packet = out_WRITE_UNIT_OUT_PACKET_ID->read(); 449 461 else … … 479 491 TEST(Tcontrol_t , out_WRITE_UNIT_OUT_NO_SEQUENCE ->read(), request [packet]->_no_sequence ); 480 492 TEST(Tgeneral_data_t, out_WRITE_UNIT_OUT_ADDRESS ->read(), request [packet]->_address ); 493 TEST(Tgeneral_data_t, out_WRITE_UNIT_OUT_DATA ->read(), request [packet]->_data_rd ); 481 494 482 495 nb_request_out ++;
Note: See TracChangeset
for help on using the changeset viewer.