Error on line 0 or its substitute:
a$poly$e.xu1.egnd %vd [ qnetu1_3 0 qnetu1_4 0 ] %vd ( xu1.99 0 ) a$poly$e.xu1.egnd
MIF-ERROR - unable to find definition of model a$poly$e.xu1.egnd
Simulation interrupted due to error!
I am using ngspice-37 with win10 64bit. Is there any bug when POLY used in subckt?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is typically caused by an ngspice installation problem. Where did you get ngspice? How did you install it?
The best method is to download the package (https://sourceforge.net/projects/ngspice/files/ng-spice-rework/38/ngspice-38_64.zip/download), expand it and store it (completely, without removing anything) to C:.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have fixed this.
I built the executable file from source by myself. And I changed SIMinfo's simulator name. So I meet this problem. After I change SIMinfo's simulator name to its origin string, I fix this.
But I can't understand, why this problem has to do with SIMinfo's simulator name. I think Cir file parse process should not couple with simulator name.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In your case the XSPICE code models are missing. This has nothing to do with the parse process (except for that the models are needed but are not found).
XSPICE code models are loaded into ngspice by commands given in file spinit.
In file spinit, a flag is set when the simulator name is 'ngspice'. Only then the code models are loaded. If the name was 'nutmeg' or others, no code models are needed, so the 'codemodel' commands are skipped.
In ngspice-39 this will change (due to other reasons).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All!
I have a cir file like this:
When I run this with ngspice, I get error:
I am using ngspice-37 with win10 64bit. Is there any bug when POLY used in subckt?
Thanks!
This is typically caused by an ngspice installation problem. Where did you get ngspice? How did you install it?
The best method is to download the package (https://sourceforge.net/projects/ngspice/files/ng-spice-rework/38/ngspice-38_64.zip/download), expand it and store it (completely, without removing anything) to C:.
With NGSPICE-33 Windows it loads and runs, but it is not very useful as the subcircuit has no stimulation nor supporting circutry which I can see.
I have fixed this.
I built the executable file from source by myself. And I changed SIMinfo's simulator name. So I meet this problem. After I change SIMinfo's simulator name to its origin string, I fix this.
But I can't understand, why this problem has to do with SIMinfo's simulator name. I think Cir file parse process should not couple with simulator name.
Thanks!
Lose SIMinfo. Run from a terminal window like everyone else.
In your case the XSPICE code models are missing. This has nothing to do with the parse process (except for that the models are needed but are not found).
XSPICE code models are loaded into ngspice by commands given in file spinit.
In file spinit, a flag is set when the simulator name is 'ngspice'. Only then the code models are loaded. If the name was 'nutmeg' or others, no code models are needed, so the 'codemodel' commands are skipped.
In ngspice-39 this will change (due to other reasons).
I get it. Thank you!