27 #ifndef SC_SIGNAL_IFS_H
28 #define SC_SIGNAL_IFS_H
42 class sc_signal_bool_deval;
43 class sc_signal_logic_deval;
63 virtual const T&
read()
const = 0;
70 virtual bool event()
const = 0;
106 virtual const sc_event& posedge_event()
const = 0;
109 virtual const sc_event& negedge_event()
const = 0;
113 virtual const bool&
read()
const = 0;
120 virtual bool event()
const = 0;
123 virtual bool posedge()
const = 0;
126 virtual bool negedge()
const = 0;
163 virtual const sc_event& posedge_event()
const = 0;
166 virtual const sc_event& negedge_event()
const = 0;
177 virtual bool event()
const = 0;
180 virtual bool posedge()
const = 0;
183 virtual bool negedge()
const = 0;
207 template<
typename T >
213 virtual void write(
const T& ) = 0;
258 #define sc_signal_out_if sc_signal_inout_if
Specialization of sc_signal_in_if<T> for type bool.
virtual sc_writer_policy get_writer_policy() const
virtual const T & get_data_ref() const =0
#define SC_DEFAULT_WRITER_POLICY
virtual const sc_event & value_changed_event() const =0
virtual bool event() const =0
The sc_signal<T> input/output interface class.
The sc_signal<T> input interface class.
Abstract base class of all interface classes.
Specialization of sc_signal_in_if<T> for type sc_dt::sc_logic.
virtual void write(const T &)=0
virtual const T & read() const =0
The standard output interface class.