innovus 命令 get_arcs
创建一个 timing arcs 的集合。将这些 timing arcs 赋值给一个变量,或者将其传递给另一个命令使用。如果找不到匹配条件的对象,则返回一个空集合。
Note:在使用此命令之前,必须先建立 timing graph 。如果未生成 timing graph 的话会报出warning 信息。
命令的选项有:
-filter <expr> 根据指定的表达式筛选集合。对于与匹配的任何 arc,软件将根据 arc 的属性计算表达式;
-from <from_list> 可以指定 pins 列表或 ports 列表,但不能指定同时包含 pins 和 ports 的列表;可以为 pin 或 port 名称指定pattern、集合,或者一个 pattern 和 一个集合;
Note:不能和 -of_objects 一起指定;
-of_objects <object_list> 将与指定 cells 或 nets 关联的所有 timing arcs 添加到集合中;可以指定 cells 列表或 nets 列表,但不能指定同时包含 cells 和 nets 的列表;可以指定 cell 或 net 名称的 pattern 、cell或 net 的 collection,或者一个 pattern 和一个 collection;
Note:不可以和 -to 或 -from 一起使用;
-quiet 禁止显示运行 get_arcs 命令时生成的所有 error and warning;
-to <to_list> 可以指定 pins 列表或 ports 列表,但不能指定同时包含 pins 和 ports 的列表;
Note:不能和 -of_objects 一起指定;
举例:
抓 from pin 的 delay_max :
get_property [get_arcs -from u_module0/ADDINST_placeFE_RC_5738_0/A] delay_max
抓 to pin 的 delay_max :
get_property [get_arcs -to u_module0/ADDINST_placeFE_RC_5738_0/Y] delay_max
抓 arc_type:
get_property [get_arcs -from u_module0/ADDINST_placeFE_RC_5738_0/A] arc_type
抓 cell 和 net 的 delay_max:
get_property [get_arcs -of_objects [get_cell u_module0/ADDINST_placeFE_RC_5738_0]] delay_max
get_db [get_arcs -of_objects [get_net u_module0/ADDNET_placeFE_OFN14825_SCAN_OUT_407_N_DataPORT]] .delay_max_fall
同时多个:
get_property [get_arcs -from {u_module0/ADDINST_placeFE_RC_5738_0/A u_module0/ADDINST_placeFE_OFC79491_SCAN_OUT_407_N_DataPORT/A}] delay_max
支持匹配:
get_property [get_arcs -from u_module0/ADDINST_placeFE_RC_*_0/A] delay_max