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

19277 commits

Author SHA1 Message Date
Mohamed Gaber
a4042f69b1
passes/silimate: remove leftover Makefile.inc 2026-06-17 21:14:44 +03:00
Mohamed Gaber
98a1db2756
equiv_opt: support -ignore-unknown-cells 2026-06-17 21:10:02 +03:00
Mohamed Gaber
8267cf87b5
infer_ce: remove pass 2026-06-17 21:01:20 +03:00
Miodrag Milanovic
88d4af94cf Fix share lookup for mingw builds 2026-06-17 10:40:13 +02:00
Mohamed Gaber
5d3819b52f
fix: missing custom-Silimate $icg in NewCellTypes 2026-06-16 21:41:41 +03:00
Mohamed Gaber
bd7c32f8a6
CMake: Linux fixes + Merge fallout fix 2026-06-16 19:32:45 +03:00
Miodrag Milanović
e2903c4a5c
Merge pull request #5959 from YosysHQ/improve_test
Improve test
2026-06-16 08:46:11 +00:00
Miodrag Milanović
211fa48ce5
Merge pull request #5962 from YosysHQ/update_abc
Update ABC as per 2026-06-15
2026-06-16 08:39:41 +00:00
Miodrag Milanovic
3af45e7d04 Some more explanations 2026-06-16 10:31:37 +02:00
Miodrag Milanovic
0584587f9a Make compilation like by abc scripts 2026-06-16 10:07:45 +02:00
Mohamed Gaber
1d94aa6965
misc: fix unused variable in new main branch merge 2026-06-16 02:14:27 +03:00
Mohamed Gaber
569ab1231b
Merge remote-tracking branch 'silimate/main' into update_from_upstream 2026-06-16 02:02:41 +03:00
Akash Levy
d928afec67
Merge pull request #188 from Silimate/generalize_opt_passes
Generalize and refactor opt_* passes of Silimate
2026-06-15 14:38:09 -07:00
Akash Levy
23b021a26b Fix opt_compact_prefix wide packs and opt_priority_onehot max-width test
The tests/silimate suite (which aborted the Run tests CI job) exposed two
issues in the generalized passes:

- opt_compact_prefix: the forward dense pack regressions at 64 and 128 bits
  no longer rewrote. The ConstEval fingerprint was uint64_t-based (capped at
  62 bits) and the per-cone cell cap (max_width*96) was below the O(width^2)
  cell count of a wide pack. The fingerprint now drives whole-width Const
  bit patterns (no width cap) and the cone cap scales quadratically; total
  work stays bounded by the shared walk/eval budgets.

- opt_priority_onehot: the "max-width below lane count" negative test set
  max_width=8 on a 16-lane design expecting no rewrite, but the generalized
  matcher legitimately (and equivalence-provably) rewrites the 8-lane
  sub-region. The test now uses max_width=3 (below min_width 4) to verify
  the width gate suppresses all matching.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 12:02:09 -07:00
Miodrag Milanovic
83ee00d312 Update ABC as per 2026-06-15 2026-06-15 19:42:17 +02:00
Akash Levy
1cc985314a Cleanup 2026-06-15 09:09:27 -07:00
Emil J
f33cc39a0c
Merge pull request #5958 from YosysHQ/emil/opt_muxtree-single-driver
opt_muxtree: error on multiple drivers
2026-06-15 15:00:48 +00:00
nella
c0709b1b4e Fixup issue test. 2026-06-15 16:23:44 +02:00
Miodrag Milanovic
782f9ddd24 Added functional tests option 2026-06-15 16:04:37 +02:00
nella
eb4703808a Add tests. 2026-06-15 15:46:13 +02:00
nella
a5bdb29d7f Recognise asynchronous set/reset. 2026-06-15 15:44:50 +02:00
Miodrag Milanovic
247bcfed65 Remove old Makefile and fix documentation 2026-06-15 15:25:58 +02:00
Emil J. Tywoniak
48c1e1a724 tests: remove hana test with multiple drivers 2026-06-15 15:08:26 +02:00
Emil J. Tywoniak
6032b064e2 opt_muxtree: optimize for single driver, error on multiple drivers 2026-06-15 15:08:26 +02:00
Miodrag Milanovic
2bab5d3fa5 Add VERBOSE (and V) option to Makefiles 2026-06-15 14:48:11 +02:00
Miodrag Milanovic
90ead9bbc2 force Ninja to display Makefile output for tests 2026-06-15 13:41:47 +02:00
KrystalDelusion
8869ce61dc
Merge pull request #5955 from YosysHQ/krys/mod_name
simplify.cc: Fix crash when identifier matches module
2026-06-14 21:29:12 +00:00
Akash Levy
83baed6731 Generalize and refactor opt_* passes of Silimate 2026-06-12 16:31:41 -07:00
nella
05805e8b93
Merge pull request #5900 from YosysHQ/nella/arith_tree_improvements
arith_tree improvements
2026-06-12 14:23:10 +00:00
Miodrag Milanović
a423226ec9
Merge pull request #5956 from YosysHQ/log_compat
Add one more  compatibility logger used in patches for some time
2026-06-12 13:13:54 +00:00
nella
80011b16b2 Add constant note. 2026-06-12 14:57:53 +02:00
nella
309b7d2496 Verify kogge stone impl. 2026-06-12 14:55:47 +02:00
Miodrag Milanovic
ec6266a328 Add one more compatibility logger used in patches for some time 2026-06-12 14:44:26 +02:00
Krystine Sherwin
b79c7c008d
simplify.cc: Fix crash when identifier matches module
Also update one of the AST debug prints that is guarded by an `#if 0` but was out of date.
2026-06-12 11:54:53 +12:00
Akash Levy
61c47fde32
Merge pull request #187 from Silimate/cxxrtl-sim
expose write_cxxrtl into frontend and add support for $buf and $icg
2026-06-11 16:06:46 -07:00
Stan Lee
30be712536 expose write_cxxrtl into frontend and add support for $buf and $icg 2026-06-11 14:47:49 -07:00
Mohamed Gaber
0b99f5e6d1
cmake/SilimateVerific: rework merged verific generation 2026-06-11 03:08:03 +03:00
nella
135c2a4113 Get rid of normalize_to_width. 2026-06-11 01:12:35 +02:00
nella
c44d24d9fd Add missing -assert to equiv_opt calls. 2026-06-11 01:08:36 +02:00
Mohamed Gaber
0217efb67d
Merge remote-tracking branch 'silimate/main' into update_from_upstream 2026-06-10 20:33:33 +03:00
Mohamed Gaber
d986ee91ac
CMake: integrate silimate additions and extensions
- update CMakeLists.txt to load two new files:
  - SilimateConfig.cmake: sets Silimate configuration options and defaults
  - SilimateVerific.cmake: compiles Verific library, optionally with Silimate modifications
- include silimate tests in test Makefile
2026-06-10 20:27:52 +03:00
nella
83a8245734 Add muxcover regression test. 2026-06-10 14:46:04 +02:00
nella
601cd7ba5f Add tests. 2026-06-10 11:30:03 +02:00
nella
d52670e58b Replace suitable (2^k-1)-x with ~x. 2026-06-10 11:29:55 +02:00
Akash Levy
aa3ebe430e
Merge pull request #185 from Silimate/opt_priority_onehot
opt_priority_onehot
2026-06-09 23:10:41 -07:00
Akash Levy
3743c4795a opt_priority_onehot 2026-06-09 22:18:20 -07:00
Akash Levy
c5bf37186d
Merge pull request #184 from Silimate/opt_compact_prefix_fix2
Make opt_compact_prefix match more
2026-06-09 11:48:04 -07:00
Akash Levy
faea2d904a Make opt_compact_prefix match more 2026-06-09 10:55:10 -07:00
Miodrag Milanović
8eb3133076
Merge pull request #5950 from YosysHQ/version_fix
Fix version number and git origin
2026-06-09 16:49:28 +00:00
Miodrag Milanović
7b40b7a6f0
Merge pull request #5949 from YosysHQ/update_abc
MSVC full build
2026-06-09 16:28:00 +00:00