From: Luke Kenneth Casson Leighton Date: Mon, 1 Nov 2021 09:53:13 +0000 (+0000) Subject: code comments for core X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2514f13bfd61177284fdc52884eae4f7d167ce4e;p=soc.git code comments for core --- 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)