• 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. Can't add pin db object to a figure group?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 2075
  • 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

Can't add pin db object to a figure group?

MatthewLove
MatthewLove over 8 years ago

I'm generating a PCell and when I create the pin objects with leCreatePin(), I can't add the db object to my figure group.

I get the following error: *Error* dbAddFigToFigGroup: Invalid figure - db:0x1442af9b

As you can see, the function does return a db object so it's quite odd.

Any ideas?

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

    Two problems here:

    1. leCreatePin is not a function that is safe to use in PCells - that's because it's an application specific function that is not in all executables. In the PCell documentation you'll find it tells you to only use core SKILL, db, dd, tech, cdf, rod and abe functions (I think that's all - there may be one or two others). You'll find that stream out (unless from virtual memory) will fail otherwise, as would other external interfaces that directly read the database
    2. leCreatePin returns a pin object, not a figure. You can only add figures to figGroups, and the pin object is an object that describes the pin - the link to the net, the terminal, the figures that make up the pin and so on. You'd need to add pin~>fig (or pin~>figs to be strictly correct) to the figGroup instead - although as I said, using leCreatePin is the wrong thing to do in a PCell.

    Regards,

    Andrew

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

    Two problems here:

    1. leCreatePin is not a function that is safe to use in PCells - that's because it's an application specific function that is not in all executables. In the PCell documentation you'll find it tells you to only use core SKILL, db, dd, tech, cdf, rod and abe functions (I think that's all - there may be one or two others). You'll find that stream out (unless from virtual memory) will fail otherwise, as would other external interfaces that directly read the database
    2. leCreatePin returns a pin object, not a figure. You can only add figures to figGroups, and the pin object is an object that describes the pin - the link to the net, the terminal, the figures that make up the pin and so on. You'd need to add pin~>fig (or pin~>figs to be strictly correct) to the figGroup instead - although as I said, using leCreatePin is the wrong thing to do in a PCell.

    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