3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-25 21:57:01 +00:00
Commit graph

1505 commits

Author SHA1 Message Date
Krystine Sherwin
14a5cd6c4c
Makefile: Fix chformal.cc copy 2025-07-21 10:37:30 +12:00
Krystine Sherwin
c92f200491
Drop <cmd>.rst dump 2025-07-21 10:37:30 +12:00
Krystine Sherwin
d88688781d
Docs: Skeleton documentation for writing command help
Use `chformal` as example, comparing the `autocmd` output with `ChformalPass::formal_help()`, the json dump from the `ContentListing`, the command line output, and the RST generated (using `autocmd_rst`).
Includes bullet points on each step for more information.
Should eventually end up in `yosys_internals/extending_yosys/contributing.rst`, but it currently lives in `cmd/index_internal.rst` to avoid merge conflicts since cell help documentation is still WIP.
Also exports chformal source and help output to `docs/source/generated` during `make docs/prep`.
2025-07-21 10:35:57 +12:00
Krystine Sherwin
534163cf4b
source_location: Auto detect library
Drop `ENABLE_SOURCE_LOCATION` flag.
2025-07-21 10:34:54 +12:00
Krystine Sherwin
4722b07485
Docs: docs/source/cmd is source only
i.e. we don't need to clean it, and we don't need to include it in the docs artifact
2025-07-21 10:34:54 +12:00
Krystine Sherwin
bab867f347
Makefile: Drop cmds rst from docs/prep 2025-07-21 10:34:13 +12:00
Krystine Sherwin
ae3514adfd
log_help: Include source_location
Use `std::experimental::source_location` because clang support is `??`
Add `ENABLE_SOURCE_LOCATION` make variable and corresponding `YOSYS_ENABLE_SOURCE_LOCATION` define.
Dummy out the struct if disabled and check for null instead of using `#ifdef` blocks everywhere.
2025-07-21 10:34:12 +12:00
Krystine Sherwin
3bef122a3f
WIP docs: Proto log_help
Define `PrettyHelp` class with methods for declaring different parts of help message.
Currently able to produce standard help messages as expected.
Updates chformal to use (only) the new help_v2.
Currently makes use of a global static to track the current help context, allowing register.h to live in blissful ignorance and instead rely on help_v2 implementations calling `auto *help = PrettyHelp::get_current();` and `return true;` to minimise impact on rebuilds (i.e. not requiring every source file to be recompiled).
2025-07-21 10:34:11 +12:00
Krystine Sherwin
3718f916f3
Makefile: Add cmds.json to docs/prep 2025-07-21 10:33:31 +12:00
Krystine Sherwin
804e18e0c6
Docs: WIP dump_cmds_json 2025-07-21 10:32:51 +12:00
Krystine Sherwin
fe3adfd960
Docs: Remove unused write_cell_rst function
The `help -write-rst-cells-manual` approach was made redundant by `help -dump-cells-json`.
2025-07-21 10:32:09 +12:00
github-actions[bot]
aa1daa7023 Bump version 2025-07-18 00:25:48 +00:00
github-actions[bot]
af0b263557 Bump version 2025-07-16 00:25:58 +00:00
Catherine
62c270a38b Allow installing headers and yosys-config without the rest.
This is useful to be able to build a plugin like `yosys-slang` without
having to build the entirety of Yosys, which can save a lot of time.
2025-07-15 01:28:09 +00:00
github-actions[bot]
e57a2b9442 Bump version 2025-07-11 00:25:36 +00:00
Emil J
9334a5c275
Merge pull request #5216 from YosysHQ/emil/publish-libparse-header
Install libparse.h for use in plugins
2025-07-09 14:28:59 +02:00
github-actions[bot]
7566af4a4b Bump version 2025-07-09 00:25:57 +00:00
Emil J. Tywoniak
ad80e2bd39 libparse: install headers for use in plugins 2025-07-08 13:39:03 +02:00
github-actions[bot]
e60cf3e2fa Bump version 2025-07-08 00:25:06 +00:00
Miodrag Milanovic
8af60b7e17 Next dev cycle 2025-07-07 12:40:53 +02:00
Miodrag Milanovic
60f126cd00 Release version 0.55 2025-07-07 11:26:04 +02:00
github-actions[bot]
99f7d79abb Bump version 2025-07-05 00:23:55 +00:00
github-actions[bot]
67583fee48 Bump version 2025-06-30 00:27:10 +00:00
github-actions[bot]
a0a77cd1d0 Bump version 2025-06-24 00:24:55 +00:00
github-actions[bot]
44aa313ba9 Bump version 2025-06-20 00:24:40 +00:00
github-actions[bot]
cd71f190cd Bump version 2025-06-14 00:24:06 +00:00
github-actions[bot]
c561ba84e3 Bump version 2025-06-10 00:24:41 +00:00
Miodrag Milanovic
c16cc539d4 Next dev cycle 2025-06-09 08:12:26 +02:00
Miodrag Milanovic
db72ec3bde Release version 0.54 2025-06-09 07:23:54 +02:00
github-actions[bot]
2a25d92413 Bump version 2025-06-07 00:24:11 +00:00
github-actions[bot]
50b63c6481 Bump version 2025-06-05 00:24:30 +00:00
github-actions[bot]
86282027c0 Bump version 2025-05-31 00:23:36 +00:00
github-actions[bot]
e046e3cdbf Bump version 2025-05-28 00:24:34 +00:00
github-actions[bot]
4f968c6695 Bump version 2025-05-27 00:24:03 +00:00
Emil J
4f7ea38b49
Merge pull request #5127 from RonxBulld/refine_strip
Disable STRIP operations when appropriate.
2025-05-26 15:03:34 +02:00
github-actions[bot]
209df95fb9 Bump version 2025-05-24 00:23:33 +00:00
github-actions[bot]
6c67b29bbb Bump version 2025-05-23 00:24:38 +00:00
RonxBulld
64a115e6f0
Disable STRIP operations when appropriate. 2025-05-18 01:07:06 +08:00
github-actions[bot]
388955031f Bump version 2025-05-17 00:23:43 +00:00
Emil J
3823157c25
Merge pull request #5080 from akashlevy/muldiv_c
Add `muldiv_c` peepopt
2025-05-15 11:03:25 +02:00
github-actions[bot]
ae47c49af5 Bump version 2025-05-15 00:22:59 +00:00
github-actions[bot]
e3ae7b1400 Bump version 2025-05-13 00:24:04 +00:00
KrystalDelusion
c590c0c12c
Merge pull request #5111 from YosysHQ/krys/config_python
Makefile: Conditional assignment of python exe
2025-05-13 09:54:26 +12:00
github-actions[bot]
6900818105 Bump version 2025-05-10 00:22:55 +00:00
KrystalDelusion
1e2d6508d0
Makefile: Conditional assignment of python exe
Using `:=` while providing an override (either in Makefile.conf or on the command line) does not correctly apply the override in other simply expanded variables (using `:=`).  Instead, passing an explicit `PYTHON_EXECUTABLE=python3.15` while leaving `PYTHON_CONFIG` implicitly defined results in it being set to `python3-config` instead of the expected `python3.15-config`.
2025-05-10 09:09:30 +12:00
github-actions[bot]
55bd950af4 Bump version 2025-05-09 00:27:47 +00:00
github-actions[bot]
8da97d0044 Bump version 2025-05-07 00:24:00 +00:00
Miodrag Milanovic
20921ad908 Next dev cycle 2025-05-06 08:26:46 +02:00
Miodrag Milanovic
53c22ab7c0 Release version 0.53 2025-05-06 07:45:16 +02:00
github-actions[bot]
5924f2de7b Bump version 2025-05-06 00:23:55 +00:00