diff options
author | Gabe Black <gabeblack@google.com> | 2018-08-15 23:35:38 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-20 01:50:03 +0000 |
commit | f9298649bb4d1f20b244a6e0930bb82be5ec7397 (patch) | |
tree | 28a7d86e1e7b26313f674407993b56e7306364fc /src/systemc/core/module.hh | |
parent | 82958266d412e82c910b2ce35ac2a72e6c9fe358 (diff) | |
download | gem5-f9298649bb4d1f20b244a6e0930bb82be5ec7397.tar.xz |
systemc: Track exports and prim channels, and call their callbacks.
Also call the callbacks on the ports which were already being tracked.
Change-Id: I5ba8ea366e87fc48b58712f35b93c27bccf92cb3
Reviewed-on: https://gem5-review.googlesource.com/12210
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/module.hh')
-rw-r--r-- | src/systemc/core/module.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemc/core/module.hh b/src/systemc/core/module.hh index 0a6d9b7bb..e988b9667 100644 --- a/src/systemc/core/module.hh +++ b/src/systemc/core/module.hh @@ -44,6 +44,7 @@ namespace sc_core { class sc_port_base; +class sc_export_base; } // namespace sc_core @@ -111,6 +112,7 @@ class Module const char *uniqueName(const char *seed) { return nameGen.gen(seed); } std::vector<::sc_core::sc_port_base *> ports; + std::vector<::sc_core::sc_export_base *> exports; }; Module *currentModule(); |