Last change
on this file since 125 was
112,
checked in by rosiere, 16 years ago
|
1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone
|
-
Property svn:keywords set to
Id
|
File size:
832 bytes
|
Line | |
---|
1 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
2 | /* |
---|
3 | * $Id: Comparator_end_cycle.cpp 112 2009-03-18 22:36:26Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Comparator/include/Comparator.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace comparator { |
---|
15 | |
---|
16 | |
---|
17 | #undef FUNCTION |
---|
18 | #define FUNCTION "Comparator::end_cycle" |
---|
19 | void Comparator::end_cycle () |
---|
20 | { |
---|
21 | log_begin(Comparator,FUNCTION); |
---|
22 | |
---|
23 | #ifdef STATISTICS |
---|
24 | if (usage_is_set(_usage,USE_STATISTICS)) |
---|
25 | _stat->end_cycle(); |
---|
26 | #endif |
---|
27 | |
---|
28 | #ifdef VHDL_TESTBENCH |
---|
29 | // Evaluation before read the ouput signal |
---|
30 | // sc_start(0); |
---|
31 | if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) |
---|
32 | _interfaces->testbench(); |
---|
33 | #endif |
---|
34 | |
---|
35 | log_end(Comparator,FUNCTION); |
---|
36 | }; |
---|
37 | |
---|
38 | }; // end namespace comparator |
---|
39 | }; // end namespace generic |
---|
40 | |
---|
41 | }; // end namespace behavioural |
---|
42 | }; // end namespace morpheo |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.