summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-09-11 20:15:05 -0700
committerGabe Black <gabeblack@google.com>2018-10-09 21:47:46 +0000
commit1f23ce702a4776318e592f101bd94d5127bb7ba9 (patch)
treea9bed699af3cbdba9d55f40604963487513f682f /src/systemc
parent5a1ad990a64adccaa6116288771628103e47157c (diff)
downloadgem5-1f23ce702a4776318e592f101bd94d5127bb7ba9.tar.xz
systemc: Add a "kind()" overload to sc_port_base.
This is "implementation defined" but needs to exist to match the golden reference output from Accellera. Change-Id: I9b7949343b7c62a8d568abc06ab4dfc88233b20a Reviewed-on: https://gem5-review.googlesource.com/c/12621 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/ext/core/sc_port.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh
index 50c45dc0c..88745cc2e 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -68,6 +68,8 @@ class sc_port_base : public sc_object
int maxSize() const;
int size() const;
+ const char *kind() const { return "sc_port_base"; }
+
protected:
// Implementation defined, but depended on by the tests.
void bind(sc_interface &);