• 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. Is there any way to get only metals exempting the base ...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 10287
  • 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

Is there any way to get only metals exempting the base layers

LakshmanQual
LakshmanQual over 3 years ago

Hi All,

I am working with some metal shapes in the layout. When i try to get the details to the list, I am getting all layers including base layers.

Is there anyway to get only the metal shapes irrespective of path, rect or polygon. Even if they are in group, I need those metal details.

Thanks for the help. 

  • Cancel
Parents
  • Kevin Buck
    Kevin Buck over 3 years ago

    It's very unclear what you're asking. You can always iterate over the shapes and then use an if or case statement to execute based on the lpp property. For example:

    layView = dbOpenCellViewByType(libName cellName "layout" "" "r")

    foreach(shape layView~>shapes
        if(shape~>lpp == list("MET1" "drawing") then
            ;do something here
        )
    )
    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to Kevin Buck

    Hi Kevin, Thanks for answering.

    I got list of shapes with cvid~>shapes earlier.

    But with this i am getting all the shapes of that layout. I want to segregate only metals from that. As different process or tech nodes will have different naming conventions, I cant use "MET1" or "MET2" directly. Is there any unique property i can separate only metals out of all those shapes?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to Kevin Buck

    Hi Kevin, Thanks for answering.

    I got list of shapes with cvid~>shapes earlier.

    But with this i am getting all the shapes of that layout. I want to segregate only metals from that. As different process or tech nodes will have different naming conventions, I cant use "MET1" or "MET2" directly. Is there any unique property i can separate only metals out of all those shapes?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Kevin Buck
    Kevin Buck over 3 years ago in reply to LakshmanQual

    Not that I'm aware of but you can probably create a lookup file that sources your technology file to find them. I've worked with several PDKs and there are usually not too many variations on the layer names.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Kevin Buck

    tf=techGetTechFile(cv)
    metalLayerNames=mapcar('car setof(function techGetLayerFunctions(tf) cadr(function)=="metal"))

    will do it.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LakshmanQual
    LakshmanQual over 3 years ago in reply to Andrew Beckett

    Thanks Andrew, Its working. It was a great help!!

    • 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