From 446191ccc92a3efb51031ea7e13c9e7cd802dfea Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 5 Apr 2019 10:28:35 +0100 Subject: [PATCH] call ControlBase elaborate from UnbufferedPipeline --- src/add/singlepipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/singlepipe.py b/src/add/singlepipe.py index 4d285ad0..415f4b75 100644 --- a/src/add/singlepipe.py +++ b/src/add/singlepipe.py @@ -675,14 +675,14 @@ class UnbufferedPipeline(ControlBase): self.n.o_data = stage.ospec() # output type def elaborate(self, platform): - self.m = Module() + self.m = ControlBase.elaborate(self, platform) data_valid = Signal() # is data valid or not r_data = self.stage.ispec() # input type if hasattr(self.stage, "setup"): self.stage.setup(self.m, r_data) - # some temporarie + # some temporaries p_i_valid = Signal(reset_less=True) pv = Signal(reset_less=True) self.m.d.comb += p_i_valid.eq(self.p.i_valid_logic()) -- 2.30.2