command: get_cell与get_attribute

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这个单元的数量

  • 23
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值