1.get_cells(查找cells/instances)
-filter(筛选条件):ref_name,full_name,…
-hier/hierarchical,分层次查找instance
例1:get_cells -hier -filter”ref_name==AND2V1”
查找refence name为AND2V1的所有单元
例2:get_cells -hier -filter”full_name=~ *clk_gate*”
查找实例化之后的实际名称包含clk_gate的所有单元
例3:get_cells -hier -filter”ref_name==AND2V1 && full_name=~*and*”
查找同时满足ref_name和full_name条件的所有单元
例4:get_cells -hier -filter”is_memory_cell == true”
查找所有memory cell
*pt_shell 输入list_attributes -application -class cell,可以查找cell的所有属性list
list_attributes -application -class pin,可以查找pin的所有属性list
2.get_attribute (查找cells/instances属性)
例1:get_attribute [get_cells utop/cane/and] area
查询utop/cane/and这个单元的面积
例2:get_attribute [get_cells utop/cane/and] ref_name
查询utop/cane/and这个单元的ref_name
例3:get_attribute [get_pins utop/cane/clk_mux/CK] clocks
查询utop/cane/clk_mux/CK这个引脚的clock
3.sizeof_collection [get_cells utop/cane/and]
查询utop/cane/and这个单元的数量