Changeset 69 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Reservation_station/src/Parameters.cpp
- Timestamp:
- Dec 12, 2007, 5:02:47 PM (17 years ago)
- 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 21 21 #define FUNCTION "Reservation_station::Parameters" 22 22 Parameters::Parameters (uint32_t size_queue , 23 uint32_t nb_inst_retire , 23 24 uint32_t nb_context , 25 uint32_t nb_front_end , 26 uint32_t nb_ooo_engine , 24 27 uint32_t nb_packet , 25 28 uint32_t size_general_data , … … 34 37 uint32_t nb_bypass_memory ): 35 38 _size_queue (size_queue ), 39 _nb_inst_retire (nb_inst_retire ), 36 40 _nb_context (nb_context ), 41 _nb_front_end (nb_front_end ), 42 _nb_ooo_engine (nb_ooo_engine ), 37 43 _nb_packet (nb_packet ), 38 44 _size_general_data (size_general_data ), … … 48 54 49 55 _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 ))), 51 59 _size_general_register (static_cast<uint32_t>(log2(_nb_general_register))), 52 60 _size_special_register (static_cast<uint32_t>(log2(_nb_special_register))), 53 61 _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) 55 68 { 56 69 log_printf(FUNC,Reservation_station,FUNCTION,"Begin"); … … 63 76 Parameters::Parameters (Parameters & param): 64 77 _size_queue (param._size_queue ), 78 _nb_inst_retire (param._nb_inst_retire ), 65 79 _nb_context (param._nb_context ), 80 _nb_front_end (param._nb_front_end ), 81 _nb_ooo_engine (param._nb_ooo_engine ), 66 82 _nb_packet (param._nb_packet ), 67 83 _size_general_data (param._size_general_data ), … … 77 93 78 94 _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 ), 80 98 _size_general_register (param._size_general_register ), 81 99 _size_special_register (param._size_special_register ), 82 100 _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 ) 84 107 { 85 108 log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
Note: See TracChangeset
for help on using the changeset viewer.