• 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 dump DRC shape coordinates into a file?

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 144
  • Views 14853
  • 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 dump DRC shape coordinates into a file?

LostInRTN
LostInRTN over 15 years ago

I need to get the coordinates of the polygons, rectangles, etc that are highlighted after a DRC run in the Error Layer Window. Equivalently these are the shapes the errorLayer procedure uses. I've tried geGetSelSet, the marker functions and the Hilight functions and none of these seem to be the method the ELW uses to show the DRC errors.

 Thanks

  • Cancel
Parents
  • Quek
    Quek over 15 years ago

     Hi Tom

    You can use ?saveTextErrors function in avParameters. In the drc form, click on "avParameters" button, locate the ?saveTextErrors function and enter a suitable filename. The coordinates of all the error shapes will be dumped to a text file similar to:

    test_error 2000.000000
    Rule      2 : Testing
    1 1 1 Fri Nov  6 08:49:32 2009
    Testing
    e 1 2
    CN test_error C 1 0 0 1 0 0
    -590 12050 -590 5440
    -370 5440 -370 12050

    To get the actual coordinates, divide the numbers by the dbuPerUU used. For the above example, it is 2000. The above example shows the 4 corner coordinates of an error rectangle in database units. An example of calculating the coordinates would be:

    X1 = -590/2000 =-0.295
    Y1 = 12050/2000 = 6.025

    Hope that this helps you. : )  For your information, you can also use ?outErrorLayers to dump all the error shapes into a gds file.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 15 years ago

     Hi Tom

    You can use ?saveTextErrors function in avParameters. In the drc form, click on "avParameters" button, locate the ?saveTextErrors function and enter a suitable filename. The coordinates of all the error shapes will be dumped to a text file similar to:

    test_error 2000.000000
    Rule      2 : Testing
    1 1 1 Fri Nov  6 08:49:32 2009
    Testing
    e 1 2
    CN test_error C 1 0 0 1 0 0
    -590 12050 -590 5440
    -370 5440 -370 12050

    To get the actual coordinates, divide the numbers by the dbuPerUU used. For the above example, it is 2000. The above example shows the 4 corner coordinates of an error rectangle in database units. An example of calculating the coordinates would be:

    X1 = -590/2000 =-0.295
    Y1 = 12050/2000 = 6.025

    Hope that this helps you. : )  For your information, you can also use ?outErrorLayers to dump all the error shapes into a gds file.

    Best regards
    Quek

    • 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