Commit Graph

414 Commits

Author SHA1 Message Date
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
Krystine Sherwin 65b75049aa
docs: Shuffling bug reporting guidelines
Move the "creating an issue" section from bugpoint.rst to "reporting bugs" in `contributing.rst`.
Fix link to `CONTRIBUTING.md`.
Update `CONTRIBUTING.md` to refer to the bugpoint guide instead of the stack overflow guide.
2025-08-05 09:54:00 +12:00
Krystine Sherwin f0b4f7012e
bugpoint.rst: Extra notes
Move `yosys -h bugpoint` failure into a code-block to break up text.  Same for the `exec -expect-return` example.
TODOs on #5068 being merged.
2025-08-05 09:54:00 +12:00
Krystine Sherwin 20a573953c
bugpoint.rst: Minimizing scripts
part 2: electric boogaloo
2025-08-05 09:54:00 +12:00
Krystine Sherwin 113a6f6e52
bugpoint.rst: yosys -h bugpoint does work
I just missed that it only gets included in the makefile if `DISABLE_SPAWN` is set, because I was looking for the C define `YOSYS_DISABLE_SPAWN`.
2025-08-05 09:54:00 +12:00
Krystine Sherwin c75b07820f
Docs: More bugpoint bullets
More info for creating GitHub issues and the different sections.
Discuss additional details that can be included as comments on the issue.  Also mention Gists for large files (preferable to downloading a .txt).
Add a warning about external plugins/tools.
Also add a note to `load_design.rst` about `Frontend`s and `-f` command line option.
2025-08-05 09:53:59 +12:00
Krystine Sherwin e776f1dca2
bugpoint.rst: More paragraphs
What do I do with the minimized design and (the first half of) Minimizing scripts
2025-08-05 09:53:59 +12:00
Krystine Sherwin 9fa1f76cf2
bugpoint.rst: Why context matters (bullets) 2025-08-05 09:53:59 +12:00
Krystine Sherwin 2c534c8828
Docs: How to use bugpoint paragraphs 2025-08-05 09:53:59 +12:00
Krystine Sherwin 47c89a61df
Docs: What is bugpoint in paragraphs 2025-08-05 09:53:58 +12:00
Krystine Sherwin be999219a2
docs: User-defined failures in bugpoint
Also some other tidy up and clarifications.
2025-08-05 09:53:58 +12:00
Krystine Sherwin 385d58562d
Docs: Move verilog.rst to using_yosys
Was previously in yosys_internals which is more developer focused, rather than user focused.
2025-08-05 09:53:58 +12:00