From dd017903991f51e1fa8df8dbc21cbb4a1501c1c1 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 15 Sep 2018 15:24:28 -0700 Subject: systemc: Implement the sc_signal_rv channel and ports. Change-Id: Id1a3fd2ded224bbe94a4a65e0acf34a3547aedcc Reviewed-on: https://gem5-review.googlesource.com/c/12813 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/channel/sc_out_rv.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/systemc/ext/channel/sc_out_rv.hh') diff --git a/src/systemc/ext/channel/sc_out_rv.hh b/src/systemc/ext/channel/sc_out_rv.hh index af5b05526..ace1f05c5 100644 --- a/src/systemc/ext/channel/sc_out_rv.hh +++ b/src/systemc/ext/channel/sc_out_rv.hh @@ -56,33 +56,33 @@ class sc_out_rv : public sc_inout_rv virtual ~sc_out_rv() {}; sc_out_rv & - operator = (const sc_dt::sc_lv &) + operator = (const sc_dt::sc_lv &l) { - sc_channel_warn_unimpl(__PRETTY_FUNCTION__); + (*this)->write(l); return *this; } sc_out_rv & - operator = (const sc_signal_in_if> &) + operator = (const sc_signal_in_if> &i) { - sc_channel_warn_unimpl(__PRETTY_FUNCTION__); + (*this)->write(i.read()); return *this; } sc_out_rv & - operator = (const sc_port>, 1> &) + operator = (const sc_port>, 1> &p) { - sc_channel_warn_unimpl(__PRETTY_FUNCTION__); + (*this)->write(p->read()); return *this; } sc_out_rv & - operator = (const sc_port>, 1> &) + operator = (const sc_port>, 1> &p) { - sc_channel_warn_unimpl(__PRETTY_FUNCTION__); + (*this)->write(p->read()); return *this; } sc_out_rv & - operator = (const sc_out_rv &) + operator = (const sc_out_rv &p) { - sc_channel_warn_unimpl(__PRETTY_FUNCTION__); + (*this)->write(p->read()); return *this; } -- cgit v1.2.3