Last change
on this file since 114 was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
359 bytes
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | #include "Behavioural/include/Stat.h" |
---|
3 | #include "Common/include/Systemc.h" |
---|
4 | |
---|
5 | namespace morpheo { |
---|
6 | namespace behavioural { |
---|
7 | void Stat::end_cycle (void) |
---|
8 | { |
---|
9 | cycle_t _cycle_sum = simulation_cycle(); |
---|
10 | |
---|
11 | if (_cycle_sum >= _nb_cycle_before_begin) |
---|
12 | { |
---|
13 | (*_cycle) ++; |
---|
14 | |
---|
15 | eval_exprs(true); |
---|
16 | |
---|
17 | test_and_save(false); |
---|
18 | } |
---|
19 | } |
---|
20 | }; |
---|
21 | }; |
---|
22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.