From: Luke Kenneth Casson Leighton Date: Sat, 27 Apr 2019 13:23:37 +0000 (+0100) Subject: FPADDBasePipe derives from ControlBase, must return ControlBase.elaborate X-Git-Tag: ls180-24jan2020~1185 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=272e452392ca86e91ef780e9ebf0032b2ed2feb8;p=ieee754fpu.git FPADDBasePipe derives from ControlBase, must return ControlBase.elaborate --- diff --git a/src/add/fpadd/pipeline.py b/src/add/fpadd/pipeline.py index 5e116b9f..e244ee60 100644 --- a/src/add/fpadd/pipeline.py +++ b/src/add/fpadd/pipeline.py @@ -26,8 +26,10 @@ class FPADDBasePipe(ControlBase): self.pipe2 = FPAddAlignSingleAdd(width, id_wid) self.pipe3 = FPNormToPack(width, id_wid) + self._eqs = self.connect([self.pipe1, self.pipe2, self.pipe3]) + def elaborate(self, platform): - m = Module() + m = ControlBase.elaborate(self, platform) m.submodules.scnorm = self.pipe1 m.submodules.addalign = self.pipe2 m.submodules.normpack = self.pipe3