From: Luke Kenneth Casson Leighton Date: Sat, 15 Feb 2020 13:50:30 +0000 (+0000) Subject: comment partial results X-Git-Tag: ls180-24jan2020~157 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad114b76aedd83819731df4f8e886cfc9bd3ce06;p=ieee754fpu.git comment partial results --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index 75e3fe49..d991e5f8 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -136,7 +136,8 @@ class PartitionedDynamicShift(Elaboratable): out = [] # This calculates the outputs o0-o3 from the partial results - # table above. + # table above. Note: only relevant bits of the partial result equal + # to the width of the output column are accumulated in a Mux-cascade. s,e = intervals[0] result = partial_results[0] out.append(result[s:e])