• 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 Script for off-grid correction of donut shape?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13725
  • 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 Script for off-grid correction of donut shape?

yayla
yayla over 11 years ago

Hi,

 I have been looking for a Skill script which corrects off-grid edges of a donut shape in Cadence(IC6) Layout editor. I have found this script but it says it is not for donut. https://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:SearchTroubleshooting;solutionNumber=1800103.

 What I need to do is that I need to draw a donut for real tape but it is off-grid so I need a script for grid correction. Actually, I don't know which way is better: drawing donut in layout and putting edge of it  on grid with a script or drawing on-grid donut with Skill script from the beginning. I prefer the first one since in addition to donut I may have other off-grid shapes which need to be corrected.

 I will appreciate if you can provide the Skill script for this purpose. 

 Thanks,

 

yayla 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    A donut cannot have its edges off grid, because they are circular - so there is no "point" on the edge (inner or outer) to be on or off grid. 

    However, since the Stream format doesn't support donuts (if my memory is correct), It will automatically convert it to a polygon at stream out time. Then you'll have a multi-sided polygon with lots of vertices, which may well be off grid. 

    In order to control this, you could use the convert to polygon command in the layout editor (under the Edit menu somewhere) to convert it to a polygon yourself, and then run the code to put the polygon vertices on grid.

    Kind Regards,

    Andrew 

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

    A donut cannot have its edges off grid, because they are circular - so there is no "point" on the edge (inner or outer) to be on or off grid. 

    However, since the Stream format doesn't support donuts (if my memory is correct), It will automatically convert it to a polygon at stream out time. Then you'll have a multi-sided polygon with lots of vertices, which may well be off grid. 

    In order to control this, you could use the convert to polygon command in the layout editor (under the Edit menu somewhere) to convert it to a polygon yourself, and then run the code to put the polygon vertices on grid.

    Kind 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