Yueting Li
09/22/2022, 4:31 AM.tf V(bg) Vtest
(dc transfer function analysis) in my bandgap circuit to measure each mosfet’s gate voltage effect on the output reference voltage, while I always get the transfer function =0 for every mosfet. I used ngspice3.6 and attached the spice files as well as the running log. I ran it using command ngspice -b bgr_mismatch_coeff.sp > spice_run.log
. The Vtest
is a dummy dc voltage source I added to the mosfet gate (in my bgr_mismatch_coeff.sp
file it is targeted on sky130_asc_nfet_01v8_lvt_9_2 while I tried to target on other mosfet as well). porst
should be a pulse start signal in transient analysis while I changed it to DC and not sure is it correct. I checked the ngspice manual and forum about .tf while haven’t found any examples for references. Looking forward to your suggestion!Mitch Bailey
09/22/2022, 4:59 AMBoris Murmann
09/22/2022, 7:22 AMBoris Murmann
09/22/2022, 7:48 AM* tf test
.lib "/farmshare/home/classes/ee/272/skywater-pdk.v2021/libraries/sky130_fd_pr/latest/models/sky130.lib.spice" tt
X1 d g 0 0 sky130_fd_pr__nfet_01v8 w=10 l=0.15
Rd d dd 2k
vdd dd 0 1.8
vg gg 0 0.7
vtest gg g 0
.op
.tf V(d) vtest
.end
Boris Murmann
09/22/2022, 7:52 AMYueting Li
09/22/2022, 8:25 AMYueting Li
09/22/2022, 8:26 AMYueting Li
09/22/2022, 8:27 AMYueting Li
09/23/2022, 6:42 AMFaisal Mateen
09/26/2022, 6:50 PMYueting Li
09/26/2022, 7:01 PMFaisal Mateen
09/26/2022, 8:49 PMYueting Li
09/28/2022, 1:34 AMTim Edwards
09/28/2022, 1:36 AMYueting Li
09/28/2022, 1:51 AM