[Libre-soc-bugs] [Bug 713] PartitionedSignal enhancement to add partition-context-aware lengths

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Oct 9 14:43:38 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=713

--- Comment #56 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #53)

> yeah i'll do a (big) rename in the morning. SimdSignal?

realised it's best to wait for you respond before acting.

i am still mulling over how and whether Par...^W SimdSignal
can be adapted to support elwidths but also as a default
option create full power-2 partitions and cover all
permutations currently covered by PartitionedSignal.

if so then yes, PartitionedSignal conversion can go ahead.

the decision revolves around whether the (small!) adapter
described in comment #53 can "emulate" existing PartitionedSignal
behaviour, and i believe the answer is yes by:

1) returning Cat(PartitionPoints.mask.values()) as the switcher
2) returning range(len(PartitionPoints)) as the caser
3) returning *zero* as the "blanker" mask to indicate that
   there are no dead (padding) partitions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list