• 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. generating via at given point

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13877
  • 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

generating via at given point

RAGHU2634
RAGHU2634 over 7 years ago

Hi,

1.I am trying to geerate via's using viaGenerateViasAtPoint  & i am  following below mentioned

viaGenerateViasAtPoint(cv list(0 0) t_viaOptionsObject[?topAndBottomLayers list("M1"&"M3")]) . This is giving syntax error

2.Is there any way to generate vias of specified cut class("bar")  using dbcreatevia() ?

Thanks,

Raghu

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Raghu,

    The first one clearly is a syntax error. I'm not sure why you think that should be OK - you're both passing "t_viaOptionsObject" (is that a variable?) plus no space for the next argument, square brackets around the next argument (which is used in the documentation to indicate that it's optional, not that it should be typed) and an ampersand for some reason in the list. You need something like this:

    cv=geGetEditCellView()
    tf=techGetTechFile()
    constraintGroupId=cstFindConstraintGroupIn(tf "virtuosoDefaultSetup")
    viaOpts=viaGetViaOptions(constraintGroupId)

    You can then see the cutClass used using viaOpts->automatic->cutClass - you can then set that to say viaOpts->automatic->cutClass="bar"

    Then  you'd just do:

    viaGenerateViasAtPoint(cv 0.9:0.1 viaOpts)

    or if you really need to override the layers used (it uses the layers present in the layout at that point to determine the size and layers for the vias otherwise):

    viaGenerateViasAtPoint(cv 0.9:0.1 viaOpts ?topAndBottomLayers list("M1" "M3"))

    For your second question about dbCreateVia, you don't directly specify the cutClass - instead the cutClass is just a way in the tech file of defining the set of parameters (particularly for the cutWidth and cutHeight, but also some of the enclosures too). So you'd need to find out the suitable rules for that cutClass and then create the via that way.

    Regards,

    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