https://open-source-silicon.dev logo
Title
j

Juan Sebastian Moya

04/30/2023, 12:56 AM
Hello everyone! @Stefan Schippers and @Tim Edwards I am trying to do some characterization with the cap_mim_2p0fF capacitor of the gf180mcuC pdk. But I have some issues with the devices switch.sym and switch_ngspice.sym. Follows the schematic and the errors that I am obtaining. I could not find documentation regarding those elements.
s

Stefan Schippers

04/30/2023, 7:11 AM
The correct model for the capacitor is
cap_mim_2f0fF
. I have submitted a pull request with the correction upstream on Apr. 23. In the mean time you can change the model manually.
For the switch use
switch_ngspice.sym
, you need to provide a
.model
for this to work, like:
.MODEL switch1 SW(VT=0.5 VH=0.01 RON=0.01 ROFF=10000000)
j

Juan Sebastian Moya

04/30/2023, 2:48 PM
Thank you Stefan!
@Stefan Schippers I solved the switch model problem with the information that you provided me. However the cap error is maintained. I change manually the name of the model as you suggested but same error appears in the ngspice console.
image.png,image.png
image.png
s

Stefan Schippers

05/02/2023, 8:15 AM
Check if you are including this file:
.lib /path/to/sm141064.ngspice mimcap_typical
The path must match your installation of the gf180mcu models.
j

Juan Sebastian Moya

05/02/2023, 7:27 PM
@Stefan Schippers yes the path is correct and I think I am including the file that you mention. Kind regards,
s

Stefan Schippers

05/02/2023, 9:36 PM
Sorry i was mistaken. The line to add is this also:
.lib /path/to/sm141064.ngspice cap_mim
j

Juan Sebastian Moya

05/03/2023, 1:39 AM
Hi @Stefan Schippers, it works. Thank you.