More tests for complex DRC

This commit is contained in:
Matthias Koefferlein 2021-01-09 23:23:50 +01:00
parent cda5fdfe6f
commit 858c78729f
9 changed files with 66 additions and 0 deletions

View File

@ -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);
}

23
testdata/drc/drcGenericTests_7.drc vendored Normal file
View File

@ -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)

BIN
testdata/drc/drcGenericTests_7.gds vendored Normal file

Binary file not shown.

23
testdata/drc/drcGenericTests_8.drc vendored Normal file
View File

@ -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)

BIN
testdata/drc/drcGenericTests_8.gds vendored Normal file

Binary file not shown.

BIN
testdata/drc/drcGenericTests_au7.gds vendored Normal file

Binary file not shown.

BIN
testdata/drc/drcGenericTests_au7d.gds vendored Normal file

Binary file not shown.

BIN
testdata/drc/drcGenericTests_au8.gds vendored Normal file

Binary file not shown.

BIN
testdata/drc/drcGenericTests_au8d.gds vendored Normal file

Binary file not shown.