add debug output for msr_pr
authorTobias Platen <tplaten@posteo.de>
Wed, 10 Nov 2021 18:20:06 +0000 (19:20 +0100)
committerTobias Platen <tplaten@posteo.de>
Wed, 10 Nov 2021 18:20:06 +0000 (19:20 +0100)
src/soc/experiment/compldst_multi.py

index 29c07adb075bfc0f13a24ab3935724b57bbbda41..61f0d3cf44cdae998446908aae701a47af21e0e7 100644 (file)
@@ -540,6 +540,7 @@ class LDSTCompUnit(RegSpecAPI, Elaboratable):
         comb += addr_ok.eq(self.pi.addr_ok_o)  # no exc, address fine
         # connect MSR.PR for priv/virt operation
         comb += pi.msr_pr.eq(oper_r.msr[MSR.PR])
+        comb += Display("MMUTEST: pi.msr_pr=%i",oper_r.msr[MSR.PR])
 
         # byte-reverse on LD
         revnorev = Signal(64, reset_less=True)