mirror of https://github.com/KLayout/klayout.git
More tests for complex DRC
This commit is contained in:
parent
cda5fdfe6f
commit
858c78729f
|
|
@ -128,3 +128,23 @@ TEST(6d)
|
||||||
{
|
{
|
||||||
run_test (_this, "6", true);
|
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);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
||||||
Binary file not shown.
|
|
@ -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)
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue