Skip to main content

netlist-graph

Graph-based netlist analysis tool for SKY130 post-synthesis netlists.

Installation

cd scripts/netlist_graph
uv sync

Usage

Search for nets

uv run netlist-graph search <netlist.v> <pattern>

Trace drivers (backwards)

uv run netlist-graph drivers <netlist.v> <net> [-d depth]

Trace loads (forwards)

uv run netlist-graph loads <netlist.v> <net> [-d depth]

Find path between nets

uv run netlist-graph path <netlist.v> <source> <target>

Generate trace configuration

Generate signal type and driver information:

# Simple output
uv run netlist-graph trace <netlist.v> <signal1> <signal2> ...

# Generate JSON for programmatic use
uv run netlist-graph trace <netlist.v> ibus__cyc rst_n_sync.rst --json

Generate watchlist file

Create a JSON watchlist for signal monitoring:

uv run netlist-graph watchlist <netlist.v> <output.json> <signal1> <signal2> ...

Example:

uv run netlist-graph watchlist design.v watch.json ibus__cyc rst_n_sync gpio_out

Interactive mode

uv run netlist-graph interactive <netlist.v>

Commands in interactive mode:

  • d <net> - find drivers
  • l <net> - find loads
  • p <src> <tgt> - find path
  • s <pattern> - search nets
  • c <net> - cone of influence
  • q - quit

Examples

# Find what drives the ibus_cyc signal
uv run netlist-graph drivers tests/timing_test/minimal_build/6_final.v "ibus__cyc" -d 8

# Trace reset synchronizer path
uv run netlist-graph drivers tests/timing_test/minimal_build/6_final.v "rst_n_sync.rst"

# Find path from reset input to CPU
uv run netlist-graph path tests/timing_test/minimal_build/6_final.v "gpio_in[40]" "ibus__cyc"

# Generate watchlist for debugging
uv run netlist-graph watchlist tests/timing_test/minimal_build/6_final.v watch.json \
    ibus__cyc rst_n_sync.rst gpio_out[0] gpio_out[1]

Signal Types

The tool classifies signals based on their drivers:

  • reg - Driven by a flip-flop (dfxtp, dfrtp, etc.)
  • mem - Driven by SRAM
  • comb - Combinational logic (gates, buffers)

Metadata

Release files for netlist-graph 0.1.0

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

Source distribution (sdist)

Source distribution for netlist-graph 0.1.0
File Size Uploaded Provenance
netlist_graph-0.1.0.tar.gz 21.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for netlist-graph 0.1.0
File Interpreter ABI Platform
netlist_graph-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.6 kB

Release files / netlist_graph-0.1.0.tar.gz

Download URL netlist_graph-0.1.0.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5c4089f2027a687ef875cdf8f847ea319748468668473564182ba2a6b39861fb
BLAKE2b-256 checksum
How to use checksums
cac7de29673129b32c7febfbb4adb2f7c620265a76c707dd6279c246906b992a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Release files / netlist_graph-0.1.0-py3-none-any.whl

Download URL netlist_graph-0.1.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c508128a3be31b72c5ea54a709d374d141c9ddd8018ab3b9207787bb9700642
BLAKE2b-256 checksum
How to use checksums
2b5999dcafa3547dec1a52866b2e9a0ea97a60169534fe38da1bbaa5ca3eb798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

Security for netlist-graph 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for netlist_graph-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 24, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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