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