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 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace generic { |
---|
15 | namespace 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.