3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-08 15:25:08 +00:00
Commit graph

1600 commits

Author SHA1 Message Date
Miodrag Milanovic
dc9a787025 Fix out of tree clean 2025-11-06 14:28:28 +01:00
Emil J. Tywoniak
2bf7aac9d1 Makefile: clean unit test on clean, ensure prepared to fix parallelism 2025-11-06 13:59:14 +01:00
github-actions[bot]
3d5b1e0a93 Bump version 2025-11-06 00:24:21 +00:00
Miodrag Milanovic
f8341affe3 Fix generatory.py location for out of tree builds 2025-11-05 14:20:30 +01:00
github-actions[bot]
12cb8e9511 Bump version 2025-11-05 00:24:49 +00:00
KrystalDelusion
52c108cd6a
Merge pull request #4596 from YosysHQ/emil/path-sep-refactor
Refactor getting dirs and filenames from paths to files
2025-11-05 09:12:54 +13:00
Mohamed Gaber
e9733d681d
pyosys: uv for non-wheel builds, update instructions
- add `uv` to dependencies: saves builder(s) from manually having to manage a venv for python build dependencies
  - when building wheels, pip automatically creates the environment with those dependencies, so no need for uv
  - when running simply `make ENABLE_PYOSYS=1`, this is not the case. people attempting to `pip3 install --upgrade pybind11 cxxheaderparser` to add it to their system packages will be met with a scare message about "breaking system packages"
- update installation instructions to drop boost and add uv instead
- update ci scripts to use `macos-15[-intel]` (`macos-13` sunset in early december)
2025-11-03 15:39:31 +02:00
github-actions[bot]
797780eda5 Bump version 2025-11-02 00:26:19 +00:00
github-actions[bot]
4011d72656 Bump version 2025-10-30 00:24:42 +00:00
github-actions[bot]
75eff54b31 Bump version 2025-10-29 00:24:43 +00:00
github-actions[bot]
8bc63ef6da Bump version 2025-10-26 00:25:16 +00:00
github-actions[bot]
f5c9e122de Bump version 2025-10-24 00:21:47 +00:00
github-actions[bot]
37875fdedf Bump version 2025-10-21 00:23:46 +00:00
github-actions[bot]
1598771a37 Bump version 2025-10-19 00:26:17 +00:00
Mohamed Gaber
b510c36162 hotfix: headers mistakenly added to clean target
- fix `make clean` deleting a number of headers when ENABLE_PYOSYS is set to 1
2025-10-18 14:08:20 +01:00
github-actions[bot]
272aa9cde2 Bump version 2025-10-17 00:23:40 +00:00
github-actions[bot]
061b6ce2ad Bump version 2025-10-16 00:23:57 +00:00
github-actions[bot]
4970ad5a18 Bump version 2025-10-15 00:23:49 +00:00
Emil Jiří Tywoniak
d1a628ab26 CI: bump WASI SDK from 19 to 27 2025-10-14 15:47:08 +02:00
Miodrag Milanovic
d92cf2f5b0 Compile abc when submodule updates 2025-10-14 14:54:56 +02:00
github-actions[bot]
25f2a88770 Bump version 2025-10-14 00:22:29 +00:00
github-actions[bot]
89f32a415b Bump version 2025-10-09 00:22:39 +00:00
Miodrag Milanović
ba1a347d59
Merge pull request #5370 from donn/pyosys_pybind11
pyosys: rewrite using pybind11
2025-10-08 13:07:59 +02:00
Miodrag Milanović
869910055f
Merge pull request #3908 from YosysHQ/ecp5_2_lattice
synth_ecp5 and synth_nexus to synth_lattice
2025-10-08 13:07:33 +02:00
Miodrag Milanovic
1d2d777678 Next dev cycle 2025-10-08 09:25:33 +02:00
Miodrag Milanovic
157aabb583 Release version 0.58 2025-10-08 07:51:14 +02:00
github-actions[bot]
47ca09a016 Bump version 2025-10-08 00:22:29 +00:00
github-actions[bot]
b8b0f80f79 Bump version 2025-10-07 00:23:02 +00:00
github-actions[bot]
637665c9d3 Bump version 2025-10-04 00:21:39 +00:00
Mohamed Gaber
80fcce64da
pyosys: fix ref-only classes, implicit conversions
+ cleanup
2025-10-03 11:54:44 +03:00
Mohamed Gaber
447a6cb3f0
misc: WITH_PYTHON -> YOSYS_ENABLE_PYTHON
For consistency.

Also trying a new thing: only rebuilding objects that use the pybind11 library. The idea is these are the only objects that include the Python/pybind headers and thus the only ones that depend on the Python ABI in any capacity, so other objects can be reused across wheel builds. This has the potential to cut down build times.
2025-10-03 11:54:44 +03:00
Mohamed Gaber
dc88906c91
tests/pyosys: print log on failed test, fix make clean 2025-10-03 11:54:44 +03:00
Mohamed Gaber
54799bb8be
pyosys: globals, set operators for opaque types
There is so much templating going on that compiling wrappers.cc now takes 1m1.668s on an Apple M4…
2025-10-03 11:54:44 +03:00
Mohamed Gaber
88be728353
pyosys: rewrite using pybind11
- Rewrite all Python features to use the pybind11 library instead of boost::python.
  Unlike boost::python, pybind11 is a header-only library that is just included by Pyosys code, saving a lot of compile time on wheels.
- Factor out as much "translation" code from the generator into proper C++ files
- Fix running the embedded interpreter not supporting "from pyosys import libyosys as ys" like wheels
- Move Python-related elements to `pyosys` directory at the root of the repo
- Slight shift in bridging semantics:
  - Containers are declared as "opaque types" and are passed by reference to Python - many methods have been implemented to make them feel right at home without the overhead/ambiguity of copying to Python and then copying back after mutation
  - Monitor/Pass use "trampoline" pattern to support virual methods overridable in Python: virtual methods no longer require `py_` prefix
- Create really short test set for pyosys that just exercises basic functionality
2025-10-03 11:54:44 +03:00
github-actions[bot]
f7120e9c2a Bump version 2025-10-02 00:22:09 +00:00
github-actions[bot]
01eaaa4b90 Bump version 2025-10-01 00:26:18 +00:00
Miodrag Milanovic
e6fa0223c8 Force linking log_compat when extensions are linked 2025-09-30 08:44:31 +02:00
github-actions[bot]
5fd2aecd90 Bump version 2025-09-30 00:23:05 +00:00
github-actions[bot]
6a5d956747 Bump version 2025-09-26 00:22:24 +00:00
Miodrag Milanovic
4a7f94f1c1 Enable synth_ecp5 wrapper and copy sim files for backwards compatibility 2025-09-25 15:44:05 +01:00
github-actions[bot]
3f29cd7f4e Bump version 2025-09-25 00:22:44 +00:00
github-actions[bot]
ef22c6ee73 Bump version 2025-09-24 00:22:58 +00:00
github-actions[bot]
93dca50b91 Bump version 2025-09-23 00:22:45 +00:00
Emil J
a78eb9e151
Merge pull request #5315 from YosysHQ/emil/write_rtlil-no-sort
write_rtlil: don't sort
2025-09-22 11:14:39 +02:00
github-actions[bot]
b9dc578411 Bump version 2025-09-21 00:25:14 +00:00
github-actions[bot]
6b3a7e2440 Bump version 2025-09-20 00:21:36 +00:00
github-actions[bot]
a686c5a73c Bump version 2025-09-18 00:22:24 +00:00
Jannis Harder
d88d6fce87 kernel: Rewrite bufNormalize
This is a complete rewrite of the RTLIL-kernel-side bufnorm code. This
is done to support inout ports and undirected connections as well as to
allow removal of cells while in bufnorm mode.

This doesn't yet update the (experimental) `bufnorm` pass, so to
manually test the new kernel functionality, it is important to only use
`bufnorm -update` and `bufnorm -reset` which rely entirely on the kernel
functionality. Other modes of the `bufnorm` pass may still fail in the
presence of inout ports or undirected connections.
2025-09-17 13:56:46 +02:00
github-actions[bot]
5e550ddc30 Bump version 2025-09-17 00:22:59 +00:00
Emil J. Tywoniak
4215f3c134 rtlil: add textual roundtrip test 2025-09-16 15:47:16 +02:00