[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
Wed Oct 13 17:58:21 BST 2021


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

--- Comment #105 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i added another example which i *think* was what the (original) test
was supposed to be, from comment #20

    l = {0: signed(5), 1: signed(6), 2: signed(12), 3: signed(24)}

i set the following vector element widths:

+    widths_at_elwidth = {
+        0: 24,  # QTY 1x 24
+        1: 12,  # QTY 1x 12
+        2: 5,   # QTY 2x 5
+        3: 6    # QTY 4x 6
+    }

and it produced reasonable expected results.

commit 9ea45dcbddc385f394e2c86c4dd4f2a5b98686b9 (HEAD -> master, origin/master)
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date:   Wed Oct 13 17:55:49 2021 +0100

    create quick test of what 24-12-5-6 layout was likely-expected to be

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


More information about the libre-soc-bugs mailing list