• 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. Can we draw mutlipath different width and spacing at the...

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 144
  • Views 19618
  • 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

Can we draw mutlipath different width and spacing at the same time?

Manu81
Manu81 over 16 years ago
Can we draw mutlipath different width and spacing at the same time?
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    I'm not sure what you need to know about making it technology independent. It's just a matter of not hardcoding the layers and rules into the code, but either have them specified on the form or have them seeded from some external variables (or even maybe the technology file). The same is true to compute the layer above and layer below - you could either do this either by assuming that the metal layers are called xxxxxN with a number at the end, or looking at info in the technology file (using the tech.* functions) to look at the layers. For example:

    techGetLayerFunctions(techGetTechFile(cvId))
    (("Psub" "pwell" 1)
        ("Nburied" "nwell" 2)
        ("Nwell" "nwell" 3)
        ("Oxide" "ndiff" 4)
        ("Oxide_thk" "ndiff" 5)
        ("Poly" "poly" 6)
        ("Nhvt" "nplus" 7)
        ("Nimp" "nplus" 8)
        ("Phvt" "pplus" 9)
        ("Pimp" "pplus" 10)
        ("Nzvt" "nplus" 11)
        ("SiProt" "pplus" 12)
        ("Cont" "cut" 13)
        ("Metal1" "metal" 14)
        ("Via1" "cut" 15)
        ("Metal2" "metal" 16)
        ("Via2" "cut" 17)
        ("Metal3" "metal" 18)
        ("Via3" "cut" 19)
        ("Metal4" "metal" 20)
        ("Via4" "cut" 21)
        ("Metal5" "metal" 22)
        ("Via5" "cut" 23)
        ("Metal6" "metal" 24)
        ("Via6" "cut" 25)
        ("Metal7" "metal" 26)
        ("Via7" "cut" 27)
        ("Metal8" "metal" 28)
        ("Via8" "cut" 29)
        ("Metal9" "metal" 30)
        ("Bondpad" "unknown" 31)
        ("substrate" "recognition")
    )

    I could then use this to find the metal layer below or after (if it exists) and the via layers to use. You could also look up other rules in the tech file, should you want to. If there's no higher (or lower) layer, you could either ensure that the form didn't offer that choice of metal layer for the routing layer (you could add a cyclic field only containing the valid layers, which would then stop the user from being able to select a layer too high or too low in the stack). 

    Not sure why you have put errset() around the entire code. That sounds a good way of making your code hard to debug when you make a mistake as it will suppress errors that you've made!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    I'm not sure what you need to know about making it technology independent. It's just a matter of not hardcoding the layers and rules into the code, but either have them specified on the form or have them seeded from some external variables (or even maybe the technology file). The same is true to compute the layer above and layer below - you could either do this either by assuming that the metal layers are called xxxxxN with a number at the end, or looking at info in the technology file (using the tech.* functions) to look at the layers. For example:

    techGetLayerFunctions(techGetTechFile(cvId))
    (("Psub" "pwell" 1)
        ("Nburied" "nwell" 2)
        ("Nwell" "nwell" 3)
        ("Oxide" "ndiff" 4)
        ("Oxide_thk" "ndiff" 5)
        ("Poly" "poly" 6)
        ("Nhvt" "nplus" 7)
        ("Nimp" "nplus" 8)
        ("Phvt" "pplus" 9)
        ("Pimp" "pplus" 10)
        ("Nzvt" "nplus" 11)
        ("SiProt" "pplus" 12)
        ("Cont" "cut" 13)
        ("Metal1" "metal" 14)
        ("Via1" "cut" 15)
        ("Metal2" "metal" 16)
        ("Via2" "cut" 17)
        ("Metal3" "metal" 18)
        ("Via3" "cut" 19)
        ("Metal4" "metal" 20)
        ("Via4" "cut" 21)
        ("Metal5" "metal" 22)
        ("Via5" "cut" 23)
        ("Metal6" "metal" 24)
        ("Via6" "cut" 25)
        ("Metal7" "metal" 26)
        ("Via7" "cut" 27)
        ("Metal8" "metal" 28)
        ("Via8" "cut" 29)
        ("Metal9" "metal" 30)
        ("Bondpad" "unknown" 31)
        ("substrate" "recognition")
    )

    I could then use this to find the metal layer below or after (if it exists) and the via layers to use. You could also look up other rules in the tech file, should you want to. If there's no higher (or lower) layer, you could either ensure that the form didn't offer that choice of metal layer for the routing layer (you could add a cyclic field only containing the valid layers, which would then stop the user from being able to select a layer too high or too low in the stack). 

    Not sure why you have put errset() around the entire code. That sounds a good way of making your code hard to debug when you make a mistake as it will suppress errors that you've made!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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