From: Luke Kenneth Casson Leighton Date: Tue, 9 Mar 2021 19:40:19 +0000 (+0000) Subject: fix address must convert to SelectableInt X-Git-Tag: convert-csv-opcode-to-binary~67 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1fea871ee4677cf1b0fa72a24485cdd76a4ee86;p=soc.git fix address must convert to SelectableInt --- diff --git a/src/soc/decoder/isa/radixmmu.py b/src/soc/decoder/isa/radixmmu.py index 2fea72f8..cdd51edb 100644 --- a/src/soc/decoder/isa/radixmmu.py +++ b/src/soc/decoder/isa/radixmmu.py @@ -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)