From: Luke Kenneth Casson Leighton Date: Sun, 16 Aug 2020 09:21:09 +0000 (+0100) Subject: restore incorrect removal of zero-Cat at LHS (should never do that) X-Git-Tag: semi_working_ecp5~323 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9af0f3f969658fe7b9903a134e0bfe52ddcb8631;p=soc.git restore incorrect removal of zero-Cat at LHS (should never do that) --- 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):