projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa978d
)
Fix code styling
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 20 Jul 2020 14:46:28 +0000
(16:46 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 20 Jul 2020 14:46:28 +0000
(16:46 +0200)
gram/common.py
patch
|
blob
|
history
diff --git
a/gram/common.py
b/gram/common.py
index 80fe39ffffb45b6dc71e3d3a2420572f9adbb543..bea610d77ba7d52f8942cc522f5e5c6a26c7e902 100644
(file)
--- a/
gram/common.py
+++ b/
gram/common.py
@@
-298,8
+298,7
@@
class tFAWController(Elaboratable):
count = Signal(range(max(self._tfaw, 2)))
window = Signal(self._tfaw)
m.d.sync += window.eq(Cat(self.valid, window))
- m.d.comb += count.eq(reduce(add, [window[i]
- for i in range(self._tfaw)]))
+ m.d.comb += count.eq(reduce(add, [window[i] for i in range(self._tfaw)]))
with m.If(count < 4):
with m.If(count == 3):
m.d.sync += self.ready.eq(~self.valid)