diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-15 22:42:26 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-28 21:20:59 +0000 |
commit | 098aa356cf42047def22bb90e0bae4f5b09bb363 (patch) | |
tree | 0899281bd7242561d9b59eaa0775a88097528f72 /src/systemc/ext | |
parent | 48a16049412ee5d99bbff650248d1d990bb38ada (diff) | |
download | gem5-098aa356cf42047def22bb90e0bae4f5b09bb363.tar.xz |
systemc: Add the nonstandard sc_hierarchical_name_exists function.
Change-Id: I1340bb6cb0ae29d81b5d73b3dd39ebb11c14802c
Reviewed-on: https://gem5-review.googlesource.com/11280
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext')
-rw-r--r-- | src/systemc/ext/core/_using.hh | 1 | ||||
-rw-r--r-- | src/systemc/ext/core/sc_module.hh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/systemc/ext/core/_using.hh b/src/systemc/ext/core/_using.hh index 8f00949b2..efc6341cd 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 78919613e..82b48ab16 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<sc_dt::sc_logic> &); 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; |