Doubt in the code

Discussion in 'Cadence' started by lokeshraje, May 15, 2009.

  1. lokeshraje

    lokeshraje Guest

    Hi ,
    I'm getting error message in the following code.Could anyone help me..

    cvID=car(geGetSelectedSet())
    db:217838308
    tfID = techGetDeviceTechFile(cvID)
    *WARNING* icSetCurrentWindowTrig: argument must be dbCellViewId - db:
    217838308
    nil

    Regards,
    Lokesh rajendran..
     
    lokeshraje, May 15, 2009
    #1
  2. lokeshraje

    Rajesh Guest

    cvID=car(geGetSelectedSet())
    This will not give you the cellview Id which techGetTechFile()
    expects. This will give you instance Id.

    Better call:
    cv=geGetWindowCellView() or geGetEditCellView()
    This will give you cellview Id of the current design window.

    Rajesh
     
    Rajesh, May 15, 2009
    #2
  3. lokeshraje

    Riad KACED Guest

    Hi,

    Just bear in mind that geGetWindowCellView() and geGetEditCellView()
    will give different results when you are editing a cell in place.
    geGetEditCellView returns the ID for the cellview being edited.
    geGetWindowCellView returns the ID of the cellview displayed in a
    window.
    Look at the "Cadence Design Framework II SKILL Functions Reference"
    for more information.

    You can use dbOpenCellViewByType() otherwise.

    Cheers,
    Riad.
     
    Riad KACED, May 17, 2009
    #3
  4. Riad KACED wrote, on 05/17/09 18:16:
    In fact I find that nearly always geGetEditCellView() is the one you want - it's
    rare to need the window rather than edit cellView...

    Andrew
     
    Andrew Beckett, May 27, 2009
    #4
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.