fix address must convert to SelectableInt
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 9 Mar 2021 19:40:19 +0000 (19:40 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 9 Mar 2021 19:40:19 +0000 (19:40 +0000)
src/soc/decoder/isa/radixmmu.py

index 2fea72f81c3cf365710aa198110ed984d08faddc..cdd51edb97344aba34f7cb4a0265d97cf66656f9 100644 (file)
@@ -189,6 +189,7 @@ class RADIX:
     def ld(self, address, width=8, swap=True, check_in_mem=False):
         print("RADIX: ld from addr 0x%x width %d" % (address, width))
 
+        addr = SelectableInt(address, 64)
         (shift, mbits, pgbase) = self._decode_prte(addr)
         #shift = SelectableInt(0, 32)