summaryrefslogtreecommitdiff
path: root/src/systemc/core/module.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-06 00:10:20 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 01:00:42 +0000
commit05f2a5f4f67c6d6b71497a0b6c75faf728f963f6 (patch)
tree9901e11e6fcefc25d8f4b4e09957e3ee12b69a76 /src/systemc/core/module.cc
parente9b366922b6b2dcb9e36bfa87eb58aefc3e138fb (diff)
downloadgem5-05f2a5f4f67c6d6b71497a0b6c75faf728f963f6.tar.xz
systemc: Distinguish internal events from normal sc_events.
The internal events aren't supposed to show up in the namespace or as children of objects. Change-Id: Id04b9bfe2e1f8f216390dd989797558eaf33d715 Reviewed-on: https://gem5-review.googlesource.com/c/13309 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/module.cc')
-rw-r--r--src/systemc/core/module.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemc/core/module.cc b/src/systemc/core/module.cc
index 8cbde8f70..ec6c7761a 100644
--- a/src/systemc/core/module.cc
+++ b/src/systemc/core/module.cc
@@ -47,6 +47,8 @@ Module *_new_module;
} // anonymous namespace
+UniqueNameGen globalNameGen;
+
Module::Module(const char *name) :
_name(name), _sc_mod(nullptr), _obj(nullptr), _ended(false),
_deprecatedConstructor(false), bindingIndex(0)