From: Luke Kenneth Casson Leighton Date: Wed, 21 Aug 2019 15:11:12 +0000 (+0100) Subject: always add FinalAdd module X-Git-Tag: ls180-24jan2020~438 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88bb34cd8fb4c6428e26afc6a24351c3e841fd39;p=ieee754fpu.git always add FinalAdd module --- diff --git a/src/ieee754/part_mul_add/multiply.py b/src/ieee754/part_mul_add/multiply.py index dada137f..2771e882 100644 --- a/src/ieee754/part_mul_add/multiply.py +++ b/src/ieee754/part_mul_add/multiply.py @@ -585,10 +585,9 @@ class AddReduce(Elaboratable): if len(groups) == 0: break - if ilen != 0: - next_level = FinalAdd(ilen, self.output_width, n_parts, - next_levels, partition_points) - mods.append(next_level) + next_level = FinalAdd(ilen, self.output_width, n_parts, + next_levels, partition_points) + mods.append(next_level) self.levels = mods