https://open-source-silicon.dev logo
a

Argonaut

11/13/2021, 10:24 AM
1. Could somebody help me with the warnings? 2. Is there a way to speed up ngspice simulations. It takes way too long to load up the library in my setup
m

Mayank Gupta

11/13/2021, 2:50 PM
Got the same error + warnings and the design takes way too much time to process. Ngspice doesn't work this slow in windows. Not sure whats wrong.
r

Rana Muhammad Shahid Jamil

11/13/2021, 5:03 PM
have you added .spiceinit file in the xschem simulation directory with lines
set ngbehavior=hsa
set ng_nomodcheck
?
t

Tim Edwards

11/13/2021, 10:14 PM
@User: The res_generic_po model is defined in
libs.tech/ngspice/sky130_fd_pr__model__r+c.model.spice
. I notice that unlike all the other models, the equation for
dw
is in quotes but not inside braces (
{}
). Check if adding braces around the quotes fixes the problem.
h

Harald Pretl

01/19/2022, 11:43 AM
Re 2. You can use my spice modelfile reducer, cuts down ngspice startup time to almost zero. https://github.com/hpretl/iic-osic