Last change
on this file since 75 was
75,
checked in by rosiere, 16 years ago
|
Update all component (except front_end) to :
- new statistics model
- no namespace std
|
File size:
955 bytes
|
Rev | Line | |
---|
[75] | 1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
[60] | 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/include/Register_unit.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 | |
---|
| 18 | #undef FUNCTION |
---|
[75] | 19 | #define FUNCTION "Register_unit::end_cycle" |
---|
| 20 | void Register_unit::end_cycle () |
---|
[60] | 21 | { |
---|
| 22 | log_printf(FUNC,Register_unit,FUNCTION,"Begin"); |
---|
| 23 | |
---|
[75] | 24 | #ifdef STATISTICS |
---|
| 25 | _stat->end_cycle(); |
---|
| 26 | #endif |
---|
| 27 | |
---|
| 28 | #ifdef VHDL_TESTBENCH |
---|
[60] | 29 | // Evaluation before read the ouput signal |
---|
[75] | 30 | // sc_start(0); |
---|
[60] | 31 | _interfaces->testbench(); |
---|
[75] | 32 | #endif |
---|
[60] | 33 | |
---|
| 34 | log_printf(FUNC,Register_unit,FUNCTION,"End"); |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | }; // end namespace register_unit |
---|
| 38 | }; // end namespace execute_loop |
---|
| 39 | }; // end namespace multi_execute_loop |
---|
| 40 | }; // end namespace core |
---|
| 41 | |
---|
| 42 | }; // end namespace behavioural |
---|
| 43 | }; // end namespace morpheo |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.