systemc: When sc_start is told to run zero time, do one delta cycle.
authorGabe Black <gabeblack@google.com>
Thu, 16 Aug 2018 21:42:24 +0000 (14:42 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Sep 2018 01:51:29 +0000 (01:51 +0000)
commit7bfb7f3a43f382eb49853f47b140bfd6caad0fb8
tree9f6dc20f5cafc65c6b4a0088c7d1b2a1f0051749
parente1128dc8eb4afefcf4dad5eb5f863e0da921960a
systemc: When sc_start is told to run zero time, do one delta cycle.

This is a special case which is mentioned in the spec but hadn't yet
been given any special handling in this implementation.

Change-Id: I500d046f09d916a08e22821f8d3e2f490f8ba5bb
Reviewed-on: https://gem5-review.googlesource.com/12212
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_main.cc
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh