mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-28 17:06:31 +02:00
More tests for complex DRC
This commit is contained in:
@@ -128,3 +128,23 @@ TEST(6d)
|
||||
{
|
||||
run_test (_this, "6", true);
|
||||
}
|
||||
|
||||
TEST(7)
|
||||
{
|
||||
run_test (_this, "7", false);
|
||||
}
|
||||
|
||||
TEST(7d)
|
||||
{
|
||||
run_test (_this, "7", true);
|
||||
}
|
||||
|
||||
TEST(8)
|
||||
{
|
||||
run_test (_this, "8", false);
|
||||
}
|
||||
|
||||
TEST(8d)
|
||||
{
|
||||
run_test (_this, "8", true);
|
||||
}
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
|
||||
source $drc_test_source
|
||||
target $drc_test_target
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
threads(0) # easier to debug
|
||||
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)
|
||||
|
||||
# holes/hulls
|
||||
|
||||
l12 = (l1 ^ l2)
|
||||
l12.drc(holes).output(100, 0)
|
||||
l12.drc(hulls).output(101, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
|
||||
source $drc_test_source
|
||||
target $drc_test_target
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
threads(0) # easier to debug
|
||||
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)
|
||||
|
||||
# sizing/foreign/merged
|
||||
|
||||
l1.drc(sized(0.4)).output(100, 0)
|
||||
l1.drc(sized(0.4) & foreign.sized(0.4)).output(102, 0)
|
||||
l1.drc((sized(0.4) + foreign.sized(0.4)).merged(2)).output(103, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user