3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-20 23:56:38 +00:00
Commit graph

1434 commits

Author SHA1 Message Date
Krystine Sherwin b8777d7893
Makefile: Warn if submodule status '+'-prefixed
A '+'-prefix means that the submodule is initialized and checked out, but a different commit is checked out.
If this is accidental then the user should run `git submodule update` to fix it.
If it is intentional (because e.g. the user is explicitly wanting to test Yosys with a different version of abc), then creating a new commit in Yosys to update the expected commit is also a valid solution.
2025-02-18 11:25:04 +13:00
Akash Levy 8083d9b9da
Fix share copy 2025-02-14 16:43:58 -08:00
github-actions[bot] 38f858374c Bump version 2025-02-15 00:20:50 +00:00
Akash Levy 3bca4c10d8 Fix macOS boost-python issues 2025-02-14 11:43:00 -08:00
Akash Levy cf65cb2cf1 Copy abc stuff for pyosys 2025-02-14 10:41:16 -08:00
github-actions[bot] 359901a964 Bump version 2025-02-12 00:21:01 +00:00
Miodrag Milanovic 6f9c515a22 Next dev cycle 2025-02-11 08:40:50 +01:00
Miodrag Milanovic b5170e1394 Release version 0.50 2025-02-11 07:55:17 +01:00
github-actions[bot] ce5ad2a554 Bump version 2025-02-11 00:20:46 +00:00
Jason Xu 333588265c Remove obsolete Makefile docs/images clean call 2025-02-09 10:22:35 -05:00
github-actions[bot] ed5d9c8687 Bump version 2025-02-05 00:21:01 +00:00
github-actions[bot] 77af7962af Bump version 2025-02-04 00:20:30 +00:00
Krystine Sherwin 0ec5f1b756
pmgen: Move passes out of pmgen folder
- Techlib pmgens are now in relevant techlibs/*.
- `peepopt` pmgens are now in passes/opt.
- `test_pmgen` is still in passes/pmgen.
- Update `Makefile.inc` and `.gitignore` file(s) to match new `*_pm.h` location,
  as well as the `#include`s.
- Change default `%_pm.h` make target to `techlibs/%_pm.h` and move it to the
  top level Makefile.
- Update pmgen target to use `$(notdir $*)` (where `$*` is the part of the file
  name that matched the '%' in the target) instead of `$(subst _pm.h,,$(notdir
  $@))`.
2025-01-31 15:18:28 +13:00
github-actions[bot] 18a7c00382 Bump version 2025-01-31 00:20:35 +00:00
KrystalDelusion 7050b3c992
Makefile: Add run-test.mk to clean 2025-01-31 12:30:25 +13:00
github-actions[bot] 954250d1df Bump version 2025-01-30 00:20:17 +00:00
github-actions[bot] 3d35f367cf Bump version 2025-01-24 00:20:25 +00:00
github-actions[bot] 4a27d93b06 Bump version 2025-01-22 00:20:51 +00:00
Miodrag Milanovic e456f2e972 Next dev cycle 2025-01-21 15:26:22 +01:00
Miodrag Milanovic 427b5a251b Release version 0.49 2025-01-21 14:59:09 +01:00
github-actions[bot] 3f4f6c17d6 Bump version 2025-01-21 00:20:11 +00:00
github-actions[bot] 76d85fefac Bump version 2025-01-18 00:19:38 +00:00
github-actions[bot] eac2294cab Bump version 2025-01-15 00:20:50 +00:00
github-actions[bot] 502c39b875 Bump version 2025-01-11 00:21:05 +00:00
github-actions[bot] 828ccfac4b Bump version 2025-01-09 00:21:05 +00:00
Martin Povišer ca0ace66bc
Merge pull request #4817 from povik/macc_v2-1
macc: Stop using the B port
2025-01-08 14:42:51 +01:00
Martin Povišer 652a1b9806 macc: Stop using the B port
The B port is for single-bit summands. These can just as well be
represented as an additional summand on the A port (which supports
summands of arbitrary width). An upcoming `$macc_v2` cell won't be
special-casing single-bit summands in any way.

In preparation, make the following changes:

 * remove the `bit_ports` field from the `Macc` helper (instead add any
   single-bit summands to `ports` next to other summands)

 * leave `B` empty on cells emitted from `Macc::to_cell`
2025-01-08 13:03:35 +01:00
github-actions[bot] d37449605d Bump version 2025-01-07 00:21:35 +00:00
github-actions[bot] 17a53b8385 Bump version 2025-01-04 00:20:29 +00:00
github-actions[bot] cbb95cb517 Bump version 2024-12-26 00:20:44 +00:00
github-actions[bot] 8acc77c1e0 Bump version 2024-12-20 00:21:02 +00:00
github-actions[bot] 281e474d45 Bump version 2024-12-19 00:22:04 +00:00
Emil J 6ab5be4a0e
Merge pull request #4814 from YosysHQ/emil/make-test-fasterer
test: every test everywhere all at once
2024-12-18 19:02:39 +01:00
N. Engelhardt 7a362f1f74
Merge pull request #4813 from YosysHQ/micko/mxe_removal
Unsupported targets removal
2024-12-16 15:29:52 +01:00
Emil J. Tywoniak 6240aec433 test: restore verific handling, nicer naming 2024-12-13 10:24:47 +01:00
github-actions[bot] 4581f75b03 Bump version 2024-12-13 00:23:01 +00:00
Emil J. Tywoniak 603e5eb30a test: every test everywhere all at once 2024-12-12 01:28:36 +01:00
github-actions[bot] e32e199ca8 Bump version 2024-12-12 00:22:44 +00:00
Miodrag Milanovic b9e04297f8 Remove cygwin support, users should use gcc target for it 2024-12-11 12:36:21 +01:00
Miodrag Milanovic c99941971f remove AFL gcc support 2024-12-11 12:34:48 +01:00
Miodrag Milanovic 6c3ae946ba Completely remove MXE support 2024-12-11 12:34:03 +01:00
Miodrag Milanovic e91e95f501 Next dev cycle 2024-12-11 09:01:32 +01:00
Miodrag Milanovic aaa5347494 Release version 0.48 2024-12-11 08:35:36 +01:00
github-actions[bot] 1f6153a55a Bump version 2024-12-11 00:22:54 +00:00
Martin Povišer 1f718e3ab6 kernel: Remove global tcl.h include
In commit ac988cf we made sure to undefine the CONST/VOID macros left
defined by `tcl.h`, but this in turn makes it an issue to include
additional Tcl headers later on (see issue #4808).

One way out is to avoid a global `tcl.h` include. In the process we drop
support for Tcl-enabled MXE builds, which were likely broken anyway due
to the additional Tcl APIs used from `tclapi.cc`.
2024-12-10 13:49:08 +01:00
Martin Povišer b0708a38bf
Merge pull request #4678 from povik/tcl-rtlil-api
Start Tcl design inspection methods
2024-12-09 15:44:58 +01:00
github-actions[bot] fa0c311862 Bump version 2024-12-07 00:22:16 +00:00
github-actions[bot] b66897e9b9 Bump version 2024-12-06 00:22:38 +00:00
github-actions[bot] 66734f522d Bump version 2024-12-05 00:22:38 +00:00
Krystine Sherwin f0da1cc67f
Start removing guidelines folder
Disable the export to docs and remove any references to the guidelines folder.
2024-12-05 09:18:56 +13:00
Jannis Harder cac6dd9bcb tclapi: Use older bignum API and handle external tommath for mac os 2024-12-03 18:49:38 +01:00
github-actions[bot] f04b899721 Bump version 2024-11-30 00:21:43 +00:00
github-actions[bot] 87742fa688 Bump version 2024-11-28 01:26:26 +00:00
github-actions[bot] 98b4affc4a Bump version 2024-11-26 01:25:27 +00:00
github-actions[bot] 4b3c03dabc Bump version 2024-11-21 00:21:49 +00:00
github-actions[bot] b89bd027a0 Bump version 2024-11-19 00:21:56 +00:00
Miodrag Milanović bd40805d54
Merge pull request #4754 from akashlevy/editline-fixes
Fix `editline` Makefile
2024-11-18 09:20:45 +01:00
Akash Levy 47a2a09e89 Enforce mutual exclusion on readline/editline 2024-11-17 23:23:37 -08:00
github-actions[bot] 532d5992fd Bump version 2024-11-18 00:22:55 +00:00
Akash Levy 56f841d132 Fix editline 2024-11-17 10:44:05 -08:00
github-actions[bot] 81011ad926 Bump version 2024-11-16 00:21:32 +00:00
github-actions[bot] a22ff47d62 Bump version 2024-11-14 00:20:42 +00:00
github-actions[bot] 8d0bf3f35e Bump version 2024-11-13 00:20:36 +00:00
github-actions[bot] 3afb7725f1 Bump version 2024-11-12 00:20:17 +00:00
Emil J 792de6e2eb
Merge pull request #4680 from YosysHQ/emil/fix-mac-lto-plugins
Makefile: add -rdynamic on macOS to fix plugins with LTO
2024-11-08 19:24:48 +01:00
github-actions[bot] cef87cc179 Bump version 2024-11-08 00:20:23 +00:00
KrystalDelusion 3c30a9a108
Merge pull request #4543 from YosysHQ/update_fst
libs/fst: Update from upstream
2024-11-08 05:36:25 +13:00
github-actions[bot] 2de24dc1c2 Bump version 2024-11-06 00:20:20 +00:00
Miodrag Milanovic 0dd1e43dff Next dev cycle 2024-11-05 08:23:13 +01:00
Miodrag Milanovic 647d61dd92 Release version 0.47 2024-11-05 07:59:25 +01:00
github-actions[bot] 2999f5589c Bump version 2024-11-05 00:20:31 +00:00
Martin Povišer cba9460cba Split off Tcl APIs into tclapi.cc 2024-11-04 16:17:02 +01:00
github-actions[bot] 8fb73e18ff Bump version 2024-10-29 00:21:12 +00:00
Emil J b34e2603ab Makefile: add -rdynamic on macOS to fix plugins with LTO 2024-10-22 12:52:50 +02:00
github-actions[bot] 8c2d1a16d0 Bump version 2024-10-19 00:20:20 +00:00
github-actions[bot] 0d9c59e4e6 Bump version 2024-10-18 00:20:28 +00:00
KrystalDelusion 38dae1d7e0
Merge pull request #4376 from YosysHQ/krys/docs_cmd_ref
Docs: Use formatted cmd ref in pdf
2024-10-18 04:53:43 +13:00
github-actions[bot] a54f632258 Bump version 2024-10-17 00:20:44 +00:00
Krystine Sherwin e5da0e341e
Makefile: Combine gen_images and gen_examples
gen_images and gen_examples are never called on their own, CI scripts call make -C docs directly. Since calling them both in parallel seems to cause issues, let's not do that, and instead combine them into a singular `make docs/gen`.  This should resolve the parallelism problems by making them sequential while still retaining the -j support.
2024-10-17 07:12:34 +13:00
Krystine Sherwin 1055e8ce51
libs/fst: Add fst_win_unistd.h to srcfiles.txt 2024-10-17 07:05:23 +13:00
KrystalDelusion f137509505
Merge pull request #4332 from YosysHQ/krys/help_docs
Add docs generation from cells help output
2024-10-17 05:01:35 +13:00
github-actions[bot] 11e94cc97c Bump version 2024-10-16 00:20:45 +00:00
github-actions[bot] adb6cdb167 Bump version 2024-10-15 00:20:48 +00:00
Krystine Sherwin 9533cf2916
Makefile: Use dump-cells-json for docs 2024-10-15 07:26:03 +13:00
Krystine Sherwin d629aa6bf1
cellhelp: Split gate-level and word-level cells 2024-10-15 07:17:35 +13:00
Krystine Sherwin 1a4ada40fe
Docs: Add cell gen to makefile
Generate in a temp directory and use `rsync -rc` to only update rst files that have changed.  This prevents sphinx from having to re-generate every cmd/cell page any time the git sha changes.
Also change cmd gen to match.
2024-10-15 07:16:40 +13:00
Emil J. Tywoniak 785bd44da7 rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
github-actions[bot] 7f2bf3170f Bump version 2024-10-13 00:22:25 +00:00
github-actions[bot] 0200a7680a Bump version 2024-10-10 00:20:21 +00:00
Mohamed Gaber 3d6b8b8e1a
wheels: fix missing yosys-abc/share directory
* `misc/__init__.py`:
  * checks if there's a `yosys-abc` in the same directory - if yes, sets the variable `sys._pyosys_abc`
  * checks if there's a `share` in the same directory - if yes, sets the variable `sys._pyosys_share_dirname`
* `yosys.cc::init_share_dirname`: check for `sys._pyosys_share_dirname`, use it at the highest priority if Python is enabled
* `yosys.cc::init_abc_executable_name`: check for `sys._pyosys_abc`, use it at at the highest priority if Python is enabled
* `Makefile`: add new target, `share`, to only create the extra targets
* `setup.py`: compile libyosys.so, yosys-abc and share, and copy them all as part of the pyosys build
* `test/arch/ecp5/add_sub.py`: ported `add_sub.ys` to Python to act as a test for the share directory and abc with Python wheels, used in CI
2024-10-09 13:09:14 +03:00
Miodrag Milanovic 8893dadc4b Next dev cycle 2024-10-09 08:12:44 +02:00
Miodrag Milanovic e97731b9dd Release version 0.46 2024-10-09 08:08:00 +02:00
github-actions[bot] b4fd8e7ed8 Bump version 2024-10-09 00:20:28 +00:00
Miodrag Milanović 535b3304cc
Merge pull request #4534 from donn/test_wheels
Pyosys Wheels
2024-10-08 11:24:16 +02:00
github-actions[bot] 408597b478 Bump version 2024-10-08 00:20:07 +00:00
Mohamed Gaber 407343a7a1
Pyosys Wheels
* Created `setup.py`: Python package manifest to build `pyosys` wheels with a custom extension to build and include `libyosys.so` using Make
* `.gitignore`: Added byproducts of the Python wheel build process
* `Makefile`: Added `-undefined dynamic_lookup` to `libyosys.so` so missing symbols can be resolved by importing into a Python interpreter
* `kernel/yosys.cc`: Gated `PyImport_AppendInittab` with `!Py_IsInitialized`; as of Python 3.12, the interpreter is already initialized and `PyImport_AppendInittab` would cause an exception to be raised
* Created `wheels.yml`: CI workflow for building wheels for CPython on:
  * Linux (glibc, musl) and Darwin
  * x86-64 and arm64
2024-10-07 16:39:54 +03:00
github-actions[bot] 6155c59d00 Bump version 2024-10-07 00:21:37 +00:00
Krystine Sherwin 571d181fb4
Fix top-level make docs prerequisites
Add `$(TARGETS)` for gen_examples and gen_images since they need the `yosys` executable.
Add guidelines source files as a prerequisite to docs/source/generated while we're at it.
2024-10-07 10:26:29 +13:00
github-actions[bot] 1bf908dea8 Bump version 2024-10-01 00:23:05 +00:00
github-actions[bot] 59404f8ce5 Bump version 2024-09-30 00:21:26 +00:00