how can I get the pin location in top cell?

Discussion in 'Cadence' started by zhongshq, Jun 20, 2008.

  1. zhongshq

    zhongshq Guest

    Hi, Dear all,

    I have some instance in my design, and I want to get the location of
    each instance's pin. Is there any function can do such thing or I need
    to transform the pin's bBox? Thanks in advance.
     
    zhongshq, Jun 20, 2008
    #1
  2. zhongshq wrote, on 06/20/08 11:07:
    You would need to use dbTransformBBox() to transform the coordinates. You might
    also need dbConcatTransform() to transform throughout the hierarchy.

    You can find some examples of these functions by doing a google search on
    the comp.cad.cadence group.

    Regards,

    Andrew.
     
    Andrew Beckett, Jun 20, 2008
    #2
  3. zhongshq

    zhongshq Guest

    Thank you very much
     
    zhongshq, Jun 20, 2008
    #3
  4. zhongshq

    manell15 Guest

    Hi,
    you can get the location of an instance's pin by using this code:

    IO= dbOpenCellViewByType(bib cel view "maskLayout" "r")
    Inst=dbCreateInst(testchip IO "" '(0 0) "0" 1)
    pin_list=Inst~>pins~>fig~>bBox
     
    manell15, Jun 20, 2008
    #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.