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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a1635a9b98dd5fa655c09004986bd74d3c8518fc4abf868e485e326bea9fca3
|
|
| MD5 |
143c84011517b3c3f73e5b11d5c249b5
|
|
| BLAKE2b-256 |
d54a40f17a35580cd349d94ae76133596ef103bb8e1e9500881f1d8048a1e87a
|
Provenance
The following attestation bundles were made for sv2svg-0.2.0.tar.gz:
Publisher:
publish.yml on ErikMeinders/sv2svg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sv2svg-0.2.0.tar.gz -
Subject digest:
6a1635a9b98dd5fa655c09004986bd74d3c8518fc4abf868e485e326bea9fca3 - Sigstore transparency entry: 545470635
- Sigstore integration time:
-
Permalink:
ErikMeinders/sv2svg@8733005aa123262ee872885a25be258eb4a84a9e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ErikMeinders
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8733005aa123262ee872885a25be258eb4a84a9e -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f95806e4a9d2ea5a270f17c151b4f0ab794b4fa36aa48e9254a74af7b8b1a37
|
|
| MD5 |
6e40186564dfbe8d5e42378795cc4c06
|
|
| BLAKE2b-256 |
e40c2ae4655435f3712dfcab466c52f1ef69e4e56bd4ae6019b09a5dc238a89f
|
Provenance
The following attestation bundles were made for sv2svg-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on ErikMeinders/sv2svg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sv2svg-0.2.0-py3-none-any.whl -
Subject digest:
1f95806e4a9d2ea5a270f17c151b4f0ab794b4fa36aa48e9254a74af7b8b1a37 - Sigstore transparency entry: 545470637
- Sigstore integration time:
-
Permalink:
ErikMeinders/sv2svg@8733005aa123262ee872885a25be258eb4a84a9e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ErikMeinders
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8733005aa123262ee872885a25be258eb4a84a9e -
Trigger Event:
push
-
Statement type: