Changeset 43 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/src/test.cpp
- Timestamp:
- Jul 9, 2007, 11:04:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/SelfTest/src/test.cpp
r15 r43 137 137 BRANCH_COMPLETE_VAL [i]->write(0); 138 138 139 _Two_Level_Branch_Predictor->vhdl_testbench_label("Initialisation");140 139 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Initialisation" << endl; 141 140 … … 157 156 uint32_t nb_reg_by_group = (1<<(param._pht_size_address-size_address_shift)); 158 157 159 _Two_Level_Branch_Predictor->vhdl_testbench_label("Init pht");160 158 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Init pht" << endl; 161 159 … … 186 184 BRANCH_COMPLETE_BHT_HISTORY [num_port_branch_complete]->write(0); 187 185 188 _Two_Level_Branch_Predictor->vhdl_testbench_label("Init bht");189 186 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Init bht" << endl; 190 187 … … 206 203 BRANCH_COMPLETE_ADDRESS [num_port_branch_complete]->write(address); 207 204 208 _Two_Level_Branch_Predictor->vhdl_testbench_label("Loop of Test");209 205 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Loop of Test" << endl 210 206 << " * predict_address : " << hex << address << dec << endl; … … 219 215 for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++) 220 216 { 221 _Two_Level_Branch_Predictor->vhdl_testbench_label("Iteration "+toString(iteration));222 223 217 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Predict : bht_history " << bht_history << " - pht_history " << pht_history[bht_history] << endl; 224 218
Note: See TracChangeset
for help on using the changeset viewer.