Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/12621
Change subject: systemc: Add a "kind()" overload to sc_port_base.
......................................................................
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
---
M src/systemc/ext/core/sc_port.hh
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/systemc/ext/core/sc_port.hh
b/src/systemc/ext/core/sc_port.hh
index 50c45dc..88745cc 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -68,6 +68,8 @@
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 &);
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/12621
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I9b7949343b7c62a8d568abc06ab4dfc88233b20a
Gerrit-Change-Number: 12621
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev