DRC on current window range.

Hi All,
Do you have function to check the DRC in the layout just focus on current window?
Cause we have a rule file that is what our min. value limitation.
in Bumping house , we not only need to know the GDSII file from customer is in-rule ,
but also , we need to know what is the real min. value in the layout..

sach as trace width capability is 10um in our rule
customer provide a GDSII that min. width is 20um.
our designer need to check what is the min find by try and error.
Cause the layout is large , designer can't enter a big value (for example 50um) to running DRC.

so , we measure that value by manually for DRC sample.
Follow current GDS to check by manual to find a vlaue for DRC running.
After that , using the value to check full layout.

What my idea is base on another GDS software , they have a function called by "live DRC"
Designer can enter a big value (50um) and just check current window range (maybe (1000,1000) to (3000,3000))
the DRC engine will find what the min. DRC rule in current window quickly .(maybe 25um)
Yes , that may not really min. value in GDS , that value just base on the window area user focus.
Designer still need to running DRC using 25um as min. value to check full layout.

in this flow , that will reduce the working time of designer try and error to find what the min. value is.
That is why I ask for if klayout have same function or not.
Thanks a lot.

Comments

  • Hi @jiunnweiyeh,

    yes, it is possible to run the DRC on the current window. You can use "clip" with the current view's view box. Like this:

    view = RBA::LayoutView::current
    if ! view
      raise "No view open"
    end
    
    clip(view.box)
    
    # This is a minimal DRCexample:
    
    report("discussion_2684")
    
    l3 = input(3, 0)
    l3.width(5.um).output("L3 width < 5µm")
    

    Matthias

  • Hi Matthias,
    Got it , Thanks.

Sign In or Register to comment.