mirror of https://github.com/KLayout/klayout.git
20 lines
339 B
Plaintext
20 lines
339 B
Plaintext
|
|
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)
|
|
|
|
l1.drc(primary.interacting((space(shielded) < 1.0).polygons)).output(100, 0)
|
|
l1.drc(primary.interacting((space(transparent) < 1.0).polygons)).output(101, 0)
|
|
|