Registry / serialization / pysv
library0.4.0pypypi✓ verified 82d ago

PySV is a Python library for reading, writing, and converting SystemVerilog files. Version 0.3.1, released periodically on GitHub.

pip install pysv
INSTALL
IMPORT
SIG · PYSV
P
pysv
serializationpythonv0.4.0
Install
1.7s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DataType
from pysv import DataType
from pysv import SystemVerilogParser
Reference
from pysv import Reference
compile
from pysv import compile

Parse a SystemVerilog file and list module names.

from pysv import SystemVerilogParser parser = SystemVerilogParser() design = parser.parse_file('example.sv') print(design.get_module_names())
Debug
Known issues
breakingPySV is still in early development (pre-1.0). API may change without deprecation.
fix
Pin exact version in requirements.txt and test upgrades.
affects: <1.0.0
gotchaParser requires SystemVerilog-2005 or earlier; does not fully support newer constructs (e.g., interfaces, assertions).
fix
Check documentation for supported features; use alternative for advanced SV.
affects: all
gotchaFile path in parse_file must be absolute or relative to CWD; no automatic resolution.
fix
Use os.path.abspath() or set working directory accordingly.
affects: all
Upgrade
Version history
0.4.0latest on PyPI · released May 8, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
pysv — pip install pysv · libregistry