• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Finding Instance in Schematic with reference to cellNam...

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 19803
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Finding Instance in Schematic with reference to cellName

Neeraj Vardhan
Neeraj Vardhan over 12 years ago

Hi,

I want to find an instance in schematic with reference to cellName given and not the instance name. Is there any command which can fetch me the instance properties if the view and instance cellName are given.

Regards

Neeraj  

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Neeraj,

    What would than mean? What if there are multiple instances of the same cellName?

    You could of course do:

    instances=setof(inst cv~>instances inst~>cellName=desiredCellName)
    instances~>w ; show all the width properties
    propNameList=foreach(mapcar inst instances
      foreach(mapcar prop inst~>prop
        list(prop~>name prop~>value)
      )
    )

    But it's really not clear what you want.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 12 years ago
    Sorry i should have stated this in my before post. I am selecting an instance in top level of an layout and now i want to access the same instance properties in schematic. I got the instance~>name from the layout which is always the "cellName" and not the "inst~>instTerm~>name" of schematic. Because of which i am not able to select the instance in schematic regards Neeraj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     I'm sorry, but what you're saying makes absolutely no sense. If your variable instance is an instance ID, then the ~>name attribute would be the instance name not the cell name. And I don't see what inst~>instTerms~>name has to do with it - these are the names of the terminals on the instance.

    So nothing you've said makes any sense to me - it is really not clear what you're trying to do.

    Which version are you using? The binding in Virtuoso Layout Suite XL IC61X doesn't have to be by name, so the instance names may not match anyway. If you're trying to check the properties, why not use the Check against Source command?

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 12 years ago
    My mistake, sorry its not the terminal names. I got the instance name from the layout by selecting the instance. Now i am trying to find the instance in schematic. this is what i am trying to do. Regards Neeraj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     And the version you're using is...?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 12 years ago
    Virtuoso 6.1.5
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 12 years ago
    Hi Andrew,

    I have done some thing like this.

    First, I am selecting all the instances in the schematic. These are the instances in my schematic.                                                           

    ("cpumpunit_12" "s2dbuff_en_12" "s2dbuff_en_12" "SheetBorderANDFrame" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "ipin" "iopin")                                    

    Is there a way to only fetch the exact instances, in my case"("cpumpunit_12" "s2dbuff_en_12" "s2dbuff_en_12") " and not the rest of instances.

    Regards
    Neeraj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    There's no public API to find the corresponding instance between layout and schematic - if you want this, you should contact customer support. Most of the time the names will match - you could use nmpCDBAFlatToCDBA() to convert the "|" type name to a "/" hierarchical name. Whether that helps is another matter...

    To only find non-pin instances, you'd do:

    setof(inst cv~>instances !inst~>pin)

    To filter out sheets as well, you'd do:

    setof(inst cv~>instances !inst~>pin && inst~>master~>schType!="border")

    Regards,

    Andrew. p, li { white-space: pre-wrap; }

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 12 years ago

    HI Andrew, i have a question but its not with respect to this post.                                                                                                                                                                                                                                                                                                                    

    I have to copy pin names from one level below and paste it on to one level up. And i am using dbcopyfig(pinid cvid dbtransformInst()). But i have few pins which have different name on top. So is there any way, while coping the fig only i can transform its name and paste it at the transformed location.

     

    Regards,

    Neeraj 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    IF  IT IS NOT RELATED TO THIS POST, WHY ARE YOU POSTING IT IN THE SAME THREAD?

    As you can hopefuly tell, you're starting to annoy me. I already told you not to do this and to read the forum guidelines

    Oh, and by the way you should read the forum guidelines again because your question is poorly formed. dbCopyFig when copying a pin figure does not copy the pin information - just the figure - so your question makes no sense. See /forums/p/25763/1322133.aspx#1322133

    If you keep breaking the forum guidelines, people (including me) will focus on those who do follow the guidelines. Remember that we are all volunteers here, and so answering a question that is asked clearly, with sufficient information, is much more efficient use of the limited time of your community colleagues.

    I don't like being so blunt as this, but I only have finite time to spend on this forum, and I'd sooner spend it wisely.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information