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/Branch_History_Table/include/Branch_History_Table.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 | namespace branch_history_table { |
---|
19 | |
---|
20 | |
---|
21 | void Branch_History_Table::transition (void) |
---|
22 | { |
---|
23 | #ifdef STATISTICS |
---|
24 | _stat->add(); |
---|
25 | #endif |
---|
26 | |
---|
27 | #ifdef VHDL_TESTBENCH |
---|
28 | vhdl_testbench_transition (); |
---|
29 | #endif |
---|
30 | }; |
---|
31 | |
---|
32 | }; // end namespace branch_history_table |
---|
33 | }; // end namespace two_level_branch_predictor |
---|
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.