projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf4a72
)
code comments for core
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 1 Nov 2021 09:53:13 +0000
(09:53 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 1 Nov 2021 09:53:13 +0000
(09:53 +0000)
src/soc/simple/core.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/core.py
b/src/soc/simple/core.py
index 65643115173926ed7a7499c0c75ad60e45116275..a381059c703b2835c61743f231e8412d411ca49c 100644
(file)
--- a/
src/soc/simple/core.py
+++ b/
src/soc/simple/core.py
@@
-163,6
+163,9
@@
class NonProductionCore(Elaboratable):
# connect decoders
for k, v in self.decoders.items():
+ # connect each satellite decoder and give it the instruction.
+ # as subset decoders this massively reduces wire fanout given
+ # the large number of ALUs
setattr(m.submodules, "dec_%s" % v.fn_name, v)
comb += v.dec.raw_opcode_in.eq(self.raw_insn_i)
comb += v.dec.bigendian.eq(self.bigendian_i)