summaryrefslogtreecommitdiff
path: root/src/systemc/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/core')
-rw-r--r--src/systemc/core/scheduler.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systemc/core/scheduler.cc b/src/systemc/core/scheduler.cc
index 4b566ca20..da1dd2d03 100644
--- a/src/systemc/core/scheduler.cc
+++ b/src/systemc/core/scheduler.cc
@@ -50,9 +50,11 @@ Scheduler::Scheduler() :
stopEvent(this, false, StopPriority), _throwUp(nullptr),
starvationEvent(this, false, StarvationPriority),
_elaborationDone(false), _started(false), _stopNow(false),
- _status(StatusOther), maxTickEvent(this, false, MaxTickPriority),
+ _status(StatusOther), maxTick(::MaxTick),
+ maxTickEvent(this, false, MaxTickPriority),
timeAdvancesEvent(this, false, TimeAdvancesPriority), _numCycles(0),
- _changeStamp(0), _current(nullptr), initDone(false), runOnce(false)
+ _changeStamp(0), _current(nullptr), initDone(false), runToTime(true),
+ runOnce(false)
{}
Scheduler::~Scheduler()