From: Luke Kenneth Casson Leighton Date: Wed, 22 Dec 2021 00:15:26 +0000 (+0000) Subject: whoops use C not Const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=126ac2336bf2625d3f74d36931f112c241980bcf;p=soc.git whoops use C not Const --- 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