rename to next_groups
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 22 Aug 2019 00:49:56 +0000 (01:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 22 Aug 2019 00:49:56 +0000 (01:49 +0100)
src/ieee754/part_mul_add/multiply.py

index 010897b54305337f09afe814554ec0a3f76365e0..e2954e7609d21f200ecb1b25db81e0f9d8b9fe2e 100644 (file)
@@ -577,8 +577,8 @@ class AddReduce(Elaboratable):
             inputs = next_level.o.inputs
             ilen = len(inputs)
             part_ops = next_level.i.part_ops
-            groups = AddReduceSingle.full_adder_groups(len(inputs))
-            if len(groups) == 0:
+            next_groups = AddReduceSingle.full_adder_groups(len(inputs))
+            if len(next_groups) == 0:
                 break
 
         next_level = FinalAdd(ilen, self.output_width, n_parts,