3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-23 14:11:28 +00:00
Commit graph

399 commits

Author SHA1 Message Date
Krystine Sherwin
da65409d69
documenting.rst: Cell help v1 and v2
Also a (commented) mention of v2a for the extra curious.
2025-11-21 12:30:54 +13:00
Krystine Sherwin
bb8ef02e85
docs: Intro to cell help
Allow autoref to render `help *` as yoscrypt instead of trying to link when `*` starts with `<` or `-`, as in `help <command>` and `help -all`.
Fix autoref `help *` being linkable when there is a line break in the middle.
2025-11-19 14:29:13 +13:00
Krystine Sherwin
784c73ad38
documenting.rst: Warning flags
Add `test_generic.cc` to docs gen, and rename `docs/gen/chformal` to the more generic `docs/gen/raw_commands` (in line with `docs/gen/raw_cells`).
2025-11-18 15:33:13 +13:00
Krystine Sherwin
657b0bd92b
documenting.rst: literalinclude cell doc examples
Add a sed command to the (top level) makefile for extract comment block for the specified cell.  Works with both simlib.v and simcells.v (by abusing `%` pattern matching slightly to disambiguate which to search).
2025-11-18 12:20:33 +13:00
Krystine Sherwin
4eff547f6f
documenting.rst: Dumping to JSON
Split into cmd/cell sections.  cmd json is in paragraphs, cell json is bullet points (and pending example).
Add (bullet point) section for warning flags.
Add note to `Pass::help()` about how each line should be a single `log()` call.
2025-11-17 18:49:07 +13:00
Krystine Sherwin
e5b9401bf3
documenting.rst: Command line rendering 2025-11-17 12:44:41 +13:00
Krystine Sherwin
966f52e123
documenting.rst: More json/sphinx bullets
Also moved them to the bottom, instead of being under the "command help" heading.
Now includes more info about cells, and the custom sphinx domains/directives/roles we have.
2025-11-15 16:06:09 +13:00
Krystine Sherwin
0a6ce3d820
documenting.rst: formatted_help 2025-11-15 11:54:42 +13:00
Krystine Sherwin
1186ca8f68
documenting.rst: WIP paragraphs
First couple sections done, plus a couple formatting tidy ups later on.
2025-11-14 18:10:34 +13:00
Krystine Sherwin
2da7627491
docs: Move help guides to documenting.rst 2025-11-14 14:21:59 +13:00
Krystine Sherwin
25822be930
docs: Initial documentation for generated help
Very briefly on command help
Mostly focused on v1 and v2 of the cell help, but still largely bullet points
2025-11-14 13:37:02 +13:00
KrystalDelusion
24b69cabaa
Merge pull request #5422 from YosysHQ/krys/SVI_support
Catch partial support of SVI
2025-11-07 11:16:07 +13:00
Miodrag Milanovic
db76eebc0f Remove mentions of Boost 2025-11-04 08:35:07 +01:00
Krystine Sherwin
17c1388303 Drop boost-python 2025-11-04 07:40:36 +01:00
Krystine Sherwin
684bbf6a25 CI: Move libbz2 to iverilog setup
Needed for vcd2fst.
2025-11-04 07:40:36 +01:00
Krystine Sherwin
cc5642c904 Docs: Bringing prereqs in line
Add comments in setup-build-env/action.yml for where to document prereqs (and the separation between build/run and test).
Add some initial (very basic) text for `test_suites.rst`, listing prereqs and how to run the tests (with subsections for the different optional tests, which is currently docs, functional and unit).
Add sphinx-inline-tabs, use it for tidying up prereq instructions based on OS/platform (mostly helpful in the test suites doc where there are multiple sections split by OS).
Also fixes some single backticks that should be double backtick.
2025-11-04 07:40:36 +01: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
Krystine Sherwin
a243e4e60f Docs: ecp5 and nexus are under lattice 2025-11-01 07:37:58 +00:00
Krystine Sherwin
37ba29482e
docs: Amend modports support to all SVI
Also some formatting fixes.
2025-10-15 09:17:52 +13:00
Krystine Sherwin
bbceaa6b5e
docs: Note partial support of modports 2025-10-14 14:59:32 +13:00
Emil J
a80462f27f
Merge pull request #5339 from rocallahan/fast-rtlil-parser
Rewrite the RTLIL parser for efficiency
2025-10-08 14:52:37 +02: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 Milanovic
157aabb583 Release version 0.58 2025-10-08 07:51:14 +02:00
Mohamed Gaber
440e331ae0
docs: proofread pyosys.rst
Primarily address feedback from @KrystalDelusion (thanks!)
2025-10-03 11:54:44 +03:00
Mohamed Gaber
93fae3c606
docs: write small guide for using pyosys 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
Robert O'Callahan
7f550468ea Update RTLIL text representation docs 2025-09-30 21:39:19 +00:00
Emil J. Tywoniak
dc7764e247 .github: typos 2025-09-30 11:03:19 +02:00
Emil J. Tywoniak
b86cc0d9b3 docs: replace Slack with Discourse in extensions writing guide 2025-09-29 23:20:06 +02:00
George Rennie
398e5d4bf0 docs typo: -dump-cmds-json 2025-09-23 14:36:27 +01:00
Robert O'Callahan
e0ae7b7af4 Remove .c_str() calls from log()/log_error()
There are some leftovers, but this is an easy regex-based approach that removes most of them.
2025-09-11 20:59:37 +00:00
Miodrag Milanovic
3aca86049e Release version 0.57 2025-09-04 08:00:38 +02:00
Krystine Sherwin
720f33271d docs: Update ubuntu apt-get
Also mention CXXSTD fix for cygwin.
2025-08-11 13:34:10 +02:00
Gary Wong
4ffd05af6f verilog: add support for SystemVerilog string literals.
Differences are new escape sequences (including escaped newline
continuations and hex escapes) and triple-quoted literals.
2025-08-11 13:34:10 +02:00
Emil J. Tywoniak
0a5aa4c78b docs: fix verilog frontend internals 2025-08-11 13:34:10 +02:00
Krystine Sherwin
69f2f3ca81 docs/verilog_frontend.rst: Fix indentation 2025-08-11 13:34:10 +02:00
Emil J. Tywoniak
8bf750ecbb neater errors, lost in the sauce of source 2025-08-11 13:34:10 +02:00
Emil J. Tywoniak
36491569d2 Revert "verilog: add support for SystemVerilog string literals."
This reverts commit 5feb1a1752.
2025-08-11 13:34:10 +02:00
Miodrag Milanovic
9c447ad9d4 Release version 0.56 2025-08-07 07:59:29 +02:00
Krystine Sherwin
20a51742f4
Docs: Fix cmd links from bugpoint docs 2025-08-06 13:52:13 +12:00
Krystine Sherwin
3959d19291
Reapply "Add groups to command reference"
This reverts commit 81f87ce6ed.
2025-08-06 13:52:12 +12:00
Krystine Sherwin
8750ca42d3
docs: Fix formatting 2025-08-05 09:54:02 +12:00
Krystine Sherwin
bfe2418a67
bugpoint.rst: Expand note on checking errors 2025-08-05 09:54:02 +12:00
Krystine Sherwin
96b072aeb3
advanced_bugpoint.rst: --dump-design
Also fix missing double backtick.
2025-08-05 09:54:02 +12:00
Krystine Sherwin
4924670325
bugpoint.rst: How to sv-bugpoint 2025-08-05 09:54:02 +12:00
Krystine Sherwin
29d334186c
bugpoint.rst: How to creduce 2025-08-05 09:54:01 +12:00
Krystine Sherwin
c994b59ac6
advanced_bugpoint.rst: Paragraphing 2025-08-05 09:54:01 +12:00
Krystine Sherwin
6b7756b67a
bugpoint.rst: Finish paragraphs
Update text to assume bugpoint PR changes.
2025-08-05 09:54:01 +12:00
Krystine Sherwin
aa6c6fd283
bugpoint.rst: Some paragraphs on verilog 2025-08-05 09:54:01 +12:00
Krystine Sherwin
c47b533a3d
docs: Split bugpoint.rst into user/developer
Minimizing scripts (and more generally identifying root cause) isn't necessary for regular bug reports.  Rather, it can be useful for developers working on *fixing* bugs, and also for fuzzers to avoid spam.
Minor adjustments to `bugpoint.rst`.
Add note to `advanced_bugpoint.rst` about primitives when minimizing scripts.
2025-08-05 09:54:01 +12:00