• 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. Diff between "fig" and "figs"

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 2200
  • 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

Diff between "fig" and "figs"

SrBraj
SrBraj over 5 years ago

Hi

I have placed a device in a layout view "try1" 

cv = dbOpenCellViewByType("testAqua" "try1" "layout")

I want to get the device pins layer name, I am using the following skill keywords.
#1 cv~>instances~>master~>terminals~>pins~>fig~>layerName
output: ((("DIFF") ("DIFF") (nil) )
)
I also noticed that there is an extra keyword "figs" which can give all the shapes associated with the corresponding pin.
#2 cv~>instances~>master~>terminals~>pins~>figs~>layerName
output: (((("DIFF" "MET1")) (("DIFF" "MET1")) (nil) )
)
I want to know that how the #1 get the value? What are the changes required to get the output value as
((("MET1") ("MET1") (nil) )

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    The reason for both fig and figs existing is for legacy support (fig is the one there for legacy). In CDB (the database used up to and including IC5141), pins could only have a single figure. In OpenAccess (used in all IC6.1.X/ICADV/ICADVM releases), the pin connectivity model is such that pins can have multiple figures; all figures on a pin are deemed to be "strongly connected" - so connecting to any one of the pin figures is sufficient.

    The ~>fig is maintained for compatibility with older code, but of course it means that any such code would only be seeing one of the strongly connected pin figures. Much of the time there is only a single pin figure, so this is not too problematic (Virtuoso schematics never use strongly connected pins, so it's never an issue there - it's only going to be in layout that you might have an issue, and even then it might be OK depending on what the tool is doing). The fig attribute is picking one of the figures - arbitrarily (it's probably the first, but given that they're not ordered, you should not read anything into any empirically observed behaviour you might see as to which one it is).

    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