[Bug 580] update comment above changed block
authorTobias Platen <tplaten@posteo.de>
Tue, 26 Jan 2021 19:37:41 +0000 (20:37 +0100)
committerTobias Platen <tplaten@posteo.de>
Tue, 26 Jan 2021 19:37:41 +0000 (20:37 +0100)
src/soc/decoder/power_decoder2.py

index 1633d1912aa468bf44b8f4ed1568cbc28a1ddd82..750331bc2cfea4d06ce71551c3182d63179da4d7 100644 (file)
@@ -731,7 +731,7 @@ class PowerDecodeSubset(Elaboratable):
         spr = Signal(10, reset_less=True)
         comb += spr.eq(decode_spr_num(self.dec.SPR)) # from XFX
 
         spr = Signal(10, reset_less=True)
         comb += spr.eq(decode_spr_num(self.dec.SPR)) # from XFX
 
-        # for first test only forward SPR 18 to mmu
+        # for first test only forward SPRs 18 and 19 to MMU
         with m.If(self.dec.op.internal_op == MicrOp.OP_MTSPR):
             with m.If((spr == 18) | (spr == 19)):
                 comb += self.do_copy("fn_unit",Function.MMU)
         with m.If(self.dec.op.internal_op == MicrOp.OP_MTSPR):
             with m.If((spr == 18) | (spr == 19)):
                 comb += self.do_copy("fn_unit",Function.MMU)