芯片设计交流论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 382|回复: 0

[转贴] use calibredrv Moving a Cell‘s Origin

[复制链接]

27

主题

1

回帖

91

积分

注册会员

积分
91
发表于 2024-5-9 17:18:46 | 显示全部楼层 |阅读模式
mydeltax和mydeltay为offset value
  1. set mylayout mylayout.gds
  2. set myoutfile myoutfile.gds
  3. set mydeltax 12.0
  4. set mydeltay 15.0
  5. set L [layout create $mylayout -dt_expand]
  6. set mytopcell [$L topcell]
  7. $L cellname $mytopcell myoldtopcell
  8. set mydbunits [$L units user]
  9. $L create cell $mytopcell
  10. $L create ref $mytopcell myoldtopcell \
  11. [expr $mydeltax / $mydbunits] \
  12. [expr $mydeltay / $mydbunits] 0 0 1
  13. $L expand cell myoldtopcell
  14. $L gdsout $myoutfile $mytopcell
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|芯片设计交流论坛

GMT+8, 2024-9-8 07:38 , Processed in 0.039267 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表