spelling mistake $i instead of %i
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Aug 2019 05:22:51 +0000 (06:22 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Aug 2019 05:22:51 +0000 (06:22 +0100)
src/ieee754/part_mul_add/multiply.py

index 9047aab0961a5d1f76389aa8c259d717cde4b83e..db2ba408ac4981e18dc04e3c8ecfa9767b121523 100644 (file)
@@ -575,7 +575,7 @@ class Part(Elaboratable):
             for j in range(i * byte_count, (i + 1) * byte_count - 1):
                 pbl.append(pbs[j])
             pbl.append(npbs[(i + 1) * byte_count - 1])
-            value = Signal(len(pbl), name="value_$i" % i, reset_less=True)
+            value = Signal(len(pbl), name="value_%di" % i, reset_less=True)
             m.d.comb += value.eq(Cat(*pbl))
             m.d.comb += parts[i].eq(~(value).bool())
             m.d.comb += delayed_parts[0][i].eq(parts[i])