• 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. How to know the cut class of via which is already creat...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 15205
  • 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

How to know the cut class of via which is already created

raosathish
raosathish over 7 years ago

HI , i am trying to access various parameters of via like via definition , rows, columns, cut class etc. through SKILL.

I found other parameters but din''t get how to get the cut class of via. can anyone help me on this.

Thanks

Sathish N

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Sathish,

    The cut class is not recorded in the viaHeader - the edit properties form tries to infer the cut class from whatever the cutWidth/cutHeight are (at least I think that's what it's doing from a few experiments; I even changed one of the cutWidth/cutHeight and it still matched it against the "best fit" for cut class it could find).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • psill000
    psill000 over 7 years ago

    I was kinda working on something similar to you.

    Its kinda a work in progress of how to get a via cutClass 

    You can read more about cutClass from the cdshelp search "accessing cutClass"

    If you need all the via names

    allViaNames = techGetTechFile(geGetEditCellView())~>viaDefs~>name

    viaDb = car(geGetSelSet())

    procedure(stdLib_getViaCutClass(viaDb)
    let( (lib techId foundaryCg cutLay cutClassCg name sz cutSzList)
    lib = viaDb~>viaHeader~>master~>libName
    techId = techGetTechFile(ddGetObj(lib))
    foundryCg = cstFindConstraintGroupIn(techId "foundry")
    cutLay = stdLib_getViaCutLpByViaDb(viaDb)
    cutClassCg = car(setof(cg foundryCg~>objects equal(cg~>defName "cutClass")))

    foreach(cut cutClassCg~>objects
          if(equal(car(cut~>layers) cutLay) then
                name = cadar(cut~>params)
                sz = cut~>value
                cutSzList = cons(list(name sz) cutSzList))
                )
    cutSzList
    ); end of let
    ); end of stdLib_getViaCutClass

    procedure(stdLib_getViaCutLpByViaDb(viaDb)
    let( (lib techId lp1 lp2 viaCut
    )
    lib = viaDb~>viaHeader~>master~>libName
    techId = techGetTechFile(ddGetObj(lib))

    case(viaDb~>objType
                 ("stdVia" lp1 = viaDb~>viaHeader~>viaDef~>layer1~>name
                      lp2 = viaDb~>viaHeader~>viaDef~>layer2~>name)
                ("stdViaDef" lp1 = viaDb~>layer1~>name
                      lp2 = viaDb~>layer2~>name)
                )
    foreach(vLp techGetViaLayers(techId)
          if(member(lp1 vLp) && member(lp2 vLp) viaCut = cadr(vLp))
          )
    viaCut
    ); end of let
    ); end of stdLib_getViaCutLp

    Paul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • raosathish
    raosathish over 7 years ago in reply to Andrew Beckett

    Thanks Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • raosathish
    raosathish over 7 years ago in reply to psill000

    thanks paul will check it once

    • 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