systemc: Change how sc_clock creates processes to match the tests.
authorGabe Black <gabeblack@google.com>
Sat, 8 Sep 2018 01:22:18 +0000 (18:22 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 21:43:32 +0000 (21:43 +0000)
commit18ca156d81b7399945fdb11a3a8aee34f05bf92c
tree1dfc450d0f18f2519cffd25959472579dea3af79
parent442d556fbfa85673c9a3be222cb9630ba5b05be1
systemc: Change how sc_clock creates processes to match the tests.

Accellera sets up the mechanism which toggles sc_clock differently
than it's set up in gem5. This change moves things around a little to
more closely match the order things are done by Accellera so that the
test output matches.

Change-Id: Ia6d327f4cd5d689f6969398f02a66278a3dc010c
Reviewed-on: https://gem5-review.googlesource.com/c/12609
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/channel/sc_clock.cc