Width check error

edited April 2018 in Ruby Scripting
When we do a DRC width check on a rectangle which is kept horizontally then it wont show any error at its corners but if we do DRC width check on the same rectangle which is rotated 45 degree (any angles, except 90,180,270 degree angles), then it will show error at its corners. How can we correct this (Different value in width check for same feature)

I have a rectangle in layer 1,0 . Need a width check of 2.0 micron and save the error in a new layer 100,1. (DRC engine)

lay_1 = input(1, 0)
lay_min_width = lay_1.width(2.0)
lay_error = lay_min_width.output(100,1,"WIDTH VIOLATION LAYER")

Comments

  • edited November -1

    Hi Arjun,

    When you're using rotated rectangles, some corners have - because of rounding - an angle of less than 90 degree. Such corner are considered "acute" and are subject to width checks.

    You can mitigate this issue by reducing the acute angle limit to somewhat below 90 degree:

    lay_1 = input(1, 0)
    # angle_limit(a) reduces the acute angle limit:
    lay_min_width = lay_1.width(0.1, angle_limit(89.0))
    lay_error = lay_min_width.output(100,1,"WIDTH VIOLATION LAYER")  
    

    Regards,

    Matthias

  • edited April 2018
    Hi Matthias,

    This information really fits my request.
    Thank you so much.

    Best Regards,
    Arjun
Sign In or Register to comment.