diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-11 20:14:22 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-09 21:47:27 +0000 |
commit | 5a1ad990a64adccaa6116288771628103e47157c (patch) | |
tree | 6991311041e148e1f25a5f9bc5bfa73267991ee9 /src/systemc/ext/channel/sc_out_resolved.hh | |
parent | a41c71b3121b0e31f9c69032aaf91c222b857e8c (diff) | |
download | gem5-5a1ad990a64adccaa6116288771628103e47157c.tar.xz |
systemc: Implement the sc_*_resolved classes.
Change-Id: Ib595da10e0f900ee4cc1847d41d29251dacb55d7
Reviewed-on: https://gem5-review.googlesource.com/c/12620
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/channel/sc_out_resolved.hh')
-rw-r--r-- | src/systemc/ext/channel/sc_out_resolved.hh | 7 |
1 files changed, 4 insertions, 3 deletions
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<sc_dt::sc_logic> +class sc_out_resolved : public sc_inout_resolved { public: sc_out_resolved(); @@ -60,11 +61,11 @@ class sc_out_resolved : public sc_out<sc_dt::sc_logic> const sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 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_dt::sc_logic>() {} + sc_out_resolved(const sc_out_resolved &) : sc_inout_resolved() {} }; } // namespace sc_core |