systemc: Implement much of events, event lists and event exprs.
authorGabe Black <gabeblack@google.com>
Thu, 12 Jul 2018 03:00:50 +0000 (20:00 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Sep 2018 06:04:46 +0000 (06:04 +0000)
commit7b8c8bcaa5dc33cd7432cd3f25077321b09c61c9
treed4734cba6d15962384c47392b7d3ed9dd3178873
parent7088d69ab5fc70fca4890e0d0169fadd2b19bab8
systemc: Implement much of events, event lists and event exprs.

Three things aren't yet implemented, waking up processes which are
sensitive to the event, triggering of events, and garbage collecting
list objects which came from expression objects.

The garbage collection aspect is problematic since there doesn't seem
to be a correct way to implement it given the constraints in the spec,
including the way that's implemented by Accellera. It's something that
will need to be dealt with at some point, but in the interest of
forward progress it's being ignored for now.

Change-Id: Ic4e3c219ff482729f1f1302ab10181a798d48041
Reviewed-on: https://gem5-review.googlesource.com/11711
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/SConscript
src/systemc/core/event.cc [new file with mode: 0644]
src/systemc/core/event.hh [new file with mode: 0644]
src/systemc/core/object.cc
src/systemc/core/object.hh
src/systemc/core/sc_event.cc
src/systemc/ext/core/sc_event.hh