Akash Levy
a2e38e2022
Merge from upstream
2026-07-06 07:47:32 -07:00
Akash Levy
f7dc45a478
More verbosity in Module::add failure due to duplicate
2026-06-28 20:29:09 -07:00
Akash Levy
3783a820ee
Merge remote-tracking branch 'upstream' into merge3
2026-06-25 04:51:46 -07:00
Miodrag Milanovic
a689342207
Remove trailing whitespaces
2026-06-23 07:24:59 +02:00
Miodrag Milanovic
48a3dcc02a
End of file fix
2026-06-23 07:23:41 +02:00
Miodrag Milanovic
94e43f7675
Remove define since snprintf is supported in MSVC now
2026-06-22 09:50:39 +02:00
nella
c99a037c33
Merge pull request #5886 from YosysHQ/nella/fix-signedness-5745
...
Fix `chparam` values are unsigned when using read_verilog frontend
2026-06-18 16:50:22 +00: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
nella
05805e8b93
Merge pull request #5900 from YosysHQ/nella/arith_tree_improvements
...
arith_tree improvements
2026-06-12 14:23:10 +00:00
nella
80011b16b2
Add constant note.
2026-06-12 14:57:53 +02:00
Miodrag Milanovic
ec6266a328
Add one more compatibility logger used in patches for some time
2026-06-12 14:44:26 +02:00
nella
135c2a4113
Get rid of normalize_to_width.
2026-06-11 01:12:35 +02:00
Mohamed Gaber
e58125b605
Merge remote-tracking branch 'upstream/main' into silimate
2026-06-09 16:22:51 +03:00
nella
3c6900a570
Depth-schedule finar adder.
2026-06-08 13:47:56 +02:00
nella
11a650c695
Fix depth bug.
2026-06-08 13:47:56 +02:00
nella
a1d841bf64
Rebase + Cmake.
2026-06-08 13:47:56 +02:00
nella
d40431f249
Remove black boxes for now.
2026-06-08 13:29:05 +02:00
nella
5e4e5a1d40
Arith tree - parallel prefix.
2026-06-08 13:29:05 +02:00
nella
862e9fc54e
Remove elarith-fast for now.
2026-06-08 13:29:05 +02:00
nella
25eb394ad0
Collapse signed*signed or combined nodes via BW.
2026-06-08 13:29:05 +02:00
nella
bc07c6b1b0
Improve arith_tree: FMA add, elarith WIP.
2026-06-08 13:29:05 +02:00
Miodrag Milanovic
102f008194
Remove EMSCRIPTEN leftovers
2026-06-05 10:03:27 +02:00
Miodrag Milanovic
58f44a1c1b
Fix compile with VisualStudio
2026-06-04 12:25:41 +02:00
Krystine Sherwin
72f5836fb1
docs: Resolving todos
...
Make explicit the location for the `CMakeUserPresets.json` file.
Update docs tests documentation.
Move `BUILD_DIR` and `PROGRAM_PREFIX` comments into the functional tests todo.
Add cmake to MacPorts/FreeBSD install instructions.
Add ccache to example `CMakeUserPresets.json` (it isn't otherwise documented, and is no longer as obvious without an `ENABLE_CCACHE` makevar).
Addressing comments
2026-06-04 20:35:52 +12:00
Krystine Sherwin
7c24b69e62
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-04 20:34:52 +12:00
Catherine
afc0e78d11
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.
It also adds a new option `YOSYS_BUILD_PYTHON_ONLY` that is available
only if the binary or the library aren't going to be installed, which
turns off these targets entirely, as well as some dependent ones
(e.g. tests).
Co-authored-by: Mohamed Gaber <me@donn.website>
2026-06-03 09:03:23 +00:00
Catherine
780588f28c
Drop YOSYS_ENABLE_HELP_SOURCE since C++20 is required.
2026-06-03 08:58:11 +00:00
Catherine
0d15cb55bf
Fix Windows portability issues that break MSVC build.
2026-06-03 08:58:11 +00:00
Miodrag Milanovic
ce280354cf
Update CI scripts for CMake
...
Co-authored-by: Catherine <whitequark@whitequark.org>
2026-06-03 08:58:11 +00:00
Catherine
a727e7f6e7
Migrate build system to CMake
...
See #5895 for details.
This commit does not include CI or documentation changes.
2026-06-03 08:58:10 +00:00
Akash Levy
367af96ae1
Revert "warn for scopes"
...
This reverts commit 73fd2fdc47 .
2026-05-27 03:58:23 -07:00
Akash Levy
b4286acc22
Revert "fix"
...
This reverts commit 8c0ded23b7 .
2026-05-27 03:55:23 -07:00
Akash Levy
7dcbdcbb34
Revert "Update kernel/fstdata.cc"
...
This reverts commit a3613866bf .
2026-05-27 03:55:18 -07:00
Akash Levy
f2dacbfa3f
Revert "Fix formatting by removing extra brace"
...
This reverts commit 7e64b6855b .
2026-05-27 03:55:10 -07:00
Akash Levy
7b68f5d532
Revert "Remove nested $fork handling from union detection"
...
This reverts commit 10a4056e3b .
2026-05-27 03:55:03 -07:00
Akash Levy
e421fa8547
Revert "Add flag to track nested fork detection"
...
This reverts commit d6216ea85d .
2026-05-27 03:54:53 -07:00
Akash Levy
d6216ea85d
Add flag to track nested fork detection
2026-05-27 03:05:11 -07:00
Akash Levy
10a4056e3b
Remove nested $fork handling from union detection
...
Removed logic for nested $fork handling in union struct detection.
2026-05-27 03:03:38 -07:00
Akash Levy
7e64b6855b
Fix formatting by removing extra brace
...
Removed unnecessary closing brace in switch case.
2026-05-27 02:57:52 -07:00
Akash Levy
a3613866bf
Update kernel/fstdata.cc
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-05-27 02:41:40 -07:00
Stan Lee
8c0ded23b7
fix
2026-05-26 23:14:11 -07:00
Stan Lee
73fd2fdc47
warn for scopes
2026-05-26 22:47:03 -07:00
Stan Lee
6d2e287a74
union
2026-05-26 16:12:43 -07: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 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