Commit Graph

2033 Commits

Author SHA1 Message Date
github-actions[bot] 35321cd292 Bump version 2026-01-07 00:25:36 +00:00
github-actions[bot] 1567526954 Bump version 2026-01-06 00:26:49 +00:00
Akash Levy c34e75aaf2
Merge branch 'YosysHQ:main' into main 2025-12-31 05:28:27 -05:00
github-actions[bot] 8101c87fab Bump version 2025-12-31 00:27:01 +00:00
Akash Levy 35948d6dd6
Merge branch 'YosysHQ:main' into main 2025-12-30 00:36:43 -05:00
github-actions[bot] 96549e5514 Bump version 2025-12-30 00:26:17 +00:00
Akash Levy 1941e8f042 Bump yosys and abc to latest 2025-12-25 03:46:16 -05:00
github-actions[bot] 17ca71e1ab Bump version 2025-12-24 00:26:02 +00:00
github-actions[bot] 31f355c599 Bump version 2025-12-23 00:26:12 +00:00
Akash Levy abd485fa49 Bump Yosys to latest 2025-12-17 21:06:17 -08:00
github-actions[bot] 64a933d77b Bump version 2025-12-18 00:22:53 +00:00
github-actions[bot] 4d61ce63d3 Bump version 2025-12-16 00:26:36 +00:00
Miodrag Milanović bd514df0df
Merge pull request #5540 from donn/pyosys_fix_abcexternal
pyosys: fix install failure when ABCEXTERNAL is set
2025-12-15 08:19:39 +01:00
Mohamed Gaber 52dc8c5eff
pyosys: fix install failure when ABCEXTERNAL is set
While pyosys technically supports an external abc in installation, the attempt to always copy yosys-abc regardless would cause `make install` to crash.

`__init__.py` already handles yosys-abc not existing, so this just skips the install.
2025-12-13 22:47:32 +02:00
github-actions[bot] 2833a44503 Bump version 2025-12-13 00:24:42 +00:00
github-actions[bot] c1ec625f47 Bump version 2025-12-11 00:26:11 +00:00
github-actions[bot] 2e9db8b850 Bump version 2025-12-10 00:26:36 +00:00
Miodrag Milanovic cf9ab4c899 Cleanup version.cc creation for VS build 2025-12-09 13:50:17 +01:00
Emil J. Tywoniak 23e1b0656c version: add git hash string 2025-12-09 11:58:43 +01:00
Akash Levy 2aeada6980 Bump Yosys to latest 2025-12-05 20:05:16 -08:00
github-actions[bot] 0e31e389f2 Bump version 2025-12-05 00:25:44 +00:00
Robert O'Callahan 638e904f91 Remove cover() coverage tracking 2025-12-04 16:27:13 +01:00
github-actions[bot] 52b1245547 Bump version 2025-12-04 00:25:21 +00:00
Akash Levy 5dfadb968f
Merge branch 'YosysHQ:main' into main 2025-12-03 13:28:56 -05:00
Miodrag Milanovic 58c7dc7cc2 Next dev cycle 2025-12-03 07:23:34 +01:00
Miodrag Milanovic 5bafeb77dc Release version 0.60 2025-12-03 07:19:42 +01:00
Akash Levy 60e4b76981 Bump abc 2025-12-02 01:26:55 -05:00
Akash Levy 4a25f63699 Merge from upstream 2025-11-29 11:53:48 -05: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
Akash Levy 71ba176b50
Merge branch 'YosysHQ:main' into main 2025-11-24 14:04:13 -05: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
Akash Levy a705042d2e
Merge branch 'YosysHQ:main' into main 2025-11-20 23:05:40 -05: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
Akash Levy a90a5e10d6
Merge branch 'YosysHQ:main' into main 2025-11-18 11:48:04 -05: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
Akash Levy 1a966c4459
Merge branch 'YosysHQ:main' into main 2025-11-14 17:36:57 -05:00
github-actions[bot] abc78f0424 Bump version 2025-11-14 00:25:00 +00:00
Akash Levy 55cd50f1a6
Merge branch 'YosysHQ:main' into main 2025-11-13 18:11:04 -05: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
Akash Levy 0785f7721f pyosys fixups 2025-11-12 09:47:23 -08:00
Akash Levy e21324d609 Merge from upstream 2025-11-11 22:52:11 -08: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
Akash Levy d5049ee8cf Merge remote-tracking branch 'upstream/main' 2025-11-07 01:42:20 -08:00
github-actions[bot] 5d0847f6fb Bump version 2025-11-07 00:24:35 +00:00
Akash Levy be421095da
Merge branch 'YosysHQ:main' into main 2025-11-06 13:59:12 -05: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
Akash Levy eaa3c90a34
Merge branch 'YosysHQ:main' into main 2025-11-05 20:19:45 -05:00
github-actions[bot] 3d5b1e0a93 Bump version 2025-11-06 00:24:21 +00:00
Akash Levy ec535c1b48
Merge branch 'YosysHQ:main' into main 2025-11-05 15:40:09 -05:00
Akash Levy 2a6a0355ac No uv for us please 2025-11-05 12:32:13 -08:00
Miodrag Milanovic f8341affe3 Fix generatory.py location for out of tree builds 2025-11-05 14:20:30 +01:00
Akash Levy 11731c91f4 Merge from upstream 2025-11-04 22:20:34 -08: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
Akash Levy 76c12f8f8c
Merge branch 'YosysHQ:main' into main 2025-11-03 13:38:04 -05: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
Akash Levy 6a07a6dfb4
Merge branch 'YosysHQ:main' into main 2025-10-29 04:52:50 -04:00
github-actions[bot] 75eff54b31 Bump version 2025-10-29 00:24:43 +00:00
Akash Levy 303f7292a0
Merge branch 'YosysHQ:main' into main 2025-10-25 20:30:52 -04:00
github-actions[bot] 8bc63ef6da Bump version 2025-10-26 00:25:16 +00:00
Mohamed Gaber dec28f65ae
Merge remote-tracking branch 'donn/pyosys_bugfixes' into merge_pybind11 2025-10-26 02:39:43 +03: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
Akash Levy 6021168b03 Add back VHDL support 2025-10-02 00:39:33 -07:00