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.2.0.tar.gz (45.2 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.2.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_systemverilog-0.2.0.tar.gz
  • Upload date:
  • Size: 45.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 98fd99ea67f8d31eb10f607b022bf6ad1b733f7f365464a1f7e12b661f092840
MD5 e9a45a049a004967267513e63b1a5554
BLAKE2b-256 0b76818d4079631c35366465d2907426f5e229e6fc7cf5d2f08d69e02c0dd08d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_systemverilog-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ff825c876fd91390de56826a8b64381c3aa6025e930f413c0c8b065ba41d95d
MD5 4e4e7f6a0483e99a2463d63cbfcd177f
BLAKE2b-256 799c7b14d81e6d64d172afca23aa73d853bfaff52cd9e93f977893c37a99f46f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

This release

0.2.0 This release

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