[Libre-soc-bugs] [Bug 859] Implement SPR_KAIVB
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sun Jun 26 13:00:13 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=859
--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
all good, unit test created and passes
https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=10f4200e58562d6070203afdddea1dc0c0eb5f88
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=58a7e851cc2b288fe99a125f6d929e3402328e06
- # trap address
+ # trap address, including KAIVB override
comb += nia_o.data.eq(trap_addr)
+ comb += nia_o.data[13:].eq(self.kaivb[13:])
sc *also* is redirected as well because it uses the exact same TRAP
system
#################
# SC. v3.0B p952
with m.Case(MicrOp.OP_SC):
# jump to the trap address, return at cia+4
self.trap(m, 0xc00, cia_i+4)
self.msr_exception(m, 0xc00)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list