Last change
on this file since 146 was
146,
checked in by rosiere, 13 years ago
|
1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags
|
-
Property svn:keywords set to
Id
|
File size:
604 bytes
|
Rev | Line | |
---|
[88] | 1 | #ifdef SYSTEMC |
---|
| 2 | /* |
---|
| 3 | * $Id: Morpheo_transition.cpp 146 2011-02-01 20:57:54Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "TopLevel/include/Morpheo.h" |
---|
| 10 | #include "Behavioural/include/Simulation.h" |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | |
---|
| 14 | using namespace behavioural; |
---|
| 15 | |
---|
| 16 | #undef FUNCTION |
---|
| 17 | #define FUNCTION "Morpheo::transition" |
---|
| 18 | void Morpheo::transition (void) |
---|
| 19 | { |
---|
| 20 | log_begin(Morpheo,FUNCTION); |
---|
[110] | 21 | |
---|
| 22 | // Re init the alarm |
---|
| 23 | alarm(debug_idle_time); |
---|
[88] | 24 | |
---|
| 25 | #if defined(STATISTICS) or defined(VHDL_TESTBENCH) |
---|
| 26 | end_cycle (); |
---|
| 27 | #endif |
---|
| 28 | |
---|
| 29 | // Test stop condition |
---|
| 30 | if (simulation_test_end()) |
---|
| 31 | sc_stop(); |
---|
| 32 | |
---|
| 33 | log_end(Morpheo,FUNCTION); |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.