• 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. Calculate local density of specified layers

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 14076
  • 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

Calculate local density of specified layers

Yaosan Yeo
Yaosan Yeo over 12 years ago

I'm interested in writing a SKILL code that calculates local density of any layers specified based on bbox given. I'm wondering what is the best way to achieve this. The function will be given a cellview, bbox, and layers to be processed. For example, getLocalDensity(d_cellview, l_bBox, l_layers)"

Based on the bbox, the code needs to identify all the objects such as instances, pcells, shapes, vias etc. within the bbox and calculate the total areas of the layers given in argument.

Since we have to do this hierarchically, I need some advice on which API functions will give me the best performance and allows me to get all the objects within that bbox through the hierarchy.

Thanks for sharing any insights into this kind of operation!

  • Cancel
Parents
  • Quek
    Quek over 12 years ago

    Hi Yaosan

    Actually density calculation can be quite complex so I think it might not be so easy to implement it using SKILL. If it is possible, you might want to just consider using the density functions in verification tools such as Assura or PVS.

    I think an easy approach would be to make a copy of the instances in the layout and flatten the copied instances in memory. You can then easily get the shape bBox info from the flattened layouts. This method would of course not work too well on larget layouts.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 12 years ago

    Hi Yaosan

    Actually density calculation can be quite complex so I think it might not be so easy to implement it using SKILL. If it is possible, you might want to just consider using the density functions in verification tools such as Assura or PVS.

    I think an easy approach would be to make a copy of the instances in the layout and flatten the copied instances in memory. You can then easily get the shape bBox info from the flattened layouts. This method would of course not work too well on larget layouts.

    Best regards
    Quek

    • 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