From: Gabe Black Date: Thu, 4 Oct 2018 22:58:55 +0000 (-0700) Subject: systemc: Run delta notifications in reverse insertion order. X-Git-Tag: v19.0.0.0~1530 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1618220d6d37e8ee8b374699898e5c5d3c5da0ed;p=gem5.git systemc: Run delta notifications in reverse insertion order. This is sort of pointless, except that it matches Accellera's behavior. Change-Id: Ia63f2de998157aa68ce36fdc2ba39ca7a80fecbe Reviewed-on: https://gem5-review.googlesource.com/c/13295 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/core/scheduler.cc b/src/systemc/core/scheduler.cc index 0071e2dd4..d4d70b256 100644 --- a/src/systemc/core/scheduler.cc +++ b/src/systemc/core/scheduler.cc @@ -330,7 +330,7 @@ Scheduler::runDelta() try { while (!deltas.empty()) - deltas.front()->run(); + deltas.back()->run(); } catch (...) { throwToScMain(); }