Last change
on this file since 137 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:
1.1 KB
|
Rev | Line | |
---|
[75] | 1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
[60] | 2 | /* |
---|
| 3 | * $Id: Register_unit_Glue_end_cycle.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/Register_unit_Glue/include/Register_unit_Glue.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_execute_loop { |
---|
| 15 | namespace execute_loop { |
---|
| 16 | namespace register_unit { |
---|
| 17 | namespace register_unit_glue { |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
[75] | 20 | #define FUNCTION "Register_unit_Glue::end_cycle" |
---|
| 21 | void Register_unit_Glue::end_cycle () |
---|
[60] | 22 | { |
---|
| 23 | log_printf(FUNC,Register_unit_Glue,FUNCTION,"Begin"); |
---|
| 24 | |
---|
[75] | 25 | #ifdef STATISTICS |
---|
[88] | 26 | if (usage_is_set(_usage,USE_STATISTICS)) |
---|
| 27 | _stat->end_cycle(); |
---|
[75] | 28 | #endif |
---|
| 29 | |
---|
| 30 | #ifdef VHDL_TESTBENCH |
---|
[60] | 31 | // Evaluation before read the ouput signal |
---|
[75] | 32 | // sc_start(0); |
---|
[88] | 33 | if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) |
---|
| 34 | _interfaces->testbench(); |
---|
[75] | 35 | #endif |
---|
[60] | 36 | |
---|
| 37 | log_printf(FUNC,Register_unit_Glue,FUNCTION,"End"); |
---|
| 38 | }; |
---|
| 39 | |
---|
| 40 | }; // end namespace register_unit_glue |
---|
| 41 | }; // end namespace register_unit |
---|
| 42 | }; // end namespace execute_loop |
---|
| 43 | }; // end namespace multi_execute_loop |
---|
| 44 | }; // end namespace core |
---|
| 45 | |
---|
| 46 | }; // end namespace behavioural |
---|
| 47 | }; // end namespace morpheo |
---|
| 48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.