mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 17:30:09 +02:00
With this patch, empty layers can be used to place device terminals on and these shapes are visible on those layers. This allows splitting the terminal shapes and used those shapes to connect down to different substrates. The patch turns EmptyLayer into a DeepLayer when used as terminal layer for device extraction.
14 lines
351 B
Plaintext
14 lines
351 B
Plaintext
* Extracted by KLayout
|
|
|
|
.SUBCKT TOP A Q IOSUB SUBSTRATE
|
|
X$1 \$7 \$1 Q IOSUB IOSUB INV
|
|
X$2 \$7 A \$1 SUBSTRATE SUBSTRATE INV
|
|
.ENDS TOP
|
|
|
|
.SUBCKT INV \$2 \$4 \$5 \$1 \$I11
|
|
M$1 \$2 \$4 \$5 \$2 PMOS L=0.25U W=0.95U AS=0.73625P AD=0.73625P PS=3.45U
|
|
+ PD=3.45U
|
|
M$2 \$1 \$4 \$5 \$I11 NMOS L=0.25U W=0.95U AS=0.73625P AD=0.73625P PS=3.45U
|
|
+ PD=3.45U
|
|
.ENDS INV
|