File: drcSimpleTests_19.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 (35 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download | duplicates (2)
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
35

# shielded/transparent

source($drc_test_source, "TOP")
target($drc_test_target)

l1 = input(1, 0)
l2 = input(2, 0)

l1.output(1, 0)
l2.output(2, 0)

l1.space(3.0, transparent, projection).output(100, 0)
l1.space(3.0, shielded, projection).output(101, 0)
# NOTE: for two-layer checks, the *second* layer
# shields, but not the first one
l2.separation(l1, 3.0, transparent, projection).output(110, 0)
l2.separation(l1, 3.0, shielded, projection).output(111, 0)
l1.separation(l2, 3.0, transparent, projection).output(120, 0)
l1.separation(l2, 3.0, shielded, projection).output(121, 0)

#deep 

l1 = input(1, 0)
l2 = input(2, 0)

l1.space(3.0, transparent, projection).output(200, 0)
l1.space(3.0, shielded, projection).output(201, 0)
# NOTE: for two-layer checks, the *second* layer
# shields, but not the first one
l2.separation(l1, 3.0, transparent, projection).output(210, 0)
l2.separation(l1, 3.0, shielded, projection).output(211, 0)
l1.separation(l2, 3.0, transparent, projection).output(220, 0)
l1.separation(l2, 3.0, shielded, projection).output(221, 0)