Go to the documentation of this file.
39 clockEvent(nullptr), periodAttribute(nullptr)
44 auto event_it = std::find_if(event_vec.begin(), event_vec.end(),
46 return e->basename() == ClockEventName; });
47 if (event_it != event_vec.end())
53 "The EVS clock period attribute is not of type "
54 "sc_attribute<Tick>.");
61 "The EVS send functional attribute is not of type "
62 "sc_attribute<PortProxy::SendFunctionalFunc>.");
68 scx::scx_start_cadi_server(
false,
false,
true);
83 count += tc->getCurrentInstCount();
92 tc->initMemProxies(tc);
static const std::string PeriodAttributeName
int16_t ThreadID
Thread index/ID type.
void serializeThread(CheckpointOut &cp, ThreadID tid) const override
Serialize a single thread.
BaseCPU(BaseCPUParams *params, sc_core::sc_module *_evs)
Counter totalInsts() const override
int64_t Counter
Statistics counter type.
sc_core::sc_attribute< Tick > * periodAttribute
std::vector< ThreadContext * > threadContexts
void serialize(CheckpointOut &cp) const override
Serialize this object to the given output stream.
sc_core::sc_event * clockEvent
sc_attr_base * get_attribute(const std::string &)
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
std::ostream CheckpointOut
static const std::string SendFunctionalAttributeName
sc_core::sc_attribute< PortProxy::SendFunctionalFunc > * sendFunctional
virtual const std::vector< sc_event * > & get_child_events() const
Generated on Wed Sep 30 2020 14:01:58 for gem5 by doxygen 1.8.17