From 256e1c78f0f26215879895509e37ac40a55c25f4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 6 Oct 2020 17:22:09 +0100 Subject: [PATCH] comment SRR1 mem.exception --- src/soc/decoder/power_decoder2.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index 60a49d4f..ced6e9f5 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -916,11 +916,7 @@ class PowerDecode2(PowerDecodeSubset): with m.If(exc.segment_fault): self.trap(m, TT.PRIV, 0x480) with m.Else(): - # TODO - #srr1(63 - 33) <= exc.invalid; - #srr1(63 - 35) <= exc.perm_error; -- noexec fault - #srr1(63 - 44) <= exc.badtree; - #srr1(63 - 45) <= exc.rc_error; + #spass exception info to trap to create SRR1 self.trap(m, TT.MEMEXC, 0x400, exc) with m.Else(): with m.If(exc.segment_fault): -- 2.30.2