Changeset 111 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
- Timestamp:
- Feb 27, 2009, 7:37:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
r110 r111 172 172 #endif 173 173 entry->address_next = PORT_READ(in_INSERT_ADDRESS_NEXT [x][y]); 174 #ifdef DEBUG 175 entry->cycle_rob_in = sc_simulation_time(); 176 entry->cycle_commit = sc_simulation_time(); 177 #endif 174 178 175 179 // Test if exception : … … 340 344 (entry->read_rb)) 341 345 entry->address_next = PORT_READ(in_COMMIT_ADDRESS [x]); 346 347 #ifdef DEBUG 348 entry->cycle_commit = sc_simulation_time(); 349 #endif 342 350 } 343 351 } … … 406 414 } 407 415 416 #if defined(DEBUG) and defined(DEBUG_Commit_unit) and (DEBUG_Commit_unit == true) 417 // log file 418 instruction_log_file [num_thread] 419 << "[" << sc_simulation_time() << "] " 420 << "{" << ((retire_ok)?" OK ":"!KO!") << "} " 421 << std::hex 422 << "0x" << entry->address << " (0x" << (entry->address<<2) << ") " 423 << std::dec 424 << "[" << entry->cycle_rob_in << ", " << entry->cycle_commit << "] " 425 << std::endl; 426 #endif 427 408 428 // Update nb_inst 409 429 reg_NB_INST_COMMIT_ALL [front_end_id][context_id] --;
Note: See TracChangeset
for help on using the changeset viewer.