projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea57d80
)
remove unneeded functions, make result and r_data local to elaborate()
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 19 Mar 2019 05:05:48 +0000
(
05:05
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 19 Mar 2019 05:05:48 +0000
(
05:05
+0000)
src/add/example_buf_pipe.py
patch
|
blob
|
history
diff --git
a/src/add/example_buf_pipe.py
b/src/add/example_buf_pipe.py
index f760ce3948e0e96f3b7d18d18636f50d0f93c2c7..52568b5a0621ea1e440289697a8a38ae5be2380b 100644
(file)
--- 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