From: Luke Kenneth Casson Leighton Date: Mon, 11 Oct 2021 10:53:59 +0000 (+0100) Subject: add blanking mask, but current example has no blank areas X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48f1e8c97dd4adc9d9161e362f389fbf70506033;p=ieee754fpu.git add blanking mask, but current example has no blank areas --- diff --git a/src/ieee754/part/layout_experiment.py b/src/ieee754/part/layout_experiment.py index 2a31a57d..1f0b761a 100644 --- a/src/ieee754/part/layout_experiment.py +++ b/src/ieee754/part/layout_experiment.py @@ -80,7 +80,12 @@ def layout(elwid, signed, part_counts, lane_shapes, fixed_width=None): if i in elwidths: bitpos = plist.index(p) bitp[i] |= 1<< bitpos - return (PartitionPoints(points), bitp, width, lane_shapes, + # fourth stage: determine which partitions are 100% unused. + # these can then be "blanked out" + bmask = (1<