Skip to main content
sphinx-systemverilog

A Sphinx autodoc extension for SystemVerilog, powered by pyslang.

CI Docs 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://fvutils.github.io/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.1.0.tar.gz (41.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.1.0-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_systemverilog-0.1.0.tar.gz
  • Upload date:
  • Size: 41.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.1.0.tar.gz
Algorithm Hash digest
SHA256 501e805dd637759cc0d3e19b89304b9502caf292859aeb13a3eec09b74cb2b16
MD5 30664ac97c4c39bdbc4fd082c14e835d
BLAKE2b-256 18bad2b097e57aa16e1c3f771f4c0ddc656788dfd66abeed7b84d45c0a268dc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_systemverilog-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 807267a7996c58bba50572705a4328ae96879c68b82f0929d3e7edd35341c31e
MD5 5c69f5df669e6d590df19ecacaac08f9
BLAKE2b-256 e42d43dfd43a1dcea55a423e18a91ed574ee9f8324efd556afd7e0da2ee56697

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

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