- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Simulation_test_end.cpp
r110 r113 8 8 9 9 #include "Behavioural/include/Simulation.h" 10 #include "Common/include/Systemc.h" 10 11 11 12 namespace morpheo { … … 14 15 bool simulation_test_end (void) 15 16 { 16 msg("##########[ cycle %d ]\n",static_cast<uint32_t>(s c_simulation_time()));17 msg("##########[ cycle %d ]\n",static_cast<uint32_t>(simulation_cycle())); 17 18 18 19 // Test if a stop condition is activate … … 26 27 27 28 if (_simulation_nb_cycle != 0) 28 end_cycle = (_simulation_nb_cycle <= s c_simulation_time());29 end_cycle = (_simulation_nb_cycle <= simulation_cycle()); 29 30 else 30 31 end_cycle = true;
Note: See TracChangeset
for help on using the changeset viewer.