Skip to main content
sphinx-systemverilog

A Sphinx autodoc extension for SystemVerilog, powered by pyslang.

Docs Source PyPI Python License

A Sphinx autodoc extension for SystemVerilog, powered by the pyslang parser.

It documents SystemVerilog source the way sphinx.ext.autodoc documents Python: declarations and their doc comments are pulled directly from source, supporting multiple comment dialects (a Python-docstring-like native style, NaturalDocs, and Doxygen).

📖 Documentation: https://dvkit.org/fvutils/sphinx-systemverilog/

Status: early development. See docs/design/ for the design and implementation plan.

Installation

pip install sphinx-systemverilog

Quick start

# docs/conf.py
extensions = ["sphinx_systemverilog"]
sv_source_dirs = ["../rtl"]
sv_doc_style = "native"
.. autosvclass:: my_pkg::my_transaction
   :members:

Development

source packages/python/bin/activate
pip install -e .
pytest -m "unit or sphinx"
sphinx-build -W docs docs/_build/html

License

Apache-2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_systemverilog-0.4.0.tar.gz (49.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_systemverilog-0.4.0-py3-none-any.whl (58.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_systemverilog-0.4.0.tar.gz.

File metadata

  • Download URL: sphinx_systemverilog-0.4.0.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for sphinx_systemverilog-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ca814ab589740d8a45b80804b8001327c2295b99275145f111fc3fafde926a30
MD5 571ad2f46bf4edec8d177e5ac9450cf5
BLAKE2b-256 75788c1784b7e9fd6c8de9fddba6d6e9ffa6f90e0149b372d25dc49011c0c2f1

See more details on using hashes here.

File details

Details for the file sphinx_systemverilog-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_systemverilog-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa68db6be270c8a85344992c52e359dc89d08d14ce50310677180e9f8f7addc
MD5 897146aac85790dea1477b3a80432f31
BLAKE2b-256 5d48aa3e47fd65f2f900943dee40adac54ee13655f89b973d111be5b75ef4103

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page