Hi,
I've got the following SKILL code to print the unbound instances in layout and schematic. But it does print something like
(db:0x3f1e409a db:0x3f1e471a db:0x2047469a db:0x317c9e1a db:0x20471f1a
db:0x2047259a db:0x2047251a db:0x3f1e441a db:0x3f1e499a
)
as well along with the ptintf. How to avoid this?
Thanks
Ram
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
procedure(srFindUnboundInst()
myLib = geGetEditCellView()~>libName
myCell = geGetEditCellView()~>cellName
myview = geGetEditCellView()~>viewName
unboundInst(myLib myCell myview)
)
procedure(unboundInst(myLib myCell myview @optional (mylist list()))
let(( cv insts myMaster skipLibList)
skipLibList=list("basic" "analogLib" "US_8ths")
cv=dbOpenCellViewByType(myLib myCell myview "" "r")
insts = cv~>instHeaders
foreach( header insts
myMaster= header~>master
getWarn()
if( myMaster
then
if( member( myview myMaster~>cell~>views~>name) && !member(myMaster mylist) && !member(header~>libName skipLibList)
then
mylist = cons( myMaster mylist)
mylist=unboundInst(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)
);if
);foreach
dbClose(cv)
mylist
);let
);procedure
hiSetBindKey("Layout" "Super<Key>F1" "srFindUnboundInst()")