source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_transition.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 912 bytes
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
12namespace morpheo                    {
13namespace behavioural {
14namespace stage_1_ifetch {
15namespace predictor {
16namespace meta_predictor {
17namespace two_level_branch_predictor {
18namespace 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.