From: Gabe Black Date: Wed, 12 Sep 2018 03:15:05 +0000 (-0700) Subject: systemc: Add a "kind()" overload to sc_port_base. X-Git-Tag: v19.0.0.0~1617 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f23ce702a4776318e592f101bd94d5127bb7ba9;p=gem5.git 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 --- 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 &);