[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
Tue Oct 12 18:36:52 BST 2021


--- Comment #76 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---


i think i have a basis for the algorithm, it is multi-step.

1. (new) assume all partition counts are a power-2.  1 2 4 8 ...
2. use either fixed_width (if given) or a computed total width.
3. obtain the max number of partitions (max(part_counts.values())
4. divide total width by maxparts, total width is rounded up.

(4) becomes the partition subdivision size.

from there i think the rest of the algorithm (phase 1) 
takes over.

for the example in layout_exoeriment.py that subdivision
size should turn out to be *6* not 5.

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

More information about the libre-soc-bugs mailing list