3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-15 21:36:55 +00:00
Commit graph

17204 commits

Author SHA1 Message Date
Krystine Sherwin
2f82b3aed5
docs: Remove build dir from tool help
Pipes the help through sed for the tools that include the path.  Also means we can drop the `|| true` from abc, since we're now reading the sed return instead.
2026-06-03 12:00:19 +12:00
Krystine Sherwin
96c5d2b936
register.cc: Make cmd paths proximate
The CMake refactor changes relative paths to absolute when calling `source_location::current()`.  Use the path to `register.cc` to find the root yosys dir, and use that as the base for other paths.
Includes provisions for when plugins have a valid location; if it's not in the yosys source tree we shouldn't try to make the path relative, and we shouldn't try to auto group by path (since such groups will never be allocated, leaving them as unknown is preferable).
Limited to non wasm (I think that's the only one where we can't (easily) use `<filesystem>`). But where we do use `<filesystem>` we can also simplify the auto group to use `fs::path::parent_path()`.
2026-06-03 11:32:06 +12:00
Krystine Sherwin
3ca844ac6c
docs: Run stubnets with docs tests 2026-06-02 15:45:10 +12:00
Krystine Sherwin
c17c63e6d0
WIP docs 2026-06-02 15:45:00 +12:00
Catherine
43fdb0da86 Update top-level Python project for CMake compatibility.
This commit reimplements the (no longer recommended) setuptools based
build system using a standards-based in-tree PEP517 build backend.
The implementation is partially based on
  https://codeberg.org/ziglang/zig-pypi/src/branch/main/make_wheels.py
which is licensed under BSD-0-clause.
2026-05-28 13:48:16 +00:00
Catherine
482295cc65 Drop YOSYS_ENABLE_HELP_SOURCE since C++20 is required. 2026-05-28 13:48:13 +00:00
Catherine
0cedcef6a1 Fix Windows portability issues that break MSVC build. 2026-05-28 13:48:12 +00:00
Miodrag Milanovic
f284ec9382 Update CI scripts for CMake
Co-authored-by: Catherine <whitequark@whitequark.org>
2026-05-28 13:48:10 +00:00
Catherine
a867291e4e Migrate build system to CMake
See #5895 for details.

This commit does not include CI or documentation changes.
2026-05-28 13:47:59 +00:00
Catherine
0ef0a8881e Revert "Putting back some Makefile.conf"
This reverts commit d8587f44f0.
2026-05-28 13:44:43 +00:00
Miodrag Milanović
1801abf30a
Merge pull request #5913 from YosysHQ/abcexternal
Putting back some Makefile.conf
2026-05-28 09:49:16 +00:00
Miodrag Milanovic
d8587f44f0 Putting back some Makefile.conf 2026-05-28 11:13:29 +02:00
KrystalDelusion
4230ebff71
Merge pull request #5912 from YosysHQ/krys/opt_clean_docs
opt_clean: Set group for docs gen
2026-05-28 08:35:52 +00:00
nella
715bc4d7d2
Merge pull request #5909 from YosysHQ/nella/fuse_dsp
Add matching for fused mac operations for Nexus (fix #5906).
2026-05-28 08:28:16 +00:00
nella
1414012676 Add sign and op checks. 2026-05-28 09:58:18 +02:00
nella
7fef67a141 Simplify nexus map. 2026-05-28 09:58:18 +02:00
nella
d6106f141c Add matching for fused mac operations for Nexus (fix #5906). 2026-05-28 09:58:18 +02:00
Krystine Sherwin
680bb69d85
opt_clean: Set group for docs gen 2026-05-28 14:50:11 +12:00
Emil J
94ec78b6e8
Merge pull request #5907 from JesseDebuger/main
proc: ignore nosync temporaries in always_latch checks
2026-05-27 07:33:42 +00:00
junyao
6f111118de proc: ignore nosync temporaries in always_latch checks 2026-05-26 00:56:07 +08:00
Miodrag Milanović
9d0cdb8551
Merge pull request #5901 from YosysHQ/test_cleanup
Test out-of-tree build support
2026-05-20 10:55:28 +00:00
Miodrag Milanovic
4c8e61a52b Expose SBY binary location 2026-05-19 16:08:21 +02:00
Miodrag Milanovic
07924a3c62 Use common.mk for sva tests as well 2026-05-19 15:15:41 +02:00
Miodrag Milanovic
2b3f4c37f5 Fix functional tests 2026-05-19 14:42:08 +02:00
Miodrag Milanovic
15e09163cd Do not use Makefile.conf 2026-05-19 14:29:06 +02:00
Miodrag Milanovic
c0779f488a Make out of tree build testing possible 2026-05-19 14:26:07 +02:00
Emil J
5c6de04467
Merge pull request #5875 from YosysHQ/emil/threading-fix-no-threads
threading: redirect locks to no-op on single-threaded builds
2026-05-18 19:22:19 +00:00
Miodrag Milanović
ffa8618413
Merge pull request #5896 from YosysHQ/remove_file
Remove file added by mistake
2026-05-18 15:39:55 +00:00
Miodrag Milanovic
2159a0e634 Remove file added by mistake 2026-05-18 17:00:16 +02:00
Emil J. Tywoniak
0c2786be1f threading: make no-op locks specialized to Mutex instead of templates 2026-05-18 16:26:14 +02:00
Emil J. Tywoniak
1c831aa50d threading: whitespace 2026-05-18 16:26:14 +02:00
Emil J. Tywoniak
d322e2fbe0 threading: redirect locks to no-op when ENABLE_THREADS=0 or undefined YOSYS_ENABLE_THREADS 2026-05-18 16:14:01 +02:00
Miodrag Milanović
7bcda9d304
Merge pull request #5893 from YosysHQ/update_log
Log infrastructure cleanup
2026-05-18 11:10:11 +00:00
Miodrag Milanović
8b68ac04f7
Merge pull request #5890 from strophy/fix-aiger-tests-abcexternal
Fix aiger tests when ABCEXTERNAL is set
2026-05-18 07:59:17 +00:00
Miodrag Milanovic
35d13e1c32 Update documentation/demos based on cleanup 2026-05-18 09:13:46 +02:00
Miodrag Milanovic
4a4c3a3be6 Make better validation 2026-05-18 08:50:38 +02:00
Miodrag Milanovic
ef092e1f15 Include conf so individual test running works 2026-05-18 08:50:20 +02:00
Miodrag Milanovic
75dcbe03c6 Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
Miodrag Milanovic
8bbc3c359c Remove id2cstr uses in our code base 2026-05-16 19:49:45 +02:00
Leon White
59c1bc35cb Fix aiger tests when ABCEXTERNAL is set 2026-05-16 09:12:20 +02:00
Emil J
e87a9bd9a7
Merge pull request #5888 from mikesinouye/pmux
opt_muxtree: reuse knowledge_t and pass by reference
2026-05-15 16:21:33 +00:00
Miodrag Milanović
4b3165dd50
Merge pull request #5859 from YosysHQ/coverage
Generate coverage for tests
2026-05-15 15:37:58 +00:00
Miodrag Milanović
1d87cefd80
Merge pull request #5882 from YosysHQ/std_cpp20
Bump required standard to C++20
2026-05-15 13:13:43 +00:00
Miodrag Milanović
36eceed720
Merge pull request #5862 from codexplorer-fish/cleaning-up-log-id
Cleaning up log_id()
2026-05-15 11:07:43 +00:00
Miodrag Milanovic
992eceaaa0 Ignore configured location 2026-05-15 12:53:04 +02:00
Miodrag Milanovic
e4a3b44e8e Fixed not intentional log_signal removal 2026-05-15 12:34:54 +02:00
Miodrag Milanovic
8022b5445b Convert to using LLVM code coverage 2026-05-15 11:59:22 +02:00
Miodrag Milanovic
c16e0352f7 Bump to clang-22 on macOS as well 2026-05-15 11:13:59 +02:00
Martin Povišer
b423cc3bd6
Merge pull request #5884 from jeras/main
documentation: updated description of 'abc' argument '-dont_use'
2026-05-15 01:13:07 +00:00
Miodrag Milanovic
965a3e67f0 Remove pmgen related users of log_id 2026-05-14 17:28:10 +02:00