Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/src/test.cpp

    r82 r88  
    2222#endif
    2323
     24  Tusage_t _usage = USE_ALL;
     25
     26//   _usage = usage_unset(_usage,USE_SYSTEMC              );
     27//   _usage = usage_unset(_usage,USE_VHDL                 );
     28//   _usage = usage_unset(_usage,USE_VHDL_TESTBENCH       );
     29//   _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT);
     30//   _usage = usage_unset(_usage,USE_POSITION             );
     31   _usage = usage_unset(_usage,USE_STATISTICS           );
     32//   _usage = usage_unset(_usage,USE_INFORMATION          );
     33
    2434  Reservation_station * _Reservation_station = new Reservation_station
    2535    (name.c_str(),
     
    2838#endif
    2939     _param,
    30      USE_ALL);
     40     _usage);
    3141 
    3242#ifdef SYSTEMC
     
    185195  if (_param->_have_port_ooo_engine_id)
    186196  (*(_Reservation_station-> in_INSERT_OOO_ENGINE_ID    )) (*( in_INSERT_OOO_ENGINE_ID    ));
    187   if (_param->_have_port_rob_id)
     197  if (_param->_have_port_rob_ptr)
    188198  (*(_Reservation_station-> in_INSERT_ROB_ID           )) (*( in_INSERT_ROB_ID           ));
    189199  (*(_Reservation_station-> in_INSERT_OPERATION        )) (*( in_INSERT_OPERATION        ));
     
    221231  if (_param->_have_port_ooo_engine_id)
    222232  (*(_Reservation_station->out_RETIRE_OOO_ENGINE_ID  [i])) (*(out_RETIRE_OOO_ENGINE_ID  [i]));
    223   if (_param->_have_port_rob_id)
     233  if (_param->_have_port_rob_ptr)
    224234  (*(_Reservation_station->out_RETIRE_ROB_ID         [i])) (*(out_RETIRE_ROB_ID         [i]));
    225235  (*(_Reservation_station->out_RETIRE_OPERATION      [i])) (*(out_RETIRE_OPERATION      [i]));
     
    417427              if (_param->_have_port_ooo_engine_id)
    418428              in_INSERT_OOO_ENGINE_ID  ->write(insert_ooo_engine_id);
    419               if (_param->_have_port_rob_id)
     429              if (_param->_have_port_rob_ptr)
    420430              in_INSERT_ROB_ID      ->write(request_in);
    421431              in_INSERT_OPERATION   ->write(0);
     
    610620                {
    611621                  Tpacket_t  rob_id;
    612                   if (_param->_have_port_rob_id)
     622                  if (_param->_have_port_rob_ptr)
    613623                    rob_id = out_RETIRE_ROB_ID [i]->read();
    614624                  else
     
    667677  if (_param->_have_port_ooo_engine_id) 
    668678  delete     in_INSERT_OOO_ENGINE_ID  ;
    669   if (_param->_have_port_rob_id
     679  if (_param->_have_port_rob_ptr
    670680  delete     in_INSERT_ROB_ID      ;
    671681  delete     in_INSERT_OPERATION   ;
     
    701711  if (_param->_have_port_ooo_engine_id) 
    702712  delete [] out_RETIRE_OOO_ENGINE_ID  ;
    703   if (_param->_have_port_rob_id
     713  if (_param->_have_port_rob_ptr
    704714  delete [] out_RETIRE_ROB_ID   ;
    705715  delete [] out_RETIRE_OPERATION   ;
Note: See TracChangeset for help on using the changeset viewer.