From: Luke Kenneth Casson Leighton Date: Thu, 2 Dec 2021 15:07:38 +0000 (+0000) Subject: use new namedtuple in core when calling regspec_decode() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b0b071ab627c0b66f2273a6c48a1bab671db271;p=soc.git use new namedtuple in core when calling regspec_decode() --- diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index 68b7132f..a7dcaa2e 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -1038,8 +1038,8 @@ class NonProductionCore(ControlBase): # the PowerDecoder2 (main one, not the satellites) contains # the decoded regfile numbers. obtain these now - okflag, regport = regspec_decode(m, readmode, e, - regfile, regname) + decinfo = regspec_decode(m, readmode, e, regfile, regname) + okflag, regport = decinfo.okflag, decinfo.regport # construct the dictionary of regspec information by regfile if regname not in byregfiles_spec[regfile]: