systemc: Handle nonstandard cthread sensitivities.
authorGabe Black <gabeblack@google.com>
Sat, 15 Sep 2018 04:28:16 +0000 (21:28 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 21:51:03 +0000 (21:51 +0000)
commit164f3e01876b74618de111c4a0d2ee027d023e47
tree1ef0d19ca6bfbfb0233a10e3048539e3625645f3
parent69a40e98d01bab5c520723f35398c29f739d226f
systemc: Handle nonstandard cthread sensitivities.

Accellera allows some non-standard values in the second position of the
SC_CTHREAD macro. Do that as well, with the same special handling which
automatically selects the positive edge of boolean ports/interfaces.

Change-Id: I79594980898a17afc30fea6f77384589cbc3c250
Reviewed-on: https://gem5-review.googlesource.com/c/12809
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_sensitive.cc
src/systemc/ext/core/sc_module.hh
src/systemc/ext/core/sc_sensitive.hh