Ignore:
Timestamp:
Feb 2, 2008, 12:39:01 PM (16 years ago)
Author:
rosiere
Message:

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station
Files:
15 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/configuration_multi_port_bypass_memory.cfg

    r75 r76  
    16160       0       *2      # nb_bypass_write
    17171       4       *2      # nb_bypass_memory
     184       4       *2      # size_store_queue
     194       4       *2      # size_load_queue
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_bypass_write.cfg

    r75 r76  
    16161       4       *2      # nb_bypass_write
    17170       0       *2      # nb_bypass_memory
     184       4       *2      # size_store_queue
     194       4       *2      # size_load_queue
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_retire2.cfg

    r75 r76  
    16160       0       *2      # nb_bypass_write
    17170       0       *2      # nb_bypass_memory
     184       4       *2      # size_store_queue
     194       4       *2      # size_load_queue
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_retire4.cfg

    r75 r76  
    16160       0       *2      # nb_bypass_write
    17170       0       *2      # nb_bypass_memory
     184       4       *2      # size_store_queue
     194       4       *2      # size_load_queue
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/configuration_multi_port_write.cfg

    r75 r76  
    16160       0       *2      # nb_bypass_write
    17170       0       *2      # nb_bypass_memory
     184       4       *2      # size_store_queue
     194       4       *2      # size_load_queue
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/src/main.cpp

    r69 r76  
    88#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/include/test.h"
    99
    10 #define NB_PARAMS 16
     10#define NB_PARAMS 18
    1111
    1212void usage (int argc, char * argv[])
     
    3030       << " - nb_bypass_write     (unsigned int)" << endl
    3131       << " - nb_bypass_memory    (unsigned int)" << endl
     32       << " - size_store_queue    (unsigned int)" << endl
     33       << " - size_load_queue     (unsigned int)" << endl
    3234       << "" << endl;
    3335
     
    6668  const uint32_t nb_bypass_write     = atoi(argv[x++]);
    6769  const uint32_t nb_bypass_memory    = atoi(argv[x++]);
     70  const uint32_t size_store_queue    = atoi(argv[x++]);
     71  const uint32_t size_load_queue     = atoi(argv[x++]);
    6872 
    6973  try
     
    8690         ,nb_bypass_write
    8791         ,nb_bypass_memory
     92         ,size_store_queue
     93         ,size_load_queue
    8894         );
    8995     
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/SelfTest/src/test.cpp

    r75 r76  
    7373  sc_signal<Toperation_t      > *  in_INSERT_OPERATION      = new sc_signal<Toperation_t      >;
    7474  sc_signal<Ttype_t           > *  in_INSERT_TYPE           = new sc_signal<Ttype_t           >;
     75  sc_signal<Tlsq_ptr_t        > *  in_INSERT_STORE_QUEUE_PTR_WRITE = new sc_signal<Tlsq_ptr_t>;
     76  sc_signal<Tlsq_ptr_t        > *  in_INSERT_LOAD_QUEUE_PTR_WRITE  = new sc_signal<Tlsq_ptr_t>;
    7577  sc_signal<Tcontrol_t        > *  in_INSERT_HAS_IMMEDIAT   = new sc_signal<Tcontrol_t        >;
    7678  sc_signal<Tgeneral_data_t   > *  in_INSERT_IMMEDIAT       = new sc_signal<Tgeneral_data_t   >;
     
    100102  sc_signal<Toperation_t      > ** out_RETIRE_OPERATION      = new sc_signal<Toperation_t      > * [_param->_nb_inst_retire];
    101103  sc_signal<Ttype_t           > ** out_RETIRE_TYPE           = new sc_signal<Ttype_t           > * [_param->_nb_inst_retire];
     104  sc_signal<Tlsq_ptr_t        > ** out_RETIRE_STORE_QUEUE_PTR_WRITE = new sc_signal<Tlsq_ptr_t> * [_param->_nb_inst_retire];
     105  sc_signal<Tlsq_ptr_t        > ** out_RETIRE_LOAD_QUEUE_PTR_WRITE  = new sc_signal<Tlsq_ptr_t> * [_param->_nb_inst_retire];
    102106  sc_signal<Tcontrol_t        > ** out_RETIRE_HAS_IMMEDIAT   = new sc_signal<Tcontrol_t        > * [_param->_nb_inst_retire];
    103107  sc_signal<Tgeneral_data_t   > ** out_RETIRE_IMMEDIAT       = new sc_signal<Tgeneral_data_t   > * [_param->_nb_inst_retire];
     
    120124      out_RETIRE_OPERATION       [i] = new sc_signal<Toperation_t      > (rename.c_str());
    121125      out_RETIRE_TYPE            [i] = new sc_signal<Ttype_t           > (rename.c_str());
     126      out_RETIRE_STORE_QUEUE_PTR_WRITE [i] = new sc_signal<Tlsq_ptr_t> (rename.c_str());
     127      out_RETIRE_LOAD_QUEUE_PTR_WRITE  [i] = new sc_signal<Tlsq_ptr_t> (rename.c_str());
    122128      out_RETIRE_HAS_IMMEDIAT    [i] = new sc_signal<Tcontrol_t        > (rename.c_str());
    123129      out_RETIRE_IMMEDIAT        [i] = new sc_signal<Tgeneral_data_t   > (rename.c_str());
     
    209215  (*(_Reservation_station-> in_INSERT_OPERATION        )) (*( in_INSERT_OPERATION        ));
    210216  (*(_Reservation_station-> in_INSERT_TYPE             )) (*( in_INSERT_TYPE             ));
     217  (*(_Reservation_station-> in_INSERT_STORE_QUEUE_PTR_WRITE)) (*( in_INSERT_STORE_QUEUE_PTR_WRITE));
     218  (*(_Reservation_station-> in_INSERT_LOAD_QUEUE_PTR_WRITE )) (*( in_INSERT_LOAD_QUEUE_PTR_WRITE ));
    211219  (*(_Reservation_station-> in_INSERT_HAS_IMMEDIAT     )) (*( in_INSERT_HAS_IMMEDIAT     ));
    212220  (*(_Reservation_station-> in_INSERT_IMMEDIAT         )) (*( in_INSERT_IMMEDIAT         ));
     
    242250  (*(_Reservation_station->out_RETIRE_OPERATION      [i])) (*(out_RETIRE_OPERATION      [i]));
    243251  (*(_Reservation_station->out_RETIRE_TYPE           [i])) (*(out_RETIRE_TYPE           [i]));
     252  (*(_Reservation_station->out_RETIRE_STORE_QUEUE_PTR_WRITE [i])) (*(out_RETIRE_STORE_QUEUE_PTR_WRITE [i]));
     253  (*(_Reservation_station->out_RETIRE_LOAD_QUEUE_PTR_WRITE  [i])) (*(out_RETIRE_LOAD_QUEUE_PTR_WRITE  [i]));
    244254  (*(_Reservation_station->out_RETIRE_HAS_IMMEDIAT   [i])) (*(out_RETIRE_HAS_IMMEDIAT   [i]));
    245255  (*(_Reservation_station->out_RETIRE_IMMEDIAT       [i])) (*(out_RETIRE_IMMEDIAT       [i]));
     
    435445              in_INSERT_OPERATION   ->write(0);
    436446              in_INSERT_TYPE        ->write(0);
     447              in_INSERT_STORE_QUEUE_PTR_WRITE->write(0);
     448              in_INSERT_LOAD_QUEUE_PTR_WRITE ->write(0);
    437449              in_INSERT_HAS_IMMEDIAT->write(0);
    438450              in_INSERT_IMMEDIAT    ->write(0);
     
    679691  delete     in_INSERT_OPERATION   ;
    680692  delete     in_INSERT_TYPE        ;
     693  delete     in_INSERT_STORE_QUEUE_PTR_WRITE;
     694  delete     in_INSERT_LOAD_QUEUE_PTR_WRITE ;
    681695  delete     in_INSERT_HAS_IMMEDIAT;
    682696  delete     in_INSERT_IMMEDIAT    ;
     
    710724  delete [] out_RETIRE_OPERATION   ;
    711725  delete [] out_RETIRE_TYPE        ;
     726  delete [] out_RETIRE_STORE_QUEUE_PTR_WRITE;
     727  delete [] out_RETIRE_LOAD_QUEUE_PTR_WRITE ;
    712728  delete [] out_RETIRE_HAS_IMMEDIAT;
    713729  delete [] out_RETIRE_IMMEDIAT    ;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Parameters.h

    r75 r76  
    4242  public : const uint32_t    _nb_bypass_write      ;//if nb_bypass=0, then bypass is desactivated
    4343  public : const uint32_t    _nb_bypass_memory     ;//if nb_bypass=0, then bypass is desactivated
     44  public : const uint32_t    _size_store_queue     ;
     45  public : const uint32_t    _size_load_queue      ;
     46
    4447    /*
    4548  public : const bool        _have_immediat        ;
     
    8083                        uint32_t nb_spr_write       ,
    8184                        uint32_t nb_bypass_write    ,
    82                         uint32_t nb_bypass_memory   );
     85                        uint32_t nb_bypass_memory   ,
     86                        uint32_t size_store_queue   ,
     87                        uint32_t size_load_queue    );
    8388
    8489  public : Parameters  (Parameters & param) ;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/include/Reservation_station.h

    r75 r76  
    55 * $Id$
    66 *
    7  * [ Description ]
     7 * [ Description ]
    88 *
    99 */
     
    4747  public    : Toperation_t       _operation   ;
    4848  public    : Ttype_t            _type        ;
     49  public    : Tlsq_ptr_t         _store_queue_ptr_write;
     50  public    : Tlsq_ptr_t         _load_queue_ptr_write ;
    4951  public    : Tcontrol_t         _has_immediat;
    5052  public    : Tgeneral_data_t    _immediat    ;
     
    6971                                morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_read_unit::read_unit::reservation_station::Treservation_station_entry_t & x)
    7072    {
    71       output_stream << " * _context_id     : " << toString(x._context_id     ) << std::endl
    72                     << " * _front_end_id   : " << toString(x._front_end_id   ) << std::endl
    73                     << " * _ooo_engine_id  : " << toString(x._ooo_engine_id  ) << std::endl
    74                     << " * _rob_id         : " << toString(x._rob_id         ) << std::endl
    75                     << " * _operation      : " << toString(x._operation      ) << std::endl
    76                     << " * _type           : " << toString(x._type           ) << std::endl
    77                     << " * _has_immediat   : " << toString(x._has_immediat   ) << std::endl
    78                     << " * _immediat       : " << toString(x._immediat       ) << std::endl
    79 //                  << " * _read_ra        : " << toString(x._read_ra        ) << std::endl
    80                     << " * _num_reg_ra     : " << toString(x._num_reg_ra     ) << std::endl
    81                     << " * _data_ra_val    : " << toString(x._data_ra_val    ) << std::endl
    82                     << " * _data_ra        : " << toString(x._data_ra        ) << std::endl
    83 //                  << " * _read_rb        : " << toString(x._read_rb        ) << std::endl
    84                     << " * _num_reg_rb     : " << toString(x._num_reg_rb     ) << std::endl
    85                     << " * _data_rb_val    : " << toString(x._data_rb_val    ) << std::endl
    86                     << " * _data_rb        : " << toString(x._data_rb        ) << std::endl
    87 //                  << " * _read_rc        : " << toString(x._read_rc        ) << std::endl
    88                     << " * _num_reg_rc     : " << toString(x._num_reg_rc     ) << std::endl
    89                     << " * _data_rc_val    : " << toString(x._data_rc_val    ) << std::endl
    90                     << " * _data_rc        : " << toString(x._data_rc        ) << std::endl
    91                     << " * _write_rd       : " << toString(x._write_rd       ) << std::endl
    92                     << " * _num_reg_rd     : " << toString(x._num_reg_rd     ) << std::endl
    93                     << " * _write_re       : " << toString(x._write_re       ) << std::endl
    94                     << " * _num_reg_re     : " << toString(x._num_reg_re     ) << std::endl;
     73      output_stream << " * _context_id            : " << toString(x._context_id     ) << std::endl
     74                    << " * _front_end_id          : " << toString(x._front_end_id   ) << std::endl
     75                    << " * _ooo_engine_id         : " << toString(x._ooo_engine_id  ) << std::endl
     76                    << " * _rob_id                : " << toString(x._rob_id         ) << std::endl
     77                    << " * _operation             : " << toString(x._operation      ) << std::endl
     78                    << " * _type                  : " << toString(x._type           ) << std::endl
     79                    << " * _store_queue_ptr_write : " << toString(x._store_queue_ptr_write) << std::endl
     80                    << " * _load_queue_ptr_write  : " << toString(x._load_queue_ptr_write ) << std::endl
     81                    << " * _has_immediat          : " << toString(x._has_immediat   ) << std::endl
     82                    << " * _immediat              : " << toString(x._immediat       ) << std::endl
     83//                  << " * _read_ra               : " << toString(x._read_ra        ) << std::endl
     84                    << " * _num_reg_ra            : " << toString(x._num_reg_ra     ) << std::endl
     85                    << " * _data_ra_val           : " << toString(x._data_ra_val    ) << std::endl
     86                    << " * _data_ra               : " << toString(x._data_ra        ) << std::endl
     87//                  << " * _read_rb               : " << toString(x._read_rb        ) << std::endl
     88                    << " * _num_reg_rb            : " << toString(x._num_reg_rb     ) << std::endl
     89                    << " * _data_rb_val           : " << toString(x._data_rb_val    ) << std::endl
     90                    << " * _data_rb               : " << toString(x._data_rb        ) << std::endl
     91//                  << " * _read_rc               : " << toString(x._read_rc        ) << std::endl
     92                    << " * _num_reg_rc            : " << toString(x._num_reg_rc     ) << std::endl
     93                    << " * _data_rc_val           : " << toString(x._data_rc_val    ) << std::endl
     94                    << " * _data_rc               : " << toString(x._data_rc        ) << std::endl
     95                    << " * _write_rd              : " << toString(x._write_rd       ) << std::endl
     96                    << " * _num_reg_rd            : " << toString(x._num_reg_rd     ) << std::endl
     97                    << " * _write_re              : " << toString(x._write_re       ) << std::endl
     98                    << " * _num_reg_re            : " << toString(x._num_reg_re     ) << std::endl;
    9599
    96100      return output_stream;
    97101    }
    98 
    99102  };
    100103
     
    104107#endif
    105108  {
    106     // -----[ fields ]----------------------------------------------------
     109    // -----[ fields ]----------------------------------------------------
    107110    // Parameters
    108111  protected : const std::string       _name;
     
    118121
    119122#ifdef SYSTEMC
    120     // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     123    // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    121124    // Interface
    122125  public    : SC_CLOCK                      *  in_CLOCK        ;
    123126  public    : SC_IN (Tcontrol_t)            *  in_NRESET       ;
    124127
    125     // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~
     128    // ~~~~~[ Interface "insert" ]~~~~~~~~~~~~~~~~~~~~~~~~
    126129  public    : SC_IN (Tcontrol_t        )    *  in_INSERT_VAL            ;
    127130  public    : SC_OUT(Tcontrol_t        )    * out_INSERT_ACK            ;
     
    132135  public    : SC_IN (Toperation_t      )    *  in_INSERT_OPERATION      ;
    133136  public    : SC_IN (Ttype_t           )    *  in_INSERT_TYPE           ;
     137  public    : SC_IN (Tlsq_ptr_t        )    *  in_INSERT_STORE_QUEUE_PTR_WRITE;
     138  public    : SC_IN (Tlsq_ptr_t        )    *  in_INSERT_LOAD_QUEUE_PTR_WRITE ;
    134139  public    : SC_IN (Tcontrol_t        )    *  in_INSERT_HAS_IMMEDIAT   ;
    135140  public    : SC_IN (Tgeneral_data_t   )    *  in_INSERT_IMMEDIAT       ;
     
    151156  public    : SC_IN (Tspecial_address_t)    *  in_INSERT_NUM_REG_RE     ;
    152157
    153     // ~~~~~[ Interface "retire" ]~~~~~~~~~~~~~~~~~~~~~~~
     158    // ~~~~~[ Interface "retire" ]~~~~~~~~~~~~~~~~~~~~~~~
    154159  public    : SC_OUT(Tcontrol_t        )   ** out_RETIRE_VAL            ;
    155160  public    : SC_IN (Tcontrol_t        )   **  in_RETIRE_ACK            ;
     
    160165  public    : SC_OUT(Toperation_t      )   ** out_RETIRE_OPERATION      ;
    161166  public    : SC_OUT(Ttype_t           )   ** out_RETIRE_TYPE           ;
     167  public    : SC_OUT(Tlsq_ptr_t        )   ** out_RETIRE_STORE_QUEUE_PTR_WRITE;
     168  public    : SC_OUT(Tlsq_ptr_t        )   ** out_RETIRE_LOAD_QUEUE_PTR_WRITE ;
    162169  public    : SC_OUT(Tcontrol_t        )   ** out_RETIRE_HAS_IMMEDIAT   ;
    163170  public    : SC_OUT(Tgeneral_data_t   )   ** out_RETIRE_IMMEDIAT       ;
     
    170177  public    : SC_OUT(Tspecial_address_t)   ** out_RETIRE_NUM_REG_RE     ;
    171178
    172     // ~~~~~[ Interface "gpr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     179    // ~~~~~[ Interface "gpr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    173180
    174181  public    : SC_IN (Tcontrol_t        )   **  in_GPR_WRITE_VAL          ; // val and ack
     
    177184  public    : SC_IN (Tgeneral_data_t   )   **  in_GPR_WRITE_DATA         ;
    178185
    179     // ~~~~~[ Interface "spr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     186    // ~~~~~[ Interface "spr_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    180187
    181188  public    : SC_IN (Tcontrol_t        )   **  in_SPR_WRITE_VAL          ; // val and ack
     
    184191  public    : SC_IN (Tspecial_data_t   )   **  in_SPR_WRITE_DATA         ;
    185192
    186     // ~~~~~[ Interface "bypass_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     193    // ~~~~~[ Interface "bypass_write" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    187194
    188195  public    : SC_IN (Tcontext_t        )   **  in_BYPASS_WRITE_OOO_ENGINE_ID ;
     
    194201  public    : SC_IN (Tspecial_data_t   )   **  in_BYPASS_WRITE_SPR_DATA      ;
    195202
    196     // ~~~~~[ Interface "bypass_memory" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     203    // ~~~~~[ Interface "bypass_memory" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    197204
    198205  public    : SC_IN (Tcontrol_t        )   **  in_BYPASS_MEMORY_VAL          ;
     
    202209
    203210
    204     // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    205 
    206     // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    207 
    208     // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     211    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     212
     213    // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
     214
     215    // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    209216#ifdef  SYSTEMC_VHDL_COMPATIBILITY
    210217  protected : bool                          *  _queue_valid;
     
    220227#endif
    221228
    222     // -----[ methods ]---------------------------------------------------
     229    // -----[ methods ]---------------------------------------------------
    223230
    224231#ifdef SYSTEMC
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Parameters.cpp

    r69 r76  
    3535                          uint32_t nb_spr_write       ,
    3636                          uint32_t nb_bypass_write    ,
    37                           uint32_t nb_bypass_memory   ):
     37                          uint32_t nb_bypass_memory   ,
     38                          uint32_t size_store_queue   ,
     39                          uint32_t size_load_queue    ):
    3840    _size_queue            (size_queue           ),
    3941    _nb_inst_retire        (nb_inst_retire       ),
     
    5254    _nb_bypass_write       (nb_bypass_write      ),
    5355    _nb_bypass_memory      (nb_bypass_memory     ),
     56    _size_store_queue      (size_store_queue     ),
     57    _size_load_queue       (size_load_queue      ),
    5458
    5559    _size_context_id       (static_cast<uint32_t>(log2(_nb_context         ))),
     
    9195    _nb_bypass_write       (param._nb_bypass_write       ),
    9296    _nb_bypass_memory      (param._nb_bypass_memory      ),
     97    _size_store_queue      (param._size_store_queue      ),
     98    _size_load_queue       (param._size_load_queue       ),
    9399
    94100    _size_context_id       (param._size_context_id       ),
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Parameters_print.cpp

    r75 r76  
    4444    xml.singleton_begin("nb_bypass_write    "); xml.attribut("value",toString(_nb_bypass_write    )); xml.singleton_end();
    4545    xml.singleton_begin("nb_bypass_memory   "); xml.attribut("value",toString(_nb_bypass_memory   )); xml.singleton_end();
     46    xml.singleton_begin("size_store_queue   "); xml.attribut("value",toString(_size_store_queue   )); xml.singleton_end();
     47    xml.singleton_begin("size_load_queue    "); xml.attribut("value",toString(_size_load_queue    )); xml.singleton_end();
    4648    xml.balise_close();
    4749
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_allocation.cpp

    r75 r76  
    7272       in_INSERT_OPERATION      = interface->set_signal_in <Toperation_t      > ("operation"      ,_param->_size_operation        );
    7373       in_INSERT_TYPE           = interface->set_signal_in <Ttype_t           > ("type"           ,_param->_size_type             );
     74       in_INSERT_STORE_QUEUE_PTR_WRITE = interface->set_signal_in <Tlsq_ptr_t> ("store_queue_ptr_write" ,log2(_param->_size_store_queue));
     75       in_INSERT_LOAD_QUEUE_PTR_WRITE  = interface->set_signal_in <Tlsq_ptr_t> ("load_queue_ptr_write"  ,log2(_param->_size_load_queue) );
    7476       in_INSERT_HAS_IMMEDIAT   = interface->set_signal_in <Tcontrol_t        > ("has_immediat"   ,1                             );
    7577       in_INSERT_IMMEDIAT       = interface->set_signal_in <Tgeneral_data_t   > ("immediat"       ,_param->_size_general_data     );
     
    105107    out_RETIRE_OPERATION      = new SC_OUT(Toperation_t      ) * [_param->_nb_inst_retire];
    106108    out_RETIRE_TYPE           = new SC_OUT(Ttype_t           ) * [_param->_nb_inst_retire];
     109    out_RETIRE_STORE_QUEUE_PTR_WRITE = new SC_OUT(Tlsq_ptr_t ) * [_param->_nb_inst_retire];
     110    out_RETIRE_LOAD_QUEUE_PTR_WRITE  = new SC_OUT(Tlsq_ptr_t ) * [_param->_nb_inst_retire];
    107111    out_RETIRE_HAS_IMMEDIAT   = new SC_OUT(Tcontrol_t        ) * [_param->_nb_inst_retire];
    108112    out_RETIRE_IMMEDIAT       = new SC_OUT(Tgeneral_data_t   ) * [_param->_nb_inst_retire];
     
    136140        out_RETIRE_OPERATION    [i] = interface->set_signal_out<Toperation_t      > ("operation"    ,_param->_size_operation);
    137141        out_RETIRE_TYPE         [i] = interface->set_signal_out<Ttype_t           > ("type"         ,_param->_size_type);
     142        out_RETIRE_STORE_QUEUE_PTR_WRITE [i] = interface->set_signal_out<Tlsq_ptr_t> ("store_queue_ptr_write" ,log2(_param->_size_store_queue));
     143        out_RETIRE_LOAD_QUEUE_PTR_WRITE  [i] = interface->set_signal_out<Tlsq_ptr_t> ("load_queue_ptr_write"  ,log2(_param->_size_load_queue) );
     144
    138145        out_RETIRE_HAS_IMMEDIAT [i] = interface->set_signal_out<Tcontrol_t        > ("has_immediat" ,1);
    139146        out_RETIRE_IMMEDIAT     [i] = interface->set_signal_out<Tgeneral_data_t   > ("immediat"     ,_param->_size_general_data);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_deallocation.cpp

    r69 r76  
    4343    delete     in_INSERT_OPERATION     ;
    4444    delete     in_INSERT_TYPE          ;
     45    delete     in_INSERT_STORE_QUEUE_PTR_WRITE;
     46    delete     in_INSERT_LOAD_QUEUE_PTR_WRITE ;
    4547    delete     in_INSERT_HAS_IMMEDIAT  ;
    4648    delete     in_INSERT_IMMEDIAT      ;
     
    7476    delete [] out_RETIRE_OPERATION     ;
    7577    delete [] out_RETIRE_TYPE          ;
     78    delete [] out_RETIRE_STORE_QUEUE_PTR_WRITE;
     79    delete [] out_RETIRE_LOAD_QUEUE_PTR_WRITE ;
    7680    delete [] out_RETIRE_HAS_IMMEDIAT  ;
    7781    delete [] out_RETIRE_IMMEDIAT      ;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_genMoore.cpp

    r70 r76  
    101101            PORT_WRITE(out_RETIRE_OPERATION     [i],_queue[index_find]._operation);
    102102            PORT_WRITE(out_RETIRE_TYPE          [i],_queue[index_find]._type);
     103            PORT_WRITE(out_RETIRE_STORE_QUEUE_PTR_WRITE [i],_queue[index_find]._store_queue_ptr_write);
     104            PORT_WRITE(out_RETIRE_LOAD_QUEUE_PTR_WRITE  [i],_queue[index_find]._load_queue_ptr_write );
    103105            PORT_WRITE(out_RETIRE_HAS_IMMEDIAT  [i],_queue[index_find]._has_immediat);
    104106            PORT_WRITE(out_RETIRE_IMMEDIAT      [i],_queue[index_find]._immediat);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Reservation_station_transition.cpp

    r70 r76  
    258258            _queue[index]._operation       = PORT_READ(in_INSERT_OPERATION      );
    259259            _queue[index]._type            = PORT_READ(in_INSERT_TYPE           );
     260            _queue[index]._store_queue_ptr_write = PORT_READ(in_INSERT_STORE_QUEUE_PTR_WRITE);
     261            _queue[index]._load_queue_ptr_write  = PORT_READ(in_INSERT_LOAD_QUEUE_PTR_WRITE );
    260262            _queue[index]._has_immediat    = PORT_READ(in_INSERT_HAS_IMMEDIAT   );
    261263            _queue[index]._immediat        = PORT_READ(in_INSERT_IMMEDIAT       );
Note: See TracChangeset for help on using the changeset viewer.