怎么flatten一个GDS所有层次[更正】

# Before:
# topcell -> a -> b -> c -> d
# topcell -> b -> c -> d
# topcell -> c -> d # After:
# topcell

下面的code保存为flatten.txt. 执行calibredrv flatten.txt

set lay [layout create "abcd.gds" -dt_expand \
-preservePaths -preserveTextAttributes]
set topcell [$lay topcell]
$lay flatten cell $topcell
$lay gdsout out.gds

最近用到发现上面的不能flatten reference, 更新如下

 # Before:
# topcell -> a -> b -> c -> d
# topcell -> b -> c -> d
# topcell -> c -> d
set L [layout create "abcd.gds" -dt_expand \
-preservePaths -preserveTextAttributes]
layout copy $L newL
newL gdsout abcd_flatten.gds
# After:
# topcell 
转载自网络的内容未用作任何商业用途,如有侵权请告知删除!
本站的原创文章请在转载时注明来源<《芯片版图》

《怎么flatten一个GDS所有层次[更正】》有4条评论

  1. 将下面的文本保存为flatten.txt

    set lay [layout create "abcd.gds" -dt_expand \
    -preservePaths -preserveTextAttributes]
    $lay flatten cell topcell
    $lay gdsout out.gds

    运行calibredrv flatten.txt

    回复
  2. 将下面的文本保存为flatten.txt

    set lay [layout create "abcd.gds" -dt_expand \
    -preservePaths -preserveTextAttributes]
    $lay flatten cell topcell
    $lay gdsout out.gds

    运行calibredrv flatten.txt

    回复

发表评论