Home > Community > Forums > Custom IC SKILL > Grepping Device List.

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Grepping Device List. 

Last post Tue, Apr 8 2008 3:48 AM by archive. 5 replies.
Started by archive 08 Apr 2008 03:48 AM. Topic has 5 replies and 3751 views
Page 1 of 1 (6 items)
Sort Posts:
  • Tue, Apr 8 2008 3:48 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    Grepping Device List. Reply

    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"))~>name
    Now 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,


    Originally posted in cdnusers.org by prahladh
    • Post Points: 0
  • Tue, Apr 8 2008 3:52 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Grepping Device List. Reply

    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 doing

    ddGetObj("libName")~>cells~>name

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Post Points: 0
  • Tue, Apr 8 2008 4:34 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Grepping Device List. Reply

    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.


    Originally posted in cdnusers.org by prahladh
    • Post Points: 0
  • Tue, Apr 8 2008 4:43 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Grepping Device List. Reply

    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.


    Originally posted in cdnusers.org by adbeckett
    • Post Points: 0
  • Tue, Apr 8 2008 8:41 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Grepping Device List. Reply

    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 ,


    Originally posted in cdnusers.org by prahladh
    • Post Points: 0
  • Tue, Apr 8 2008 9:08 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Grepping Device List. Reply

    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.


    Originally posted in cdnusers.org by adbeckett
    • Post Points: 0
Page 1 of 1 (6 items)
Sort Posts:
Started by archive at 08 Apr 2008 03:48 AM. Topic has 5 replies.