Last change
on this file since 119 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
|
Rev | Line | |
---|
[71] | 1 | #ifdef STATISTICS |
---|
| 2 | #include "Behavioural/include/Stat.h" |
---|
[113] | 3 | #include "Common/include/Systemc.h" |
---|
[71] | 4 | |
---|
| 5 | namespace morpheo { |
---|
| 6 | namespace behavioural { |
---|
| 7 | void Stat::end_cycle (void) |
---|
| 8 | { |
---|
[113] | 9 | cycle_t _cycle_sum = simulation_cycle(); |
---|
[71] | 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.