comment partial results
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 15 Feb 2020 13:50:30 +0000 (13:50 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 15 Feb 2020 13:50:30 +0000 (13:50 +0000)
src/ieee754/part_shift/part_shift_dynamic.py

index 75e3fe4951c7c21549f80fe94096e64f89dce954..d991e5f8b52788a0c37c86c44aab393d97d4db1f 100644 (file)
@@ -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])