Last change
on this file since 130 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:
653 bytes
|
Rev | Line | |
---|
[88] | 1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 2 | /* |
---|
| 3 | * $Id: Morpheo_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "TopLevel/include/Morpheo.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | |
---|
| 13 | using namespace behavioural; |
---|
| 14 | |
---|
| 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "Morpheo::end_cycle" |
---|
| 17 | void Morpheo::end_cycle () |
---|
| 18 | { |
---|
| 19 | log_begin(Morpheo,FUNCTION); |
---|
| 20 | |
---|
| 21 | #ifdef STATISTICS |
---|
| 22 | if (usage_is_set(_usage,USE_STATISTICS)) |
---|
| 23 | _stat->end_cycle(); |
---|
| 24 | #endif |
---|
| 25 | |
---|
| 26 | #ifdef VHDL_TESTBENCH |
---|
| 27 | // Evaluation before read the ouput signal |
---|
| 28 | // sc_start(0); |
---|
| 29 | if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) |
---|
| 30 | _interfaces->testbench(); |
---|
| 31 | #endif |
---|
| 32 | |
---|
| 33 | log_end(Morpheo,FUNCTION); |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.