From ad114b76aedd83819731df4f8e886cfc9bd3ce06 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 15 Feb 2020 13:50:30 +0000 Subject: [PATCH] comment partial results --- src/ieee754/part_shift/part_shift_dynamic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) -- 2.30.2