summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-06 13:57:06 -0700
committerGabe Black <gabeblack@google.com>2018-08-15 01:27:50 +0000
commit337b60a0fc825140c9fddc32972d21a092197be8 (patch)
treec1c3c012490bce06bf9ab9ef294a139bae8a3c27 /src
parentab744f4709e8fa53354800a8b3fc155d57d87356 (diff)
downloadgem5-337b60a0fc825140c9fddc32972d21a092197be8.tar.xz
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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/systemc/ext/core/sc_module.hh3
1 files changed, 3 insertions, 0 deletions
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> &, bool);
void reset_signal_is(const sc_inout<bool> &, bool);
void reset_signal_is(const sc_out<bool> &, bool);