Ignore:
Timestamp:
Feb 5, 2008, 5:21:20 PM (16 years ago)
Author:
rosiere
Message:
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Write_queue/SelfTest/src/test.cpp

    r74 r77  
    5050  public  : Tpacket_t          _packet_id    ;
    5151//public  : Toperation_t       _operation    ;
    52 //public  : Ttype_t            _type         ;
     52  public  : Ttype_t            _type         ;
    5353  public  : Tcontrol_t         _write_rd     ;
    5454  public  : Tgeneral_address_t _num_reg_rd   ;
     
    6666                     Tpacket_t          packet_id    ,
    6767                     //Toperation_t       operation    ,
    68                      //Ttype_t            type         ,
     68                     Ttype_t            type         ,
    6969                     Tcontrol_t         write_rd     ,
    7070                     Tgeneral_address_t num_reg_rd   ,
     
    8282      _packet_id     = packet_id    ;
    8383    //_operation     = operation    ;
    84     //_type          = type         ;
     84      _type          = type         ;
    8585      _write_rd      = write_rd     ;
    8686      _num_reg_rd    = num_reg_rd   ;
     
    102102                    << " * _packet_id     : " << toString(x._packet_id    ) << std::endl
    103103                  //<< " * _operation     : " << toString(x._operation    ) << std::endl
    104                   //<< " * _type          : " << toString(x._type         ) << std::endl
     104                    << " * _type          : " << toString(x._type         ) << std::endl
    105105                    << " * _write_rd      : " << toString(x._write_rd     ) << std::endl
    106106                    << " * _num_reg_rd    : " << toString(x._num_reg_rd   ) << std::endl
     
    149149  ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_PACKET_ID     ," in_WRITE_QUEUE_IN_PACKET_ID"     , Tpacket_t         );
    150150//ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_OPERATION     ," in_WRITE_QUEUE_IN_OPERATION"     , Toperation_t      );
    151 //ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_TYPE          ," in_WRITE_QUEUE_IN_TYPE"          , Ttype_t           );
     151  ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_TYPE          ," in_WRITE_QUEUE_IN_TYPE"          , Ttype_t           );
    152152  ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_WRITE_RD      ," in_WRITE_QUEUE_IN_WRITE_RD"      , Tcontrol_t        );
    153153  ALLOC_SC_SIGNAL ( in_WRITE_QUEUE_IN_NUM_REG_RD    ," in_WRITE_QUEUE_IN_NUM_REG_RD"    , Tgeneral_address_t);
     
    209209  INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_PACKET_ID     );
    210210//INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_OPERATION     );
    211 //INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_TYPE          );
     211  INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_TYPE          );
    212212  INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_WRITE_RD      );
    213213  INSTANCE_SC_SIGNAL (_Write_queue,  in_WRITE_QUEUE_IN_NUM_REG_RD    );
     
    322322                                     i,
    323323                                   //range<Toperation_t      >(rand(),_param->_size_operation       ),
    324                                    //range<Ttype_t           >(rand(),_param->_size_type            ),
     324                                     range<Ttype_t           >(rand(),_param->_size_type            ),
    325325                                     range<Tcontrol_t        >(rand(),1                             ),
    326326                                     range<Tgeneral_address_t>(rand(),_param->_size_general_register),
     
    354354            in_WRITE_QUEUE_IN_PACKET_ID    ->write(request [nb_request_in]->_packet_id    );
    355355          //in_WRITE_QUEUE_IN_OPERATION    ->write(request [nb_request_in]->_operation    );
    356           //in_WRITE_QUEUE_IN_TYPE         ->write(request [nb_request_in]->_type         );
     356            in_WRITE_QUEUE_IN_TYPE         ->write(request [nb_request_in]->_type         );
    357357            in_WRITE_QUEUE_IN_WRITE_RD     ->write(request [nb_request_in]->_write_rd     );
    358358            in_WRITE_QUEUE_IN_NUM_REG_RD   ->write(request [nb_request_in]->_num_reg_rd   );
Note: See TracChangeset for help on using the changeset viewer.