systemc: Add a "changeStamp" value to the scheduler.
authorGabe Black <gabeblack@google.com>
Thu, 30 Aug 2018 22:49:56 +0000 (15:49 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 3 Oct 2018 00:25:29 +0000 (00:25 +0000)
commit48701ed4bdfd5b9fc717efe4b758edcc0c7f5e8f
treee34fc1b0bd5ef269f6e395bee7c16d3369668768
parentef73520db53ca400b96f83a9f3cdcfbbf5577004
systemc: Add a "changeStamp" value to the scheduler.

This value is incremented after each delta cycle's evaluate stage and
after timed notifications happen. Its value is used by some channels
to determine whether certain events happened within the previous update
phase to implement the "event()", "posedge()", and "negedge()"
functions.

Change-Id: I9a73f0b5007dcbb6a74da9d666f28da1930b9d3d
Reviewed-on: https://gem5-review.googlesource.com/c/12452
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_prim.cc
src/systemc/core/scheduler.cc
src/systemc/core/scheduler.hh
src/systemc/ext/core/sc_prim.hh