|
发表于 2023-4-21 14:52:50
|
显示全部楼层
如果是检查顶层版图,调用的子模块或者cells版图是否存在,可以在CIW试试这个脚本
procedure(CCSfindUnboundInstEdited(myLib myCell myview @optional (mylist list()))
let(( cv insts myMaster skipLibList)
skipLibList=list("basic" "analogLib" "gpdk")
cv=dbOpenCellViewByType(myLib myCell myview "" "r")
insts = cv~>instHeaders
foreach( header insts
myMaster= header~>master
getWarn()
if( myMaster
then
if( !member(myMaster mylist) && !member(header~>libName skipLibList)
then
mylist = cons( myMaster mylist)
mylist=CCSfindUnboundInstEdited(header~>libName header~>cellName if(cv~>cellViewType=="schematic" then myview else header~>viewName) mylist)
)
else
printf("Unbound Master: Library:%s, Cell:%s, View:%s, Missing From: Lib:%s, Cell:%s, View:%s\n"
header~>libName header~>cellName header~>viewName cv~>libName cv~>cellName cv~>viewName)
)
)
dbClose(cv)
mylist
) ; end let
) ; end procedure |
|