|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
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 |
|