ngspice-28 is available. Inportant new features are:
A generic VDMOS model for power MOS devices has been added. Simulating devices as provided by http://ltwiki.org/index.php?title=Standard.mos is now possible.
Ngspice-28 reads PSPICE device libs. These are often provided by the semiconductor device manufacturers for design support. Internally ngspice translates the PSPICE syntax to ngspice before simulating. No more manual tweaking of the library description is required (hopefully).
How to make use of ngspice-28 in KiCad (instead of ngspice-27 delivered with the nightly)?
If you are on MS Windows, do the following:
Install a KiCad nightly from http://downloads.kicad-pcb.org/windows/nightly/
Download the ngspice dll in ngspice-28_dll_64.zip from https://sourceforge.net/projects/ngspice/files/ng-spice-rework/28/ .
Copy msys-ngspice-0.dll from folder Spice64_dll\dll-mingw\ of the zip file into Programs\KiCad\bin. Within the bin folder remane libngspice-0.dll to libngspice-0-orig.dll. Now rename msys-ngspice-0.dll to libngspice-0.dll.
Put a text file named .spiceinit into your user directory (C:\users<your name>). Add the three lines
* user provided init file set ngbehavior=ps
to .spiceinit. And that’s it.
If you are using LINUX, you may need to download ngspice-28.tar.gz and compile the shared library with
./configure --with-ngshared --enable-xspice --enable-cider --enable-openmp --disable-debug CFLAGS="-m64 -O2" LDFLAGS="-m64 -s" make -j8 make install
Put a text file named .spiceinit into your home/username directory. In admin mode, it may be the root directory. Add the three lines as noted above to the file. I am not on Linux, so I have to guess that now everyting is o.k. . If not, it might be necessary to add a different installation path to the configure command. Please let me know!