From: Tobias Platen Date: Wed, 31 Mar 2021 19:45:57 +0000 (+0200) Subject: _new_lookup: remove unused argument mbits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d60dfb27ad36996135dddb920b21b2245e016ee;p=soc.git _new_lookup: remove unused argument mbits --- 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