projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9714aaa
)
use new namedtuple in core when calling regspec_decode()
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 2 Dec 2021 15:07:38 +0000
(15:07 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 2 Dec 2021 15:07:38 +0000
(15:07 +0000)
src/soc/simple/core.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/core.py
b/src/soc/simple/core.py
index 68b7132fe90327a6c06d523511524421aaa71c99..a7dcaa2e446a712676d12566e2ad8ade8c8eebc0 100644
(file)
--- 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]: