Added missing files, tests for angle and length (universal DRC), some clarifications and bug fixes.

This commit is contained in:
Matthias Koefferlein
2021-01-10 20:18:06 +01:00
parent 0a7ca69da2
commit 383f72eb09
7 changed files with 720 additions and 14 deletions
+30
View File
@@ -0,0 +1,30 @@
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)
# edge predicates
l1.drc(length > 5.0).output(100, 0)
l1.drc(2.0 < length <= 5.0).output(101, 0)
l1.drc(length <= 2.0).output(102, 0)
l1.drc(length == 2.0).output(103, 0)
l1.drc(angle == 0.0).output(110, 0)
l1.drc(angle < 0.0).output(111, 0)
l1.drc(angle > 0.0).output(112, 0)
l1.drc(angle == 90).output(113, 0)
l1.drc((angle == 0.0) + (angle == 90)).output(114, 0)
Binary file not shown.
Binary file not shown.
Binary file not shown.