diff options
Diffstat (limited to 'src/systemc')
-rw-r--r-- | src/systemc/core/kernel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/core/kernel.cc b/src/systemc/core/kernel.cc index 5804f9683..11292c4a5 100644 --- a/src/systemc/core/kernel.cc +++ b/src/systemc/core/kernel.cc @@ -82,6 +82,8 @@ Kernel::init() m->beforeEndOfElaboration(); for (auto c: sc_gem5::allChannels) c->sc_chan()->before_end_of_elaboration(); + + ::sc_gem5::scheduler.elaborationDone(true); } void @@ -106,8 +108,6 @@ Kernel::regStats() } catch (...) { ::sc_gem5::scheduler.throwToScMain(); } - - ::sc_gem5::scheduler.elaborationDone(true); } void |