Commit Graph

1481 Commits

Author SHA1 Message Date
github-actions[bot] f602248a2e Bump version 2025-04-09 00:22:49 +00:00
Miodrag Milanovic a9656455b1 Update to latest ABC 2025-04-08 17:39:41 +02:00
github-actions[bot] 857baf2031 Bump version 2025-04-08 00:22:31 +00:00
github-actions[bot] 331952f78d Bump version 2025-04-05 00:22:08 +00:00
KrystalDelusion 40c5694650
Merge pull request #4901 from akashlevy/pyosys_copy_abc
Copy `abc` stuff for pyosys to enable use of the `abc` pass
2025-04-05 10:57:02 +13:00
Akash Levy 9c0da98531 Updates 2025-04-03 17:47:48 -07:00
Sean Luchen bdcbbf2db6 Fix existing tests/liberty tests, and add them to Makefile. 2025-04-03 09:56:24 -07:00
KrystalDelusion 1cfe1e2813
Merge pull request #4974 from YosysHQ/micko/config_exitcode
yosys-config: Propagate exit code for help command
2025-04-03 09:56:13 +13:00
github-actions[bot] f03b44959b Bump version 2025-04-02 00:23:07 +00:00
Miodrag Milanovic 66d7ffb2c5 yosys-config: redirect to stderr/stdout depending of exit code 2025-04-01 08:39:11 +02:00
github-actions[bot] c08f72b806 Bump version 2025-04-01 00:26:08 +00:00
github-actions[bot] 314842d2a0 Bump version 2025-03-29 00:22:03 +00:00
KrystalDelusion 80dc946499
Makefile: Test yosys git status in check-git-abc
As in #4986, `check-git-abc` is misleading if Yosys itself isn't a git repository.
So check `git status` before suggesting `git` based solutions, providing alternative suggestions for using ABCEXTERNAL (which bypasses `check-git-abc`), or downloading release tar (noting that the 'Source code' archives won't work, which is probably how they ended up in this situtation).
2025-03-29 12:29:55 +13:00
Akash Levy ca57e14819 Address review feedback 2025-03-27 15:53:50 -07:00
github-actions[bot] d3aec12fe9 Bump version 2025-03-26 00:22:20 +00:00
github-actions[bot] 59602740ee Bump version 2025-03-25 00:23:05 +00:00
KrystalDelusion cce7aaedf7
Merge pull request #4939 from DanielG/rsync-fallback
mk: Fall back to cp if rsync is not available
2025-03-25 10:41:27 +13:00
Daniel Gröber 2b67ad78bf mk: Fall back to cp if rsync is not available 2025-03-24 18:06:17 +01:00
KrystalDelusion 8bde6ac17c
Merge pull request #4940 from DanielG/fix-help-rebuild
mk: Avoid broken rebuild if program --help fails
2025-03-21 10:01:13 +13:00
KrystalDelusion b06a661913
Merge pull request #4834 from YosysHQ/emil/gzip-refactor
Memory-efficient zlib usage across Liberty file consumers
2025-03-21 10:01:00 +13:00
github-actions[bot] f92ad7d900 Bump version 2025-03-20 00:21:55 +00:00
Emil J. Tywoniak 813f909460 gzip: istream 2025-03-19 13:43:44 +01:00
Emil J. Tywoniak 4f3fdc8457 io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
Akash Levy 9c5bffcf93 Use wheel 2025-03-17 17:56:02 -07:00
github-actions[bot] 0c689091e2 Bump version 2025-03-18 00:21:58 +00:00
Akash Levy 0abe8bfee8
Merge branch 'YosysHQ:main' into pyosys_copy_abc 2025-03-17 16:50:14 -07:00
Daniel Gröber de11624f42 mk: Avoid broken rebuild if program --help fails
Make will happily consider a target available if it's zero sized.

When writing output files with shell redirections for commands that usually
succeed we can apply the `|| rm $@` pattern.

For commands where --help exits with failure we always rerun the recipe
instead.
2025-03-16 10:53:55 +01:00
github-actions[bot] e44d1d404a Bump version 2025-03-13 00:22:18 +00:00
Miodrag Milanovic 1b07d204bb Next dev cycle 2025-03-12 09:11:41 +01:00
Miodrag Milanovic c4b5190229 Release version 0.51 2025-03-12 08:31:37 +01:00
github-actions[bot] d1222c57af Bump version 2025-03-12 00:21:49 +00:00
github-actions[bot] 6462cd2167 Bump version 2025-03-11 00:22:03 +00:00
Emil J 7677a76fed
Merge pull request #4757 from YosysHQ/emil/yosys-config-version
Makefile: add YOSYS_VER and friends to CXXFLAGS for plugin compat che…
2025-03-10 17:43:55 +01:00
N. Engelhardt c74df780b7
Merge pull request #4884 from YosysHQ/docs-preview-functional_tutorial
Docs: More on FunctionalIR
2025-03-10 15:05:55 +00:00
Emil J. Tywoniak ecd8e4303d Makefile: add YOSYS_VER and friends to CXXFLAGS for plugin compat check fallback 2025-03-10 15:15:34 +01:00
KrystalDelusion 9106d6b3bd
Merge pull request #4881 from YosysHQ/pmgen-pass-restructure
Move passes out of the passes/pmgen folder
2025-03-01 10:22:54 +13:00
github-actions[bot] 78960292d0 Bump version 2025-02-27 00:21:40 +00:00
github-actions[bot] 05c81b3f14 Bump version 2025-02-26 00:21:19 +00:00
Krystine Sherwin c429aef60f
docs/rosette: More intro of SMT-LIB backend
As the intro paragraph (now) says:
> This section will introduce the SMT-LIB functional backend and what changes are needed...

The example is intended to be read without prior knowledge of the SMT-LIB backend, but the previous version glossed over a lot and instead focused on *just* what was changed.
This version should now be easier to follow without prior knowledge, while still being able to learn enough about the `Smt` version to adapt it to a different s-expression target that isn't Rosette.
Also adds a few `literalinclude`s of smtlib.cc, which is now copied to `docs/source/generated` along with producing the rosette diff on the fly (which now also has up to 20 lines of context, enabling the full `Module::write()` diff to be literal included).
2025-02-22 17:14:13 +13:00
KrystalDelusion 98f0ddd636
Merge pull request #4908 from YosysHQ/abc_warn_diff_commit
Cover all cases of submodule status in check-git-abc
2025-02-22 11:03:58 +13:00
github-actions[bot] 0778195722 Bump version 2025-02-21 00:21:16 +00:00
KrystalDelusion 9d3ab964b2
Merge pull request #4903 from akashlevy/boost_python_fix_macos
Fix macOS boost-python issues
2025-02-20 15:17:34 +13:00
Krystine Sherwin 700b32bc38
Makefile: Fix CHECK_BOOST_PYTHON
`python-config --ldflag` includes output of `python-config --libs`; and the `$(CXX)` call in `CHECK_BOOST_PYTHON` still needs those libs.
Move all of the `$(shell $(PYTHON_CONFIG) ..` lines to the top of the block.
2025-02-20 14:38:50 +13:00
KrystalDelusion b0b53a22b1
Merge pull request #4880 from YosysHQ/clean_run-test
Makefile: Add run-test.mk to clean
2025-02-20 14:35:23 +13:00
Akash Levy c2a7a5f917 Add python ldflags to LINKFLAGS 2025-02-19 16:04:53 -08:00
Krystine Sherwin dc03e174af
fixup! Makefile: Warn if submodule status '+'-prefixed 2025-02-18 11:46:11 +13:00
Krystine Sherwin 03d9138744
Makefile: 'U'-prefixed submodule status
Covering all the bases, I guess?  '-'-prefix is already correctly handled by the base case message.
If the user somehow gets merge conflicts in abc, hopefully they know what they're doing.
2025-02-18 11:33:06 +13:00
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