Last change
on this file since 115 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
855 bytes
|
Rev | Line | |
---|
[75] | 1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
[2] | 2 | /* |
---|
| 3 | * $Id: Shifter_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/Shifter/include/Shifter.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace shifter { |
---|
| 15 | |
---|
[75] | 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Shifter::end_cycle" |
---|
| 18 | void Shifter::end_cycle () |
---|
[2] | 19 | { |
---|
[75] | 20 | log_printf(FUNC,Shifter,FUNCTION,"Begin"); |
---|
[2] | 21 | |
---|
[75] | 22 | #ifdef STATISTICS |
---|
[88] | 23 | if (usage_is_set(_usage,USE_STATISTICS)) |
---|
| 24 | _stat->end_cycle(); |
---|
[75] | 25 | #endif |
---|
| 26 | |
---|
| 27 | #ifdef VHDL_TESTBENCH |
---|
| 28 | // Evaluation before read the ouput signal |
---|
| 29 | // sc_start(0); |
---|
[88] | 30 | if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) |
---|
| 31 | _interfaces->testbench(); |
---|
[75] | 32 | #endif |
---|
| 33 | |
---|
| 34 | log_printf(FUNC,Shifter,FUNCTION,"End"); |
---|
[2] | 35 | }; |
---|
| 36 | |
---|
[75] | 37 | |
---|
[2] | 38 | }; // end namespace shifter |
---|
| 39 | }; // end namespace generic |
---|
| 40 | |
---|
| 41 | }; // end namespace behavioural |
---|
| 42 | }; // end namespace morpheo |
---|
| 43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.