Last change
on this file since 43 was
5,
checked in by rosiere, 18 years ago
|
Ajout du composant Meta_Predictor
|
File size:
805 bytes
|
Rev | Line | |
---|
[5] | 1 | #ifdef SYSTEMC |
---|
| 2 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace stage_1_ifetch { |
---|
| 15 | namespace predictor { |
---|
| 16 | namespace meta_predictor { |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | void Meta_Predictor::transition (void) |
---|
| 20 | { |
---|
| 21 | log_printf(FUNC,Meta_Predictor,"transition","Begin"); |
---|
| 22 | |
---|
| 23 | #ifdef STATISTICS |
---|
| 24 | _stat->add(); |
---|
| 25 | #endif |
---|
| 26 | |
---|
| 27 | #ifdef VHDL_TESTBENCH |
---|
| 28 | vhdl_testbench_transition (); |
---|
| 29 | #endif |
---|
| 30 | |
---|
| 31 | log_printf(FUNC,Meta_Predictor,"transition","End"); |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | }; // end namespace meta_predictor |
---|
| 35 | }; // end namespace predictor |
---|
| 36 | }; // end namespace stage_1_ifetch |
---|
| 37 | |
---|
| 38 | }; // end namespace behavioural |
---|
| 39 | }; // end namespace morpheo |
---|
| 40 | #endif |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.