Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 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/Read_queue/SelfTest/src/test.cpp

    r82 r88  
    2323#endif
    2424
     25  Tusage_t _usage = USE_ALL;
     26
     27//   _usage = usage_unset(_usage,USE_SYSTEMC              );
     28//   _usage = usage_unset(_usage,USE_VHDL                 );
     29//   _usage = usage_unset(_usage,USE_VHDL_TESTBENCH       );
     30//   _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT);
     31//   _usage = usage_unset(_usage,USE_POSITION             );
     32//   _usage = usage_unset(_usage,USE_STATISTICS           );
     33//   _usage = usage_unset(_usage,USE_INFORMATION          );
     34
    2535  Read_queue * _Read_queue = new Read_queue (name.c_str(),
    2636#ifdef STATISTICS
     
    2838#endif
    2939                                             _param,
    30                                              USE_ALL);
     40                                             _usage);
    3141 
    3242#ifdef SYSTEMC
     
    200210  if(_param->_have_port_ooo_engine_id)
    201211    (*(_Read_queue-> in_READ_QUEUE_IN_OOO_ENGINE_ID  )) (*(READ_QUEUE_IN_OOO_ENGINE_ID  ));
    202   if(_param->_have_port_rob_id       )
     212  if(_param->_have_port_rob_ptr       )
    203213    (*(_Read_queue-> in_READ_QUEUE_IN_ROB_ID         )) (*(READ_QUEUE_IN_ROB_ID         ));
    204214  (*(_Read_queue-> in_READ_QUEUE_IN_OPERATION      )) (*(READ_QUEUE_IN_OPERATION      ));
     
    228238  if(_param->_have_port_ooo_engine_id)
    229239    (*(_Read_queue->out_READ_QUEUE_OUT_OOO_ENGINE_ID )) (*(READ_QUEUE_OUT_OOO_ENGINE_ID ));
    230   if(_param->_have_port_rob_id       )
     240  if(_param->_have_port_rob_ptr       )
    231241    (*(_Read_queue->out_READ_QUEUE_OUT_ROB_ID        )) (*(READ_QUEUE_OUT_ROB_ID        ));
    232242  (*(_Read_queue->out_READ_QUEUE_OUT_OPERATION     )) (*(READ_QUEUE_OUT_OPERATION     ));
     
    388398              if(_param->_have_port_front_end_id )
    389399                READ_QUEUE_IN_FRONT_END_ID   ->write((3*_ooo_engine_id [request_in])%_param->_nb_front_end);
    390               if(_param->_have_port_rob_id       )
     400              if(_param->_have_port_rob_ptr       )
    391401                READ_QUEUE_IN_ROB_ID      ->write(request_in);
    392402              READ_QUEUE_IN_OPERATION   ->write(0);
     
    504514            {
    505515              Tpacket_t  rob_id;
    506               if(_param->_have_port_rob_id       )
     516              if(_param->_have_port_rob_ptr       )
    507517                rob_id = READ_QUEUE_OUT_ROB_ID->read();
    508518              else
     
    551561  TEST_OK ("End of Simulation");
    552562  delete _time;
     563
    553564  cout << "<" << name << "> ............ Stop Simulation" << endl;
    554565
     
    564575   if(_param->_have_port_ooo_engine_id )
    565576     delete    READ_QUEUE_IN_OOO_ENGINE_ID;
    566    if(_param->_have_port_rob_id       )
     577   if(_param->_have_port_rob_ptr       )
    567578     delete    READ_QUEUE_IN_ROB_ID    ;
    568579   delete    READ_QUEUE_IN_OPERATION    ;
     
    592603   if(_param->_have_port_ooo_engine_id )
    593604     delete    READ_QUEUE_OUT_OOO_ENGINE_ID;
    594    if(_param->_have_port_rob_id       )
     605   if(_param->_have_port_rob_ptr       )
    595606     delete    READ_QUEUE_OUT_ROB_ID      ;
    596607   delete    READ_QUEUE_OUT_OPERATION   ;
Note: See TracChangeset for help on using the changeset viewer.