From: Gabe Black Date: Wed, 6 Jun 2018 20:57:06 +0000 (-0700) Subject: systemc: Add the deprecated sc_module::end_module function. X-Git-Tag: v19.0.0.0~1955 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=337b60a0fc825140c9fddc32972d21a092197be8;p=gem5.git systemc: Add the deprecated sc_module::end_module function. The regression tests use this function. In the Accellera implementation it seems to just do some error checking, so our version doesn't do anything for now. Change-Id: Icaad45e934bad69e301bc0234f73e69791940736 Reviewed-on: https://gem5-review.googlesource.com/10854 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/ext/core/sc_module.hh b/src/systemc/ext/core/sc_module.hh index 4c4ebb269..0600aa6e6 100644 --- a/src/systemc/ext/core/sc_module.hh +++ b/src/systemc/ext/core/sc_module.hh @@ -141,6 +141,9 @@ class sc_module : public sc_object sc_module(const sc_module_name &); sc_module(); + /* Deprecated, but used in the regression tests. */ + void end_module() {} + void reset_signal_is(const sc_in &, bool); void reset_signal_is(const sc_inout &, bool); void reset_signal_is(const sc_out &, bool);