Skip to main content

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.3.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file verilog_parser-0.0.3.tar.gz.

File metadata

  • Download URL: verilog_parser-0.0.3.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for verilog_parser-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f70c57018a3259c2465f4b09c6dc24c3dd2e6888c1fa8ce26914fdbffe980c62
MD5 8d0eb123296447cfe76d35d39553ff6a
BLAKE2b-256 6f3a264842a0a47791263019d7a940a83051f96a5758d715e8a3f5bee3b580b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page