19class CpuHexagon :
public Cpu
35 static constexpr const char*
const TYPE =
"v67-hexagon-cpu";
37 using MipUpdateCallbackFn = std::function<void(uint32_t)>;
39 CpuHexagon() =
default;
40 CpuHexagon(
const CpuHexagon&) =
default;
41 CpuHexagon(
const Object& o): Cpu(o) {}
42 void register_reset();
43 static Rev_t parse_dsp_arch(
const std::string arch_str)
45 static const std::unordered_map<std::string, Rev_t> DSP_REVS = { DSP_REV(v66), DSP_REV(v68), DSP_REV(v69),
46 DSP_REV(v73), DSP_REV(v79), DSP_REV(v81),
47 DSP_REV(v85), DSP_REV(v89), DSP_REV(v91) };
48 auto rev = DSP_REVS.find(arch_str);
49 Rev_t dsp_rev = unknown_rev;
50 if (rev != DSP_REVS.end()) {
51 dsp_rev = rev->second;