Changeset 146 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters.cpp
- Timestamp:
- Feb 1, 2011, 9:57:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters.cpp
r128 r146 21 21 #undef FUNCTION 22 22 #define FUNCTION "Meta_Predictor::Parameters" 23 Parameters::Parameters (uint32_t nb_inst_predict , 24 uint32_t nb_inst_update , 25 uint32_t size_address , 26 bool have_bht [3], 27 uint32_t bht_size_shifter [3], 28 uint32_t bht_nb_shifter [3], 29 bool have_pht [3], 30 uint32_t pht_size_counter [3], 31 uint32_t pht_nb_counter [3], 32 uint32_t pht_size_address_share [3], 33 bool is_toplevel) 23 Parameters::Parameters (uint32_t nb_inst_predict , 24 uint32_t nb_inst_update , 25 uint32_t size_address , 26 bool have_bht [3], 27 uint32_t bht_size_shifter [3], 28 uint32_t bht_nb_shifter [3], 29 bool have_pht [3], 30 uint32_t pht_size_counter [3], 31 uint32_t pht_nb_counter [3], 32 uint32_t pht_size_address_share [3], 33 Tpht_scheme_t pht_scheme [3], 34 bool is_toplevel) 34 35 { 35 36 log_begin(Meta_Predictor,FUNCTION); … … 47 48 _pht_nb_counter [i] = (_have_pht [i])?pht_nb_counter [i]:0; 48 49 _pht_size_address_share [i] = (_have_bht[i] and _have_pht [i])?pht_size_address_share [i]:0; 50 _pht_scheme [i] = (_have_pht [i])?pht_scheme [i]:PHT_SCHEME_COUNTER; 49 51 } 50 52 … … 83 85 _pht_nb_counter [i], 84 86 _pht_size_address_share [i], 85 _predictor_update_on_prediction [i] 87 _pht_scheme [i], 88 _predictor_update_on_prediction [i] 86 89 ); 87 90
Note: See TracChangeset
for help on using the changeset viewer.