File: drcSimpleTests_91.drc

package info (click to toggle)
klayout 0.30.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,204 kB
  • sloc: cpp: 2,068,428; ruby: 47,823; xml: 26,924; python: 14,404; sh: 1,812; tcl: 212; perl: 170; makefile: 112; ansic: 42
file content (34 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

source $drc_test_source
target $drc_test_target

if $drc_test_deep
  deep
end

l1 = input(1, 0)

l1.output(1, 0)

l1.space(600.nm).output(100, 0)
l1.space(600.nm, without_touching_corners).output(101, 0)
l1.space(600.nm, without_touching_edges).output(102, 0)
l1.space(600.nm, DRCZeroDistanceMode::new(RBA::ZeroDistanceMode::IncludeZeroDistanceWhenCollinearAndTouching)).output(103, 0)

l1.space(600.nm, projection).output(110, 0)
l1.space(600.nm, projection, without_touching_corners).output(111, 0)
l1.space(600.nm, projection, without_touching_edges).output(112, 0)
l1.space(600.nm, projection, DRCZeroDistanceMode::new(RBA::ZeroDistanceMode::IncludeZeroDistanceWhenCollinearAndTouching)).output(113, 0)

l1.space(600.nm, square).output(120, 0)
l1.space(600.nm, square, without_touching_corners).output(121, 0)
l1.space(600.nm, square, without_touching_edges).output(122, 0)
l1.space(600.nm, square, DRCZeroDistanceMode::new(RBA::ZeroDistanceMode::IncludeZeroDistanceWhenCollinearAndTouching)).output(123, 0)

l1.data.min_coherence = true

l1.space(600.nm).output(200, 0)
l1.space(600.nm, without_touching_corners).output(201, 0)
l1.space(600.nm, without_touching_edges).output(202, 0)
l1.space(600.nm, DRCZeroDistanceMode::new(RBA::ZeroDistanceMode::IncludeZeroDistanceWhenCollinearAndTouching)).output(203, 0)