Commit Graph

17503 Commits

Author SHA1 Message Date
Johan Olby 3540d700a3
gowin: Correct B_MINWIDTH for 27x17
The 27x18 rule carried B_MINWIDTH=13, so any product whose narrower operand
was below 13 (e.g. 27x4, 4x13) was rejected even though it fits one
MULTALU27X18 tile, and decomposed onto MULT12X12 partials instead. Drop the
floor to 2 so the rule blocks only degenerate Nx1 multiplies, matching the
rest of the tree.

Adds a 4x13 regression case.
2026-07-16 17:35:55 +02:00
Johan Olby e54c4fc737
Merge remote-tracking branch 'upstream/main' into gw5a-dsp-inference 2026-07-16 13:23:59 +02:00
Lofty 45ea2b8d6c
Merge pull request #6047 from olby/mul2dsp-commute-first
mul2dsp: normalize operand order before min-width checks
2026-07-15 15:47:08 +00:00
Johan Olby 63457de80e
mul2dsp: normalize operand order
Move the operand commute that puts the wider operand on A ahead of the
min-width checks. Checking the min-widths first made an asymmetric rule
(DSP_A_MINWIDTH != DSP_B_MINWIDTH) match only products that already had the
wider operand on A; a product in the other order was rejected before the
normalization.
2026-07-15 16:21:07 +02:00
Johan Olby 7382f2bb19
Explicitly pin C_SEL to 0
Co-authored-by: Thomas Vanhaniemi <thomas.vanhaniemi@gmail.com>
2026-07-15 10:40:19 +02:00
Miodrag Milanović 9914b6fa25
Merge pull request #6044 from YosysHQ/mmicko/codeql
codeql: do not generate reports for 3rd party code
2026-07-15 07:12:44 +00:00
Miodrag Milanovic 6fa6849734 codeql: do not generate reports for 3rd party code 2026-07-15 08:54:10 +02:00
Miodrag Milanović 0135a61db3
Merge pull request #6043 from YosysHQ/mmicko/sv-elab
Update sv-elab to 3dddccd
2026-07-15 06:43:02 +00:00
Miodrag Milanovic eb3a15cd8c Update sv-elab to 3dddccd 2026-07-15 08:24:46 +02:00
Emil J d4f39588a7
Merge pull request #6038 from YosysHQ/emil/dfflibmap-fix-resetval
dfflibmap: fix resetval clobber
2026-07-14 18:41:59 +00:00
Emil J. Tywoniak eb96123030 dfflibmap: add regression test for resetval clobber 2026-07-14 18:02:02 +02:00
Emil J. Tywoniak 332ea782eb dfflibmap: fix resetval clobber 2026-07-14 15:01:31 +02:00
Miodrag Milanović 22c15a7ecd
Merge pull request #6034 from YosysHQ/mmicko/system_libs
cmake: Use system libs when available
2026-07-13 15:50:10 +00:00
Miodrag Milanovic 3541e31457 Add option to use bundled libs 2026-07-13 16:50:06 +02:00
Miodrag Milanovic 30ba4328e7 Use system libs when available 2026-07-13 15:26:00 +02:00
nella dddf137888
Merge pull request #6024 from YosysHQ/nella/scl-build-date
Include build datetime in scl cache hash
2026-07-13 11:54:45 +00:00
Johan Olby 98656e284b
gowin: infer DSP multipliers for the GW5A family
synth_gowin guarded the mul2dsp + dsp_map path to gw1n/gw2a, so GW5A
multiplies expanded to LUTs. Add a gw5a branch mapping the GW5A's three
multiplier widths: $__MUL27X18 (M0 27x18) for larger multiplies, $__MUL12X12
(M1 12x12) for <=12x12 (which pack two-per-block via M0+M1), and $__MUL27X36
(27x36) for wide (B>18) multiplies.

The blocks are signed-only (no per-operand sign control), so DSP_SIGNEDONLY
is mandatory without it a 32x16 -1*-1 mapping yields 0x08000001 instead of 1.
2026-07-12 21:00:21 +02:00
Miodrag Milanović 0e82bbefe5
Merge pull request #6027 from YosysHQ/mmicko/skip_fix
codecov: fix not skipping when pushing on
2026-07-10 16:12:03 +00:00
Miodrag Milanovic 0f8f70eb84 codecov: fix not skipping when pushing on 2026-07-10 17:55:11 +02:00
Miodrag Milanović 6fdd5bb11e
Merge pull request #6026 from YosysHQ/mmicko/coverage_main
codecov: Upload coverage on main
2026-07-10 15:25:25 +00:00
Miodrag Milanovic 16766b26e9 codecov: Upload coverage on main 2026-07-10 17:09:20 +02:00
nella ede98b81ac
Merge pull request #6023 from b-michi/michaelbaier/sc-649/segmentation-fault-during-proc-init-with
Michaelbaier/sc 649/segmentation fault during proc init with
2026-07-10 13:07:58 +00:00
nella eb93f5a066 Add scl caching test. 2026-07-10 14:52:06 +02:00
nella 68aaa34975 Reformat scl cache. 2026-07-10 14:51:58 +02:00
Michael Baier dca9234d86 Testcases for new truncation checks 2026-07-10 14:37:19 +02:00
Michael Baier 8f0028652a long long to int truncation checks 2026-07-10 14:36:39 +02:00
Miodrag Milanović be51f7a92c
Merge pull request #6025 from YosysHQ/mmicko/disable_comment
codecov: Disable PR comments for now
2026-07-10 11:48:27 +00:00
Miodrag Milanovic 10fcf7a593 codecov: Disable PR comments for now 2026-07-10 13:33:59 +02:00
nella b678c238e4 Include build datetime in scl cache hash. 2026-07-10 12:44:34 +02:00
Miodrag Milanović 11c30749a4
Merge pull request #6000 from YosysHQ/codecov
Add initial codecov support
2026-07-10 10:42:54 +00:00
Miodrag Milanovic 76378e6eb9 Do not add comments in PR 2026-07-10 12:26:47 +02:00
Miodrag Milanovic f2f3f31646 Add initial codecov support 2026-07-10 12:19:59 +02:00
Michael Baier 1dbefdbd49 Modified pyosys generator.py to support constexpr 2026-07-09 16:32:01 +02:00
Michael Baier 58fc67ee66 Adding Width check to resize 2026-07-09 14:34:56 +02:00
Michael Baier 086c50763d Tescases for Width Limit, Resize and Overflow 2026-07-09 14:34:56 +02:00
Michael Baier eb4e29810e Fixed Overflow error in checking width 2026-07-09 14:34:56 +02:00
Michael Baier 5cd9efefe3 Adding widht checks to backend 2026-07-09 14:34:56 +02:00
Michael Baier 42092cbc77 Adding width checks to frontend 2026-07-09 14:34:56 +02:00
Michael Baier ea41b196da Adding Widht Limit 2026-07-09 14:34:56 +02:00
Michael Baier 3adb423e9e Added Testcase for bug1206 2026-07-09 14:34:56 +02:00
Miodrag Milanović b88b73a99a
Merge pull request #6021 from YosysHQ/release/v0.67
Release version 0.67
2026-07-09 10:29:57 +00:00
Miodrag Milanovic 5214fd7414 Next dev cycle 2026-07-09 11:14:31 +02:00
Lofty 75286287c6
Merge pull request #5973 from YosysHQ/lofty/abc-refactor-7
Move rename logic to abc_ops_reintegrate
2026-07-09 08:46:46 +00:00
Miodrag Milanovic 2d1509d1bc Release version 0.67 2026-07-09 10:13:26 +02:00
Miodrag Milanović 9c0291e81c
Merge pull request #6018 from YosysHQ/krys/fixup_source_path
Improve source path fixup
2026-07-09 06:55:40 +00:00
Miodrag Milanović 8838213c3d
Merge pull request #6017 from YosysHQ/krys/tidying
Minor tidying for docs
2026-07-09 06:32:06 +00:00
Krystine Sherwin 53d1e7615b
Fixup help contents source_file
Stop empty source files `""` from being exported to json.
Move source path fixing to a separate function.
`ContentListing::to_json` now takes the source root, recursively calling the source path fixup function on all source paths in the content listing.
2026-07-09 16:05:15 +12:00
Krystine Sherwin 0e763f320b
Fix ContentListing::option source location
Use a null location instead of referencing `log_help.cc`.
2026-07-09 15:54:17 +12:00
Krystine Sherwin a9d25ab808
Docs: Minor tidying 2026-07-09 15:50:58 +12:00
Miodrag Milanović b35b6706f8
Merge pull request #6014 from YosysHQ/update_ci
Update wheels ci
2026-07-08 18:26:43 +00:00