Go to the documentation of this file.
28 #ifndef __ARCH_ARM_FASTMODEL_IRIS_CPU_HH__
29 #define __ARCH_ARM_FASTMODEL_IRIS_CPU_HH__
32 #include "iris/detail/IrisInterface.h"
33 #include "params/IrisBaseCPU.hh"
69 panic(
"%s not implemented.", __FUNCTION__);
75 panic(
"%s not implemented.", __FUNCTION__);
92 panic(
"%s not implemented.", __FUNCTION__);
121 iris::IrisConnectionInterface *iris_if) :
124 const std::string parent_path =
evs->
name();
128 for (
const std::string &sub_path:
params.thread_paths) {
129 std::string
path = parent_path +
"." + sub_path;
130 auto id = thread_id++;
131 auto *tc =
new TC(
this,
id, sys,
params.mmu,
141 #endif // __ARCH_ARM_FASTMODEL_IRIS_CPU_HH__
Port & getInstPort() override
Purely virtual method that returns a reference to the instruction port.
BaseCPU(const BaseCPUParams ¶ms, sc_core::sc_module *_evs)
virtual void setClkPeriod(Tick clk_period)=0
virtual void setResetAddr(Addr addr, bool secure=false)
virtual void setResetAddr(int core, Addr addr, bool secure)=0
static std::stack< std::string > path
Iris::BaseCpuEvs * evs_base_cpu
CPU(const IrisBaseCPUParams ¶ms, iris::IrisConnectionInterface *iris_if)
void serializeThread(CheckpointOut &cp, ThreadID tid) const override
Serialize a single thread.
virtual void setSysCounterFrq(uint64_t sys_counter_frq)=0
void wakeup(ThreadID tid) override
const Params & params() const
@ Suspended
Temporarily inactive.
uint64_t Tick
Tick count type.
Counter totalOps() const override
Abstract superclass for simulation objects.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual void setCluster(SimObject *cluster)=0
std::vector< ThreadContext * > threadContexts
Ports are used to interface objects to each other.
const char * name() const
double Counter
All counters are of 64-bit values.
std::ostream CheckpointOut
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Counter totalInsts() const override
int16_t ThreadID
Thread index/ID type.
#define panic(...)
This implements a cprintf based panic() function.
void clockPeriodUpdated() override
A hook subclasses can implement so they can do any extra work that's needed when the clock rate is ch...
Port & getDataPort() override
Purely virtual method that returns a reference to the data port.
Generated on Sun Jul 30 2023 01:56:47 for gem5 by doxygen 1.8.17