Lines Matching refs:period
105 sc_clock::sc_clock(const char *name, const sc_time &period,
109 _period(period), _dutyCycle(duty_cycle), _startTime(start_time),
112 if (period == SC_ZERO_TIME) {
114 "increase the period: clock '" +
119 if (duty_cycle * period == SC_ZERO_TIME) {
121 "increase the period or increase the duty cycle: clock '" +
126 if (duty_cycle * period == period) {
128 "increase the period or decrease the duty cycle: clock '" +
133 _gem5UpEdge = new ::sc_gem5::ClockTick(this, true, period);
134 _gem5DownEdge = new ::sc_gem5::ClockTick(this, false, period);
150 sc_clock::sc_clock(const char *name, double period, double duty_cycle,
152 sc_clock(name, sc_time(period, true), duty_cycle,
172 const sc_time &sc_clock::period() const { return _period; }