• 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. Regarding selection of metal layers

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 14629
  • 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

Regarding selection of metal layers

Ravi Shanker
Ravi Shanker over 14 years ago

 Hi All,

I am working on a code to generate vias automatically and am stuck at a point.

can somebody please help me with a command which will give me the coordinates of the overlapping corners of bothe the metal layers. a skill code will also help. the virtuoso version used is 6.1.4

I know that there is a option for the same in this version but still want to generate a code universally applicable to all versions of virtuoso.

  • Cancel
  • MANJ
    MANJ over 14 years ago
    hi ravi, With what i have understood from your post , I suppose the following part of the code should help your purpose, I think you can use dbLayerAnd function to find the overlap area by passing the list co-ordinates of the rectangles you have selected using the bind keys. My solution would be using a bind key to select a metal to get its coordinates .....and an another bind key to get the coordinates of the other metal and the same can be used to put the via.. procedure(layerfirst(VO) ------------> bindkey 1 list1=geGetSelSet() ;;list of metal1 enclosure metal1=car(geGetSelSet()~> layerName) ) procedure(layersec(VI) ------------------> bindkey 2 list2=geGetSelSet() ;;list of metal2 enclosure metal2=car(geGetSelSet()~>layerName) cvID=geGetWindowCellView() carea=dbLayerAnd(cvID "ref" list1 list2) hope this should help u in getting an idea and there are other functions like dbGetOverlaps and dbGetTrueOverlaps regards, MANJ
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Ravi Shanker
    Ravi Shanker over 14 years ago

    Hi,

    Thanks a lot for you help.Amazing with your help we could sizably reduce the code.

    • 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