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