From 25a05f91d67aedb5453e2f614d41e7b3cf0affcb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 10 Jul 2020 16:27:01 +0100 Subject: [PATCH] code comments --- src/soc/fu/div/core_stages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/fu/div/core_stages.py b/src/soc/fu/div/core_stages.py index fdbe8659..32f29e68 100644 --- a/src/soc/fu/div/core_stages.py +++ b/src/soc/fu/div/core_stages.py @@ -27,10 +27,12 @@ class DivCoreBaseStage(PipeModBase): def elaborate(self, platform): m = Module() + # pass-through on non-core parameters m.d.comb += self.o.eq_without_core(self.i) m.submodules.core = self.core + # copy parameters to/from divremsqrt core into the Base, here. m.d.comb += self.core.i.eq(self.i.core) m.d.comb += self.o.core.eq(self.core.o) -- 2.30.2