Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/src/Parameters.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/src/Parameters.cpp
r81 r88 29 29 uint32_t pht_size_counter [3], 30 30 uint32_t pht_nb_counter [3], 31 uint32_t pht_size_address_share [3]) 31 uint32_t pht_size_address_share [3], 32 bool is_toplevel) 32 33 { 33 34 log_printf(FUNC,Direction,FUNCTION,"Begin"); … … 36 37 _nb_inst_predict = nb_inst_predict ; 37 38 _nb_inst_update = nb_inst_update ; 38 39 // _size_address = size_address ; 39 40 40 41 for (uint32_t i=0; i<3; i++) … … 141 142 _have_port_history = (_size_history > 0); 142 143 144 test(); 145 143 146 _param_glue = new morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::direction_glue::Parameters 144 147 (_predictor_scheme, 145 148 _nb_inst_predict , 146 149 _nb_inst_update , 147 _size_address ,150 size_address , 148 151 _size_history ); 149 152 150 test(); 151 153 if (is_toplevel) 154 { 155 _size_instruction_address = size_address; 156 157 copy (); 158 } 159 152 160 log_printf(FUNC,Direction,FUNCTION,"End"); 153 161 }; … … 172 180 }; 173 181 182 #undef FUNCTION 183 #define FUNCTION "Direction::copy" 184 void Parameters::copy (void) 185 { 186 log_printf(FUNC,Direction,FUNCTION,"Begin"); 187 188 COPY(_param_glue); 189 190 log_printf(FUNC,Direction,FUNCTION,"End"); 191 }; 192 174 193 }; // end namespace direction 175 194 }; // end namespace prediction_unit
Note: See TracChangeset
for help on using the changeset viewer.