summaryrefslogtreecommitdiff
path: root/src/systemc/tests
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-08-30 01:39:21 -0700
committerGabe Black <gabeblack@google.com>2018-10-03 00:21:28 +0000
commit1cc084fc7a214e6b3ed30910e9cd9a0c81f25b2f (patch)
tree87b0cafcc2559d3a95c964d2776068e78e1f1b37 /src/systemc/tests
parent475e8cd58094b6acad8d5ef8859c6fed0b543a2e (diff)
downloadgem5-1cc084fc7a214e6b3ed30910e9cd9a0c81f25b2f.tar.xz
systemc: Raise an error when SC_METHOD, etc. is used after starting.
Those mechanisms for creating processes are only allowed before the end of elaboration, or in other words before sc_start is called. Technically the check in Accellera's implementation won't trigger if the simulation is stopped, and we immitate that behavior. Change-Id: I9b8b5bd32f876781b6e0d5c0ee0e09de19bdabc1 Reviewed-on: https://gem5-review.googlesource.com/c/12447 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/tests')
0 files changed, 0 insertions, 0 deletions