diff --git a/src/systemc/core/sc_module.cc b/src/systemc/core/sc_module.cc index 0954ce9c28..ffcff9ece6 100644 --- a/src/systemc/core/sc_module.cc +++ b/src/systemc/core/sc_module.cc @@ -614,6 +614,13 @@ sc_gen_unique_name(const char *) return ""; } +bool +sc_hierarchical_name_exists(const char *name) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return false; +} + bool sc_start_of_simulation_invoked() { diff --git a/src/systemc/ext/core/_using.hh b/src/systemc/ext/core/_using.hh index 8f00949b2d..efc6341cd3 100644 --- a/src/systemc/ext/core/_using.hh +++ b/src/systemc/ext/core/_using.hh @@ -93,6 +93,7 @@ using sc_core::next_trigger; using sc_core::wait; using sc_core::halt; using sc_core::sc_gen_unique_name; +using sc_core::sc_hierarchical_name_exists; using sc_core::sc_behavior; using sc_core::sc_channel; using sc_core::sc_start_of_simulation_invoked; diff --git a/src/systemc/ext/core/sc_module.hh b/src/systemc/ext/core/sc_module.hh index 78919613e1..82b48ab161 100644 --- a/src/systemc/ext/core/sc_module.hh +++ b/src/systemc/ext/core/sc_module.hh @@ -272,6 +272,9 @@ void at_negedge(const sc_signal_in_if &); const char *sc_gen_unique_name(const char *); +// Nonstandard +bool sc_hierarchical_name_exists(const char *name); + typedef sc_module sc_behavior; typedef sc_module sc_channel;