From 337b60a0fc825140c9fddc32972d21a092197be8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 6 Jun 2018 13:57:06 -0700 Subject: [PATCH] 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 --- src/systemc/ext/core/sc_module.hh | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2