mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-31 18:16:08 +02:00
Better .include for Spice reader
* .inc is allowed as synonym * Paths can be URL's (with HTTP) * Relative resolution of paths/URL's vs. parent of .include
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
|
||||
.include "nreader8a.cir"
|
||||
.include ../algo/nreader8b.cir
|
||||
.inc nreader8c.cir
|
||||
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
.subckt INVX1 1 2 3 4 5 6
|
||||
.include nreader8x.cir
|
||||
.ends
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
|
||||
.subckt ND2X1 1 2 3 4 5 6 7
|
||||
m$1 2 6 1 4 MLVPMOS L=0.25um W=1.5um
|
||||
m$2 1 5 2 4 MLVPMOS L=0.25um W=1.5um
|
||||
m$3 3 6 8 7 MLVNMOS L=0.25um W=0.95um
|
||||
m$4 8 5 2 7 MLVNMOS L=0.25um W=0.95um
|
||||
.ends ND2X1
|
||||
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
.subckt RINGO 11 12 13 14 15
|
||||
x$1 12 1 15 12 11 14 15 ND2X1
|
||||
x$2 12 2 15 12 1 15 INVX1
|
||||
x$3 12 3 15 12 2 15 INVX1
|
||||
x$4 12 4 15 12 3 15 INVX1
|
||||
x$5 12 5 15 12 4 15 INVX1
|
||||
x$6 12 6 15 12 5 15 INVX1
|
||||
x$7 12 7 15 12 6 15 INVX1
|
||||
x$8 12 8 15 12 7 15 INVX1
|
||||
x$9 12 9 15 12 8 15 INVX1
|
||||
x$10 12 10 15 12 9 15 INVX1
|
||||
x$11 12 11 15 12 10 15 INVX1
|
||||
x$12 12 13 15 12 11 15 INVX1
|
||||
.ends RINGO
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
m$1 1 5 2 4 mlvpmos w=1.5um l=0.25um
|
||||
m$2 3 5 2 6 mlvnmos w=0.95um l=0.25um
|
||||
|
||||
Reference in New Issue
Block a user