mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 10:57:51 +02:00
First test for generic DRC feature
This commit is contained in:
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
|
||||
source $drc_test_source
|
||||
target $drc_test_target
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
end
|
||||
|
||||
l1 = input(1, 0)
|
||||
l2 = input(2, 0)
|
||||
l3 = input(3, 0)
|
||||
|
||||
l1.output(1, 0)
|
||||
l2.output(2, 0)
|
||||
l3.output(3, 0)
|
||||
|
||||
wcheck = width(projection)
|
||||
|
||||
l1.drc(wcheck < 1.0).polygons.output(100, 0)
|
||||
l1.drc(wcheck <= 0.5).polygons.output(101, 0)
|
||||
l1.drc(1.0 > wcheck).polygons.output(102, 0)
|
||||
l1.drc(0.5 >= wcheck).polygons.output(103, 0)
|
||||
l1.drc(wcheck > 1.0).output(104, 0)
|
||||
l1.drc(wcheck >= 1.5).output(105, 0)
|
||||
l1.drc(1.0 < wcheck).output(106, 0)
|
||||
l1.drc(1.5 <= wcheck).output(107, 0)
|
||||
l1.drc(wcheck == 1.5).output(108, 0)
|
||||
l1.drc(1.0 <= wcheck <= 1.5).output(109, 0)
|
||||
l1.drc(1.0 < wcheck < 2.0).output(110, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user