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

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

Import Morpheo

File size: 969 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/include/Two_Level_Branch_Predictor.h"
11
12namespace morpheo                    {
13namespace behavioural {
14namespace stage_1_ifetch {
15namespace predictor {
16namespace meta_predictor {
17namespace 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.