Emanuel Caceres
08/24/2021, 5:37 PMTim Edwards
08/25/2021, 2:27 PMspinit from open_pdks libs.tech/ngspice/spinit to the local directory where you are running ngspice, and rename the file to .spiceinit.
All of the simulation time in ngspice is taken up by reading in the models. The .spiceinit file sets an option that deals with the massive number of bins. Unfortunately, there is still an issue with ngspice reading all of the corner files in sky130.lib.spice instead of just the one being called out on the .lib line, which causes simulation startup times to take maybe a minute or more (instead of seconds, as it should be). But the .spiceinit should knock down most of that startup delay issue.Tim Edwards
08/25/2021, 2:29 PM.spiceinit and cannot be in the file being simulated, which means that xschem can't be set up to provide this; you need to copy the file by hand (but I am working on an analog flow in open_pdks that will do that kind of setup step automatically).Emanuel Caceres
08/25/2021, 6:19 PMPhilipp Gühring
08/30/2021, 10:35 PMTim Edwards
08/31/2021, 2:15 PM