From 1f23ce702a4776318e592f101bd94d5127bb7ba9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 11 Sep 2018 20:15:05 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/ext/core/sc_port.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/systemc/ext/core/sc_port.hh') 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 &); -- cgit v1.2.3