get_property

get_property

使用方法: get_property var_name property [-clock clock_name ] [-view view_name ] [-quiet] 这是一个很有用,很强大的命令。有必要详细介绍下。前面讲得那些get_*的timing tcl命令需要配合get_property 才能实现他们的用途 它可以得到指定object的属性,支持cell, clock, timing, library等属性,非常多,如下所示。可以说是timing中的dbGet,后面我会分好几篇文章来介绍下这些属性 Cell Properties Clock Properties Design Properties Library Properties Library Cell Properties Library Pin Properties Library Timing Arc Properties Net Properties Path Group Properties Pin Properties Port Properties Timing Arc Properties Timing Path Properties Timing Point Properties User-Defined Properties var_name:指定object的collection property:指定想要得到的property -clock: 指定需要查询哪个clock下面的property -view: 指定需要查询哪个analysis view下面的property -quiet: 忽略匹配时的ERROR,warning message 例子: 该命令用法必须遵循以下的语法规则 get_property collection property 当然,我们可以用很多种取得collection的方法,但是所写的collection必须要有支持所写的property [DEV]innovus 1> get_property [get_pins f1/CK] clocks stepclk2x [DEV]innovus2> get_property [get_lib_pins HOLDX1/* -filter "is_tristate==false&& direction==bidirectional"] hierarchical_name  -view view1 slow/HOLDX1/Yslow/HOLDX1/Y slow/HOLDX1/Y [DEV]innovus 3>get_property [report_timing -fall_from TEST_H -clock_to CK135M -edge_to trail -collection] capturing_clock_open_edge_type fall原文链接:https://blog.csdn.net/Tao_ZT/article/details/104958329