Changeset 44 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest
- Timestamp:
- Jul 17, 2007, 4:47:56 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest/src/test.cpp
r15 r44 10 10 11 11 #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/SelfTest/include/test.h" 12 #include " Include/Test.h"12 #include "Common/include/Test.h" 13 13 14 14 void test (string name, … … 128 128 129 129 sc_start(0); 130 _Meta_Predictor->vhdl_testbench_label("Initialisation"); 130 131 NRESET->write(0); 132 sc_start(5); 133 NRESET->write(1); 134 131 135 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Initialisation" << endl; 132 136 133 134 _Meta_Predictor->vhdl_testbench_label("Loop of Test");135 137 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Loop of Test" << endl; 136 138 137 139 for (uint32_t iteration=0; iteration<NB_ITERATION; iteration ++) 138 140 { 139 _Meta_Predictor->vhdl_testbench_label("Iteration "+toString(iteration));140 141 141 142 sc_start(1); … … 146 147 ********************************************************/ 147 148 149 cout << "Test OK" << endl; 150 148 151 cout << "<" << name << "> ............ Stop Simulation" << endl; 149 152
Note: See TracChangeset
for help on using the changeset viewer.