33 #ifndef SC_SIGNAL_IFS_H 34 #define SC_SIGNAL_IFS_H 48 class sc_signal_bool_deval;
49 class sc_signal_logic_deval;
65 virtual const sc_event& value_changed_event()
const = 0;
69 virtual const T& read()
const = 0;
72 virtual const T& get_data_ref()
const = 0;
76 virtual bool event()
const = 0;
105 friend class sc_reset;
109 virtual const sc_event& value_changed_event()
const = 0;
112 virtual const sc_event& posedge_event()
const = 0;
115 virtual const sc_event& negedge_event()
const = 0;
119 virtual const bool& read()
const = 0;
122 virtual const bool& get_data_ref()
const = 0;
126 virtual bool event()
const = 0;
129 virtual bool posedge()
const = 0;
132 virtual bool negedge()
const = 0;
148 virtual sc_reset* is_reset()
const 166 virtual const sc_event& value_changed_event()
const = 0;
169 virtual const sc_event& posedge_event()
const = 0;
172 virtual const sc_event& negedge_event()
const = 0;
183 virtual bool event()
const = 0;
186 virtual bool posedge()
const = 0;
189 virtual bool negedge()
const = 0;
213 template<
typename T >
219 virtual void write(
const T& ) = 0;
264 #define sc_signal_out_if sc_signal_inout_if
#define SC_DEFAULT_WRITER_POLICY
The sc_signal<T> input interface class.
Specialization of sc_signal_in_if<T> for type bool.
virtual sc_writer_policy get_writer_policy() const
The sc_signal<T> input/output interface class.
Abstract base class of all interface classes.
The standard output interface class.
Abstract base class of all interface classes.
Specialization of sc_signal_in_if<T> for type sc_dt::sc_logic.
The sc_signal<T> writer policy definition.