From 5a1ad990a64adccaa6116288771628103e47157c Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 11 Sep 2018 20:14:22 -0700 Subject: systemc: Implement the sc_*_resolved classes. Change-Id: Ib595da10e0f900ee4cc1847d41d29251dacb55d7 Reviewed-on: https://gem5-review.googlesource.com/c/12620 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/channel/sc_out_resolved.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/systemc/ext/channel/sc_out_resolved.hh') diff --git a/src/systemc/ext/channel/sc_out_resolved.hh b/src/systemc/ext/channel/sc_out_resolved.hh index 0a8f2986a..25f923431 100644 --- a/src/systemc/ext/channel/sc_out_resolved.hh +++ b/src/systemc/ext/channel/sc_out_resolved.hh @@ -30,6 +30,7 @@ #ifndef __SYSTEMC_EXT_CHANNEL_SC_OUT_RESOLVED_HH__ #define __SYSTEMC_EXT_CHANNEL_SC_OUT_RESOLVED_HH__ +#include "sc_inout_resolved.hh" #include "sc_out.hh" #include "sc_signal_in_if.hh" #include "sc_signal_inout_if.hh" @@ -45,7 +46,7 @@ class sc_logic; namespace sc_core { -class sc_out_resolved : public sc_out +class sc_out_resolved : public sc_inout_resolved { public: sc_out_resolved(); @@ -60,11 +61,11 @@ class sc_out_resolved : public sc_out const sc_port, 1> &); sc_out_resolved &operator = (const sc_out_resolved &); - virtual const char *kind() const; + virtual const char *kind() const { return "sc_out_resolved"; } private: // Disabled - sc_out_resolved(const sc_out_resolved &) : sc_out() {} + sc_out_resolved(const sc_out_resolved &) : sc_inout_resolved() {} }; } // namespace sc_core -- cgit v1.2.3