From: Luke Kenneth Casson Leighton Date: Mon, 5 Aug 2019 07:36:41 +0000 (+0100) Subject: hack to set predicate mask (if it exists) X-Git-Tag: ls180-24jan2020~548 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee5d75adb076c4ca8b8615889e47750804fad562;p=ieee754fpu.git hack to set predicate mask (if it exists) --- 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: