From: Luke Kenneth Casson Leighton Date: Tue, 28 Sep 2021 18:36:31 +0000 (+0100) Subject: corrections to PartitionedCat after corrections to PartitionedSignal, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adb44d8c504479693ab853a0c5cb1207c4541ce2;p=ieee754fpu.git corrections to PartitionedCat after corrections to PartitionedSignal, using make_partitions2, off-by-one error --- 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<