mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-08 04:08:14 +02:00
WIP (shielding, various bug fixes)
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
|
||||
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)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
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)
|
||||
|
||||
# advanced shielding (self, symmetric space)
|
||||
|
||||
l1.drc(width(projection, shielded) < 1.0).output(100, 0)
|
||||
l1.drc(width(projection, transparent) < 1.0).output(101, 0)
|
||||
|
||||
l1.drc(space(projection, shielded) < 1.0).output(110, 0)
|
||||
l1.drc(space(projection, transparent) < 1.0).output(111, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
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)
|
||||
|
||||
# advanced shielding (self, symmetric space)
|
||||
|
||||
l1.width(1.0, projection, shielded).output(100, 0)
|
||||
l1.width(1.0, projection, transparent).output(101, 0)
|
||||
|
||||
l1.space(1.0, projection, shielded).output(110, 0)
|
||||
l1.space(1.0, projection, transparent).output(111, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+10
-13
@@ -321,19 +321,16 @@ def run_testsuite(dm, ic, tiled = false, hier = false)
|
||||
lb += 10 #230
|
||||
message "--- isolated #{lb}"
|
||||
|
||||
b.isolated(0.4).polygons.output(lb, dm)
|
||||
b.isolated(0.4).polygons.xor(b.iso(0.4).polygons).is_empty? == true || raise("xor not empty")
|
||||
b.isolated(0.4, euclidian).polygons.output(lb + 1, dm)
|
||||
b.isolated(0.4, square).polygons.output(lb + 2, dm)
|
||||
b.isolated(0.4, projection).polygons.output(lb + 3, dm)
|
||||
b.isolated(0.4, euclidian, whole_edges).polygons.output(lb + 4, dm)
|
||||
b.isolated(0.4, euclidian, projection_limits(0.4, nil)).polygons.output(lb + 5, dm)
|
||||
b.isolated(0.4, euclidian, projection_limits(nil, 0.4)).polygons.output(lb + 6, dm)
|
||||
if has_float_range
|
||||
b.isolated(0.4, euclidian, projection_limits(0..0.4)).polygons.output(lb + 7, dm)
|
||||
else
|
||||
b.isolated(0.4, euclidian, projection_limits(0, 0.4)).polygons.output(lb + 7, dm)
|
||||
end
|
||||
b.isolated(0.4, shielded).polygons.output(lb, dm)
|
||||
b.isolated(0.4, shielded).polygons.xor(b.iso(0.4, shielded).polygons).is_empty? == true || raise("xor not empty")
|
||||
b.isolated(0.4, shielded, euclidian).polygons.output(lb + 1, dm)
|
||||
b.isolated(0.4, shielded, square).polygons.output(lb + 2, dm)
|
||||
b.isolated(0.4, shielded, projection).polygons.output(lb + 3, dm)
|
||||
b.isolated(0.4, shielded, euclidian, whole_edges).polygons.output(lb + 4, dm)
|
||||
b.isolated(0.4, shielded, euclidian, projection_limits(0.4, nil)).polygons.output(lb + 5, dm)
|
||||
b.isolated(0.4, shielded, euclidian, projection_limits(nil, 0.4)).polygons.output(lb + 6, dm)
|
||||
b.isolated(0.4, shielded, euclidian, projecting < 0.4).polygons.output(lb + 7, dm)
|
||||
b.isolated(0.4, transparent).polygons.output(lb + 8, dm)
|
||||
|
||||
lb += 10 #240
|
||||
message "--- notch #{lb}"
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user