From: Luke Kenneth Casson Leighton Date: Tue, 19 Mar 2019 05:05:48 +0000 (+0000) Subject: remove unneeded functions, make result and r_data local to elaborate() X-Git-Tag: ls180-24jan2020~1633 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1e782fa24191490825b0a43509cbb264b5cadd9;p=ieee754fpu.git remove unneeded functions, make result and r_data local to elaborate() --- diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index f760ce39..52568b5a 100644 --- a/src/add/example_buf_pipe.py +++ b/src/add/example_buf_pipe.py @@ -210,8 +210,8 @@ class BufferedPipeline(PipelineBase): ] # store result of processing in combinatorial temporary - with m.If(self.p.i_valid): # input is valid: process it - m.d.comb += eq(result, self.stage.process(self.p.i_data)) + #with m.If(self.p.i_valid): # input is valid: process it + m.d.comb += eq(result, self.stage.process(self.p.i_data)) # if not in stall condition, update the temporary register with m.If(self.p.o_ready): # not stalled m.d.sync += eq(r_data, result) # update buffer