Trying to run a simulation, I got this very strange error message:
Note: Codel model file loading path is /home/macro/Documents/Electronics/Schematics/PLL/4046_sim/
File included as: .inc standard.dio
Error: Could not find include file standard.dio
Error: ngspice.dll cannot recover and awaits to be detached
This already happens when starting the simulator.
As I’m running Ubuntu, neither .dio or .dll files are relevant to me.
Scanning the model files found no references to such files.
The error message is neither odd nor strange, but clear and precise. The ngspice netlist you (via Eeschema) have sent to ngspice requires including the file standard.dio, but you do not offer it.
Googling standard.dio immediately delivers Standard.dio - LTwiki-Wiki for LTspice : So you have some LTSPICE remnants in your netlist (model file or …). So please check again.
Thanks holger.
I checked again and found that standard.dio and standard.mos were needed. Fixing this generated a host of other errors, apparently relating to and/xor/dflop etc. models. Are these not standard in ngspice?
Note: Codel model file loading path is home/macro/Documents/Electronics/Schematics/PLL/4046_sim/
File included as: .inc standard.dio
File included as: .inc standard.mos
Note: Compatibility modes selected: ps lt a
warning, can’t find model ‘xor’ from line
a6 0 n007 0 n012 0 n016 n013 0 xor
warning, can’t find model ‘or’ from line
a7 0 n002 0 n005 0 n006 n003 0 or
warning, can’t find model ‘dflop’ from line
a3 vdd 0 n007 0 n009 0 n002 0 dflop
warning, can’t find model ‘dflop’ from line
a5 vdd 0 n012 0 n009 0 n005 0 dflop
warning, can’t find model ‘and’ from line
a12 0 n018 0 ni 0 0 n011 0 and
warning, can’t find model ‘and’ from line
a13 0 n019 0 ni 0 0 n010 0 and
Circuit: KiCad schematic
Error on line 7 or its substitute:
a.xu1.a1 xu1.n004 xu1.e 0 0 0 0 xu1.n007 0 xu1.schmitt xu1.vt 0 xu1.vh xu1.1m xu1.td 50n
MIF-ERROR - unable to find definition of model 50n
I’m flummoxed.
I attach the project and hope that someone can help.
and others starting with letter A are non-open source constructs only available in LTSPICE. The digital ones probablyy may be replaced by ngspice constructs, with some effort required.