From 126ac2336bf2625d3f74d36931f112c241980bcf Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:15:26 +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 8eeb361f..763346f2 100644 --- a/src/soc/experiment/mmu.py +++ b/src/soc/experiment/mmu.py @@ -191,7 +191,7 @@ class MMU(Elaboratable): # rts == radix tree size, number of address bits # being translated. takes bits 5:7 and 61:62 - comb += rts.eq(Cat(pgtbl.rts2, pgtbl.rts1, Const(0))) + comb += rts.eq(Cat(pgtbl.rts2, pgtbl.rts1, C(0))) # mbits == number of address bits to index top # level of tree. takes bits 0:4 -- 2.30.2