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.3.0.tar.gz (48.1 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.3.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_systemverilog-0.3.0.tar.gz
  • Upload date:
  • Size: 48.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 0900626f6b7e8d5af76ad98451fe22a8fdd84f29974f3685272383320c552ac5
MD5 873d43060a8204ffc3a737b789ef45fb
BLAKE2b-256 eba9097be5a10261ca2b786e3e01402130297fe88201f9f70383eafe83813813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_systemverilog-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7357dc30b22986709bc2e6f7ea199c6b10e3286e1a90c16b5cd47b2ad10ffa
MD5 86e345e6db8cb6ad59456d90e2a6340a
BLAKE2b-256 7542a4261da6336a47154fc5593bdc335140480072037f0ee5a7fd615c154485

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

This release

0.3.0 This release

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