• 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. getting the dbID for an instance in the layout

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 18661
  • 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

getting the dbID for an instance in the layout

Inas Mohammed
Inas Mohammed over 8 years ago

Hello,

I need to get the dbID for certain transistor in order to do some operations on it after that.

The idea is that i need to check for a transistor in a pattern, if this transistor is at lower left of upper right do some commands.

so i need to get value of x which then will be used as follows.

when(row=0 && col==0  lowerleft=x)

when(row=Rows-1 && col=Cols-1 upperright=x)

I thought about like trying to create instances again on the old one with the same names in these places using dbCreateInst just to have the ID, then use it.

But it doesn't work

So can you help me with this issue please.

thanks

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    This still makes absolutely no sense. If you've generated the pattern (presumably the instances), don't you have the instance IDs then? Or are you saying that you know the instance names - in which case you could use dbFindAnyInstByName(cv name) to find the instance id of the named instance? Calling dbCreateInst if you already have the instances in existence makes no sense - it would try to create a new instance in the layout, and if the instance name already exists, it will fail because you can't have two instances with the same name.

    I'm still no clearer as to what you're doing. Maybe you should just talk to customer support so that you can actually show them rather than not being able to describe your problem well enough here (given that I'm answering this in a few minutes during my working day, I really don't have the time to go back and forth to tell you how to describe your problem in clearer language, or to magically guess what you're trying to do; sorry if that sounds harsh).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    This still makes absolutely no sense. If you've generated the pattern (presumably the instances), don't you have the instance IDs then? Or are you saying that you know the instance names - in which case you could use dbFindAnyInstByName(cv name) to find the instance id of the named instance? Calling dbCreateInst if you already have the instances in existence makes no sense - it would try to create a new instance in the layout, and if the instance name already exists, it will fail because you can't have two instances with the same name.

    I'm still no clearer as to what you're doing. Maybe you should just talk to customer support so that you can actually show them rather than not being able to describe your problem well enough here (given that I'm answering this in a few minutes during my working day, I really don't have the time to go back and forth to tell you how to describe your problem in clearer language, or to magically guess what you're trying to do; sorry if that sounds harsh).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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