From: Luke Kenneth Casson Leighton Date: Tue, 20 Aug 2019 05:53:25 +0000 (+0100) Subject: add to docstrings in PartitionedAdder X-Git-Tag: ls180-24jan2020~469 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edab0fe18c18c650e23f6606d9a0cb8098804774;p=ieee754fpu.git add to docstrings in PartitionedAdder --- diff --git a/src/ieee754/part_mul_add/multiply.py b/src/ieee754/part_mul_add/multiply.py index 1d3ceea2..820133a1 100644 --- a/src/ieee754/part_mul_add/multiply.py +++ b/src/ieee754/part_mul_add/multiply.py @@ -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])