Skip to main content

Vivado implemented design renderer and viewer

This project was made with the help of Claude Opus 5.5.

fpga-design-implview draws what a Vivado implementation uses of the device: every site of the part (slices, BRAM, DSP, URAM, IO, GT, clocking, hard blocks), lit up when the design uses it and colored by hierarchy, with the part, WNS/WHS and the legend. The part comes from the checkpoint: any design, any device.

Compiled Quartus projects are read too, in a first version: see Quartus.

Examples

PYNQ-Z2 (xc7z020), placement and routing usage:

PYNQ-Z2 design, placement PYNQ-Z2 design, routing usage

PYNQ-Z2 design, placement PYNQ-Z2 design, routing usage

Note: the text on the right is optional, --no-panel leaves only the device.

Install

pipx install fpga-design-implview   # or pip; Python 3.11+

The command is fpga-design-implview, or implview for short. Vivado is needed to read the checkpoint (with a license for its device); drawing works without it.

Usage

fpga-design-implview render path/to/impl_1               # <top>.png, <top>.pdf
fpga-design-implview render top_routed.dcp -o top.html   # interactive viewer
fpga-design-implview render path/to/impl_1 -H highlight.toml --stats --theme dark

The input is a run directory, a project directory or a routed checkpoint (or a compiled Quartus project). The output format follows the extension: .png (placement, plus _routing.png), .pdf, .svg, .html.

The first run opens the checkpoint in Vivado (batch mode) and caches the export in ~/.cache/implview, so later renders take seconds. Vivado is $IMPLVIEW_VIVADO (or --vivado CMD before the command), else vivado on the PATH, else the install under ~/opt/xilinx, ~/Xilinx, /opt/Xilinx or /tools/Xilinx matching the checkpoint's version.

Option What
-o FILE, -O DIR output file (repeatable), output directory
-H FILE highlight file: what to color and how
-g PATH color a hierarchy path (repeatable)
--depth N automatic groups cut at depth N
--stats utilization table and cells per group
--theme dark dark theme
--no-routing skip the routing page (faster first export)
--paths N N worst setup and hold paths (default 50, 0 none)
--no-panel, --no-labels device only, no names on it
--save-highlight FILE write the groups used as a highlight file
--refresh export again, ignore the cache

Other commands: export (only the export), device PART (only the device), info (part, top, cache status), tcl (path of implview.tcl).

Colors

By default the hierarchy is split into up to 8 groups. A highlight file (-H) chooses:

[[highlight]]
path = "u_core/u_fft"                # * inside one level, ** any depth
color = "#2a78d6"
label = "FFT"

[[highlight]]
path = "u_core/gen_ch[*].u_filter"   # a generate loop: one shade per instance
color = ["#8fe0bb", "#0f6e4b"]
label = "filter"

[options]
others = "grey"                      # or "hide"; also theme, stats, labels, panel

The most specific path holds a cell. More in examples.

Viewer

Scroll to zoom, drag to pan, F to fit. Hover a site for its cells, click to pin them, click a cell to highlight its module. Search cell names (*, ?), toggle groups and layers (routing, clock regions, pblocks), switch light/dark, save the view as PNG.

Timing paths: the worst setup and hold paths are listed in the panel. Click one (or WNS, WHS) to draw it over the sites it goes through, from the ring to the dot, with its slack, clocks, logic/net split, clock regions and cells. A pinned site lists the paths through it. Timing report shows Vivado's report_timing of the path with the site names as links; Copy Tcl gives the report_timing command that opens the same path in Vivado. N/P step through the paths, #path=s3 in the URL opens one.

From a build script

Export at the end of the implementation run, in the same Vivado session, to skip opening the checkpoint again (fpga-design-implview tcl prints the script's path):

source /path/to/implview.tcl
implview::export_all $out/implview -routing -paths 50  ;# <top>.ivd.gz and <part>.ivdev.gz

then fpga-design-implview render $out/implview/<top>.ivd.gz.

Quartus

A compiled Quartus project (Altera parts) is read from the files of the compilation, without Quartus:

fpga-design-implview render path/to/project              # or its .qpf, its .qsf
fpga-design-implview render path/to/project -o top.html --stats

The placement comes from the post-fit netlist of the EDA Netlist Writer (simulation/<tool>/<revision>.vo or .vho), which gives the location of every cell; the utilization, the pins and their I/O banks from the Fitter report; the worst slacks from the Timing Analyzer summary. A project compiled without a simulation tool has no netlist; this writes it:

quartus_eda <project> -c <revision> --simulation=on --tool=modelsim --format=verilog

Quartus cannot list the resources of a device, so the device map is inferred from the placement: every location in use, the unused LABs, memory and DSP blocks of the columns in use (inside the outline of what is placed), and the pads of the pins in use. A design that fills the device shows nearly all of it, a small one only the part around it; the log says how much (LAB 1,287 of 1,395, M9K 66 of 66). --stats is the utilization of the Fitter report: ALMs or LEs, LABs, memory blocks and bits, DSP, pins, PLLs.

Tried on the files of Cyclone IV E, Cyclone V SoC and MAX 10 designs, Quartus 13.1 to 20.1; other families and Quartus Pro are not tried. Not there yet: routing usage, timing paths, LogicLock regions, and the PLLs and clock buffers that Quartus places without coordinates (PLL_1, CLKCTRL_G3).

Status

Tried on designs for Zynq-7000 (xc7z020), Kintex UltraScale (xcku040), Zynq UltraScale+ (xczu7ev, with the PS), Virtex UltraScale+ HBM (xcvu37p, three SLRs) and Versal (VC1902, one with CIPS, NoC and DDR4), and on the device maps of Virtex UltraScale (xcvu440, three SLRs; xcvu095), RFSoC (xczu28dr) and Versal Premium (xcvp1802, four SLRs), HBM (xcvh1582), AI Edge (xcve2302) and AI Edge Gen 2 (xc2ve3858). Nets are not drawn, only how much each interconnect tile is used; timing paths are straight lines from site to site. The picture follows Vivado's tile grid, not the die to scale.

On Versal the AI Engine array and the bottom row (XPIO, memory controllers, clocking) have no interconnect, so their rows are thin: zoom in the PDF or the viewer. --stats counts as report_utilization does: bonded IOB pads (two per XPIO site) and GTs, and the hard blocks of the part (PCIe, CMAC, Interlaken, VCU, RF data converters, SD-FEC, NoC NMU/NSU, DDRMC, HBM controllers).

Tests, from a clone: pip install -e .[test] && pytest (no Vivado needed).

Metadata

Release files for fpga-design-implview 0.2.1

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

Source distribution (sdist)

Source distribution for fpga-design-implview 0.2.1
File Size Uploaded Provenance Actions
fpga_design_implview-0.2.1.tar.gz 87.3 kB With provenance Details for fpga_design_implview-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fpga-design-implview 0.2.1
File Interpreter ABI Platform Actions
fpga_design_implview-0.2.1-py3-none-any.whl Python 3 none any Details for fpga_design_implview-0.2.1-py3-none-any.whl

Total release size: 157.5 kB

Release files / fpga_design_implview-0.2.1.tar.gz

Download URL fpga_design_implview-0.2.1.tar.gz
Size 87.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d75f0e7423021a3cf7d8ee481a26747f47149bfc5de9aac203246f84d15c234b
BLAKE2b-256 checksum
How to use checksums
a6b91cd821b3c7f954145c2c7731473a485f372e2a9c2c37c7a775671392a2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / fpga_design_implview-0.2.1-py3-none-any.whl

Download URL fpga_design_implview-0.2.1-py3-none-any.whl
Size 70.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ec36d075e050abd5d970bc4a57312ec4457a92a4f42062df5bd8ea832128483
BLAKE2b-256 checksum
How to use checksums
03a6e49be4c483dbceddbb29a96c97c3b9c2cac1f8cea5180527d44032af91f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for fpga-design-implview 0.2.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fpga_design_implview-0.2.1.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 Nov 26, 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.

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