Lines Matching defs:sc_clock
39 #include "systemc/ext/channel/sc_clock.hh"
53 ProcessMemberFuncWrapper<::sc_core::sc_clock> funcWrapper;
56 ClockTick(::sc_core::sc_clock *clock, bool to,
60 funcWrapper(clock, to ? &::sc_core::sc_clock::tickUp :
61 &::sc_core::sc_clock::tickDown)
96 sc_clock::sc_clock() :
97 sc_clock(sc_gen_unique_name("clock"), sc_time(1.0, SC_NS),
101 sc_clock::sc_clock(const char *name) :
102 sc_clock(name, sc_time(1.0, SC_NS), 0.5, SC_ZERO_TIME, true)
105 sc_clock::sc_clock(const char *name, const sc_time &period,
137 sc_clock::sc_clock(const char *name, double period_v, sc_time_unit period_tu,
139 sc_clock(name, sc_time(period_v, period_tu), duty_cycle, SC_ZERO_TIME,
143 sc_clock::sc_clock(const char *name, double period_v, sc_time_unit period_tu,
146 sc_clock(name, sc_time(period_v, period_tu), duty_cycle,
150 sc_clock::sc_clock(const char *name, double period, double duty_cycle,
152 sc_clock(name, sc_time(period, true), duty_cycle,
156 sc_clock::~sc_clock()
167 sc_clock::write(const bool &)
169 panic("write() called on sc_clock.");
172 const sc_time &sc_clock::period() const { return _period; }
173 double sc_clock::duty_cycle() const { return _dutyCycle; }
174 const sc_time &sc_clock::start_time() const { return _startTime; }
175 bool sc_clock::posedge_first() const { return _posedgeFirst; }
178 sc_clock::time_stamp()
184 sc_clock::before_end_of_elaboration()