systemc: Implement channel updates and rework the scheduler.
authorGabe Black <gabeblack@google.com>
Thu, 5 Jul 2018 05:41:29 +0000 (22:41 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Sep 2018 06:04:19 +0000 (06:04 +0000)
commit7088d69ab5fc70fca4890e0d0169fadd2b19bab8
treec74b56e47f903c7fb8e722393e86a28410ae2c21
parent0aec777bf2fff0ac61cd36b7c0358dbe9350c784
systemc: Implement channel updates and rework the scheduler.

This change implements channel updates, and also reworks the scheduler
to delegate more to the gem5 event queue by taking advantage of
event priorities to ensure things happen in the right order. There's
a lengthy comment in scheduler.hh describes how that all works.

Change-Id: I5dee71b86b2e612bb720a4429f3a72e4b7c6d01f
Reviewed-on: https://gem5-review.googlesource.com/11710
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/SConscript
src/systemc/core/channel.cc [new file with mode: 0644]
src/systemc/core/channel.hh [new file with mode: 0644]
src/systemc/core/kernel.cc
src/systemc/core/sc_prim.cc
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh
src/systemc/ext/core/sc_prim.hh