From 2514f13bfd61177284fdc52884eae4f7d167ce4e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 1 Nov 2021 09:53:13 +0000 Subject: [PATCH] code comments for core --- src/soc/simple/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index 65643115..a381059c 100644 --- 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) -- 2.30.2