From 1b0b071ab627c0b66f2273a6c48a1bab671db271 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 2 Dec 2021 15:07:38 +0000 Subject: [PATCH] use new namedtuple in core when calling regspec_decode() --- src/soc/simple/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]: -- 2.30.2