From 8d60dfb27ad36996135dddb920b21b2245e016ee Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Wed, 31 Mar 2021 21:45:57 +0200 Subject: [PATCH] _new_lookup: remove unused argument mbits --- src/soc/decoder/isa/radixmmu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/decoder/isa/radixmmu.py b/src/soc/decoder/isa/radixmmu.py index c49a9387..a1b6d38d 100644 --- a/src/soc/decoder/isa/radixmmu.py +++ b/src/soc/decoder/isa/radixmmu.py @@ -454,7 +454,7 @@ class RADIX: return paddr return ok # return the error code else: - newlookup = self._new_lookup(data, mbits, shift) + newlookup = self._new_lookup(data, shift) if newlookup == 'badtree': return newlookup shift, mask, pgbase = newlookup @@ -470,7 +470,7 @@ class RADIX: print("addr_next",addr_next) print("addrsh",addrsh) - def _new_lookup(self, data, mbits, shift): + def _new_lookup(self, data, shift): """ mbits := unsigned('0' & data(4 downto 0)); if mbits < 5 or mbits > 16 or mbits > r.shift then -- 2.30.2