From 48f1e8c97dd4adc9d9161e362f389fbf70506033 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 11 Oct 2021 11:53:59 +0100 Subject: [PATCH] add blanking mask, but current example has no blank areas --- src/ieee754/part/layout_experiment.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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<