From 5ed90fffb6bdbbd5fe2316687faff05f641d6692 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 5 Sep 2018 19:28:44 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/channel/sc_clock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systemc/channel') 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); } -- cgit v1.2.3