在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 13931|回复: 32

[求助] 在virtuoso中生成器件的时候如何自动生成text在器件上?

[复制链接]
发表于 2017-1-17 09:25:51 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
就是从电路图上把器件都生成到版图上,怎么自动生成器件名的text的器件上,这样好辨识。。。。
发表于 2017-1-25 15:12:21 | 显示全部楼层
你在版图上选中text层,安L将所需要的器件名打上,然后放到你画的版图上就行了
发表于 2017-2-4 13:03:35 | 显示全部楼层
用XL,然后写个脚本把text层attach到器件上就OK了!
发表于 2017-2-13 14:13:51 | 显示全部楼层
add instance name :

;;Function: Annotate Layout Device Name for Layout View
;;          Set bindkey b

procedure(addName()
          let((cvId txlayer txjust txorient txfont txheight
               inst_coord inst_name inst_W inst_H instCenX
               instCenY txorigin objName
               )
              cvId = deGetCellView()
              txlayer = "IFTXT"
              txjust = "centerCenter"
              txorient = "R0"
              txfont  = "roman"
              txheight = 1
              foreach(objName geGetSelSet()
                      when(objName~>objType != "inst" && objName~>objType != "mosaic"
                           geDeselectFig(objName)
                          )
                     )
              inst_coord = listToVector(geGetSelSet()~>bBox)
              ;inst_name = listToVector(geGetSelSet()~>name)
              i = 0
              foreach( inst_name (geGetSelSet()~>name)
                       inst_W = xCoord(car(cdr(inst_coord[i]))) - xCoord(car(inst_coord[i]))
                       inst_H = yCoord(car(cdr(inst_coord[i]))) - yCoord(car(inst_coord[i]))
                       instCenX = xCoord(car(inst_coord[i])) + (xCoord(car(cdr(inst_coord[i]))) - xCoord(car(inst_coord[i]))) / 2
                       instCenY = yCoord(car(inst_coord[i])) + (yCoord(car(cdr(inst_coord[i]))) - yCoord(car(inst_coord[i]))) / 2
                       txorigin = instCenX:instCenY
                       if( inst_W >= inst_H then
                           txorient = "R0"
                           txheight = fix(inst_W * 10%)
                           when(txheight >= inst_H
                                txheight = fix(inst_W * 5%)
                               )
                       else
                           txorient = "R90"
                           txheight = fix(inst_H * 10%)
                           when(txheight >= inst_W
                                txheight = fix(inst_H * 5%)
                               )
                          ) ;if
                       if(txheight == 0 then
                          txheight = 0.5
                         )
                       dbCreateLabel(cvId
                                     txlayer
                                     txorigin
                                     inst_name
                                     txjust
                                     txorient
                                     txfont
                                     txheight
                                     )
                       i++
                      )

              ) ;let
         ) ;procedure

点评

你好,根据你分享的脚本文件生成的label如何attach到器件上,跟随器件移动,希望指点一下,感谢  发表于 2023-10-11 10:21
发表于 2017-2-13 15:22:24 | 显示全部楼层
这个还真不知道怎么自动打lable,我都是手动打,必要的时候attach一下,移动管子,label就跟着了,XL的时候会有很小的label的,不太习惯用XL
发表于 2017-2-13 17:25:55 | 显示全部楼层
使用打text的auto模式:
调出所有的device之后,不要选中任何东西,按“t”--“F3”,弹出“Create Label”对话框,Mode勾选Auto,设置对应的选项,注意“Show Name of”的“instance”和“master”的区别。设置完成后,用鼠标框选所有的device,每颗device上面就会打上与电路中名字一样的text(M不等于1的时候会增加流水号)。
发表于 2017-2-13 17:47:38 | 显示全部楼层
回复 6# Snowy2016

6.1.0版本目前还是无法设置,6.1.5就可以的
发表于 2017-2-13 17:58:13 | 显示全部楼层
回复 7# 梅周峰008

哦哦!我们目前是用的6.1.6,所以不了解!
发表于 2017-2-14 13:51:05 | 显示全部楼层
回复 6# Snowy2016


    谢谢
发表于 2017-2-28 11:37:06 | 显示全部楼层
回复 6# Snowy2016


   是的1啊11
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-4-25 07:23 , Processed in 0.028133 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表