From 9af0f3f969658fe7b9903a134e0bfe52ddcb8631 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 16 Aug 2020 10:21:09 +0100 Subject: [PATCH] restore incorrect removal of zero-Cat at LHS (should never do that) --- src/soc/experiment/mmu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/mmu.py b/src/soc/experiment/mmu.py index 6ec7ded4..f9c26d16 100644 --- a/src/soc/experiment/mmu.py +++ b/src/soc/experiment/mmu.py @@ -277,7 +277,7 @@ class MMU(Elaboratable): # for the segment check comb += v.shift.eq(rts) comb += v.mask_size.eq(mbits[0:5]) - comb += v.pgbase.eq(pgtbl[8:56]) + comb += v.pgbase.eq(Cat(Const(0, 8), pgtbl[8:56])) # if l_in.valid = '1' then with m.If(l_in.valid): -- 2.30.2