From: Luke Kenneth Casson Leighton Date: Fri, 22 Oct 2021 13:15:18 +0000 (+0100) Subject: add in TODO notes tying in SimdScope/SimdMode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b2b07520c7090c79a77c70a7624bbdb2701765b;p=ieee754fpu.git add in TODO notes tying in SimdScope/SimdMode --- diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index 8818e185..bc12d26e 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -117,6 +117,11 @@ class SimdSignal(UserValue): self.sig = Signal(*args, **kwargs) width = len(self.sig) # get signal width # create partition points + if False: # isinstance(mask, SimdMode): + self.ptype = ElwidPartType(self) + # parse the args, get elwid from SimdMode, + # get module as well, call self.set_module(mask.module) + self.partpoints = ptype.make_layout_get_stuff(mask, *args, **kwargs) if isinstance(mask, PartitionPoints): self.partpoints = mask else: