From 86d82dff58d631318161127b67d5689bb44f76cf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 10 Sep 2018 17:25:00 -0700 Subject: systemc: Keep all pre-init processes on a single list. We were keeping track of processes which should be initialized and those which shouldn't on two different lists, and then processing each list one after the other. This could reorder processes from the order they were created, and so cause spurious differences which cause the Accellera tests to fail. This does make the scheduler slightly simpler, so it's not all bad. Change-Id: I63306a41ce7bea91fa9ff2f6774ce9150134ce48 Reviewed-on: https://gem5-review.googlesource.com/c/12613 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/channel/sc_clock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systemc/channel/sc_clock.cc') diff --git a/src/systemc/channel/sc_clock.cc b/src/systemc/channel/sc_clock.cc index 2a412351f..332604f63 100644 --- a/src/systemc/channel/sc_clock.cc +++ b/src/systemc/channel/sc_clock.cc @@ -66,8 +66,8 @@ class ClockTick : public ScEvent createProcess() { p = new Method(name.c_str(), &funcWrapper, true); + p->dontInitialize(true); scheduler.reg(p); - scheduler.dontInitialize(p); } ~ClockTick() -- cgit v1.2.3