56 explicit sc_clock(
const char* name_ );
60 double duty_cycle_ = 0.5,
62 bool posedge_first_ =
true );
67 double duty_cycle_ = 0.5 );
75 bool posedge_first_ =
true );
80 double duty_cycle_ = 0.5,
81 double start_time_ = 0.0,
82 bool posedge_first_ =
true );
88 virtual void write(
const bool& );
109 virtual const char*
kind()
const
110 {
return "sc_clock"; }
113 #if 0 // @@@@#### REMOVE
119 const sc_signal_in_if<bool>& signal()
const
122 static void start(
const sc_time& duration )
128 static void start(
double duration = -1 )
145 void report_error(
const char*
id,
const char* add_msg = 0 )
const;
148 void init(
const sc_time&,
double,
const sc_time&,
bool );
sc_time start_time() const
sc_clock_negedge_callback(sc_clock *target_p)
virtual void write(const bool &)
sc_event m_next_posedge_event
double duty_cycle() const
const sc_time & period() const
virtual const char * kind() const
static const sc_time & time_stamp()
sc_event m_next_negedge_event
void before_end_of_elaboration()
bool posedge_first() const
sc_clock_posedge_callback(sc_clock *target_p)
void report_error(const char *id, const char *add_msg=0) const
const sc_time SC_ZERO_TIME
void init(const sc_time &, double, const sc_time &, bool)
virtual void register_port(sc_port_base &, const char *if_type)