get_constant_paths - 2021.2 English

Vivado Design Suite Tcl Command Reference Guide (UG835)

Document ID
Release Date
2021.2 English

Get constant paths


get_constant_paths [‑max_paths_per_endpoint <arg>] [‑filter <arg>]
    [‑regexp] [‑nocase] [‑quiet] [‑verbose] <objects>


Name Description
[-max_paths_per_endpoint] number of branches per endpoint to report traces for Default: 1
[-filter] Filter list with expression
[-regexp] Patterns specified in filter are full regular expressions
[-nocase] Perform case-insensitive matching for patterns specified in filter (valid only when -regexp specified)
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<objects> endpoint pins or instances


Object, Timing


Get constant paths objects that meet the specified criteria.


-max_paths_per_endpoint – Specifies maximum number of paths to report per constant endpoint object.
Note: By default, 1 path per endpoint has been reported.

-filter <args> - (Optional) Filter the results list with the specified expression. The -filter argument filters the list of objects returned by the search pattern, based on specified property values.

-regexp - (Optional) Specifies that the search <patterns> are written as regular expressions. Both search <patterns> and -filter expressions must be written as regular expressions when this argument is used. Xilinx regular expression Tcl commands are always anchored to the start of the search string.
Note: You can add ".*" to the beginning or end of a search string to widen the search to include a substring.

-nocase - (Optional) Perform case-insensitive matching when a pattern has been specified. This argument applies to the use of -regexp only.

-quiet - (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.

-verbose - (Optional) Temporarily override any message limits and return all messages from this command.

<objects> - (Required) design cell(s) or pin(s) object list to report


Gets constant paths of the specified pin.

get_constant_paths [get_pins cpuEngine/or1200_cpu/or1200_sprs/esr/D]

Gets constant paths of the specified cell.

report_constant_paths [get_cells cpuEngine/or1200_cpu/or1200_sprs/esr]