• 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. Assign connectivity to metals using SKILL

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15938
  • 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

Assign connectivity to metals using SKILL

Uday Shankar
Uday Shankar over 6 years ago

Hi,

I am creating a pathSeg(in Layout_XL) using dbCreatePathSeg in SKILL and looking for a SKILL command to assign a "Connectivity" for the created pathSeg shape.

I tried the below option and is not working.

cvid = geGetEditCellView()

path_db = dbCreatePathSeg(cvid "M1" 0:0 1:0 0.1 "truncate" "truncate")

net_db=dbMakeNet(cvid "vdd")

path_db~>net = net_db

Thanks,

Uday

  • Cancel
  • mbracht
    mbracht over 6 years ago

    Hi Uday,

    I think in order to get this running in VXL you need to set the SKILL environment variable extractKeepShapeAssignment to true - just put this line in your .cdsenv

    layout extractKeepShapeAssignment boolean t

    and then:

    cvid = geGetEditCellView()
    path_db = dbCreatePathSeg(cvid "M1" 0:0 1:0 0.1 "truncate" "truncate")
    net_db=dbMakeNet(cvid "vdd")
    dbAddFigToNet(path_db net_db)

    By the way - you may as well set this flag/variable in the Layout XL options under the Connectivity tab.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Uday Shankar
    Uday Shankar over 6 years ago in reply to mbracht

    Hi Max,

    Setting the environment variable made no difference to output.

    Below code worked fine:

    cvid = geGetEditCellView()

    selNets= geGetSelSet()

    parentNet = dbMakeNet(cvid "net1")

    parentNet1 = dbMakeNet(cvid "net1" parentNet)

    if(selNets == nil then

                    println("Phase1")

                    abc=dbCreatePath(cvID list("M3" "drawing") '((2 2) (2 4) (2 6)) 2)

                    abc~>lxStickyNet=t

                    dbSetq(abc parentNet1 net)

    else

                    println("Phase2")            

                    foreach(selNet selNets

                                    selNet~>lxStickyNet=t                    

                                    dbSetq(selNet parentNet1 net)

                    );foreach

    );if

    Thanks,

    Uday

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Uday Shankar

    Uday,

    You can't assign a net using:

      path_db~>net = net_db

    or

      dbSetq(selNet parentNet1 net)

    You need to use dbAddFigToNet(selNet parentNet1)

    (your variable names are a bit confusing, since selNet is a figure, not a net).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 6 years ago in reply to mbracht

    Hmmh...it did work for me. Open an empty cell view in VXL and then copy and paste the above code. A path segment labeled "vdd" appears and the net is also visible in the connectivity tab of the "Edit Properties" form.

    Max

    • 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