Parser for structural verilog.
Project description
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 .
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
verilog_parser-0.0.4.tar.gz
(18.8 kB
view details)
File details
Details for the file verilog_parser-0.0.4.tar.gz
.
File metadata
- Download URL: verilog_parser-0.0.4.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faaa0ff651d1120d8992ced30e0503cb6207290e8f02e96984d6543e9df1277f |
|
MD5 | 9efa6f4494b38f32749b3c9df32a1c9e |
|
BLAKE2b-256 | cce8cc56c0ade3e685346c25fde0a943042ecef462ce060d7e8bc0db143e214d |