systemc: Add some deprecated sc_module constructors.

Change-Id: Ibe2bfe63536af33fca6040f4aef999ee928d876b
Reviewed-on: https://gem5-review.googlesource.com/11278
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-06-15 21:44:15 -07:00
parent 40eb6f9f14
commit 61cf433946
2 changed files with 14 additions and 0 deletions

View File

@@ -155,6 +155,16 @@ sc_module::sc_module()
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
sc_module::sc_module(const char *)
{
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
sc_module::sc_module(const std::string &)
{
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
void
sc_module::reset_signal_is(const sc_in<bool> &, bool)
{

View File

@@ -148,6 +148,10 @@ class sc_module : public sc_object
sc_module(const sc_module_name &);
sc_module();
// Deprecated
sc_module(const char *);
sc_module(const std::string &);
/* Deprecated, but used in the regression tests. */
void end_module() {}