- Timestamp:
- May 12, 2010, 7:34:01 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/include/Parameters.h
r136 r138 59 59 // Read bloc 60 60 public : uint32_t _nb_read_bloc ;// 61 public : uint32_t * _nb_inst_read ;//[nb_read_bloc] 61 62 public : uint32_t * _size_read_queue ;//[nb_read_bloc] 62 63 public : uint32_t * _size_reservation_station ;//[nb_read_bloc] … … 65 66 // Write bloc 66 67 public : uint32_t _nb_write_bloc ;// 68 public : uint32_t * _nb_inst_write ;//[nb_write_bloc] 67 69 public : uint32_t * _size_write_queue ;//[nb_write_bloc] 68 70 public : uint32_t * _size_execute_queue ;//[nb_write_bloc] … … 76 78 public : uint32_t * _size_load_queue ;//[nb_load_store_unit] 77 79 public : uint32_t * _size_speculative_access_queue ;//[nb_load_store_unit] 80 public : uint32_t * _nb_store_queue_bank ;//[nb_load_store_unit] 81 public : uint32_t * _nb_load_queue_bank ;//[nb_load_store_unit] 78 82 public : uint32_t * _nb_port_check ;//[nb_load_store_unit] 79 83 public : core::multi_execute_loop::execute_loop::Tspeculative_load_t 80 84 * _speculative_load ;//[nb_load_store_unit] 85 public : Tpredictor_t * _speculative_commit_predictor_scheme ;//[nb_load_store_unit] 86 public : uint32_t ** _lsu_pht_size_counter ;//[nb_load_store_unit][1] 87 public : uint32_t ** _lsu_pht_nb_counter ;//[nb_load_store_unit][1] 81 88 public : uint32_t * _nb_bypass_memory ;//[nb_load_store_unit] 82 89 public : uint32_t * _nb_cache_port ;//[nb_load_store_unit] … … 130 137 public : uint32_t * _size_re_order_buffer ;//[nb_ooo_engine] 131 138 public : uint32_t * _nb_re_order_buffer_bank ;//[nb_ooo_engine] 139 public : morpheo::behavioural::core::multi_ooo_engine::ooo_engine::commit_unit::Tretire_ooo_scheme_t 140 * _retire_ooo_scheme ;//[nb_ooo_engine] 132 141 public : Tpriority_t * _commit_priority ;//[nb_ooo_engine] 133 142 public : Tload_balancing_t * _commit_load_balancing ;//[nb_ooo_engine] … … 139 148 public : Tload_balancing_t * _issue_load_balancing ;//[nb_ooo_engine] 140 149 public : uint32_t * _size_reexecute_queue ;//[nb_ooo_engine] 141 public : Tpriority_t * _reexecute_priority ;//[nb_ooo_engine]142 public : Tload_balancing_t * _reexecute_load_balancing ;//[nb_ooo_engine]143 150 144 151 // Execute_loop … … 166 173 public : uint32_t * _link_decod_bloc_with_thread ;//[nb_thread] 167 174 public : uint32_t * _link_rename_bloc_with_front_end ;//[nb_front_end] 168 public : bool *** _table_dispatch ;//[nb_ooo_engine][nb_inst_issue][nb_read_bloc]169 public : bool ** _link_read_bloc_and_load_store_unit ;//[nb_read_bloc][nb_load_store_unit]175 //public : bool *** _table_dispatch ;//[nb_ooo_engine][nb_issue_queue_bank][nb_read_bloc] 176 public : uint32_t * _link_read_bloc_with_load_store_unit ;//[nb_load_store_unit] 170 177 public : bool ** _link_read_bloc_and_functionnal_unit ;//[nb_read_bloc][nb_functionnal_unit] 171 public : bool ** _link_write_bloc_and_load_store_unit ;//[nb_write_bloc][nb_load_store_unit]178 public : uint32_t * _link_write_bloc_with_load_store_unit ;//[nb_load_store_unit] 172 179 public : bool ** _link_write_bloc_and_functionnal_unit ;//[nb_write_bloc][nb_functionnal_unit] 173 180 public : uint32_t * _link_load_store_unit_with_thread ;//[nb_thread] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Configuration.cpp
r124 r138 46 46 fromString<uint32_t> (_simulator->getParam("debug_idle_time"))); 47 47 48 log_init(fromString<bool> (_simulator->getParam("debug_log_file_generate")),48 log_init(fromString<bool> (_simulator->getParam("debug_log_file_generate")), 49 49 fromString<bool> (_simulator->getParam("simulation_file_with_date")), 50 50 fromString<bool> (_simulator->getParam("simulation_file_with_pid")), … … 91 91 // Simulation condition stop 92 92 //-------------------------------------------------- 93 simulation_init (fromString<double>(_simulator->getParam("simulation_nb_cycle")), 94 fromString<double>(_simulator->getParam("debug_nb_cycle")), 95 fromString<double>(_simulator->getParam("simulation_nb_instruction")), 96 fromString<bool> (_simulator->getParam("simulation_file_with_date")), 97 fromString<bool> (_simulator->getParam("simulation_file_with_pid")) 93 simulation_init (fromString<double> (_simulator->getParam("simulation_nb_cycle")), 94 fromString<double> (_simulator->getParam("debug_nb_cycle")), 95 fromString<double> (_simulator->getParam("simulation_nb_instruction")), 96 fromString<stop_type_t>(_simulator->getParam("simulation_stop_type")), 97 fromString<bool> (_simulator->getParam("simulation_file_with_date")), 98 fromString<bool> (_simulator->getParam("simulation_file_with_pid")) 98 99 ); 99 100 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance.cpp
r136 r138 74 74 DELETE1(_param->_link_load_store_unit_with_thread ,_param->_nb_thread); 75 75 DELETE2(_param->_link_write_bloc_and_functionnal_unit ,_param->_nb_write_bloc,_param->_nb_functionnal_unit); 76 DELETE 2(_param->_link_write_bloc_and_load_store_unit ,_param->_nb_write_bloc,_param->_nb_load_store_unit);76 DELETE1(_param->_link_write_bloc_with_load_store_unit ,_param->_nb_load_store_unit); 77 77 DELETE2(_param->_link_read_bloc_and_functionnal_unit ,_param->_nb_read_bloc,_param->_nb_functionnal_unit); 78 DELETE 2(_param->_link_read_bloc_and_load_store_unit ,_param->_nb_read_bloc,_param->_nb_load_store_unit);79 DELETE3(_param->_table_dispatch ,_param->_nb_ooo_engine,_param->_nb_inst_issue[it1],_param->_nb_read_bloc);78 DELETE1(_param->_link_read_bloc_with_load_store_unit ,_param->_nb_load_store_unit); 79 // DELETE3(_param->_table_dispatch ,_param->_nb_ooo_engine,_param->_nb_issue_queue_bank[it1],_param->_nb_read_bloc); 80 80 DELETE1(_param->_link_rename_bloc_with_front_end ,_param->_nb_front_end); 81 81 DELETE1(_param->_link_decod_bloc_with_thread ,_param->_nb_thread); … … 98 98 DELETE1(_param->_nb_execute_unit ,_param->_nb_execute_loop); 99 99 DELETE1(_param->_nb_read_unit ,_param->_nb_execute_loop); 100 DELETE1(_param->_reexecute_load_balancing ,_param->_nb_ooo_engine);101 DELETE1(_param->_reexecute_priority ,_param->_nb_ooo_engine);102 100 DELETE1(_param->_size_reexecute_queue ,_param->_nb_ooo_engine); 103 101 DELETE1(_param->_issue_load_balancing ,_param->_nb_ooo_engine); … … 108 106 DELETE1(_param->_commit_load_balancing ,_param->_nb_ooo_engine); 109 107 DELETE1(_param->_commit_priority ,_param->_nb_ooo_engine); 108 DELETE1(_param->_retire_ooo_scheme ,_param->_nb_ooo_engine); 110 109 DELETE1(_param->_nb_re_order_buffer_bank ,_param->_nb_ooo_engine); 111 110 DELETE1(_param->_size_re_order_buffer ,_param->_nb_ooo_engine); … … 136 135 DELETE3(_param->_timing ,_param->_nb_functionnal_unit,MAX_TYPE,MAX_OPERATION); 137 136 DELETE1(_param->_nb_inst_functionnal_unit ,_param->_nb_functionnal_unit); 138 DELETE1(_param->_speculative_load ,_param->_nb_load_store_unit);139 137 DELETE1(_param->_nb_inst_memory ,_param->_nb_load_store_unit); 140 138 DELETE1(_param->_nb_cache_port ,_param->_nb_load_store_unit); 141 139 DELETE1(_param->_nb_bypass_memory ,_param->_nb_load_store_unit); 140 DELETE2(_param->_lsu_pht_nb_counter ,_param->_nb_load_store_unit,1); 141 DELETE2(_param->_lsu_pht_size_counter ,_param->_nb_load_store_unit,1); 142 DELETE1(_param->_speculative_commit_predictor_scheme ,_param->_nb_load_store_unit); 143 DELETE1(_param->_speculative_load ,_param->_nb_load_store_unit); 142 144 DELETE1(_param->_nb_port_check ,_param->_nb_load_store_unit); 145 DELETE1(_param->_nb_load_queue_bank ,_param->_nb_load_store_unit); 146 DELETE1(_param->_nb_store_queue_bank ,_param->_nb_load_store_unit); 143 147 DELETE1(_param->_size_speculative_access_queue ,_param->_nb_load_store_unit); 144 148 DELETE1(_param->_size_load_queue ,_param->_nb_load_store_unit); 145 149 DELETE1(_param->_size_store_queue ,_param->_nb_load_store_unit); 150 146 151 DELETE1(_param->_write_queue_scheme ,_param->_nb_write_bloc); 147 152 DELETE1(_param->_nb_bypass_write ,_param->_nb_write_bloc); 148 153 DELETE1(_param->_size_execute_queue ,_param->_nb_write_bloc); 149 154 DELETE1(_param->_size_write_queue ,_param->_nb_write_bloc); 155 DELETE1(_param->_nb_inst_write ,_param->_nb_write_bloc); 150 156 DELETE1(_param->_nb_inst_retire_reservation_station ,_param->_nb_read_bloc); 151 157 DELETE1(_param->_size_reservation_station ,_param->_nb_read_bloc); 152 158 DELETE1(_param->_size_read_queue ,_param->_nb_read_bloc); 159 DELETE1(_param->_nb_inst_read ,_param->_nb_read_bloc); 153 160 // DELETE1(_param->_size_read_counter ,_param->_nb_rename_bloc); 154 161 DELETE1(_param->_nb_rename_unit_bank ,_param->_nb_rename_bloc); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance_fromInternalStructure.cpp
r136 r138 138 138 // Read_bloc 139 139 //----------------------------------------------------- 140 ALLOC1(_param->_nb_inst_read ,uint32_t,_param->_nb_read_bloc); 140 141 ALLOC1(_param->_size_read_queue ,uint32_t,_param->_nb_read_bloc); 141 142 ALLOC1(_param->_size_reservation_station ,uint32_t,_param->_nb_read_bloc); … … 146 147 //log_printf(INFO,Configuration,FUNCTION,_("READ_BLOC [%d]"),i); 147 148 149 _param->_nb_inst_read [i] = fromString<uint32_t> (getParam("nb_inst_read" ,"read_bloc",toString(i).c_str(),"")); 148 150 _param->_size_read_queue [i] = fromString<uint32_t> (getParam("size_read_queue" ,"read_bloc",toString(i).c_str(),"")); 149 151 _param->_size_reservation_station [i] = fromString<uint32_t> (getParam("size_reservation_station" ,"read_bloc",toString(i).c_str(),"")); … … 154 156 // Write_bloc 155 157 //----------------------------------------------------- 158 ALLOC1(_param->_nb_inst_write ,uint32_t,_param->_nb_write_bloc); 156 159 ALLOC1(_param->_size_write_queue ,uint32_t,_param->_nb_write_bloc); 157 160 ALLOC1(_param->_size_execute_queue,uint32_t,_param->_nb_write_bloc); … … 163 166 //log_printf(INFO,Configuration,FUNCTION,_("WRITE_BLOC [%d]"),i); 164 167 168 _param->_nb_inst_write [i] = fromString<uint32_t> (getParam("nb_inst_write" ,"write_bloc",toString(i).c_str(),"")); 165 169 _param->_size_write_queue [i] = fromString<uint32_t> (getParam("size_write_queue" ,"write_bloc",toString(i).c_str(),"")); 166 170 _param->_size_execute_queue [i] = fromString<uint32_t> (getParam("size_execute_queue","write_bloc",toString(i).c_str(),"")); … … 172 176 // load_store_unit 173 177 //----------------------------------------------------- 174 ALLOC1(_param->_size_store_queue ,uint32_t,_param->_nb_load_store_unit); 175 ALLOC1(_param->_size_load_queue ,uint32_t,_param->_nb_load_store_unit); 176 ALLOC1(_param->_size_speculative_access_queue,uint32_t,_param->_nb_load_store_unit); 177 ALLOC1(_param->_nb_port_check ,uint32_t,_param->_nb_load_store_unit); 178 ALLOC1(_param->_nb_bypass_memory ,uint32_t,_param->_nb_load_store_unit); 179 ALLOC1(_param->_nb_cache_port ,uint32_t,_param->_nb_load_store_unit); 180 ALLOC1(_param->_nb_inst_memory ,uint32_t,_param->_nb_load_store_unit); 181 ALLOC1(_param->_speculative_load ,core::multi_execute_loop::execute_loop::Tspeculative_load_t,_param->_nb_load_store_unit); 178 ALLOC1(_param->_size_store_queue ,uint32_t ,_param->_nb_load_store_unit); 179 ALLOC1(_param->_size_load_queue ,uint32_t ,_param->_nb_load_store_unit); 180 ALLOC1(_param->_size_speculative_access_queue ,uint32_t ,_param->_nb_load_store_unit); 181 ALLOC1(_param->_nb_store_queue_bank ,uint32_t ,_param->_nb_load_store_unit); 182 ALLOC1(_param->_nb_load_queue_bank ,uint32_t ,_param->_nb_load_store_unit); 183 ALLOC1(_param->_nb_port_check ,uint32_t ,_param->_nb_load_store_unit); 184 ALLOC1(_param->_speculative_load ,core::multi_execute_loop::execute_loop::Tspeculative_load_t,_param->_nb_load_store_unit); 185 ALLOC1(_param->_speculative_commit_predictor_scheme,Tpredictor_t,_param->_nb_load_store_unit); 186 ALLOC2(_param->_lsu_pht_size_counter ,uint32_t ,_param->_nb_load_store_unit,1); 187 ALLOC2(_param->_lsu_pht_nb_counter ,uint32_t ,_param->_nb_load_store_unit,1); 188 ALLOC1(_param->_nb_bypass_memory ,uint32_t ,_param->_nb_load_store_unit); 189 ALLOC1(_param->_nb_cache_port ,uint32_t ,_param->_nb_load_store_unit); 190 ALLOC1(_param->_nb_inst_memory ,uint32_t ,_param->_nb_load_store_unit); 182 191 183 192 for (uint32_t i=0; i<_param->_nb_load_store_unit; ++i) … … 185 194 //log_printf(INFO,Configuration,FUNCTION,_("LOAD_STORE_UNIT [%d]"),i); 186 195 187 _param->_size_store_queue [i] = fromString<uint32_t> (getParam("size_store_queue" ,"load_store_unit",toString(i).c_str(),"")); 188 _param->_size_load_queue [i] = fromString<uint32_t> (getParam("size_load_queue" ,"load_store_unit",toString(i).c_str(),"")); 189 _param->_size_speculative_access_queue [i] = fromString<uint32_t> (getParam("size_speculative_access_queue","load_store_unit",toString(i).c_str(),"")); 190 _param->_nb_port_check [i] = fromString<uint32_t> (getParam("nb_port_check" ,"load_store_unit",toString(i).c_str(),"")); 191 _param->_nb_bypass_memory [i] = fromString<uint32_t> (getParam("nb_bypass_memory" ,"load_store_unit",toString(i).c_str(),"")); 192 _param->_nb_cache_port [i] = fromString<uint32_t> (getParam("nb_cache_port" ,"load_store_unit",toString(i).c_str(),"")); 193 _param->_nb_inst_memory [i] = fromString<uint32_t> (getParam("nb_inst_memory" ,"load_store_unit",toString(i).c_str(),"")); 194 195 _param->_speculative_load [i] = fromString<core::multi_execute_loop::execute_loop::Tspeculative_load_t> (getParam("speculative_load","load_store_unit",toString(i).c_str(),"")); 196 _param->_size_store_queue [i] = fromString<uint32_t > (getParam("size_store_queue" ,"load_store_unit",toString(i).c_str(),"")); 197 _param->_size_load_queue [i] = fromString<uint32_t > (getParam("size_load_queue" ,"load_store_unit",toString(i).c_str(),"")); 198 _param->_size_speculative_access_queue [i] = fromString<uint32_t > (getParam("size_speculative_access_queue" ,"load_store_unit",toString(i).c_str(),"")); 199 _param->_nb_store_queue_bank [i] = fromString<uint32_t > (getParam("nb_store_queue_bank" ,"load_store_unit",toString(i).c_str(),"")); 200 _param->_nb_load_queue_bank [i] = fromString<uint32_t > (getParam("nb_load_queue_bank" ,"load_store_unit",toString(i).c_str(),"")); 201 _param->_speculative_load [i] = fromString<core::multi_execute_loop::execute_loop::Tspeculative_load_t> 202 (getParam("speculative_load" ,"load_store_unit",toString(i).c_str(),"")); 203 _param->_speculative_commit_predictor_scheme [i] = fromString<Tpredictor_t> 204 (getParam("speculative_commit_predictor_scheme","load_store_unit",toString(i).c_str(),"")); 205 _param->_nb_port_check [i] = fromString<uint32_t > (getParam("nb_port_check" ,"load_store_unit",toString(i).c_str(),"")); 206 207 // just read !!! 208 try 209 { 210 getParam("nb_predictor","load_store_unit",toString(i).c_str(), ""); 211 } 212 catch (morpheo::ErrorMorpheo & error) 213 { 214 } 215 216 const uint32_t max_nb_predictor=1; 217 for (uint32_t j=0; j<max_nb_predictor; ++j) 218 { 219 //log_printf(INFO,Configuration,FUNCTION,_("PREDICTOR [%d][%d]"),i,j); 220 _param->_lsu_pht_size_counter [i][j] = fromString<uint32_t > (getParam("lsu_pht_size_counter" ,"load_store_unit",toString(i).c_str(),"predictor",toString(j).c_str(), "")); 221 _param->_lsu_pht_nb_counter [i][j] = fromString<uint32_t > (getParam("lsu_pht_nb_counter" ,"load_store_unit",toString(i).c_str(),"predictor",toString(j).c_str(), "")); 222 } 223 224 _param->_nb_bypass_memory [i] = fromString<uint32_t > (getParam("nb_bypass_memory" ,"load_store_unit",toString(i).c_str(),"")); 225 _param->_nb_cache_port [i] = fromString<uint32_t > (getParam("nb_cache_port" ,"load_store_unit",toString(i).c_str(),"")); 226 _param->_nb_inst_memory [i] = fromString<uint32_t > (getParam("nb_inst_memory" ,"load_store_unit",toString(i).c_str(),"")); 196 227 } 197 228 … … 318 349 } 319 350 320 for (uint32_t j=0; j<3; ++j) 351 const uint32_t max_nb_predictor=3; 352 for (uint32_t j=0; j<max_nb_predictor; ++j) 321 353 { 322 354 //log_printf(INFO,Configuration,FUNCTION,_("PREDICTOR [%d][%d]"),i,j); … … 345 377 ALLOC1(_param->_size_re_order_buffer ,uint32_t ,_param->_nb_ooo_engine); 346 378 ALLOC1(_param->_nb_re_order_buffer_bank ,uint32_t ,_param->_nb_ooo_engine); 379 ALLOC1(_param->_retire_ooo_scheme ,morpheo::behavioural::core::multi_ooo_engine::ooo_engine::commit_unit::Tretire_ooo_scheme_t 380 ,_param->_nb_ooo_engine); 347 381 ALLOC1(_param->_commit_priority ,Tpriority_t ,_param->_nb_ooo_engine); 348 382 ALLOC1(_param->_commit_load_balancing ,Tload_balancing_t,_param->_nb_ooo_engine); … … 354 388 ALLOC1(_param->_issue_load_balancing ,Tload_balancing_t,_param->_nb_ooo_engine); 355 389 ALLOC1(_param->_size_reexecute_queue ,uint32_t ,_param->_nb_ooo_engine); 356 ALLOC1(_param->_reexecute_priority ,Tpriority_t ,_param->_nb_ooo_engine);357 ALLOC1(_param->_reexecute_load_balancing,Tload_balancing_t,_param->_nb_ooo_engine);358 390 359 391 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) … … 370 402 _param->_size_re_order_buffer [i] = fromString<uint32_t >(getParam("size_re_order_buffer" ,"ooo_engine",toString(i).c_str(), "")); 371 403 _param->_nb_re_order_buffer_bank [i] = fromString<uint32_t >(getParam("nb_re_order_buffer_bank" ,"ooo_engine",toString(i).c_str(), "")); 404 _param->_retire_ooo_scheme [i] = fromString<morpheo::behavioural::core::multi_ooo_engine::ooo_engine::commit_unit::Tretire_ooo_scheme_t> 405 (getParam("retire_ooo_scheme" ,"ooo_engine",toString(i).c_str(), "")); 372 406 _param->_commit_priority [i] = fromString<Tpriority_t >(getParam("commit_priority" ,"ooo_engine",toString(i).c_str(), "")); 373 407 _param->_commit_load_balancing [i] = fromString<Tload_balancing_t>(getParam("commit_load_balancing" ,"ooo_engine",toString(i).c_str(), "")); … … 379 413 _param->_issue_load_balancing [i] = fromString<Tload_balancing_t>(getParam("issue_load_balancing" ,"ooo_engine",toString(i).c_str(), "")); 380 414 _param->_size_reexecute_queue [i] = fromString<uint32_t >(getParam("size_reexecute_queue" ,"ooo_engine",toString(i).c_str(), "")); 381 _param->_reexecute_priority [i] = fromString<Tpriority_t >(getParam("reexecute_priority" ,"ooo_engine",toString(i).c_str(), ""));382 _param->_reexecute_load_balancing[i] = fromString<Tload_balancing_t>(getParam("reexecute_load_balancing","ooo_engine",toString(i).c_str(), ""));383 415 } 384 416 … … 434 466 ALLOC1(_param->_link_decod_bloc_with_thread ,uint32_t ,_param->_nb_thread); 435 467 ALLOC1(_param->_link_rename_bloc_with_front_end ,uint32_t ,_param->_nb_front_end); 436 ALLOC3(_param->_table_dispatch ,bool ,_param->_nb_ooo_engine,_param->_nb_inst_issue[it1],_param->_nb_read_bloc);437 ALLOC 2(_param->_link_read_bloc_and_load_store_unit ,bool ,_param->_nb_read_bloc,_param->_nb_load_store_unit);468 // ALLOC3(_param->_table_dispatch ,bool ,_param->_nb_ooo_engine,_param->_nb_issue_queue_bank[it1],_param->_nb_read_bloc); 469 ALLOC1(_param->_link_read_bloc_with_load_store_unit ,uint32_t ,_param->_nb_load_store_unit); 438 470 ALLOC2(_param->_link_read_bloc_and_functionnal_unit ,bool ,_param->_nb_read_bloc,_param->_nb_functionnal_unit); 439 ALLOC 2(_param->_link_write_bloc_and_load_store_unit ,bool ,_param->_nb_write_bloc,_param->_nb_load_store_unit);471 ALLOC1(_param->_link_write_bloc_with_load_store_unit ,uint32_t ,_param->_nb_load_store_unit); 440 472 ALLOC2(_param->_link_write_bloc_and_functionnal_unit ,bool ,_param->_nb_write_bloc,_param->_nb_functionnal_unit); 441 473 ALLOC1(_param->_link_load_store_unit_with_thread ,uint32_t ,_param->_nb_thread); … … 497 529 _param->_link_read_bloc_and_functionnal_unit [i][j] = fromString<bool>(dest[0]); 498 530 } 499 500 for (uint32_t j=0; j<_param->_nb_load_store_unit; ++j) 501 { 502 getLink_1("link_read_bloc_and_load_store_unit",toString(i).c_str(),toString(j).c_str(), ""); 503 _param->_link_read_bloc_and_load_store_unit [i][j] = fromString<bool>(dest[0]); 504 } 531 } 532 533 for (uint32_t i=0; i<_param->_nb_load_store_unit; ++i) 534 { 535 getLink_1("link_read_bloc_with_load_store_unit",toString(i).c_str(), ""); 536 _param->_link_read_bloc_with_load_store_unit [i] = fromString<uint32_t>(dest[0]); 537 538 getLink_1("link_write_bloc_with_load_store_unit",toString(i).c_str(), ""); 539 _param->_link_write_bloc_with_load_store_unit [i] = fromString<uint32_t>(dest[0]); 505 540 } 506 541 … … 516 551 _param->_link_write_bloc_and_functionnal_unit [i][j] = fromString<bool>(dest[0]); 517 552 } 518 519 for (uint32_t j=0; j<_param->_nb_load_store_unit; ++j)520 {521 getLink_1("link_write_bloc_and_load_store_unit",toString(i).c_str(),toString(j).c_str(), "");522 _param->_link_write_bloc_and_load_store_unit [i][j] = fromString<bool>(dest[0]);523 }524 553 } 525 554 … … 550 579 } 551 580 552 for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i)553 for (uint32_t j=0; j<_param->_nb_inst_issue[i]; ++j)554 for (uint32_t k=0; k<_param->_nb_read_bloc; ++k)555 {556 getLink_1("table_dispatch",toString(i).c_str(),toString(j).c_str(),toString(k).c_str(),"");557 _param->_table_dispatch [i][j][k] = fromString<bool>(dest[0]);558 }581 // for (uint32_t i=0; i<_param->_nb_ooo_engine; ++i) 582 // for (uint32_t j=0; j<_param->_nb_issue_queue_bank[i]; ++j) 583 // for (uint32_t k=0; k<_param->_nb_read_bloc; ++k) 584 // { 585 // getLink_1("table_dispatch",toString(i).c_str(),toString(j).c_str(),toString(k).c_str(),""); 586 // _param->_table_dispatch [i][j][k] = fromString<bool>(dest[0]); 587 // } 559 588 560 589 test_use ();
Note: See TracChangeset
for help on using the changeset viewer.