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