From ee5d75adb076c4ca8b8615889e47750804fad562 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 5 Aug 2019 08:36:41 +0100 Subject: [PATCH] hack to set predicate mask (if it exists) --- src/ieee754/fpcommon/test/fpmux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ieee754/fpcommon/test/fpmux.py b/src/ieee754/fpcommon/test/fpmux.py index 72e22c26..77d70a45 100644 --- a/src/ieee754/fpcommon/test/fpmux.py +++ b/src/ieee754/fpcommon/test/fpmux.py @@ -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: -- 2.30.2