Commit Graph

16443 Commits

Author SHA1 Message Date
KrystalDelusion cc3d569ade
Merge pull request #5591 from YosysHQ/krys/clean_empty_switch
Improve handling of empty switches
2026-01-09 11:52:27 +13:00
Emil J c7b839ef5a
Merge pull request #5530 from rocallahan/parallel-opt-merge
Parallelize `opt_merge`
2026-01-08 10:43:44 +01:00
Robert O'Callahan 8da919587d Parallelize `opt_merge`.
I'm not sure why but this is actually faster than existing `opt_merge` even with
YOSYS_MAX_THREADS=1, for the jpeg synthesis test. 16.0s before, 15.5s after for
end-to-end synthesis.
2026-01-08 04:21:39 +00:00
github-actions[bot] 35321cd292 Bump version 2026-01-07 00:25:36 +00:00
Krystine Sherwin 9a09758f56
Test empty switches 2026-01-07 13:21:33 +13:00
Krystine Sherwin c0e29ef57c
proc_clean: Removing an empty full_case is doing something 2026-01-07 13:10:32 +13:00
Krystine Sherwin fcb8695261
write_verilog: Skip empty switches 2026-01-07 13:09:49 +13:00
Emil J 0ab967b036
Merge pull request #5564 from rocallahan/pass-fuzz
Add support for fuzz-test comparison of two passes intended to give identical RTLIL results
2026-01-06 20:07:31 +01:00
Emil J 5c630a366d
Merge pull request #5555 from rocallahan/defer-redirects
Defer redirecting cell outputs when merging cells in `opt_merge` untill after we've done a full pass over the cells.
2026-01-06 18:48:16 +01:00
Robert O'Callahan 042ec1cf60 Defer redirecting cell outputs when merging cells in `opt_merge` until after we've done a full pass over the cells.
This avoids changing `assign_map` and `initvals`, which are inputs to the hash function for `known_cells`,
while `known_cells` exists. Changing the hash function for a hashtable while it exists leads to
confusing behavior. That also means the exact behavior of `opt_merge` cannot be reproduced by a
parallel implementation.
2026-01-06 16:21:48 +00:00
Emil J 2e1a2cfacb
Merge pull request #5561 from YosysHQ/emil/opt_expr-test-avoid-multiple-drivers
opt_expr: avoid multiple drivers in test
2026-01-06 14:54:55 +01:00
github-actions[bot] 1567526954 Bump version 2026-01-06 00:26:49 +00:00
Miodrag Milanović 1ccbd21ed8
Merge pull request #5587 from YosysHQ/update_abc
Update ABC as per 2026-01-05
2026-01-05 18:00:36 +01:00
Miodrag Milanovic 6e5a516051 Update ABC as per 2026-01-05 2026-01-05 16:34:45 +01:00
Miodrag Milanović eae00c19a8
Merge pull request #5579 from yrabbit/gw5-bsram-be-w
Gowin. Implement byte enable.
2026-01-05 11:10:03 +01:00
YRabbit 8a78f2f7c5 Gowin. Fix style.
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2026-01-05 20:07:31 +10:00
Miodrag Milanović ab4381fba4
Merge pull request #5576 from rocallahan/idstring-pod
Give `IdString` a default move constructor and make it a POD type.
2026-01-05 11:05:56 +01:00
YRabbit ea90f54783 Gowin. Implement byte enable.
Enable write port with byte enables for BSRAM primitives.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
2026-01-03 17:42:49 +10:00
github-actions[bot] 8101c87fab Bump version 2025-12-31 00:27:01 +00:00
Robert O'Callahan a6d696ba2b Give `IdString` a default move constructor and make it a POD type.
Now that we're not refcounting `IdString`, it can use the default move constructor.
This lets us make `IdString` a POD type so it can be passed in registers
in the standard C++ ABI.
2025-12-30 22:35:14 +00:00
Miodrag Milanović 582969b236
Merge pull request #5575 from YosysHQ/update_abc
Update ABC as per 2025-12-29
2025-12-30 10:00:49 +01:00
Miodrag Milanovic 55af32024d Update ABC as per 2025-12-29 2025-12-30 09:23:45 +01:00
github-actions[bot] 96549e5514 Bump version 2025-12-30 00:26:17 +00:00
Miodrag Milanović d523c88c3c
Merge pull request #5573 from rocallahan/increase-timeout
Increase test timeout to 10 seconds
2025-12-29 12:38:34 +01:00
Robert O'Callahan 99d7ab9c42 Increase test timeout to 10 seconds
On my machine, this test regularly times out when doing "make -j" (which defaults to 128).
The high degree of parallelism seems to slow down the spwaning of ABC processes.
2025-12-29 04:35:05 +00:00
github-actions[bot] 17ca71e1ab Bump version 2025-12-24 00:26:02 +00:00
Miodrag Milanović aa9991d3ee
Merge pull request #5571 from YosysHQ/micko/warning
remove unused variable
2025-12-23 16:32:10 +01:00
Miodrag Milanovic 4bc4e4eb41 remove unused variable 2025-12-23 15:47:35 +01:00
Miodrag Milanović 09f9e0e8d1
Merge pull request #5568 from rocallahan/abc-spawn-errno
Print `errno` to help diagnose failure to spawn ABC
2025-12-23 08:09:14 +01:00
github-actions[bot] 31f355c599 Bump version 2025-12-23 00:26:12 +00:00
Robert O'Callahan 0e61f57458 Print errno to help diagnose failure to spawn ABC 2025-12-22 21:58:15 +00:00
Robert O'Callahan 9ee51c8f27 Add AFL++ Grammar-Generator grammar for RTLIL fuzzing, and instructions for how to use it. 2025-12-22 21:56:26 +00:00
N. Engelhardt d5b38af4a7
Merge pull request #5550 from YosysHQ/nak/dont_merge_properties 2025-12-22 16:54:43 +01:00
Miodrag Milanović 650c18a2a2
Merge pull request #5565 from rocallahan/idstring-by-value
Pass `IdString` by value instead of by const reference
2025-12-22 14:51:30 +01:00
Miodrag Milanović 580b57c772
Merge pull request #5566 from YosysHQ/update_abc
Update ABC as per 2025-12-22
2025-12-22 13:19:28 +01:00
Miodrag Milanovic 13030e43d4 Update ABC as per 2025-12-22 2025-12-22 12:31:58 +01:00
Robert O'Callahan 48cdb499f2 Remove `IdString::id_string()`.
This was needed for the short time when `ID()` could return a value of `StaticIdString`.
That is no longer a problem.
2025-12-22 01:57:30 +00:00
Robert O'Callahan 46cb05c471 Pass IdString by value instead of by const reference.
When IdString refcounting was expensive, it made sense to pass it by const reference
instead of by value, to avoid refcount churn. Now that IdString is not refcounted,
it's slightly more efficient to pass it by value.
2025-12-22 01:52:59 +00:00
Robert O'Callahan ddd6a16ee0 Add -legalize option to read_rtlil 2025-12-21 21:47:48 +00:00
Robert O'Callahan 914e14946d Implement design_equal command 2025-12-21 21:47:40 +00:00
Emil J. Tywoniak 856d455065 opt_expr: avoid multiple drivers issue #4792 in combined assign tests 2025-12-19 18:32:56 +01:00
Emil J. Tywoniak 772d821fb0 opt_expr: reindent test 2025-12-19 18:32:56 +01:00
github-actions[bot] 64a933d77b Bump version 2025-12-18 00:22:53 +00:00
N. Engelhardt 45d654e2d7 avoid merging formal properties 2025-12-17 20:25:24 +01:00
Miodrag Milanović 49feaa1146
Merge pull request #5549 from nataliakokoromyti/fix-ice40-wrapcarry-src-attr
ice40_wrapcarry: Fix abort when cells have src attributes
2025-12-17 12:15:20 +01:00
Miodrag Milanović d861a26e49
Merge pull request #5504 from nataliakokoromyti/verific-run-test-bugfix
Fix Verific run-test.sh
2025-12-17 11:08:44 +01:00
nataliakokoromyti e289e4c893
add ID::src to allowlist instead 2025-12-17 01:31:32 -08:00
nataliakokoromyti cf8be2bae7
Update ice40_wrapcarry.cc 2025-12-16 09:33:47 -08:00
nataliakokoromyti 2ded4bd893
Update run-test.sh
fix: preserve newline at eof
2025-12-16 04:16:03 -08:00
Miodrag Milanović 07c9d575fd
Merge pull request #5543 from YosysHQ/krys/check_iverilog
Tests: Don't mention iverilog if the error wasn't from iverilog
2025-12-16 07:59:48 +01:00