Go to the documentation of this file.
58 set_evs_param<uint32_t>(
"semihosting-ARM_SVC",
59 params().semihosting_ARM_SVC);
60 set_evs_param<uint32_t>(
"semihosting-T32_HLT",
61 params().semihosting_T32_HLT);
62 set_evs_param<uint32_t>(
"semihosting-Thumb_SVC",
63 params().semihosting_Thumb_SVC);
82 if (if_name ==
"ppi") {
86 }
else if (if_name ==
"amba" || if_name ==
"llpp" || if_name ==
"flash") {
99 for (
int i = 0;
i <
p.cores.size();
i++)
100 p.cores[
i]->setCluster(
this,
i);
103 panic_if(!
e,
"EVS should be of type Iris::BaseCpuEvs");
114 params().dcache_prefetch_enabled);
116 params().dcache_read_access_latency);
118 params().dcache_state_modelled);
120 params().dcache_write_access_latency);
122 params().flash_protection_enable_at_reset);
125 params().icache_prefetch_enabled);
127 params().icache_read_access_latency);
129 params().icache_state_modelled);
131 params().memory_ext_slave_base);
135 set_evs_param<uint32_t>(
"core.num_protection_regions_s1",
136 params().num_protection_regions_s1);
137 set_evs_param<uint32_t>(
"core.num_protection_regions_s2",
138 params().num_protection_regions_s2);
141 params().ram_protection_enable_at_reset);
148 if (if_name ==
"spi") {
CortexR52Cluster(const Params &p)
const PortID InvalidPortID
CortexR52Cluster * cluster
void setCluster(CortexR52Cluster *_cluster, int _num)
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
virtual ::Port & gem5_getPort(const std::string &if_name, int idx=-1)
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
void set_evs_param(const std::string &n, T val)
virtual Port & getPort(const std::string &if_name, PortID idx=InvalidPortID)
Get a port with a given name and index.
void set_evs_param(const std::string &n, T val)
Ports are used to interface objects to each other.
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
const Params & params() const
std::string csprintf(const char *format, const Args &...args)
Abstract superclass for simulation objects.
Generated on Tue Jun 22 2021 15:28:19 for gem5 by doxygen 1.8.17