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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 6464|回复: 5

[求助] 用GDSII檔在Astro作FRAM VIEW時遇到的port type table 問題 [已解決]

[复制链接]
发表于 2011-6-1 11:22:41 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 onlykals 于 2012-2-1 14:04 编辑

以下是我在網路上找到的方式

To transfer custom layout GDS to macros in Astro,you can run library data

preparation flow,it should include following major steps in my

experience:

1>cmCreateLib;Create astro library
2>auStreamin;stream in the macro GDS to astro library
3>cmMarkCellType;mark the cell type as macro
4>dbSetCellPortTypes;set the power/ground ports in GDS as P/G ports
5>cmSmash;smash the hierarchical layout cell into flatten format,and save

as smash view
6>auExtractBlockagePinVia;BPV,extract pins,blockage and vias
7>auSetPRBdry;set place and route boundary
8>gePrepLibs;create LM view from .lib
9>augLoadCLF;load some special information not inculding in the .lib such

as pad rotating information,antenna informations.

****************

其中第4步的更多相關,

dbSetCellPortTypes "self_marco" "ZCDD" '(("VDD" "Power") ("VSS" "Ground")) #f
↑改成這樣

self_marco是library name
ZCDD是cell name
VDD是text也可能是pin,需要與gds裡的name一致…

這個動作完成之後…會return 「#f」
如何知道這個動作成功與否??

很簡單…把它dump到一個檔案裡就知道了

                               
登录/注册后可看大图

指令:dbDumpGPortTable "library" "file"
dbDumpGPortTable "self_marco" "S1"
再去相對路徑之下,找S1這個檔案

另外這是User guide的相關敘述

Identify power and ground ports. Use dbSetCellPortTypes.
For example, create a text file named pg_only.porttypes with the
following:
dbSetCellPortTypes "cb_mini_a" "*" '(
("VDD" "Power" )
("VSS" "Ground" )
) #f
Then load the file into Astro. Enter,
load "pg_only.porttypes"

-- by user guide Ver Z-2007.03, Sep 2007.

****************

我的問題是第4步SetCellPortType無法成功,以至於在第六步BVP時,會出現以下錯誤
ERROR : port type table is not defined
Fail to execute command

如果我SetCellPortType採用commend方式,
會出現
Error: extra characters after close-quote
Use error_info for more info. (CMD-013)

採用另增一個pg_only file的話 (the way of user guide )
則是load commend無法使用
"load" is not supported
Please use scheme commend "loadModule" for dynamic linking

使用loadModule "pg_only" commend的話, 無反應,
但dbDumpGPortTable 還是dump不到pin
Global port table dump failed for library self_marco.

*********************

p.s.1 pg_only file全名是 pg_only.porttypes, (與user guide同,引入時亦用這個名字)

p.s.2 Astro版本為 2006.06
发表于 2011-6-1 15:27:03 | 显示全部楼层
dbSetCellPortTypes "self_marco" "ZCDD" '(("VDD" "Power") ("VSS" "Ground")) #f
改成这样
dbSetCellPortTypes "self_marco" "ZCDD" '(("VDD" "Inout"  "Power") ("VSS"  "Inout" "Ground")) #f
仅供参考
 楼主| 发表于 2011-6-1 16:36:19 | 显示全部楼层
感謝yu大的回應,

兩種寫法是一樣的,Astro會自動把power, gnd視作 inout.

update一下,後來發現的原因是這樣子的,
Astro有 Scheme 跟 tcl 兩種mode,
一般因為使用script 的關係, 我都會使用 Tcl mode,

但第4步這個這個指令非常特殊
"load" is not supported
Please use scheme commend "loadModule" for dynamic linking

這個error message就是要讓我們改用 Scheme mode,

改用Scheme mode後,
不論使用 load "filename" 或者 直接下commend
dbSetCellPortTypes "library" "cell" '( ("VDD" "Power" ) ("VSS" "Ground" )) #f
都是可行的,

成功後會return一個 #f

後續也作APR 成功使用preroute marco連接上PG,
感謝大家.
发表于 2011-6-1 17:55:44 | 显示全部楼层
原来是这个原因啊
发表于 2014-11-3 14:51:07 | 显示全部楼层
not easy job !!!
发表于 2019-10-29 14:18:00 | 显示全部楼层
受用了 thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-4-20 18:14 , Processed in 0.038988 second(s), 8 queries , Gzip On, Redis On.

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