• 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 get metal spacing rules in skill

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 143
  • Views 17499
  • 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 get metal spacing rules in skill

Amar Kumar
Amar Kumar over 9 years ago

Hi,
To get the spacing between metals for a particular technology , am using the below line.

techGetSpacingRule(tech_id "minSameNetSpacing" metalName)

Here, arg1 -> technology id,    arg2 -> the constraint name,    arg3 -> metal name

This above statement returns the spacing between the metal,but it is not applicable when the layer purpose came into consideration.

Like the last argument takes only the metal name not the purpose name .

So please suggest a solution to get the spacing rules between a particular layer like ("M1" "dummy").

Thanks,

Amar Kumar

  • Cancel
  • skillUser
    skillUser over 9 years ago

    Hi Amar,

    I might be wrong but surely the layer is "M1" regardless of the purpose?  I would expect "M1" rules to apply to all purposes of "M1". What do you mean when you say "... but it is not applicable when the layer purpose came into consideration." ?

    Regards,

    Lawrence.

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

    Lawrence is right (as you would expect ;-> ) and there's only limited support for purposes in technology rules - typically for implementation of voltage dependent rules. This is in OA, at least - you didn't say which version you were using.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 9 years ago

    Hi Lawrence,

    Hi Andrew,

    Thanks for your reply.

    Am using cadence 6.1.6 version(OA database).

    We know that the spacing differs between layer to layer.Similarly it differs between purposes also.

    Suppose ("M1" "drawing") edge  to ("M1" "drawing") edge spacing is 0.07

    But ("M1" "dummy") to ("M1" "dummy") spacing might be different.....like 0.09.

    So the spacing actually depends upon the layer purpose also(depend upon the technology).

    My script returns the spacing between "M1" layer only(0.07)...idk what purpose it is taking because that command "techGetSpacingRule" doesnot allow to take any purpose name.

    So is there any command where i can give the layer name as well as the layer purpose also as input?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 9 years ago

    Hi Amar,

    I could be wrong but I believe that essentially all purposes of "M1" are treated the same from a spacing constraint standpoint. In the tech file I think it is possible to write things in terms of a specific layer-purpose combination in places where it may be supported, but you would have to always use layer-purposes as opposed to just using the layer name, plus I don't think it is supported for what you are requesting.  In other words, in the tech file M1_drawing is treated the same as M1_dummy and vice-versa for a spacing constraint.  Having said this I've not investigated this or tried things out in a tech file.  I have worked on different purposes being treated differently for connectivity, but things like viaLayers section of the layerRules tech file construct support that (definitely, I've used that).

    If the constraintGroups( spacings() ) section supported different spacings for different purposes of the same layer, it seems that the techGetSpacingRule() command doesn't support reading a specific layer-purpose anyway... Where did the notion that it is supported come from?

    Not sure what you can do other than to contact Cadence and get a definitive response, but my guess is that it is not supported.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 9 years ago

    Hi Lawrence,

    I have some technologies,where am finding the spacing difference between purposes while doing layout.

    Am not sure if the tech file is modified manually or the drc file is modified.But now am pretty sure that in the original tech file, the spacing between purposes are unique according to you.I don't know how i can get those modified spacing rules, but hopefully i will be able to find some solution.

    Anyway many thanks for clearing this doubt.

    Amar Kumar

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

    Amar,

    I suggest you dump the tech file. I think you'll find that there aren't any purpose-specific spacing rules in there. I'm pretty certain it's not legal syntax to specify the rules for different purposes. The special case is voltage dependent rules, but even then it's specified in a special way - see 

    You may have different rules in some DRC rules perhaps, but not in the tech file. Since the tech file doesn't support it, having the SKILL API support it wouldn't make sense either.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 9 years ago

    Hi Andrew,

    Now I got a clear picture regarding this.Thank you for your support and help.

    Amar

    • 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