권용진학부생
10/12/2023, 11:08 AMraw
file, but I'm unable to read it. What steps should I take to examine Cgd, Cgb, and Cgs? I've attached the file and diagrams for reference. Your assistance would be greatly appreciated.Stefan Schippers
10/12/2023, 7:20 PMsave @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgd]
before the dc
instruction.
You can then plot the capacitance in ngspice with:
plot @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgd]
권용진학부생
10/13/2023, 11:18 AMStefan Schippers
10/13/2023, 12:34 PMname=s1 only_toplevel=false value="
.lib /foss/pdks/sky130A/libs.tech/ngspice/sky130.lib.spice tt
.include /foss/pdks/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
.option savecurrents
.temp 25
.control
save all
save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgd]
save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgs]
save @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgb]
save @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgd]
save @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgs]
save @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgb]
dc v5 0.8 0.9 0.001
write hgu_comp_op.out
plot @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgd]
plot @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgs]
plot @m.x1.xm2.msky130_fd_pr__nfet_01v8_lvt[cgb]
plot @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgd]
plot @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgs]
plot @m.x1.xm3.msky130_fd_pr__nfet_01v8_lvt[cgb]
.endc
"
권용진학부생
10/13/2023, 12:39 PM