projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380e368
)
clarify pipe mode comments
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Apr 2019 06:46:12 +0000
(07:46 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 17 Apr 2019 06:46:12 +0000
(07:46 +0100)
src/add/queue.py
patch
|
blob
|
history
diff --git
a/src/add/queue.py
b/src/add/queue.py
index 015c357e9e9b466bd05b360c41939312477f645f..e52ab5e9eb74cbd516b5b0daa8681023714055b3 100644
(file)
--- a/
src/add/queue.py
+++ b/
src/add/queue.py
@@
-135,7
+135,8
@@
class Queue(FIFOInterface):
with m.If(n_i_ready):
m.d.comb += do_enq.eq(0)
- # pipe mode: read-enabled requires writability.
+ # pipe mode: if next stage says it's ready (readable), we
+ # *must* declare the input ready (writeable).
if self.pipe:
with m.If(n_i_ready):
m.d.comb += p_o_ready.eq(1)