sc_out(const char *name, sc_out<T> &parent) : sc_inout<T>(name, parent) {}
sc_out<T> &
- operator = (const T &)
+ operator = (const T &t)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (t);
+ return *this;
}
sc_out<T> &
- operator = (const sc_signal_in_if<T> &)
+ operator = (const sc_signal_in_if<T> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_port<sc_signal_in_if<T>, 1> &)
+ operator = (const sc_port<sc_signal_in_if<T>, 1> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_port<sc_signal_inout_if<T>, 1> &)
+ operator = (const sc_port<sc_signal_inout_if<T>, 1> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_out<T> &)
+ operator = (const sc_out<T> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
virtual const char *kind() const { return "sc_out"; }