You are currently viewing Vivado Tcl Design Queries: get_ports, get_cells, and get_pins

Vivado Tcl Design Queries: get_ports, get_cells, and get_pins

Effective FPGA floorplanning and timing closure depend on fast command line netlist inspection inside Vivado’s Tcl console. Combining get_ports, get_cells, get_pins, and get_nets lets you pinpoint high fanout drivers, inspect cell placement properties, and color code failing paths directly in the schematic viewer.

Interactive Vivado Tcl Object Query & Highlighting Builder
Vivado Tcl

THREE ESSENTIAL VIVADO NETLIST OBJECT COMMANDS

  • get_ports returns top level FPGA package I/O pins where IOSTANDARD, SLEW, and DRIVE constraints attach.
  • get_cells returns instantiated primitives and modules (LUTs, FDRE flip flops, BRAMs, DSPs); add -hierarchical to search below top scope.
  • get_pins queries individual input and output terminals on specific cell instances for tracing -through timing reports.

PRACTICAL VIVADO TCL WORKFLOWS

# Highlight all sequential cells inside a FIFO hierarchy
highlight_objects -color red [get_cells -hierarchical -filter {NAME =~ "*fifo*" && IS_SEQUENTIAL}]

# Inspect timing paths passing through an output pin of a specific stage
report_timing -through [get_pins -of_objects [get_cells u_tx/reg_data*] -filter {DIRECTION == OUT}]

Leave a Reply