24class cpu_arm_cortexR5 :
public QemuCpuArm
27 cci::cci_param<bool> p_start_powered_off;
29 cpu_arm_cortexR5(
const sc_core::sc_module_name& name, sc_core::sc_object* o)
30 : cpu_arm_cortexR5(name, *(
dynamic_cast<QemuInstance*
>(o)))
33 cpu_arm_cortexR5(sc_core::sc_module_name name,
QemuInstance& inst)
34 : QemuCpuArm(name, inst,
"cortex-r5-arm")
35 , p_start_powered_off(
"start_powered_off",
false,
36 "Start and reset the CPU "
37 "in powered-off state")
41 void before_end_of_elaboration()
override
43 QemuCpuArm::before_end_of_elaboration();
47 cpu.set_prop_bool(
"start-powered-off", p_start_powered_off);
48 cpu.set_prop_bool(
"reset-hivecs",
true);