60 name += std::string(to ?
"_posedge_action" :
"_negedge_action");
68 p->dontInitialize(
true);
111 "increase the period: clock '" +
112 std::string(
name) +
"'";
118 "increase the period or increase the duty cycle: clock '" +
119 std::string(
name) +
"'";
125 "increase the period or decrease the duty cycle: clock '" +
126 std::string(
name) +
"'";
166 panic(
"write() called on sc_clock.");
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
bool posedge_first() const
::sc_gem5::ClockTick * _gem5UpEdge
::sc_gem5::ClockTick * _gem5DownEdge
static const sc_time & time_stamp()
const sc_time & period() const
double duty_cycle() const
virtual void before_end_of_elaboration()
const sc_time & start_time() const
virtual void write(const bool &)
ProcessMemberFuncWrapper<::sc_core::sc_clock > funcWrapper
::sc_core::sc_time _period
ClockTick(::sc_core::sc_clock *clock, bool to, ::sc_core::sc_time _period)
ScEvent(std::function< void()> work)
#define panic(...)
This implements a cprintf based panic() function.
const sc_time SC_ZERO_TIME
const char SC_ID_CLOCK_HIGH_TIME_ZERO_[]
const char SC_ID_CLOCK_PERIOD_ZERO_[]
const char * sc_gen_unique_name(const char *seed)
const char SC_ID_CLOCK_LOW_TIME_ZERO_[]
const sc_time & sc_time_stamp()
#define SC_REPORT_ERROR(msg_type, msg)
const std::string & name()