Skip to main content

SystemVerilog to SVG using Schemdraw (left-to-right logic diagrams)

Project description

sv2svg

SystemVerilog (.sv) to SVG visualizer using Schemdraw logic gates.

  • Left-to-right flow
  • Grid-aligned verticals, minimal bends
  • Symmetric sibling placement around shared drivers
  • CLI: sv2svg file.sv [-o out.svg] [--input-order ...] [--grid-x ...] [--grid-y ...] [--no-symmetry]

Install

With uvx (no install):

uvx sv2svg --help

With uv (local run):

uv run sv2svg --help

From source (editable):

pip install -e .

Usage

Versioning & releases (SemVer)

This project follows Semantic Versioning. Versions are derived from git tags using hatch-vcs.

Release flow:

  • Update code and commit to main
  • Tag a release, e.g. v0.1.0
  • Push the tag; GitHub Actions will build and publish to PyPI (trusted publishing)

Notes:

  • Pre-releases use SemVer pre-release identifiers, e.g. v0.2.0-rc.1
  • Local builds without git metadata use a fallback version 0.0.0
sv2svg mymodule.sv -o mymodule.svg --input-order ports --grid-x 0.5 --grid-y 0.5

Project details


Download files

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

Source Distribution

sv2svg-0.2.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

sv2svg-0.2.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sv2svg-0.2.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sv2svg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6a1635a9b98dd5fa655c09004986bd74d3c8518fc4abf868e485e326bea9fca3
MD5 143c84011517b3c3f73e5b11d5c249b5
BLAKE2b-256 d54a40f17a35580cd349d94ae76133596ef103bb8e1e9500881f1d8048a1e87a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sv2svg-0.2.0.tar.gz:

Publisher: publish.yml on ErikMeinders/sv2svg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: sv2svg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sv2svg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f95806e4a9d2ea5a270f17c151b4f0ab794b4fa36aa48e9254a74af7b8b1a37
MD5 6e40186564dfbe8d5e42378795cc4c06
BLAKE2b-256 e40c2ae4655435f3712dfcab466c52f1ef69e4e56bd4ae6019b09a5dc238a89f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sv2svg-0.2.0-py3-none-any.whl:

Publisher: publish.yml on ErikMeinders/sv2svg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page