diff options
-rw-r--r-- | src/systemc/core/scheduler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemc/core/scheduler.cc b/src/systemc/core/scheduler.cc index a2e52f0ca..465da552f 100644 --- a/src/systemc/core/scheduler.cc +++ b/src/systemc/core/scheduler.cc @@ -108,6 +108,8 @@ Scheduler::clear() void Scheduler::initPhase() { + runUpdate(); + for (Process *p = initList.getNext(); p; p = initList.getNext()) { p->popListNode(); @@ -121,7 +123,6 @@ Scheduler::initPhase() } } - runUpdate(); runDelta(); for (auto ets: eventsToSchedule) |