Commit Graph

14455 Commits

Author SHA1 Message Date
Martin Povišer d752ca4847 Fix test after option change 2024-11-04 16:26:46 +01:00
George Rennie 84ee345071 pyosys: support ObjRange
* this adds support for cells(), modules() and wires() that all return
  ObjRanges, converting them into lists for python
2024-11-04 16:00:01 +01:00
Martin Povišer cbe73c9047 cellmatch: Visit whiteboxes for `-derive_luts` 2024-11-04 14:28:46 +01:00
Martin Povišer c9ed6d8dcf cellmatch: Rename `-lut_attrs` to `-derive_luts`; document option 2024-11-04 14:28:40 +01:00
George Rennie de728c9824 pyosys generator: ignore attributes
* this allows log_error, log_file_error and log_cmd_error which are all
  marked [[noreturn]] to be supported
2024-11-04 14:08:57 +01:00
Martin Povišer 35a20da512 logger: Adjust print 2024-11-04 13:16:40 +01:00
Martin Povišer 7aa3fdab80 select: Add `-list-mod` option 2024-11-04 13:16:13 +01:00
George Rennie dbfca1bdff frontends/ast.cc: special-case zero width strings as "\0"
* Fixes #4696
2024-11-01 17:19:28 +01:00
Emil J b2d78589e2
Merge pull request #4675 from YosysHQ/emil/pyosys-fix-segfault
yosys: fix pyosys initialization segfault
2024-11-01 16:40:58 +01:00
github-actions[bot] 8fb73e18ff Bump version 2024-10-29 00:21:12 +00:00
Lofty c07c2166f8
Merge pull request #4684 from YosysHQ/lofty/remove-qwp
qwp: remove
2024-10-28 09:20:03 +00:00
Martin Povišer 92fb6e205d
Merge pull request #4685 from povik/aiger2-aoi3-fix
aiger2: Fix open-coded constants
2024-10-28 10:15:33 +01:00
Martin Povišer 598f6c9de9 aiger2: Fix open-coded constants 2024-10-26 08:54:01 +02:00
Lofty dd7ea0ab6c qwp: remove 2024-10-25 14:09:58 +01:00
Emil J d1695ad998
Merge pull request #4666 from thorpej/dev/pkgsrc-patch-NetBSD-2
misc/yosys-config.in: don't use the non-portable '==' operator with test(1)
2024-10-22 13:10:52 +02:00
Emil J b34e2603ab Makefile: add -rdynamic on macOS to fix plugins with LTO 2024-10-22 12:52:50 +02:00
Emil J f3213d5057 README: tell macOS users to use brew clang with LTO 2024-10-22 12:47:37 +02:00
Emil J 7db4c65970
Merge pull request #4672 from YosysHQ/emil/fix-tcl-args-cxxopts
driver: fix special args passing to tcl and python
2024-10-21 15:41:24 +02:00
Emil J c1907ef5b7
Merge pull request #4668 from YosysHQ/emil/vendor-submodules
actions: vendor sources with submodules for releases
2024-10-21 15:37:51 +02:00
github-actions[bot] 8c2d1a16d0 Bump version 2024-10-19 00:20:20 +00:00
Emil J. Tywoniak 37e61b993a yosys: fix pyosys initialization segfault 2024-10-18 11:56:13 +02:00
Emil J 799497ebba
Merge pull request #4671 from YosysHQ/emil/const-deref-pyosys
py_wrap: implement nested class definitions
2024-10-18 11:46:12 +02:00
Emil J. Tywoniak 49d8a35c2e rtlil: appease py_wrap 2024-10-18 11:31:20 +02:00
Emil J. Tywoniak d5aadeae3b py_wrap: remove some debug statements 2024-10-18 11:18:34 +02:00
Miodrag Milanović 67e5c4b1f6
Merge pull request #4676 from YosysHQ/micko/fix_macos_ci
CI: make CI continue even if brew objects
2024-10-18 09:31:35 +02:00
Miodrag Milanovic be8c75a3a5 CI: make CI continue even if brew objects 2024-10-18 08:38:36 +02:00
github-actions[bot] 0d9c59e4e6 Bump version 2024-10-18 00:20:28 +00:00
Krystine Sherwin a370c116d5
libs/fst: Use unbuffered IO flag 2024-10-18 07:25:29 +13:00
Krystine Sherwin f881ba6200
test-docs-build: Install docs prereqs 2024-10-18 05:38:49 +13: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
Emil J. Tywoniak d29499a10f actions: vendor sources with submodules for releases 2024-10-17 00:11:10 +02:00
Emil J. Tywoniak 0341265e64 driver: fix special args passing to tcl and python 2024-10-16 23:56:45 +02:00
Emil J. Tywoniak e9e67f381c rtlil: remove trailing comma as pyosys workaround 2024-10-16 23:15:06 +02:00
Emil J. Tywoniak f219bb357f py_wrap: kinda fixed 2024-10-16 23:12:41 +02:00
Emil J. Tywoniak 86630bba08 py_wrap: nested classes 2024-10-16 22:55:17 +02:00
Emil J. Tywoniak 4b9c135098 py_wrap: refactor nesting_delta 2024-10-16 22:46:23 +02:00
Krystine Sherwin d1c6699125
test-docs-build: Use fast runner 2024-10-17 07:15:11 +13: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 2157f67184
libs/fst: Patch more _MSC_VER checks 2024-10-17 07:05:24 +13:00
Krystine Sherwin 827e5baca7
libs/fst: Update from upstream 2024-10-17 07:05:23 +13:00
Krystine Sherwin 5f83d4d9da
libs/fst: Patch <io.h>
I think what's happening here is that the _WIN64 fix is correct for 64bit windows, but (for whatever reason) the visual studio build is targeting 32bit windows, so the fix is unnecessary, but the upstream fix doesn't expect to be targeting 32bit windows and assumes all windows builds are 64bit... so fix that.
2024-10-17 07:05:23 +13:00
Krystine Sherwin 1055e8ce51
libs/fst: Add fst_win_unistd.h to srcfiles.txt 2024-10-17 07:05:23 +13:00
Krystine Sherwin a54721aa39
libs/fst: Patch for zlib on windows 2024-10-17 07:05:23 +13:00
Krystine Sherwin c4a0845207
libs/fst: Fix filename references 2024-10-17 07:05:23 +13:00
Krystine Sherwin 2edb9397c3
libs/fst: Update from upstream
Add shell script (based on minisat lib) to clone and copy relevant files.
Unclear if there are any changes lost that we need to patch back in.
2024-10-17 07:05:23 +13:00
Krystine Sherwin 5d14c3017e
test-build.yml: Add test-docs-build
Try use self hosted linux runner to build html and latexpdf to check for errors.
Trying to use the build artifact didn't seem to work, so just run it on its own.
Upload docs/build folder as artifact to enable review without having to build
locally.  Note: doesn't include verific, so will differ slightly from final
published docs.
2024-10-17 06:10:12 +13:00
Krystine Sherwin 4ea6119734
cmdref: Move html only section inside cmd:def
Fixes missing links in body and `??` in tag/command index.
Update synth.rst to match.
2024-10-17 06:06:57 +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
Krystine Sherwin e9d9e92804
Docs: Make code_examples/extensions parallel safe 2024-10-17 04:40:21 +13:00