systemc: Don't use write() in sc_clock to set the clock value.
authorGabe Black <gabeblack@google.com>
Tue, 2 Oct 2018 05:47:27 +0000 (22:47 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:45:13 +0000 (00:45 +0000)
commitc736ef1b2f6447be1dcd9c9e62cc072befa91443
treef6cbc03cbc68ded2122c6b56d454b5835b3c6be8
parentf93e27666f2ddc85afd618df6f2c3874ac967715
systemc: Don't use write() in sc_clock to set the clock value.

The two different processes we have to use to match Accellera behavior
would trip the checks in write.

Change-Id: Iee729b239bccd8f7b854894000c9ef2c47600563
Reviewed-on: https://gem5-review.googlesource.com/c/13202
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/ext/channel/sc_clock.hh