Medinceanu Paul-Catalin
12/23/2023, 4:08 PMTim Edwards
12/23/2023, 5:53 PMsky130A/libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_03v3_nvt.pm3.spice
in the installed PDK. It has always been there.Medinceanu Paul-Catalin
12/23/2023, 6:07 PMTim Edwards
12/23/2023, 6:11 PMnfet_03v3_nvt
just a few days ago. The standard .lib
statement should include the model. Are you doing this from xschem? How is your testbench set up to include the model files?Tim Edwards
12/23/2023, 6:13 PMnfet_03v3_nvt
model is much more restricted in the range of widths and lengths available for the device model. You may need to change W and L and/or NF to get something that is in a characterized range. I'll post the available ranges.Tim Edwards
12/23/2023, 6:17 PMTim Edwards
12/23/2023, 6:28 PM.lib _$PDK_ROOT_/sky130A/libs.tech/combined/sky130.lib.spice tt
(in xschem, this needs a bit of extra work since this is a different directory than that pointed to by `SKYWATER_MODELS`; I need to update the xschemrc file to include a path for the continuous models).Tim Edwards
12/23/2023, 6:31 PMMedinceanu Paul-Catalin
12/23/2023, 8:34 PMStefan Schippers
12/23/2023, 10:18 PMTim Edwards
12/24/2023, 12:54 AMsky130A/libs.tech/ngspice
while the new ones are in sky130A/libs.tech/combined
("combined" meaning a combination of the new continuous-valued models and the old models for all the devices that were not part of the continuous-valued set; e.g., the bipolar transistors are still the old models and still valid only for the specific layouts). The models in the combined
path are largely self-contained inside that path, and don't include model files from sky130A/libs.ref/sky130_fd_pr
(except, as just mentioned, the devices that weren't in the set of continuous-valued models). The models in the libs.ref/sky130_fd_pr
path are all the old discrete-valued models. The bottom line is that switching between them is (or should be---as I said, there are a few errors that need to be fixed) simply a matter of changing ngspice
to combined
in the path name. The implementation is largely up to you based on what you think works best within xschem; you can either change SKYWATER_MODELS
based on another setting, or have another variable name for the path to the continuous-valued models.Tim Edwards
12/24/2023, 12:57 AMStefan Schippers
12/24/2023, 9:54 AMMedinceanu Paul-Catalin
12/25/2023, 11:59 AMStefan Schippers
12/25/2023, 12:18 PMmake veryclean
followed by a ./configure --enable-gf180mcu-pdk --prefix=/home/schippes
, make
and make install
.
Do I need to add some options to configure? The git log of the sources show that installation of combined should be done. (commit cbfa592c66d3331d59cce58b6b553858a55a0137)Tim Edwards
12/28/2023, 7:20 PMTim Edwards
12/28/2023, 7:23 PMmc
corner uses different models than the other corners (tt
, ss
, etc.), and those models are all discretely binned, even when the other corner models aren't. The continuous models should, in theory at least, get around that limitation, once I figure out which include statements are missing.Stefan Schippers
12/28/2023, 7:30 PM--enable-gf180mcu-pdk
in the configure script only gf180mcu will be installed. I thought sky130 was always installed. So I will try again also with --enable-sky130-pdk
Tim Edwards
12/28/2023, 7:33 PM--enable-*
entry.Tim Edwards
12/28/2023, 7:33 PM