add to docstrings in PartitionedAdder
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Aug 2019 05:53:25 +0000 (06:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 20 Aug 2019 05:53:25 +0000 (06:53 +0100)
src/ieee754/part_mul_add/multiply.py

index 1d3ceea2c5b4062d0ea663f786ee7b9866fabf0e..820133a1a6048a2a541d2925cc7d8a80c147d53e 100644 (file)
@@ -244,7 +244,7 @@ class PartitionedAdder(Elaboratable):
                 ea.append(self._expanded_a[expanded_index])
                 al.append(~self.partition_points[i]) # add extra bit in a
                 eb.append(self._expanded_b[expanded_index])
-                bl.append(C(0)) # do *not* add extra bit into b.
+                bl.append(C(0)) # yes, add a zero
                 expanded_index += 1 # skip the extra point.  NOT in the output
             ea.append(self._expanded_a[expanded_index])
             eb.append(self._expanded_b[expanded_index])