diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-05 19:28:44 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-09 21:38:23 +0000 |
commit | 5ed90fffb6bdbbd5fe2316687faff05f641d6692 (patch) | |
tree | 842b96779ee67fec12d7ba48a017791b02cf117d /src/systemc/channel | |
parent | dee485ff6779ef81b8d26c68041ded4065fb1402 (diff) | |
download | gem5-5ed90fffb6bdbbd5fe2316687faff05f641d6692.tar.xz |
systemc: Warn if a process is dont_initialize with no static sensitivieis.
Change-Id: I4db64f42872a6fb459faa401abdad3f168297347
Reviewed-on: https://gem5-review.googlesource.com/c/12599
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/channel')
-rw-r--r-- | src/systemc/channel/sc_clock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/channel/sc_clock.cc b/src/systemc/channel/sc_clock.cc index 7cdd1c1d1..25c07b3b2 100644 --- a/src/systemc/channel/sc_clock.cc +++ b/src/systemc/channel/sc_clock.cc @@ -61,7 +61,7 @@ class ClockTick : public ScEvent { _name += (to ? ".up_tick" : ".down_tick"); _procName = _name + ".p"; - p = new Method(_procName.c_str(), &funcWrapper); + p = new Method(_procName.c_str(), &funcWrapper, true); scheduler.reg(p); scheduler.dontInitialize(p); } |