mirror of https://github.com/KLayout/klayout.git
35 lines
943 B
Plaintext
35 lines
943 B
Plaintext
|
|
source $drc_test_source
|
|
target $drc_test_target
|
|
|
|
if $drc_test_deep
|
|
deep
|
|
end
|
|
|
|
l1 = input(1, 0)
|
|
l1_raw = input(1, 0).raw
|
|
l2 = input(2, 0)
|
|
|
|
l1.output(1, 0)
|
|
l2.output(2, 0)
|
|
|
|
l1.width(600.nm).output(100, 0)
|
|
l1.width(600.nm, without_touching_corners).output(101, 0)
|
|
l1.width(600.nm, without_touching_edges).output(102, 0)
|
|
|
|
l1.space(600.nm).output(200, 0)
|
|
l1.space(600.nm, without_touching_corners).output(201, 0)
|
|
l1.space(600.nm, without_touching_edges).output(202, 0)
|
|
l1_raw.space(600.nm).output(210, 0)
|
|
l1_raw.space(600.nm, without_touching_corners).output(211, 0)
|
|
l1_raw.space(600.nm, without_touching_edges).output(212, 0)
|
|
|
|
l1.sep(l2, 600.nm).output(300, 0)
|
|
l1.sep(l2, 600.nm, without_touching_corners).output(301, 0)
|
|
l1.sep(l2, 600.nm, without_touching_edges).output(302, 0)
|
|
|
|
l1.drc(space < 600.nm).output(400, 0)
|
|
l1.drc(space(without_touching_corners) < 600.nm).output(401, 0)
|
|
l1.drc(space(without_touching_edges) < 600.nm).output(402, 0)
|
|
|