Verilog parser for Python
Lark based parser for Verilog netlists (structural Verilog without behavioral statements). This is meant to be used to read netlists as generated by HDL logic synthesizers such as Yosys.
Example
from verilog_parser.parser import parse_verilog
ast = parse_verilog(open(verilog_file_path).read())
Install
From PyPI:
pip install verilog-parser
From git:
pip install git+https://codeberg.org/tok/py-verilog-parser
From git for development:
git clone https://codeberg.org/tok/py-verilog-parser
cd py-verilog-parser
pip install --editable .
Metadata
Release files for verilog-parser 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| verilog_parser-0.0.7.tar.gz | 7.2 kB | Details |
Release files / verilog_parser-0.0.7.tar.gz
| Download URL | verilog_parser-0.0.7.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbe6db18bc74398fa481ca373205818065cac2ac0e165886ce373b01bdf8e0f7
|
|
BLAKE2b-256 checksum How to use checksums |
8904bda60c23525e485809cba64acdc7b90102582e73286faff0761cc49f4d63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|