Matt Liberty
05/08/2023, 6:31 PMAndrew Wright
05/08/2023, 7:10 PMMitch Bailey
05/08/2023, 9:33 PMantmicro
version was “unofficial”.Matt Liberty
05/08/2023, 9:38 PMMitch Bailey
05/08/2023, 10:10 PMMatt Liberty
05/08/2023, 10:41 PMdlmiles
05/08/2023, 11:59 PMhttps://user-images.githubusercontent.com/293087/235223230-05a3f3b4-1ddd-4b4e-ab1c-1baf6cdfd784.png▾
Mitch Bailey
05/09/2023, 12:20 AMdlmiles
05/09/2023, 12:25 AMMitch Bailey
05/09/2023, 2:20 AMcaravel/xschem/simple_por_tb.sch
.
This is what a xschem schematic file would look like for an inverter (sizes and models may differ)
v {xschem version=3.0.0 file_version=1.2 }
G {}
K {}
V {}
S {}
E {}
N -40 -30 -40 30 {
lab=A}
N -120 -0 -40 0 {
lab=A}
N 0 0 100 -0 {
lab=Y}
C {sky130_fd_pr/nfet3_01v8.sym} 620 260 0 0 {name=M1
L=0.15
W=1
body=GND
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
}
C {sky130_fd_pr/pfet_01v8.sym} -20 -30 0 0 {name=M2
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
}
C {sky130_fd_pr/nfet_01v8.sym} -20 30 0 0 {name=M3
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
}
C {devices/gnd.sym} 0 60 0 0 {name=l1 lab=GND}
C {devices/vdd.sym} 1280 460 0 0 {name=l2 lab=VDD}
C {devices/opin.sym} 620 260 0 0 {name=p1 lab=xxx}
C {devices/ipin.sym} -120 0 0 0 {name=p2 lab=A}
C {devices/opin.sym} 100 0 0 0 {name=p3 lab=Y}
C {devices/vdd.sym} 0 -60 0 0 {name=l3 lab=VDD}
htamas
05/09/2023, 3:26 PMMatt Liberty
05/09/2023, 3:26 PMhtamas
05/09/2023, 3:27 PMMatt Liberty
05/10/2023, 5:52 PMdlmiles
05/10/2023, 10:45 PMhtamas
05/10/2023, 11:59 PM