source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_transition.cpp @ 2

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

Import Morpheo

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