33 #ifndef SC_SIGNAL_RESOLVED_PORTS_H 34 #define SC_SIGNAL_RESOLVED_PORTS_H 49 :
public sc_in<sc_dt::sc_logic>
77 : base_type( interface_ )
81 : base_type( name_, interface_ )
85 : base_type( parent_ )
89 : base_type( name_, parent_ )
93 : base_type( parent_ )
97 : base_type( name_, parent_ )
101 : base_type( parent_ )
105 : base_type( name_, parent_ )
119 virtual void end_of_elaboration();
121 virtual const char*
kind()
const 122 {
return "sc_in_resolved"; }
128 this_type& operator = (
const this_type& );
168 : base_type( interface_ )
172 : base_type( name_, interface_ )
176 : base_type( parent_ )
180 : base_type( name_, parent_ )
184 : base_type( parent_ )
188 : base_type( name_, parent_ )
200 this_type& operator = (
const data_type& value_ )
201 { (*this)->write( value_ );
return *
this; }
203 this_type& operator = (
const in_if_type& interface_ )
204 { (*this)->write( interface_.
read() );
return *
this; }
206 this_type& operator = (
const in_port_type& port_ )
207 { (*this)->write( port_->read() );
return *
this; }
209 this_type& operator = (
const inout_port_type& port_ )
210 { (*this)->write( port_->read() );
return *
this; }
212 this_type& operator = (
const this_type& port_ )
213 { (*this)->write( port_->read() );
return *
this; }
220 virtual void end_of_elaboration();
222 virtual const char*
kind()
const 223 {
return "sc_inout_resolved"; }
272 : base_type( interface_ )
276 : base_type( name_, interface_ )
280 : base_type( parent_ )
284 : base_type( name_, parent_ )
288 : base_type( parent_ )
292 : base_type( name_, parent_ )
304 this_type& operator = (
const data_type& value_ )
305 { (*this)->write( value_ );
return *
this; }
307 this_type& operator = (
const in_if_type& interface_ )
308 { (*this)->write( interface_.
read() );
return *
this; }
310 this_type& operator = (
const in_port_type& port_ )
311 { (*this)->write( port_->read() );
return *
this; }
313 this_type& operator = (
const inout_port_type& port_ )
314 { (*this)->write( port_->read() );
return *
this; }
316 this_type& operator = (
const this_type& port_ )
317 { (*this)->write( port_->read() );
return *
this; }
319 virtual const char*
kind()
const 320 {
return "sc_out_resolved"; }
sc_in_resolved(const char *name_, this_type &parent_)
sc_inout_resolved(const char *name_, this_type &parent_)
sc_out_resolved(const char *name_)
virtual const char * kind() const
virtual ~sc_out_resolved()
sc_out_resolved(this_type &parent_)
base_type::inout_port_type inout_port_type
base_type::in_port_type in_port_type
sc_inout_resolved this_type
sc_inout_resolved(const char *name_, inout_port_type &parent_)
sc_inout_resolved(inout_if_type &interface_)
sc_inout_resolved(this_type &parent_)
base_type::in_port_type in_port_type
virtual const char * kind() const
sc_in_resolved(this_type &parent_)
base_type::inout_port_type inout_port_type
virtual ~sc_in_resolved()
virtual ~sc_inout_resolved()
sc_in_resolved(in_port_type &parent_)
The sc_signal_resolved input/output port class.
sc_in_resolved(inout_port_type &parent_)
base_type::in_if_type in_if_type
base_type::in_port_type in_port_type
The sc_signal_resolved input port class.
sc_dt::sc_logic data_type
sc_in_resolved(const char *name_, inout_port_type &parent_)
sc_in_resolved(const char *name_, in_port_type &parent_)
sc_inout< data_type > base_type
base_type::inout_if_type inout_if_type
sc_inout_resolved(const char *name_, inout_if_type &interface_)
sc_in_resolved(const char *name_)
sc_inout_resolved base_type
sc_inout_resolved(const char *name_)
virtual const char * kind() const
base_type::inout_port_type inout_port_type
base_type::data_type data_type
base_type::inout_if_type inout_if_type
sc_out_resolved(inout_if_type &interface_)
sc_out_resolved(const char *name_, this_type &parent_)
sc_out_resolved(const char *name_, inout_if_type &interface_)
sc_in_resolved(const in_if_type &interface_)
C++ implementation of logic type. Behaves.
sc_inout_resolved(inout_port_type &parent_)
base_type::in_if_type in_if_type
sc_out_resolved this_type
The sc_signal<T> port classes.
sc_out_resolved(const char *name_, inout_port_type &parent_)
sc_in< data_type > base_type
virtual const T & read() const =0
base_type::in_if_type in_if_type
The sc_signal_resolved output port class.
sc_in_resolved(const char *name_, const in_if_type &interface_)
sc_dt::sc_logic data_type
sc_out_resolved(inout_port_type &parent_)