fill_with_left, implementation + tests

This commit is contained in:
Matthias Koefferlein
2021-03-29 20:58:16 +02:00
parent f0386b616a
commit b725f5fb0f
8 changed files with 137 additions and 18 deletions
+19
View File
@@ -0,0 +1,19 @@
source $drc_test_source
target $drc_test_target
if $drc_test_deep
deep
end
l1 = input(1, 0)
f1 = l1
p1 = fill_pattern("PAT1").shape(100, 0, box(0, 0, 1.um, 1.um)).origin(-0.5.um, -0.5.um)
f1.fill_with_left(p1, hstep(2.0, 1.0), vstep(-1.0, 2.0)).output(100, 0)
l1.output(1, 0)
f1.output(10, 0)
Binary file not shown.
+21
View File
@@ -0,0 +1,21 @@
source $drc_test_source
target $drc_test_target
if $drc_test_deep
deep
end
tiles(5, 5)
l1 = input(1, 0)
f1 = l1
p1 = fill_pattern("PAT1").shape(100, 0, box(0, 0, 1.um, 1.um)).origin(-0.5.um, -0.5.um)
f1.fill_with_left(p1, hstep(2.0, 1.0), vstep(-1.0, 2.0)).output(100, 0)
l1.output(1, 0)
f1.output(10, 0)
Binary file not shown.