Ignore:
Timestamp:
Feb 27, 2009, 7:37:40 PM (15 years ago)
Author:
rosiere
Message:

1) Decod_queue : multi implementation (one_fifo, multi_fifo)
2) Issue_queue : multi implementation (in_order, out_of_order)
3) Direction : Add Meta predictor
4) Context_State : re add Branch_complete, More priority to Load miss (is not speculative)
5) Return_Address_Stack : update reg_PREDICT pointer on decod miss prediction
6) UPT : Fix bug in multi event
7) Prediction_glue : in read_stack case, insert in UPT pc_next
8) Rename select : when rob have an event (need flush), read_r{a,b,c} and write_r{d,e} is set at 0

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  
    172172#endif
    173173                  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
    174178
    175179                  // Test if exception :
     
    340344                        (entry->read_rb))
    341345                    entry->address_next = PORT_READ(in_COMMIT_ADDRESS     [x]);
     346
     347#ifdef DEBUG
     348                  entry->cycle_commit            = sc_simulation_time();
     349#endif
    342350                  }
    343351              }
     
    406414                  }
    407415               
     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
    408428                // Update nb_inst
    409429                reg_NB_INST_COMMIT_ALL [front_end_id][context_id] --;
Note: See TracChangeset for help on using the changeset viewer.