mention being a bit like the gt-combiner
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 13 Feb 2020 15:33:48 +0000 (15:33 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 13 Feb 2020 15:33:48 +0000 (15:33 +0000)
src/ieee754/part_shift/part_shift_dynamic.py

index b82fc467e75fad2d6d3f9c13c5a2cb15145c219e..df268810d9a6580a5676db45f8a168bedfc540e8 100644 (file)
@@ -114,6 +114,10 @@ class PartitionedDynamicShift(Elaboratable):
             # element or (element | intermed), select between 0 or intermed
             # then unconditionally "|" element on top (once copied into
             # a named Signal)
+            # XXX TODO: hmmm rather than pass down the actual intermed
+            # here, why not accumulate a cascade of "do we need to include
+            # this partial result" things, *then* OR them together?
+            # this is where it sort-of becomes like the gt_combiner
             intermed = Mux(gates[i-1], 0, intermed[keys[0]:])
             intermed2 = Signal(intermed.shape())
             comb += intermed2.eq(intermed | element)