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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for verilog_parser-0.0.7.tar.gz
Algorithm Hash digest
SHA256 dbe6db18bc74398fa481ca373205818065cac2ac0e165886ce373b01bdf8e0f7
MD5 8a6fb15d65e1907d942b68fac91fd7c8
BLAKE2b-256 8904bda60c23525e485809cba64acdc7b90102582e73286faff0761cc49f4d63

See more details on using hashes here.

Supported by

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