projects
/
nmutil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cec4fb
)
whoops just step through i not list
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 12 Dec 2021 14:35:07 +0000
(14:35 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 12 Dec 2021 14:35:07 +0000
(14:35 +0000)
src/nmutil/grev.py
patch
|
blob
|
history
diff --git
a/src/nmutil/grev.py
b/src/nmutil/grev.py
index c5206e6ce6c9151bb0d2621e236fff73fe01b679..3b2971cce65f49e8538ec9421096a97a668a3f7c 100644
(file)
--- a/
src/nmutil/grev.py
+++ b/
src/nmutil/grev.py
@@
-36,9
+36,9
@@
class GRev(Elaboratable):
# TODO: comment that this creates a full combinatorial chain
# of RADIX-2 butterfly-network "swappers"
- for i
, step_o in enumerate(_steps
):
+ for i
in range(self.log2_width
):
step_o = Signal(self.width, name="step_%d" % i)
- _steps.append(step_o)
+ _steps.append(step_o)
# accumulate steps (test purposes only)
# TODO explain that chunk swap-sizes jump by a power2 each time
chunk_size = 1 << i
# TODO comment that this is creating the mux-swapper