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

Uploaded Source

File details

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

File metadata

  • Download URL: verilog_parser-0.0.5.tar.gz
  • Upload date:
  • Size: 19.2 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.5.tar.gz
Algorithm Hash digest
SHA256 79bc2eb62a46a308f89c698fd30cdbdcefbc67eb22f131cc5138228025a96ce5
MD5 df12bff371dd8efbaf447f94603ec589
BLAKE2b-256 0d03ce0aed11257807d1423d65ea993b828218f08453965805fd5a7d4ae56f9d

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