From adb44d8c504479693ab853a0c5cb1207c4541ce2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 28 Sep 2021 19:36:31 +0100 Subject: [PATCH] corrections to PartitionedCat after corrections to PartitionedSignal, using make_partitions2, off-by-one error --- src/ieee754/part_cat/cat.py | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/ieee754/part_cat/cat.py b/src/ieee754/part_cat/cat.py index 58aaecf8..ac91f42d 100644 --- a/src/ieee754/part_cat/cat.py +++ b/src/ieee754/part_cat/cat.py @@ -95,14 +95,14 @@ class PartitionedCat(Elaboratable): print ("keys", keys, "values", self.partition_points.values()) with m.Switch(self.mask[:-1]): # for each partition possibility, create a Cat sequence - for pbit in range(1<