projects
/
nmigen-gf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de1c998
)
clean up code
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 7 Apr 2022 02:35:29 +0000
(19:35 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 7 Apr 2022 02:35:29 +0000
(19:35 -0700)
src/nmigen_gf/hdl/clmul.py
patch
|
blob
|
history
diff --git
a/src/nmigen_gf/hdl/clmul.py
b/src/nmigen_gf/hdl/clmul.py
index 8f79c5e3aee4b961570f8e9967a96ea8f529e5e2..a3831aa882da90ccbd69d20b55966da2006f72fd 100644
(file)
--- a/
src/nmigen_gf/hdl/clmul.py
+++ b/
src/nmigen_gf/hdl/clmul.py
@@
-54,7
+54,7
@@
class CLMulAdd(Elaboratable):
# build terms at requested widths (if any)
self.terms = []
for i, inp in enumerate(self.term_widths):
- self.terms.append(Signal(inp, name=f"term_
%d" % i
))
+ self.terms.append(Signal(inp, name=f"term_
{i}"
))
# build output at the maximum bit-width covering all inputs
self.output = Signal(max((self.factor_width * 2 - 1,