# 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,