How to check if the width is between two values?

Hi,

I have an object similar to the picture I attached. I want to write a DRC code to check if the width of this object is between 1 um and 1.5 um. But I couldn't write a code about this condition. How can I write this code? Thank you.

Comments

  • You can create markers for everything above 1.5µm by sizing down by 0.75µm. Checking if everything is above 1µm is a simple width statement:

    geo = ... input layer
    geo.size(-1.5.um / 2).output("Markers for geo > 1.5µm")
    geo.width(1.0.um).output("Markers for geo < 1µm")
    

    Matthias

  • Hi Matthias,

    Thanks for your help. Can we do this by using if/else statement?

  • Sorry, I don't understand. DRC isn't based on conditionals. It's based on layers as collections of geometrical objects.

    What's exactly your application?

Sign In or Register to comment.