xschem/xschem_library/generators/test_mosgen.sch

110 lines
2.1 KiB
Plaintext
Raw Normal View History

v {xschem version=3.1.0 file_version=1.2
}
G {}
K {}
V {}
S {}
E {}
N 500 -230 500 -170 {
2023-05-03 00:28:55 +02:00
lab=#net1}
N 390 -140 460 -140 {
2023-05-03 00:28:55 +02:00
lab=IN}
N 500 -110 500 -50 {
2023-05-03 00:28:55 +02:00
lab=GND}
N 790 -230 790 -170 {
2023-05-03 00:28:55 +02:00
lab=OUT}
N 680 -140 750 -140 {
2023-05-03 00:28:55 +02:00
lab=#net1}
N 790 -110 790 -50 {
2023-05-03 00:28:55 +02:00
lab=GND}
N 390 -260 460 -260 {
2023-05-03 00:28:55 +02:00
lab=IN}
N 680 -260 750 -260 {
2023-05-03 00:28:55 +02:00
lab=#net1}
N 500 -350 500 -290 {
2023-05-03 00:28:55 +02:00
lab=VDD}
N 790 -350 790 -290 {
2023-05-03 00:28:55 +02:00
lab=VDD}
N 790 -140 790 -110 {
lab=GND}
N 500 -140 500 -110 {
lab=GND}
N 500 -290 500 -260 {
lab=VDD}
N 790 -290 790 -260 {
lab=VDD}
N 680 -260 680 -140 {
lab=#net1}
N 500 -200 680 -200 {
lab=#net1}
N 390 -260 390 -140 {
lab=IN}
N 500 -50 790 -50 {
lab=GND}
N 500 -350 790 -350 {
lab=VDD}
N 340 -200 390 -200 {
lab=IN}
N 790 -200 900 -200 {
lab=OUT}
C {ipin.sym} 340 -200 0 0 {name=p1 lab=IN}
C {opin.sym} 900 -200 0 0 {name=p2 lab=OUT}
C {vdd.sym} 640 -350 0 0 {name=l1 lab=VDD}
C {gnd.sym} 640 -50 0 0 {name=l2 lab=GND}
2023-05-08 23:15:58 +02:00
C {mosgen.tcl(@model\\)} 480 -260 0 0 {name=M1
2023-05-03 00:28:55 +02:00
L=0.15
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_01v8
spiceprefix=X
}
2023-05-08 23:15:58 +02:00
C {mosgen.tcl(@model\\)} 480 -140 0 0 {name=M2
2023-05-03 00:28:55 +02:00
L=0.15
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_01v8
spiceprefix=X
}
2023-05-08 23:15:58 +02:00
C {mosgen.tcl(@model\\)} 770 -260 0 0 {name=M3
2023-05-03 00:28:55 +02:00
L=0.15
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=pfet_g5v0d10v5
spiceprefix=X
}
2023-05-08 23:15:58 +02:00
C {mosgen.tcl(@model\\)} 770 -140 0 0 {name=M4
2023-05-03 00:28:55 +02:00
L=0.15
W=1
nf=1
mult=1
ad="'int((nf+1)/2) * W/nf * 0.29'"
pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
as="'int((nf+2)/2) * W/nf * 0.29'"
ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
nrd="'0.29 / W'" nrs="'0.29 / W'"
sa=0 sb=0 sd=0
model=nfet_g5v0d10v5
spiceprefix=X
}