Commit Graph

1671 Commits

Author SHA1 Message Date
Miodrag Milanovic 5bafeb77dc Release version 0.60 2025-12-03 07:19:42 +01:00
github-actions[bot] e4044e1b4a Bump version 2025-11-27 00:24:24 +00:00
Martin Povišer c1e40e113c Use `$(AR)` 2025-11-26 13:02:44 +01:00
Martin Povišer 7cb3a0f830 Add static library option 2025-11-26 12:34:37 +01:00
github-actions[bot] 752d24c0a8 Bump version 2025-11-26 00:24:41 +00:00
github-actions[bot] 5d3599a78c Bump version 2025-11-25 00:23:19 +00:00
Miodrag Milanović 0d954f2f4c
Merge pull request #5498 from YosysHQ/krys/check_enable_abc
Check ENABLE_ABC validity
2025-11-24 08:09:45 +01:00
github-actions[bot] 33a49452d9 Bump version 2025-11-22 00:23:19 +00:00
KrystalDelusion 542723d121
Check ENABLE_ABC validity
From https://github.com/YosysHQ/yosys/pull/5497#issuecomment-3561398279, for ENABLE_ABC=1 to be valid, either ABC must be linked (LINK_ABC=1), or it must be possible to spawn executables (DISABLE_SPAWN=0).  This configuration (ENABLE_ABC=1 LINK_ABC=0 DISABLE_SPAWN=1) already fails compilation in `abc.cc` trying to call `run_command()` which doesn't exist if DISABLE_SPAWN=1.  All we are doing here is catching the known bad configuration and providing an explanation for why it isn't working.
2025-11-22 09:51:07 +13:00
github-actions[bot] 25ba41f424 Bump version 2025-11-20 00:24:25 +00:00
Emil J. Tywoniak 07de7509bf sdc: add -keep_hierarchy test 2025-11-19 15:26:02 +01:00
github-actions[bot] 9aa2dde7ef Bump version 2025-11-18 00:24:34 +00:00
github-actions[bot] 677bf21947 Bump version 2025-11-15 00:23:54 +00:00
github-actions[bot] abc78f0424 Bump version 2025-11-14 00:25:00 +00:00
Miodrag Milanovic 40bbb84766 Enable pyosys install in out of tree builds 2025-11-13 16:17:53 +01:00
github-actions[bot] 04135ba3e4 Bump version 2025-11-13 00:24:44 +00:00
github-actions[bot] 5f76729cbb Bump version 2025-11-12 00:24:49 +00:00
Miodrag Milanovic fd40418c10 Next dev cycle 2025-11-11 09:26:05 +01:00
Miodrag Milanovic 03eb2206d7 Release version 0.59 2025-11-11 07:57:22 +01:00
github-actions[bot] f7881ced9e Bump version 2025-11-11 00:25:20 +00:00
github-actions[bot] 5d0847f6fb Bump version 2025-11-07 00:24:35 +00:00
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
github-actions[bot] fe9eed0498 Bump version 2025-09-16 00:22:09 +00:00
Robert O'Callahan 27462da208 Run ABCs in parallel.
Large circuits can run hundreds or thousands of ABCs in a single AbcPass.
For some circuits, some of those ABC runs can run for hundreds of seconds.
Running ABCs in parallel with each other and in parallel with main-thread
processing (reading and writing BLIF files, copying ABC BLIF output into
the design) can give large speedups.
2025-09-15 17:18:42 +02:00
github-actions[bot] fa02d71f65 Bump version 2025-09-13 00:20:53 +00:00
github-actions[bot] 727998f663 Bump version 2025-09-12 00:22:43 +00:00
github-actions[bot] c2291c10a6 Bump version 2025-09-10 00:22:30 +00:00
Jannis Harder 75a97241fa Maintain logging ABI compatiblity with YosysHQ Verific Extensions
The YosysHQ Verific Extensions are compiled separately using their own
stripped-down version of the Yosys headers. To maintain ABI
compatibility with older extension builds post C++-ification of Yosys's
logging APIs, which are backwards compatible on the API but not ABI
level, this commit adds ABI compatible versions of a subset of the old
logging API used by the extensions.
2025-09-09 15:41:03 +02:00
github-actions[bot] 23e4c0e424 Bump version 2025-09-09 00:23:18 +00:00
github-actions[bot] 012ddc2f1e Bump version 2025-09-06 00:21:53 +00:00
github-actions[bot] baa61a146f Bump version 2025-09-05 00:23:12 +00:00
Miodrag Milanovic cec48c6abd Next dev cycle 2025-09-04 08:03:57 +02:00
Miodrag Milanovic 3aca86049e Release version 0.57 2025-09-04 08:00:38 +02:00
github-actions[bot] cd7f924290 Bump version 2025-09-04 00:22:11 +00:00
github-actions[bot] 45829e4d08 Bump version 2025-09-03 00:21:58 +00:00
github-actions[bot] d4c4b21066 Bump version 2025-08-29 00:23:40 +00:00
github-actions[bot] 83d953e957 Bump version 2025-08-26 00:23:36 +00:00
Miodrag Milanovic 9f0904d048 Makefile: fix hardcoded -install_name for libyosys.so 2025-08-25 07:46:34 +02:00
Miodrag Milanovic c6b8f0eed7 Merge branch 'bugfix/remove-hardcoded-soname' of github.com:Jiahui17/yosys into Jiahui17-bugfix/remove-hardcoded-soname 2025-08-25 07:45:26 +02:00
github-actions[bot] 6fdcdd41de Bump version 2025-08-22 00:23:32 +00:00
github-actions[bot] 4926e846f6 Bump version 2025-08-21 00:22:37 +00:00
github-actions[bot] bfc9a322e2 Bump version 2025-08-19 00:24:35 +00:00
github-actions[bot] d73cd78001 Bump version 2025-08-18 00:27:23 +00:00
github-actions[bot] d10fdc0ec5 Bump version 2025-08-16 00:24:02 +00:00
github-actions[bot] bf625951d7 Bump version 2025-08-15 00:26:03 +00:00
github-actions[bot] a265b23ac0 Bump version 2025-08-14 00:25:16 +00:00
github-actions[bot] 8634d83320 Bump version 2025-08-13 00:25:15 +00:00
Krystine Sherwin f4016d96cc Makefile: Add flex lib/include for brew 2025-08-11 13:34:10 +02:00
github-actions[bot] 0d4585dd5f Bump version 2025-08-09 00:24:43 +00:00
github-actions[bot] c9558b3d4f Bump version 2025-08-08 00:26:50 +00:00
Miodrag Milanovic e6059d042d Next dev cycle 2025-08-07 09:20:45 +02:00