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.1.0.tar.gz (8.4 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.1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sv2svg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c4df212537acfe349aeab0fec1a5d6bdc69f3665c40900532ec9de7ed23f296c
MD5 e91041b5d8e00fc8124780ab3b907880
BLAKE2b-256 cd3ace26656fbd0daaab601bbaf1d5ddd3a6663c097fa7cae65174b19692fb73

See more details on using hashes here.

Provenance

The following attestation bundles were made for sv2svg-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: sv2svg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57d73356f407ef4ac945e9158a789e2681363749a85ec7806953807d75566d91
MD5 0c47bd63b00c17d7616c86a3e97ab062
BLAKE2b-256 a7d7f22587fd6164bc54930579784fa1c2eb5611c433925ce542f2060ee7e9df

See more details on using hashes here.

Provenance

The following attestation bundles were made for sv2svg-0.1.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