Last change
on this file since 128 was
82,
checked in by rosiere, 16 years ago
|
- support locale (now must "just" translate)
- update all component with new test format
- update all component with usage
- New component : decod queue and prediction_unit
|
File size:
752 bytes
|
Rev | Line | |
---|
[76] | 1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | @NAMESPACE_BEGIN |
---|
| 14 | |
---|
| 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "@COMPONENT::end_cycle" |
---|
| 17 | void @COMPONENT::end_cycle () |
---|
| 18 | { |
---|
[82] | 19 | log_begin(@COMPONENT,FUNCTION); |
---|
[76] | 20 | |
---|
| 21 | #ifdef STATISTICS |
---|
[81] | 22 | if (usage_is_set(_usage,USE_STATISTICS)) |
---|
| 23 | _stat->end_cycle(); |
---|
[76] | 24 | #endif |
---|
| 25 | |
---|
| 26 | #ifdef VHDL_TESTBENCH |
---|
| 27 | // Evaluation before read the ouput signal |
---|
| 28 | // sc_start(0); |
---|
[81] | 29 | if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) |
---|
| 30 | _interfaces->testbench(); |
---|
[76] | 31 | #endif |
---|
| 32 | |
---|
[82] | 33 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 34 | }; |
---|
| 35 | |
---|
| 36 | @NAMESPACE_END |
---|
| 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
| 39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.