3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-14 21:01:50 +00:00
Commit graph

16671 commits

Author SHA1 Message Date
Robert O'Callahan
c742785b65
Merge b438afc2d8 into e2f0c4d9a0 2026-02-13 01:11:30 -05:00
github-actions[bot]
e2f0c4d9a0 Bump version 2026-02-13 00:35:27 +00:00
Miodrag Milanović
e4b32d6aae
Merge pull request #5670 from max-kudinov/gowin_mult
Gowin: Add DSP inference for GW1N and GW2A
2026-02-12 14:30:27 +01:00
Maxim Kudinov
b055ea05fd gowin: dsp: Add mult inference tests 2026-02-12 14:12:32 +03:00
Maxim Kudinov
5b94a97fb3 gowin: synth_gowin: Add -nodsp option 2026-02-12 13:58:47 +03:00
Maxim Kudinov
542b29fa6a gowin: synth_gowin: Merge flatten label with coarse 2026-02-12 13:58:47 +03:00
Maxim Kudinov
5ea073d45e gowin: format MULT instances 2026-02-12 13:35:49 +03:00
Miodrag Milanović
9b9e7b5ae3
Merge pull request #3389 from uwsampl/support-parameter-default-values-in-json-frontend-and-verilog-backend
Support parameter default values in JSON frontend and Verilog backend
2026-02-12 10:17:56 +01:00
Miodrag Milanović
ce5321da8c
Merge pull request #5682 from YosysHQ/update_abc
Update ABC as per 2026-02-11
2026-02-12 08:05:23 +01:00
github-actions[bot]
1319112913 Bump version 2026-02-12 00:32:36 +00:00
Gus Smith
7a0774c3bb Don't dump params by default 2026-02-11 08:33:39 -08:00
Emil J
b890b1b43f
Merge pull request #5678 from YosysHQ/emil/remove-dockerfile
Dockerfile: remove
2026-02-11 17:32:21 +01:00
Miodrag Milanovic
a13b5c4211 Update ABC as per 2026-02-11 2026-02-11 17:30:08 +01:00
Gus Smith
be9c857e72 Fix ABC after merge 2026-02-11 08:12:38 -08:00
Gus Smith
b0021e5b10 Add tests 2026-02-11 08:10:57 -08:00
Gus Smith
1ede98797f Update backends/verilog/verilog_backend.cc
Co-authored-by: Marcelina Kościelnicka <236399+mwkmwkmwk@users.noreply.github.com>
2026-02-11 08:10:57 -08:00
Gus Smith
9ad7aed4a5 Update backends/verilog/verilog_backend.cc
Co-authored-by: Marcelina Kościelnicka <236399+mwkmwkmwk@users.noreply.github.com>
2026-02-11 08:10:57 -08:00
Gus Smith
12ace45b89 Support param. default values in JSON FE and SV BE 2026-02-11 08:10:55 -08:00
Gus Smith
e3db8fee6f
Merge pull request #3459 from gs-jgj/feature_dsp48e1_presub
Add support for subtract in preadder
2026-02-11 08:02:18 -08:00
Gus Smith
8ab105ac28
Merge pull request #4303 from Coloquinte/sat_choice
Infrastructure to run a Sat solver as a command
2026-02-11 06:54:53 -08:00
Emil J
fba29ea8f1
Merge pull request #5679 from YosysHQ/emil/abc9-remove-liberty
abc9: remove -liberty
2026-02-11 12:36:29 +01:00
Emil J. Tywoniak
915912cc76 abc9: remove -dont_use 2026-02-11 11:39:09 +01:00
Emil J. Tywoniak
c4094e457b abc9: remove -genlib, -constr 2026-02-11 11:34:54 +01:00
Emil J. Tywoniak
5a46106a46 abc9: remove -liberty 2026-02-11 01:04:50 +01:00
Emil J. Tywoniak
a6a07fb39c Dockerfile: remove 2026-02-11 00:59:12 +01:00
github-actions[bot]
a6e33d9916 Bump version 2026-02-10 00:38:43 +00:00
Emil J
d2f7d3cf63
Merge pull request #5665 from rocallahan/abc-tmp-path
Sanitize ABC global and per-run temporary directory names in logs
2026-02-09 23:26:57 +01:00
Gus Smith
b04948a8cd Simplify test 2026-02-09 09:38:45 -08:00
Gus Smith
6f6fa49d3c Typo 2026-02-09 09:05:56 -08:00
Robert O'Callahan
b438afc2d8 Add 'init' attributes to RTLIL fuzzing 2026-02-08 22:52:17 +00:00
Robert O'Callahan
34d9b28050 Add unit tests for ConcurrentWorkQueue 2026-02-08 22:52:17 +00:00
Robert O'Callahan
bb36842e7b Add some tests for ShardedHashSet 2026-02-08 22:52:17 +00:00
Robert O'Callahan
56c0da2f43 Add unit tests for ConcurrentQueue and ThreadPool 2026-02-08 22:52:17 +00:00
Robert O'Callahan
f34c6fec19 Add unit-tests for ParallelDispatchThread and friends 2026-02-08 22:52:17 +00:00
Robert O'Callahan
a1aa9ab4aa Make gmock available in test environment 2026-02-08 22:52:17 +00:00
Robert O'Callahan
fb05c13b33 Pass the module Subpool to rmunused_module_signals and parallelize that function 2026-02-08 22:52:17 +00:00
Robert O'Callahan
e5cf1a90f1 Add test that connects a wire with init to a constant 2026-02-08 22:52:17 +00:00
Robert O'Callahan
c81d7b00da Pass the module Subpool to rmunused_module_cells and parallelize that function 2026-02-08 22:52:17 +00:00
Gus Smith
1502e23371 Set solver from scratchpad or command line 2026-02-06 19:26:32 -08:00
Gus Smith
b2f9ac4fb5 Check for dimacs nullptr on file creation+fn call 2026-02-06 18:18:03 -08:00
Gus Smith
2bb352a861 Missing newline 2026-02-06 17:45:00 -08:00
Gus Smith
f062a0c8d6 Typo 2026-02-06 17:26:08 -08:00
Robert O'Callahan
34f8582725
Sanitize ABC global and per-run temporary directory names in logs 2026-02-07 12:12:13 +13:00
Robert O'Callahan
e4dde705dc Pass the module Subpool to rmunused_module_init and parallelize that function 2026-02-05 21:22:29 +00:00
Robert O'Callahan
84932e3207 Pass the toplevel thread pool to rmunused_module, create a Subpool, and parallelize remove_temporary_cells 2026-02-05 21:22:29 +00:00
Robert O'Callahan
9990bda187 Create a toplevel ParallelDispatchThreadPool and parallelize keep_cache_t::scan_module() with it 2026-02-05 21:22:29 +00:00
Robert O'Callahan
c10374c771 Introduce RmStats struct to encapsulate removal statistics
Turns out this is not strictly necessary for this PR but it's
still a good thing to do and makes it clearer that the stats
are not modified in a possibly racy way.
2026-02-05 21:22:29 +00:00
Robert O'Callahan
cba49642aa Make keep_cache_t process all modules up-front instead of on-demand
We will want to query `keep_cache` from parallel threads. If we compute
the results on-demand, that means we need synchronization for cache
access in those queries, which adds complexity and overhead. Instead, prefill
the cache with the status of all relevant modules. Note that this doesn't
actually do more work --- we always consult `keep_cache` for all cells of
all selected modules, so scanning all those cells and determining the kept
status of all dependency modules is always required.

Later in this PR we're going to parallelize `scan_module` itself, and that's also
much easier to do when no other parallel threads are running.
2026-02-05 21:22:29 +00:00
Robert O'Callahan
c8298aae02 Parallelize Design::check() 2026-02-05 21:22:29 +00:00
Robert O'Callahan
63aa31172c Parallelize collect_garbage() 2026-02-05 21:22:29 +00:00