summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-04 15:58:55 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 00:52:51 +0000
commit1618220d6d37e8ee8b374699898e5c5d3c5da0ed (patch)
treea79ade5f380a3808caa673f6877469a3b5bccd8f /src/systemc
parentee3e3278fd7e0d805ea0ecbf97a113cc5086c0af (diff)
downloadgem5-1618220d6d37e8ee8b374699898e5c5d3c5da0ed.tar.xz
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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/core/scheduler.cc2
1 files changed, 1 insertions, 1 deletions
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();
}