TCKG的个人空间 https://blog.eetop.cn/?1772499 [收藏] [复制] [分享] [RSS]

日志

gring

已有 108 次阅读| 2025-8-7 14:37 |个人分类:常用脚本汇总|系统分类:芯片设计

procedure(gring()

let( (cv objs objs1 objs2 objs3)


    cv = geGetEditCellView()

;    objs = geGetSelSet()

;    objs1 = cdfGetInstCDF(car(objs)) 




;    objs2 = setof(x objs1~>parameters ((x~>name == "hvbnGuardRing") || (x~>name == "pwGuardRing")))

;    

;

;    when(objs2

;    objs2~>value = nil   

;    )    

;     objs = cv~>instances


    foreach(objs cv~>instances 

    objs1 = cdfGetInstCDF(objs)

    objs2 = setof(x objs1~>parameters ((x~>name == "hvbnGuardRing") ||

                                       (x~>name == "pwGuardRing")   || 

                                       (x~>name == "tap")))

;    when(objs2

;    objs2~>value = nil

;    )

;    );foreach


    when(objs2

    foreach(objs3 objs2

    cond(

        ((objs3~>name == "hvbnGuardRing") ||

         (objs3~>name == "pwGuardRing")

          objs3~>value = nil

          

         ;println("sucess to tri con1")

          )

         (objs3~>name == "tap"

          objs3~>value = "None"

          

         ;println("sucess to tri con2")

          )            

    );cond    

    );foreach

    );when

    );foreach

   

;     printf("obj_inst :\n %L\n"  objs~>name)

      printf("obj_info1 :\n %L\n"  objs2~>?)

      printf("obj_info2 :\n %L\n"  objs3~>?)

;    printf("obj_cdf : \n %L \n" objs1~>parameters~>??)

;    printf("obj_parameters :\n %L\n" objs2~>?? )


   );let

);proc


hiSetBindKey("layout" "<Key>KP_1" "gring()")



点赞

全部作者的其他最新日志

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 9

    关注
  • 0

    粉丝
  • 3

    好友
  • 0

    获赞
  • 0

    评论
  • 65

    访问数
关闭

站长推荐 上一条 /1 下一条


手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-8-9 19:09 , Processed in 0.009809 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部