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__);
103 void init()
override;
117 iris::IrisConnectionInterface *iris_if) :
120 const std::string parent_path =
evs->
name();
124 for (
const std::string &sub_path:
params.thread_paths) {
125 std::string
path = parent_path +
"." + sub_path;
126 auto id = thread_id++;
127 auto *tc =
new TC(
this,
id, sys,
params.mmu,
137 #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
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.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
virtual void sendFunc(PacketPtr pkt)=0
Counter totalOps() const override
Abstract superclass for simulation objects.
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
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 Tue Sep 21 2021 12:24:24 for gem5 by doxygen 1.8.17