hack to set predicate mask (if it exists)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Aug 2019 07:36:41 +0000 (08:36 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Aug 2019 07:36:41 +0000 (08:36 +0100)
src/ieee754/fpcommon/test/fpmux.py

index 72e22c26062a611adc5650949328fa2fca8397df..77d70a45fa1911b66498a14a262c385e02822048 100644 (file)
@@ -57,6 +57,8 @@ class MuxInOut:
             if not self.single_op:
                 yield rs.data_i.b.eq(op2)
             yield rs.data_i.muxid.eq(muxid)
+            if hasattr(rs, "mask_i"):
+                yield rs.mask_i.eq(1) # TEMPORARY HACK
             yield
             o_p_ready = yield rs.ready_o
             while not o_p_ready: