change library name of vias in layout

Discussion in 'Cadence' started by stuart.duncan, Mar 19, 2009.

  1. Hi there,

    i've taken a layout from one process to another almost identical one.
    They are so similar i can take the layout and search and replace the
    library of the pCells and its almost DRC clean. Is there an easy way
    to re-reference the library name of the symbolic contacts/vias?

    I have almost zero skill knowledge but i did crudely try:

    w = hiGetCurrentWindow()
    cv = geGetWindowCellView(w)
    cv~>instances~>libName="stu_new_process"

    but this returned:

    *Error* setSGq: dbSetq: Can not set attribute - libName

    I think that libName is the correct attribute as when i do:

    cv~>instances~>libName

    it returns:
    ("stu_old_process")

    Thanks

    Stu
     
    stuart.duncan, Mar 19, 2009
    #1
  2. stuart.duncan

    S. Badel Guest

    Stuart,
    Go to CIW->Tools->Technology File Manager, click on "Attach" and select the new tech library.
    This automatically replaces the vias (if I remember correctly, at least).
    This attribute is read-only. The thing is, instances do not reference their master directly, but
    through an "instance Header". I guess the libName/cellName/viewName properties on the instance are
    provided as a convenience.

    The bottom line is that to change the master, you have to change the instHeader.

    For this, you can use the commodity function leReplaceAnyInstMaster()

    Of course, this change applies to all instances referencing the same master (which is the goal in
    your case..)

    Cheers,
    Stéphane
     
    S. Badel, Mar 19, 2009
    #2
  3. stuart.duncan

    S. Badel Guest

    I forgot to mention :

    Library Manager -> Edit -> Rename Reference Library

    Pardon me, I have to rephrase this : the change applies to all instances, if you change the inst header.

    Using leReplaceAnyInstMaster() allows to change the reference of a single instance only, which is
    difficult to do "by hand".


    Stéphane
     
    S. Badel, Mar 19, 2009
    #3
  4. S. Badel wrote, on 03/19/09 10:27:
    Also, I'm not sure whether you're (Stuart) using IC61 or IC5141. Vias are not
    instances in IC61, so things are probably different.

    Probably best to log a service request with us here in the UK ;-)

    Regards,

    Andrew.
     
    Andrew Beckett, Mar 20, 2009
    #4
  5. Hi Guys, thanks for the replies. I should have stated i was referring
    to 5141.

    Stephane, this did the trick for me:

    "Library Manager -> Edit -> Rename Reference Library "

    I'll take note of you skill suggestion as this will be useful for me
    in future.

    Thanks

    Stu
     
    stuart.duncan, Mar 23, 2009
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.