3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 11:45:41 +00:00
yosys/tests/arch
Johan Olby 4d215665a1
gowin: infer DSP multiply-accumulate for the GW5A family
Map $macc_v2 cells (one signed <=27x18 product + one <=48-bit addend)
to MULTALU27X18 with the C addend enabled, so a*b+c maps to a single
DSP block instead of a multiply + fabric adder.

The C addend requires DYN_C_SEL("TRUE") + CSEL=1 (gowin_pack reads the
CSEL port, not the C_SEL parameter).

alumacc + macc techmap run before wreduce for gw5a, so $mul and $add
ports still have matching widths when alumacc tries to merge them.
Running after wreduce breaks the merge: wreduce narrows $mul Y (48->45)
but not $add A (stays 48), and alumacc can't merge mismatched widths.
2026-07-13 20:57:08 +02:00
..
analogdevices Merge pull request #5973 from YosysHQ/lofty/abc-refactor-7 2026-07-09 08:46:46 +00:00
anlogic Convert gen-tests shell script to python 2026-04-16 11:00:44 +02:00
common Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
ecp5 Merge branch 'main' into nella/latch-toggle 2026-07-08 11:41:08 +02:00
efinix Merge branch 'main' into nella/latch-toggle 2026-07-08 11:41:08 +02:00
fabulous Cleanup 2026-07-08 08:34:01 +02:00
gatemate synth_gatemate: add -abc_new option 2026-05-06 14:02:48 +01:00
gowin gowin: infer DSP multiply-accumulate for the GW5A family 2026-07-13 20:57:08 +02:00
ice40 Merge branch 'main' into nella/latch-toggle 2026-07-08 11:41:08 +02:00
intel_alm Merge pull request #5973 from YosysHQ/lofty/abc-refactor-7 2026-07-09 08:46:46 +00:00
machxo2 Convert gen-tests shell script to python 2026-04-16 11:00:44 +02:00
microchip Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
nanoxplore Merge branch 'main' into nella/latch-toggle 2026-07-08 11:41:08 +02:00
nexus Add matching for fused mac operations for Nexus (fix #5906). 2026-05-28 09:58:18 +02:00
quicklogic Merge pull request #5973 from YosysHQ/lofty/abc-refactor-7 2026-07-09 08:46:46 +00:00
xilinx Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
generate_mk.py Move output redirect to one place 2026-04-16 11:00:44 +02:00