systemc: Handle suspended processes and handle sensitivity overload.
authorGabe Black <gabeblack@google.com>
Mon, 16 Jul 2018 23:44:07 +0000 (16:44 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Sep 2018 06:07:01 +0000 (06:07 +0000)
commite02b2a3d3b0d2d56e7a968269da022cbe68f7ca2
tree308a2bd81be536f4ced7cda88d177ae7c929efcd
parenteb3b52b56c7caa20e7814ceab0005d63eeac3f6f
systemc: Handle suspended processes and handle sensitivity overload.

This change keeps track of whether a process would have become ready
but was suspended so that it can become ready when the process is
resumed.

Also, this makes a process ignore its static sensitivity while a
dynamic sensitivity is in place.

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