boe
|
apprentice,
I define all subcircuits before I use it. So, you should have the include statement first, and only later use the abc_model (i.e. create instances of it).
The line (reply #14) I1 (in_p in_n out) abc_model should use abc_model if it is known to the simulator.
I assume the parameter model should create an instance parameter "model (Model name)" that should be used for netlisting if you set all other parameters correctly.
This is a thread on how to use a SPICE model, so I am surprised that you have lang=spectre.
B O E
[Added:] NB: There are some differences in syntax between SPICE and Spectre, so it is important to define the language properly.
|