From 272e452392ca86e91ef780e9ebf0032b2ed2feb8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 27 Apr 2019 14:23:37 +0100 Subject: [PATCH] FPADDBasePipe derives from ControlBase, must return ControlBase.elaborate --- src/add/fpadd/pipeline.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2