• 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. SKILL code to generate lower routes with same path properties...

Stats

  • Locked Locked
  • Replies 24
  • Subscribers 143
  • Views 22196
  • 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

SKILL code to generate lower routes with same path properties of the selected path

Neeraj Vardhan
Neeraj Vardhan over 13 years ago

Hi,

I am trying to generate lower routes with same path properties as of the selected path. Can any one assist me how can i do it using SKILL.

Thanks  

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    What do you mean by "lower routes"? Your requirement is rather vague...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 13 years ago

    Hi let me give an example..... i have a metal route in M7 layer , i want to generate M6-M1 path with same properties of M9...i mean a metal stack...

    Thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    foreach(newLayer'("M6" "M5" "M4" "M3" "M2" "M1")
      newPath=dbCopyFig(origPath origPath~>cellView list(0:0 "R0"))
      newPath~>layerName=newLayer
    )

    Something like that. This is assuming that the original path is in the variable origPath. The third arg to dbCopyFig is the transformation - and it leaves it in the same location.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 13 years ago
    Ya the original path is in the variable origPath. Thanks a lot Adrew...
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 13 years ago

    Hi, can you let me know how can i copy a path then edit the layer and then place it at the same coordinates

    Thanks & Regards 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    I'm confused. Didn't I explain how to do precisely that in my append on Monday?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shashikumar22
    shashikumar22 over 13 years ago

    Hi Neeraj,

    I have used the script mention by Andrew and modified it little bit. Just load the script in CIW and select the Metal layer you want to copy and hit Ctrl+t. I have used only 3 metal ie M0, M1 and M2.

    procedure(metalStackUP()
    let((newPath MBL)
    x=css()
    MBL=x~>layerName
    if( MBL == "M0" then y="M1"
        else           
    y="M2"))
           
    newPath=dbCopyFig(x nil list(0:0 "R0"))
    newPath~>layerName=y
    )

    hiSetBindKey("Layout" "Ctrl<key>T" "metalStackUP()")

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    You shouldn't really use css() in your code; this is a private SKILL function which was added as an internal debugging aid by one R&D group; there's always the chance it may get removed at some point.

    I tend to use it only when quickly typing stuff in the CIW - for code use car(geGetSelSet()) instead to ensure that your code is future proof.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shashikumar22
    shashikumar22 over 13 years ago

    Thanks Andrew,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 13 years ago
    Hey thanks ShashiKumar...:-)
    • 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