Changeset 111 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include
- Timestamp:
- Feb 27, 2009, 7:37:40 PM (15 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Parameters.h
r88 r111 35 35 public : uint32_t * _size_ras_index ; // [nb_context] 36 36 public : const bool _not_accurate_block_predict; 37 public : uint32_t _nb_thread ; 38 public : uint32_t * _translate_num_context_to_num_thread;//[nb_context] 37 39 38 40 //public : uint32_t _size_context_id ; … … 46 48 public : bool _have_port_history ; 47 49 50 public : bool * _have_thread ;//[nb_thread] 51 48 52 //-----[ methods ]----------------------------------------------------------- 49 53 public : Parameters (uint32_t nb_context , … … 57 61 uint32_t size_history , 58 62 uint32_t * size_ras_index , 63 uint32_t nb_thread , 64 uint32_t * translate_num_context_to_num_thread ,//[nb_context] 59 65 bool is_toplevel=false); 60 66 //public : Parameters (Parameters & param) ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Types.h
r109 r111 87 87 public : Tptr_t _index_ras ; 88 88 public : Tcontrol_t _ifetch_prediction; // not in ufpt 89 90 public : bool _retire_ok ; 89 91 }; 90 92 … … 146 148 case morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::EVENT_STATE_EVENT_FLUSH_UFPT_AND_UPT: return "event_flush_ufpt_and_upt"; break; 147 149 case morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::EVENT_STATE_UPDATE_CONTEXT : return "update_context" ; break; 148 case morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::EVENT_STATE_WAIT_END_EVENT : return "wait_ and_event" ; break;150 case morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::update_prediction_table::EVENT_STATE_WAIT_END_EVENT : return "wait_end_event" ; break; 149 151 default : return ""; break; 150 152 } -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Update_Prediction_Table.h
r110 r111 27 27 #endif 28 28 #include "Behavioural/include/Usage.h" 29 #include <fstream> 29 30 30 31 namespace morpheo { … … 109 110 public : SC_IN (Tcontrol_t ) ** in_BRANCH_COMPLETE_NO_SEQUENCE ; //[nb_inst_branch_complete] 110 111 public : SC_OUT(Tcontrol_t ) ** out_BRANCH_COMPLETE_MISS_PREDICTION; //[nb_inst_branch_complete] 111 public : SC_OUT(Tcontrol_t ) ** out_BRANCH_COMPLETE_TAKE ; //[nb_inst_branch_complete]112 public : SC_OUT(Taddress_t ) ** out_BRANCH_COMPLETE_ADDRESS_SRC ; //[nb_inst_branch_complete]113 public : SC_OUT(Taddress_t ) ** out_BRANCH_COMPLETE_ADDRESS_DEST ; //[nb_inst_branch_complete]112 // public : SC_OUT(Tcontrol_t ) ** out_BRANCH_COMPLETE_TAKE ; //[nb_inst_branch_complete] 113 // public : SC_OUT(Taddress_t ) ** out_BRANCH_COMPLETE_ADDRESS_SRC ; //[nb_inst_branch_complete] 114 // public : SC_OUT(Taddress_t ) ** out_BRANCH_COMPLETE_ADDRESS_DEST ; //[nb_inst_branch_complete] 114 115 115 116 // ~~~~~[ Interface : "branch_event" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 209 210 private : Tcontrol_t * internal_EVENT_ACK ; //[nb_context] 210 211 212 #if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true) 213 private : std::ofstream * branchement_log_file; 214 #endif 215 211 216 #endif 212 217
Note: See TracChangeset
for help on using the changeset viewer.