27 #ifndef SC_SIGNAL_RV_PORTS_H
28 #define SC_SIGNAL_RV_PORTS_H
48 :
public sc_in<sc_dt::sc_lv<W> >
120 virtual const char*
kind()
const
121 {
return "sc_in_rv"; }
140 base_type::end_of_elaboration();
144 std::sprintf( msg,
"%s (%s)", this->name(), kind() );
220 { (*this)->write( value_ );
return *
this; }
223 { (*this)->write( interface_.read() );
return *
this; }
226 { (*this)->write( port_->read() );
return *
this; }
229 { (*this)->write( port_->read() );
return *
this; }
232 { (*this)->write( port_->read() );
return *
this; }
241 virtual const char*
kind()
const
242 {
return "sc_inout_rv"; }
260 base_type::end_of_elaboration();
264 std::sprintf( msg,
"%s (%s)", this->name(), kind() );
344 { (*this)->write( value_ );
return *
this; }
347 { (*this)->write( interface_.read() );
return *
this; }
350 { (*this)->write( port_->read() );
return *
this; }
353 { (*this)->write( port_->read() );
return *
this; }
356 { (*this)->write( port_->read() );
return *
this; }
358 virtual const char*
kind()
const
359 {
return "sc_out_rv"; }
sc_inout_rv< W > base_type
sc_out_rv(const char *name_, this_type &parent_)
The sc_signal_rv<W> input port class.
sc_out_rv(const char *name_)
sc_in_rv(inout_port_type &parent_)
#define SC_REPORT_ERROR(msg_type, msg)
sc_inout_rv(this_type &parent_)
base_type::in_port_type in_port_type
sc_inout< data_type > base_type
sc_port< in_if_type, 1, SC_ONE_OR_MORE_BOUND > in_port_type
sc_out_rv(const char *name_, inout_port_type &parent_)
sc_inout_rv< W > this_type
base_type::inout_if_type inout_if_type
base_type::inout_port_type inout_port_type
virtual const char * kind() const
base_type::inout_port_type inout_port_type
sc_in_rv(this_type &parent_)
sc_out_rv(inout_if_type &interface_)
virtual void end_of_elaboration()
sc_dt::sc_lv< W > data_type
The sc_signal_rv<W> output port class.
sc_in_rv(const char *name_, in_port_type &parent_)
sc_inout_rv(inout_if_type &interface_)
virtual const char * kind() const
The sc_signal_rv<W> input/output port class.
base_type::in_if_type in_if_type
base_type inout_port_type
base_type::in_port_type in_port_type
sc_inout_rv(const char *name_, inout_if_type &interface_)
virtual const char * kind() const
sc_out_rv(const char *name_, inout_if_type &interface_)
base_type::in_port_type in_port_type
this_type & operator=(const data_type &value_)
base_type::in_if_type in_if_type
sc_dt::sc_lv< W > data_type
sc_out_rv(this_type &parent_)
sc_in_rv(const char *name_, this_type &parent_)
The resolved vector signal class.
base_type::inout_port_type inout_port_type
base_type::in_if_type in_if_type
sc_in_rv(const in_if_type &interface_)
sc_port< inout_if_type, 1, SC_ONE_OR_MORE_BOUND > inout_port_type
base_type::data_type data_type
sc_in_rv(const char *name_, inout_port_type &parent_)
sc_in_rv(in_port_type &parent_)
Abstract base class for class sc_port_b.
sc_in_rv(const char *name_)
sc_inout_rv(const char *name_)
sc_out_rv(inout_port_type &parent_)
virtual void end_of_elaboration()
sc_inout_rv(inout_port_type &parent_)
this_type & operator=(const data_type &value_)
sc_in< data_type > base_type
sc_signal_in_if< data_type > in_if_type
sc_inout_rv(const char *name_, inout_port_type &parent_)
sc_inout_rv(const char *name_, this_type &parent_)
sc_in_rv(const char *name_, const in_if_type &interface_)
base_type::inout_if_type inout_if_type