• 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. Allegro X Scripting - Skill
  3. Skill code for effective width of power shape?

Stats

  • State Suggested Answer
  • Replies 7
  • Answers 1
  • Subscribers 16
  • Views 2290
  • Members are here 0
More Content

Skill code for effective width of power shape?

BW202408289157
BW202408289157 10 months ago

Hello,

Has anyone developed SKILL code to calculate the effective width of a power shape?

This would be useful for cases where the power shape needs to have a specific width such as 300mil to handle the proper current requirements, but there are vias that interrupt the shape that take away from the overall width making it maybe 200 mil in some areas instead. 

The SKILL program would calculate the width of the power shape at these highly via populated areas and return the values in a text file or somehow highlight it on the board for the designer. 

New to skill programming so if this something someone could help me write or write it for me that would be great!

Thanks

  • Sign in to reply
  • Cancel
  • Elecguy
    0 Elecguy 10 months ago

    This sounds interesting and (in principle) simple enough to implement but can you share an image/example of what you want the code output to be?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • BW202408289157
    0 BW202408289157 10 months ago in reply to Elecguy

    So this is kind of an example of what I would like the program to do. Either the program or the user would draw a line across the power shape as seen in the picture above. It would then use the measure tool to find the distance the edge of the shape/via to the next edge, ignoring the via width in the total measurement. After doing each calculation, the program adds the distance to a variable. The code output would then simply just be the final value of that variable which would be the effective power shape width. 

    I think it would be easiest for the user to make the line themselves and then when running the program they click on the line and it will output the effective width of it. 

    Does that answer your question?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    0 DavidJHutchins 9 months ago in reply to BW202408289157

    Does this look close to what you are looking for?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ABIKRISHNA
    0 ABIKRISHNA 9 months ago in reply to DavidJHutchins

    Yes. In power shape we need to avoid the void and check the width of shape. Check the width by horizontally and vertically depends upon the shape. If anybody give assistance to write the skill, It would be great.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DavidJHutchins
    0 DavidJHutchins 9 months ago in reply to ABIKRISHNA

    Why would you avoid the width of the void?

    That's what is reducing the amount of copper for current distribution...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

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