Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/src/Parameters.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_Address_Translation_unit/src/Parameters.cpp
r81 r88 25 25 uint32_t nb_special_register, 26 26 uint32_t nb_inst_insert , 27 uint32_t nb_inst_retire ) 27 uint32_t nb_inst_retire , 28 bool is_toplevel) 28 29 { 29 30 log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"Begin"); … … 36 37 _nb_inst_retire = nb_inst_retire ; 37 38 38 _size_front_end_id = log2(nb_front_end ); 39 _size_context_id = log2(max<uint32_t>(nb_context, nb_front_end)); 40 _size_general_register = log2(nb_general_register); 41 _size_special_register = log2(nb_special_register); 39 test(); 40 41 if (is_toplevel) 42 { 43 _size_front_end_id = log2(nb_front_end ); 44 _size_context_id = log2(max<uint32_t>(nb_context, nb_front_end)); 45 _size_general_register = log2(nb_general_register); 46 _size_special_register = log2(nb_special_register); 42 47 43 _have_port_front_end_id = _size_front_end_id>0; 44 _have_port_context_id = _size_context_id >0; 45 46 test(); 48 _have_port_front_end_id = _size_front_end_id>0; 49 _have_port_context_id = _size_context_id >0; 50 51 copy(); 52 } 47 53 48 54 log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"End"); … … 60 66 #undef FUNCTION 61 67 #define FUNCTION "Register_Address_Translation_unit::~Parameters" 62 Parameters::~Parameters () 68 Parameters::~Parameters (void) 69 { 70 log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"Begin"); 71 log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"End"); 72 }; 73 74 #undef FUNCTION 75 #define FUNCTION "Register_Address_Translation_unit::copy" 76 void Parameters::copy (void) 63 77 { 64 78 log_printf(FUNC,Register_Address_Translation_unit,FUNCTION,"Begin");
Note: See TracChangeset
for help on using the changeset viewer.