Ignore:
Timestamp:
Dec 12, 2007, 5:02:47 PM (17 years ago)
Author:
rosiere
Message:

Station de reservation : systemC et VHDL ok

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/src/Parameters.cpp

    r55 r69  
    2121#define FUNCTION "Reservation_station::Parameters"
    2222  Parameters::Parameters (uint32_t size_queue         ,
     23                          uint32_t nb_inst_retire     ,
    2324                          uint32_t nb_context         ,
     25                          uint32_t nb_front_end       ,
     26                          uint32_t nb_ooo_engine      ,
    2427                          uint32_t nb_packet          ,
    2528                          uint32_t size_general_data  ,
     
    3437                          uint32_t nb_bypass_memory   ):
    3538    _size_queue            (size_queue           ),
     39    _nb_inst_retire        (nb_inst_retire       ),
    3640    _nb_context            (nb_context           ),
     41    _nb_front_end          (nb_front_end         ),
     42    _nb_ooo_engine         (nb_ooo_engine        ),
    3743    _nb_packet             (nb_packet            ),
    3844    _size_general_data     (size_general_data    ),
     
    4854
    4955    _size_context_id       (static_cast<uint32_t>(log2(_nb_context         ))),
    50     _size_packet_id        (static_cast<uint32_t>(log2(_nb_packet          ))),
     56    _size_front_end_id     (static_cast<uint32_t>(log2(_nb_front_end       ))),
     57    _size_ooo_engine_id    (static_cast<uint32_t>(log2(_nb_ooo_engine      ))),
     58    _size_rob_id           (static_cast<uint32_t>(log2(_nb_packet          ))),
    5159    _size_general_register (static_cast<uint32_t>(log2(_nb_general_register))),
    5260    _size_special_register (static_cast<uint32_t>(log2(_nb_special_register))),
    5361    _size_operation        (static_cast<uint32_t>(log2(_nb_operation       ))),
    54     _size_type             (static_cast<uint32_t>(log2(_nb_type            )))
     62    _size_type             (static_cast<uint32_t>(log2(_nb_type            ))),
     63
     64    _have_port_context_id    (_size_context_id    > 0),
     65    _have_port_front_end_id  (_size_front_end_id  > 0),
     66    _have_port_ooo_engine_id (_size_ooo_engine_id > 0),
     67    _have_port_rob_id        (_size_rob_id        > 0)
    5568  {
    5669    log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
     
    6376  Parameters::Parameters (Parameters & param):
    6477    _size_queue            (param._size_queue            ),
     78    _nb_inst_retire        (param._nb_inst_retire        ),
    6579    _nb_context            (param._nb_context            ),
     80    _nb_front_end          (param._nb_front_end          ),
     81    _nb_ooo_engine         (param._nb_ooo_engine         ),
    6682    _nb_packet             (param._nb_packet             ),
    6783    _size_general_data     (param._size_general_data     ),
     
    7793
    7894    _size_context_id       (param._size_context_id       ),
    79     _size_packet_id        (param._size_packet_id        ),
     95    _size_front_end_id     (param._size_front_end_id     ),
     96    _size_ooo_engine_id    (param._size_ooo_engine_id    ),
     97    _size_rob_id           (param._size_rob_id           ),
    8098    _size_general_register (param._size_general_register ),
    8199    _size_special_register (param._size_special_register ),
    82100    _size_operation        (param._size_operation        ),
    83     _size_type             (param._size_type             )
     101    _size_type             (param._size_type             ),
     102
     103    _have_port_context_id    (param._have_port_context_id   ),
     104    _have_port_front_end_id  (param._have_port_front_end_id ),
     105    _have_port_ooo_engine_id (param._have_port_ooo_engine_id),
     106    _have_port_rob_id        (param._have_port_rob_id       )
    84107  {
    85108    log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
Note: See TracChangeset for help on using the changeset viewer.