Last change
on this file since 98 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[2] | 1 | #ifdef SYSTEMC |
---|
| 2 | #if (defined(STATISTICS) || defined (VHDL_TESTBENCH)) |
---|
| 3 | /* |
---|
| 4 | * $Id: Branch_History_Table_transition.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
[48] | 10 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h" |
---|
[2] | 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
[48] | 14 | namespace core { |
---|
| 15 | namespace multi_front_end { |
---|
| 16 | namespace front_end { |
---|
| 17 | namespace prediction_unit { |
---|
| 18 | namespace direction { |
---|
| 19 | |
---|
[2] | 20 | namespace meta_predictor { |
---|
| 21 | namespace two_level_branch_predictor { |
---|
| 22 | namespace branch_history_table { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | void Branch_History_Table::transition (void) |
---|
| 26 | { |
---|
| 27 | #ifdef STATISTICS |
---|
| 28 | _stat->add(); |
---|
| 29 | #endif |
---|
| 30 | |
---|
| 31 | #ifdef VHDL_TESTBENCH |
---|
| 32 | vhdl_testbench_transition (); |
---|
| 33 | #endif |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | }; // end namespace branch_history_table |
---|
| 37 | }; // end namespace two_level_branch_predictor |
---|
| 38 | }; // end namespace meta_predictor |
---|
| 39 | |
---|
[48] | 40 | }; // end namespace core |
---|
| 41 | }; // end namespace multi_front_end |
---|
| 42 | }; // end namespace front_end |
---|
| 43 | }; // end namespace prediction_unit |
---|
| 44 | }; // end namespace direction |
---|
| 45 | |
---|
| 46 | |
---|
[2] | 47 | }; // end namespace behavioural |
---|
| 48 | }; // end namespace morpheo |
---|
| 49 | #endif |
---|
| 50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.