對spyglass不太熟悉。正在學習design compiler,可能他們都用tcl/tk,或許有類似之處。
dc 中的get_pins 用法是:
get_pins <cell/pin>
input/output pin of cells (instances) at the current design level, and subblock level with -hier ; pins are always associated with a cell.
for example:
How do you determine all the Q* pins at the TOP level? what is returned?
ans:
get_pins */Q*
returns {I_ENC/Q0 I_ENC/Q1 I_REG/Q[0] I_REG/Q[1]}