Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_allocation.cpp
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_allocation.cpp
r65 r75 19 19 #undef FUNCTION 20 20 #define FUNCTION "Register_unit::allocation" 21 void Register_unit::allocation (void) 21 void Register_unit::allocation ( 22 #ifdef STATISTICS 23 morpheo::behavioural::Parameters_Statistics * param_statistics 24 #else 25 void 26 #endif 27 ) 22 28 { 23 string rename, name_component;24 25 29 log_printf(FUNC,Register_unit,FUNCTION,"Begin"); 26 30 … … 249 253 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 254 251 st ring name;255 std::string name; 252 256 253 257 component_gpr = new morpheo::behavioural::generic::registerfile::RegisterFile::RegisterFile * [_param->_nb_ooo_engine]; … … 263 267 (name.c_str() 264 268 #ifdef STATISTICS 265 , _param_statistics269 ,param_statistics 266 270 #endif 267 271 ,_param->_param_gpr [i] … … 283 287 (name.c_str() 284 288 #ifdef STATISTICS 285 , _param_statistics289 ,param_statistics 286 290 #endif 287 291 ,_param->_param_gpr_status [i] … … 303 307 (name.c_str() 304 308 #ifdef STATISTICS 305 , _param_statistics309 ,param_statistics 306 310 #endif 307 311 ,_param->_param_spr [i] … … 322 326 (name.c_str() 323 327 #ifdef STATISTICS 324 , _param_statistics328 ,param_statistics 325 329 #endif 326 330 ,_param->_param_spr_status [i] … … 343 347 (name.c_str() 344 348 #ifdef STATISTICS 345 , _param_statistics349 ,param_statistics 346 350 #endif 347 351 ,_param->_param_glue … … 358 362 359 363 // ~~~~~[ Instanciation ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 364 std::string name_component; 365 361 366 for (uint32_t i=0; i<_param->_nb_ooo_engine; i++) 362 367 { 363 368 name_component = _name+"_gpr_"+toString(i); 364 369 365 cout << "Instance : " << name_component <<endl;370 std::cout << "Instance : " << name_component << std::endl; 366 371 367 372 #ifdef POSITION … … 420 425 name_component = _name+"_gpr_status_"+toString(i); 421 426 422 cout << "Instance : " << name_component <<endl;427 std::cout << "Instance : " << name_component << std::endl; 423 428 424 429 #ifdef POSITION … … 544 549 name_component = _name+"_spr_"+toString(i); 545 550 546 cout << "Instance : " << name_component <<endl;551 std::cout << "Instance : " << name_component << std::endl; 547 552 548 553 #ifdef POSITION … … 601 606 name_component = _name+"_spr_status_"+toString(i); 602 607 603 cout << "Instance : " << name_component <<endl;608 std::cout << "Instance : " << name_component << std::endl; 604 609 605 610 #ifdef POSITION … … 724 729 name_component = _name+"_glue"; 725 730 726 cout << "Instance : " << name_component <<endl;731 std::cout << "Instance : " << name_component << std::endl; 727 732 728 733 #ifdef POSITION … … 1034 1039 #endif 1035 1040 1036 // cout << *_component <<endl;1041 // std::cout << *_component << std::endl; 1037 1042 1038 1043 log_printf(FUNC,Register_unit,FUNCTION,"End");
Note: See TracChangeset
for help on using the changeset viewer.