Changeset 15 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/SelfTest/src
- Timestamp:
- Apr 5, 2007, 4:17:30 PM (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/Branch_History_Table/SelfTest/src/test.cpp
r3 r15 46 46 *********************************************************************/ 47 47 sc_clock CLOCK ("clock", 1.0, 0.5); 48 sc_signal<Tcontrol_t> NRESET; 48 49 sc_signal<Tcontrol_t> PREDICT_VAL [param._nb_prediction]; 49 50 sc_signal<Tcontrol_t> PREDICT_ACK [param._nb_prediction]; … … 64 65 65 66 (*(_Branch_History_Table->in_CLOCK)) (CLOCK); 67 (*(_Branch_History_Table->in_NRESET)) (NRESET); 66 68 67 69 for (uint32_t i=0; i<param._nb_prediction; i++) … … 97 99 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} Initialisation" << endl; 98 100 101 NRESET.write(1); 99 102 for (uint32_t i=0; i<param._nb_prediction; i++) 100 103 PREDICT_VAL [i].write(0);
Note: See TracChangeset
for help on using the changeset viewer.