From 72364615b3a2ee549027f09c209b5054efd94c4e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:18:39 +0000 Subject: [PATCH] whoops use C not Const --- 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 763346f2..64673510 100644 --- a/src/soc/experiment/mmu.py +++ b/src/soc/experiment/mmu.py @@ -293,7 +293,7 @@ class MMU(Elaboratable): comb += v.pt0_valid.eq(1) # rts == radix tree size, # address bits being translated - comb += rts.eq(Cat(prtbl.rts2, prtbl.rts1, Const(0))) + comb += rts.eq(Cat(prtbl.rts2, prtbl.rts1, C(0))) # mbits == # address bits to index top level of tree comb += mbits.eq(prtbl.rpds) -- 2.30.2