I am trying to do some analog simulations to test ...
# analog-design
a
I am trying to do some analog simulations to test out my workflow for the sky130 kit but when I simulate wth transistors from the pdk it can't find the spice models. I can find these models on my machine. Is there a variable I need to set somewhere to point to these models? Thanks in advance.
Okay I think I fixed it getting models. But now I get many of these errors:
Undefined number [mult] Original line no.: 0, new internal line no.: 15026: Cannot compute substitute Original line no.: 0, new internal line no.: 15028: Undefined number [mult] Original line no.: 0, new internal line no.: 15028: Cannot compute substitute Copies=14909 Evals=20229 Placeholders=1862 Symbols=14610 Errors=590 Numparam expansion errors: Run Spice anyway? y/n ?
w
What set of instructions are you using for setting up everything?
a
I used the video you posted above but then further modified the xschemrc file because it couldn't find the models. Is this the issue you were discussing?
I get the same issue with the examples
The above was all with ngspice-31 installed from with apt in ubuntu. This seems to be fixed after installing from source from here https://github.com/imr/ngspice
w
The setup process in that video works.
You should be making everything from source like it details, I dont think any of the software in the ubuntu PPAs is up to date
The issue I possibly observed was with the pre-master branch from that repo. I was only having that error after launching ngspice though, no issues with xschem. And it was fixed by switching to pre-master-33 branch