Changeset 138 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src
- Timestamp:
- May 12, 2010, 7:34:01 PM (14 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Parameters.cpp
r117 r138 21 21 #undef FUNCTION 22 22 #define FUNCTION "Commit_unit::Parameters" 23 Parameters::Parameters (uint32_t nb_front_end ,24 uint32_t * nb_context ,25 uint32_t nb_rename_unit ,26 uint32_t size_queue ,27 uint32_t nb_bank ,28 uint32_t * nb_inst_insert,29 uint32_t * nb_inst_retire,30 uint32_t nb_inst_commit,31 uint32_t nb_inst_reexecute,32 uint32_t nb_inst_branch_complete,33 uint32_t ** nb_branch_speculated,34 uint32_t size_nb_inst_decod,35 uint32_t size_general_data,36 uint32_t size_store_queue_ptr,37 uint32_t size_load_queue_ptr,38 uint32_t size_general_register,39 uint32_t size_special_register ,40 Tpriority_t priority,41 T load_balancing_t load_balancing,42 uint32_t nb_rename_unit_select,43 uint32_t nb_thread,44 uint32_t ** translate_num_context_to_num_thread,45 bool is_toplevel):46 _nb_bank_access_commit (1 ),47 _ retire_ooo (RETIRE_IN_ORDER)23 Parameters::Parameters (uint32_t nb_front_end , 24 uint32_t * nb_context , 25 uint32_t nb_rename_unit , 26 uint32_t size_queue , 27 uint32_t nb_bank , 28 Tretire_ooo_scheme_t retire_ooo_scheme , 29 uint32_t * nb_inst_insert , 30 uint32_t * nb_inst_retire , 31 uint32_t nb_inst_commit , 32 uint32_t nb_inst_reexecute , 33 uint32_t nb_inst_branch_complete , 34 uint32_t ** nb_branch_speculated , 35 uint32_t size_nb_inst_decod , 36 uint32_t size_general_data , 37 uint32_t size_store_queue_ptr , 38 uint32_t size_load_queue_ptr , 39 uint32_t size_general_register , 40 uint32_t size_special_register , 41 Tpriority_t priority , 42 Tload_balancing_t load_balancing , 43 uint32_t nb_rename_unit_select , 44 uint32_t nb_thread , 45 uint32_t ** translate_num_context_to_num_thread, 46 bool is_toplevel): 47 _nb_bank_access_commit (1 ) 48 48 { 49 49 log_begin(Commit_unit,FUNCTION); … … 54 54 _size_queue = size_queue ; 55 55 _nb_bank = nb_bank ; 56 _retire_ooo_scheme = retire_ooo_scheme ; 56 57 _nb_inst_insert = nb_inst_insert ; 57 58 _nb_inst_retire = nb_inst_retire ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Parameters_msg_error.cpp
r122 r138 40 40 test.error(_("nb_bank must be a multiple of size_queue.\n")); 41 41 42 if (_retire_ooo_scheme != RETIRE_IN_ORDER) 43 test.error(toString(_("retire_ooo_scheme \"%s\" is not yet implemented.\n"),toString(_retire_ooo_scheme).c_str())); 44 42 45 // if (_nb_inst_reexecute != 1) 43 46 // test.error(_("nb_inst_reexecute must be set at 1. Anothers value is unsupported.\n")); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Parameters_print.cpp
r88 r138 25 25 std::string str = ""; 26 26 27 str += toString(MSG_INFORMATION)+" * nb_front_end : "+toString<uint32_t >(_nb_front_end )+"\n";27 str += toString(MSG_INFORMATION)+" * nb_front_end : "+toString<uint32_t >(_nb_front_end )+"\n"; 28 28 for (uint32_t i=0; i<_nb_front_end; ++i) 29 29 str += toString(MSG_INFORMATION)+" * nb_context ["+toString(i)+"] : "+toString<uint32_t >(_nb_context [i])+"\n";//[nb_front_end] 30 str += toString(MSG_INFORMATION)+" * nb_rename_unit : "+toString<uint32_t >(_nb_rename_unit )+"\n";31 str += toString(MSG_INFORMATION)+" * size_queue : "+toString<uint32_t >(_size_queue )+"\n";32 str += toString(MSG_INFORMATION)+" * nb_bank : "+toString<uint32_t >(_nb_bank )+"\n";30 str += toString(MSG_INFORMATION)+" * nb_rename_unit : "+toString<uint32_t >(_nb_rename_unit )+"\n"; 31 str += toString(MSG_INFORMATION)+" * size_queue : "+toString<uint32_t >(_size_queue )+"\n"; 32 str += toString(MSG_INFORMATION)+" * nb_bank : "+toString<uint32_t >(_nb_bank )+"\n"; 33 33 for (uint32_t i=0; i<_nb_rename_unit; ++i) 34 34 str += toString(MSG_INFORMATION)+" * nb_inst_insert ["+toString(i)+"] : "+toString<uint32_t >(_nb_inst_insert[i])+"\n";//[nb_rename_unit] 35 35 for (uint32_t i=0; i<_nb_rename_unit; ++i) 36 36 str += toString(MSG_INFORMATION)+" * nb_inst_retire ["+toString(i)+"] : "+toString<uint32_t >(_nb_inst_retire[i])+"\n";//[nb_rename_unit] 37 str += toString(MSG_INFORMATION)+" * nb_inst_commit : "+toString<uint32_t >(_nb_inst_commit )+"\n";38 str += toString(MSG_INFORMATION)+" * nb_inst_reexecute : "+toString<uint32_t >(_nb_inst_reexecute )+"\n";39 str += toString(MSG_INFORMATION)+" * nb_inst_branch_complete : "+toString<uint32_t >(_nb_inst_branch_complete)+"\n";37 str += toString(MSG_INFORMATION)+" * nb_inst_commit : "+toString<uint32_t >(_nb_inst_commit )+"\n"; 38 str += toString(MSG_INFORMATION)+" * nb_inst_reexecute : "+toString<uint32_t >(_nb_inst_reexecute )+"\n"; 39 str += toString(MSG_INFORMATION)+" * nb_inst_branch_complete : "+toString<uint32_t >(_nb_inst_branch_complete)+"\n"; 40 40 for (uint32_t i=0; i<_nb_front_end; ++i) 41 41 for (uint32_t j=0; j<_nb_context[i]; ++j) 42 42 str += toString(MSG_INFORMATION)+" * nb_branch_speculated ["+toString(i)+"]["+toString(j)+"] : "+toString<uint32_t >(_nb_branch_speculated[i][j])+"\n";//[nb_front_end][nb_context] 43 str += toString(MSG_INFORMATION)+" * size_general_data : "+toString<uint32_t >(_size_general_data )+"\n";44 str += toString(MSG_INFORMATION)+" * size_store_queue_ptr : "+toString<uint32_t >(_size_store_queue_ptr )+"\n";45 str += toString(MSG_INFORMATION)+" * size_load_queue_ptr : "+toString<uint32_t >(_size_load_queue_ptr )+"\n";46 str += toString(MSG_INFORMATION)+" * size_general_register : "+toString<uint32_t >(_size_general_register )+"\n";47 str += toString(MSG_INFORMATION)+" * size_special_register : "+toString<uint32_t >(_size_special_register )+"\n";48 str += toString(MSG_INFORMATION)+" * priority : "+toString<Tpriority_t >(_priority )+"\n";49 str += toString(MSG_INFORMATION)+" * load_balancing : "+toString<Tload_balancing_t >(_load_balancing )+"\n";50 str += toString(MSG_INFORMATION)+" * nb_rename_unit_select : "+toString<uint32_t >(_nb_rename_unit_select )+"\n";51 str += toString(MSG_INFORMATION)+" * nb_bank_access_commit : "+toString<uint32_t >(_nb_bank_access_commit )+"\n";52 str += toString(MSG_INFORMATION)+" * retire_ooo : "+toString<retire_ooo_t >(_retire_ooo)+"\n";43 str += toString(MSG_INFORMATION)+" * size_general_data : "+toString<uint32_t >(_size_general_data )+"\n"; 44 str += toString(MSG_INFORMATION)+" * size_store_queue_ptr : "+toString<uint32_t >(_size_store_queue_ptr )+"\n"; 45 str += toString(MSG_INFORMATION)+" * size_load_queue_ptr : "+toString<uint32_t >(_size_load_queue_ptr )+"\n"; 46 str += toString(MSG_INFORMATION)+" * size_general_register : "+toString<uint32_t >(_size_general_register )+"\n"; 47 str += toString(MSG_INFORMATION)+" * size_special_register : "+toString<uint32_t >(_size_special_register )+"\n"; 48 str += toString(MSG_INFORMATION)+" * priority : "+toString<Tpriority_t >(_priority )+"\n"; 49 str += toString(MSG_INFORMATION)+" * load_balancing : "+toString<Tload_balancing_t >(_load_balancing )+"\n"; 50 str += toString(MSG_INFORMATION)+" * nb_rename_unit_select : "+toString<uint32_t >(_nb_rename_unit_select )+"\n"; 51 str += toString(MSG_INFORMATION)+" * nb_bank_access_commit : "+toString<uint32_t >(_nb_bank_access_commit )+"\n"; 52 str += toString(MSG_INFORMATION)+" * retire_ooo_scheme : "+toString<Tretire_ooo_scheme_t>(_retire_ooo_scheme )+"\n"; 53 53 54 54 /*
Note: See TracChangeset
for help on using the changeset viewer.