Stefan Schippers
03/01/2025, 1:14 AMgm, gds, vth, vdsat, cgg, cgdo, cgso
and ft
, calculated as
ft = gm / [2π (Cgg + Cgdo + Cgso)]
All the necessary procedures are in the sky130 xschemrc
file, since all this is pdk-specific (plus the sky130_fd_pr/annotate_fet_params.sym
symbol).
Next step is to add similar functionality for the IHP PDK if there interest.
@Harald Pretl I have verified thet the ft
calculated with the above formula is correct (of course i was not questioning the formula but the ngspice cg*
parameters), i have run an AC analysis and let ngspice show the point where unity current gain occurs. The frequency value matches with the formula as shown in the video.Boris Murmann
03/01/2025, 2:16 AMHarald Pretl
03/01/2025, 6:59 AMMatthias Schweikardt
03/01/2025, 9:18 AMMatthias Schweikardt
03/01/2025, 9:23 AMStefan Schippers
03/01/2025, 10:58 AMdev
branch). The mos models are based on Verilog-A pspnqs103va
model.
(at least the 1st one I am looking at, sg13_lv_nmos
).
As such they are completely different from BSIM4 regarding the observable parameters.
What are the equivalents for the common ones I need, like id, gm, gds, vdsat, vth
and the gate (cg*
)capacitances? in bsim4, adding .options savecurrents
I get all the MOS [id] values, like:
i(@m.xm_bias.msky130_fd_pr__nfet_01v8_lvt[id])
and from this syntax it is easy to get all the other parameters by adding the .save
lines.Boris Murmann
03/01/2025, 4:46 PMBoris Murmann
03/01/2025, 4:48 PMStefan Schippers
03/01/2025, 6:27 PMvdss
. There is also a parameter vsat
which is vds - vdss
, it tells you how far the transistor is in saturation region. BTW, the IHP parameters are much simpler than the long sky130 bsim4 equivalents.Stefan Schippers
03/02/2025, 1:30 AMBoris Murmann
03/02/2025, 1:50 AMBoris Murmann
03/02/2025, 2:11 AMBoris Murmann
03/02/2025, 2:12 AMHarald Pretl
03/02/2025, 9:05 AMStefan Schippers
03/02/2025, 9:15 AMToni Tejada
03/05/2025, 5:39 PMgit clone <https://github.com/stefanschippers/xschem.git>
) does not have it?Stefan Schippers
03/05/2025, 5:42 PMToni Tejada
03/05/2025, 5:52 PM/usr/local/share/pdk/sky130A/libs.tech/xschem
to load the pdk´s xschemrc
file.Toni Tejada
03/05/2025, 6:00 PMgit clone <https://github.com/RTimothyEdwards/open_pdks>
.
I just realize that the tb_ft_test.sch
is very different from the shown in your video.Stefan Schippers
03/05/2025, 10:52 PMmake update
in the open_pdks repository after git pull to update the imported repositories?
If everything fails get the complete sky130_tests/
and sky130_fd_pr/
directories from here and replace your installed copy in .../libs.tech/xschem/
Toni Tejada
03/06/2025, 2:03 PMcd ~/repos/open_pdks
make distclean
./configure --enable-sky130-pdk --enable-reram-sky130
make -j"$jobsize"
sudo make install
Doing make distclean
the command make update
return error because the complete cleaning of the previous command, and all the repositories were downloaded from the last version.Toni Tejada
03/06/2025, 2:05 PMStefan Schippers
03/06/2025, 7:39 PMmake update
should be issued after a make veryclean
. make distclean
clears too muchMuhammad Ghayas
05/27/2025, 2:04 PM