Hi,Hope this is not silly.I want to grep the list of devices from two libraries of two different technologies. Do we have any inbuilt commands for this.For example after invoking icfb for tsmc13 I will execute ddGetObjChildren(ddGetObj("tsmc13_pcells"))~>nameNow if I want device list of tsmc09 then what is the command that should be executed now.ddGetObjChildren(ddGetObj("/user/tsmc09/tsmc09_pcells"))~>name!! does not work. Is it must that the library should be present in the current directory.Thanks,
The library doesn't have to be in the current directory but the library name must be referenced in the cds.lib file (or lib.defs under OpenAccess).You can always add it by doing:ddCreateLib("tsmc09_pcells" "/user/tsmc09/tsmc09_pcells")Note you can find the cell names by doingddGetObj("libName")~>cells~>nameRegards,Andrew.
Two different pcell libraries(two different techlibs) in same cds.lib?!! does it pose any problem??How to delete this library that I have added. ddDeleteObj is giving "Read only file system". I manually removed the DEFINE statement from cds.lib and "close Data", it dumped core and exited.
It doesn't necessarily cause problems - although if both have custom SKILL functions or variables which use the same names, you might end up with a clash.I don't think there's a built-in function to remove an entry from the cds.lib. ddDeleteObj will do it, but that will try to delete the contents as well as the entry in cds.lib. Note that you should really close the data and then remove the entry - but it shouldn't really crash. You should report this to customer support (provided you're using a reasonably recent subversion of the tools - if you're using something old, it may well have been fixed)Regards,Andrew.
Ok its exiting. Is there any other way for this. If not I will just write a routine skill code of grepping devices from the library path by identifying any key files etc..,Thanks ,
What subversion are you using? (what does Help->About say as the subversion, or the SKILL function getVersion(t) ).Another way to delete it would be:cdslib=outfile("cds.lib" "a")fprintf(cdslib "UNDEFINE yourLibName\n")close(cdslib)ddUpdateLibList()Regards,Andrew.