projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c18424
)
Fix RefreshPostponer output stuck to 1
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 2 Jul 2020 12:07:32 +0000
(14:07 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Thu, 2 Jul 2020 12:07:32 +0000
(14:07 +0200)
gram/core/refresher.py
patch
|
blob
|
history
diff --git
a/gram/core/refresher.py
b/gram/core/refresher.py
index b34ea277a6728909ddde42981aa590fd1776c81a..78f79b5acf4dfbc7baa787ec784bb3a66b64bc4c 100644
(file)
--- a/
gram/core/refresher.py
+++ b/
gram/core/refresher.py
@@
-189,7
+189,10
@@
class RefreshPostponer(Elaboratable):
self.req_o.eq(1),
]
with m.Else():
- m.d.sync += count.eq(count-1)
+ m.d.sync += [
+ count.eq(count-1),
+ self.req_o.eq(0),
+ ]
return m