From: Luke Kenneth Casson Leighton Date: Sat, 15 Feb 2020 12:46:53 +0000 (+0000) Subject: stop expression-repeating cascade X-Git-Tag: ls180-24jan2020~163 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27b62fa95ec168d55b63dee47167245d68e0a34b;p=ieee754fpu.git stop expression-repeating cascade --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index 9e214d0f..aebcef51 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -145,6 +145,7 @@ class PartitionedDynamicShift(Elaboratable): print("select: [%d:%d]" % (start, end)) res = Signal(width, name="res%d" % i, reset_less=True) comb += res.eq(result) + result = res s,e = intervals[0] out.append(res[s:e])