ピンの検索 - 2023.2 日本語

Vivado Design Suite ユーザー ガイド: Tcl スクリプト機能の使用 (UG894)

Document ID
UG894
Release Date
2023-11-17
Version
2023.2 日本語
図 1. ピン名の検索

ピンの名前は、そのピンが属するインスタンスに基づいています。ピンを検索する場合、階層区切り文字を使用し、インスタンス名とピン名を区切る必要があります。次の例は、ピンの検索 に示されています。

# Current instance is set to design top-level
get_pins B/* ; # Returns B/clk B/din0 B/din1 B/dout0 B/dout1
get_pins B/b2/*/O ; # Returns B/b2/data_reg_i_1/O
current_instance B/b2 ; # Change scope to B/b2
get_pins *_reg/D ; # Returns B/b2/data_reg/D

ピンを検索する際、-hierarchical も使用できます。

current_instance ; # Reset to the top-level of the hierarchy
get_pins -hier */D # Returns pin objects for all D pins in the design
注記: -hierarchical および -hier は同じです。オプションを識別するのに十分な文字数が記述されていれば、Vivado Design Suite Tcl シェルで自動的にオプション名が特定されます。このため、-of_object-of も同じです。