Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI Version Python Build Documentation Coverage Status python-versions semantic-versioning

Downloads Contributors PRs welcome Issues PRs open PRs done

Easy-To-Use SystemVerilog And VHDL Parser

Features

  • SystemVerilog, Verilog and VHDL
  • Extract ports, parameters, signals, types, functions, processes and continuous assignments
  • Extract submodule instances and their connections
  • ifdef support, optionally resolved (--resolve-ifdefs, --closed-world)
  • Optional expansion of macros (ports, parameters and instances created by macros)
  • Projects: hierarchy, where-used, diagnostics across files, configured by hdl-parser.toml
  • Elaboration: values of parameters and widths of ports per instance (elaborate, evaluate)
  • Connectivity: drivers and loads of signals and bits across the hierarchy, and how one signal reaches another (drivers, loads, trace)
  • Made for AI agents: small JSON answers with source locations (hdl-parser module, hierarchy, where-used, find, diagnostics, elaborate, evaluate, drivers, loads, trace) and an MCP server (hdl-parser mcp). See the Guide for AI Agents and the agent skill in skills/hdl-parser
  • Standards: IEEE 1800-2009 SystemVerilog, VHDL

Limitations

  • No Syntax Checks - Source code is not checked. Code which is not syntactically correct may give incomplete results; what is not understood is reported as diagnostic
  • No Full Parser - This parser intends to be simple and just extract some information from the source code. Fast and Simple.

Installation

Installing it is pretty easy:

pip install hdl-parser

Authors

Usage

See Usage Documentation

Metadata

Release files for hdl-parser 1.2.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hdl-parser 1.2.0rc1
File Size Uploaded Provenance Actions
hdl_parser-1.2.0rc1.tar.gz 1.4 MB Without provenance Details for hdl_parser-1.2.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hdl-parser 1.2.0rc1
File Interpreter ABI Platform Actions
hdl_parser-1.2.0rc1-py3-none-any.whl Python 3 none any Details for hdl_parser-1.2.0rc1-py3-none-any.whl

Total release size: 1.6 MB

Release files / hdl_parser-1.2.0rc1.tar.gz

Download URL hdl_parser-1.2.0rc1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
eed80f2400bb0bdfb7df754b8e9166f0cee7552a974fc2354c7569dcac0af150
BLAKE2b-256 checksum
How to use checksums
ffdf2810f94fb41408ee7748abfc8508f0e632e1dcdc735f871ec2045ecd4e25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.15.2 Linux/7.0.0-1020-azure

Release files / hdl_parser-1.2.0rc1-py3-none-any.whl

Download URL hdl_parser-1.2.0rc1-py3-none-any.whl
Size 165.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
268c2bca1d7b734633df9646874f1a8cc21fb58a46f4f8b3771f64b128f3bc66
BLAKE2b-256 checksum
How to use checksums
4115cdd54fb33e4c982f14c81495863f33c7aee66ee942c8fa7481081c583b04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.15.2 Linux/7.0.0-1020-azure

Security for hdl-parser 1.2.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page