I may be missing something obvious, or my install is broken. I can get generic BJT models working fine with
.model qnpn npn
.model qpnp pnp
but when I try a generic mosfet, I get “could not find a valid modelname” error. According to ngspice-27 manual, chapter 11.2 MOSFET models (NMOS/PMOS) a minimal model is
Each model is invoked with a .model card. A minimal version is:
.model MOSN NMOS level=8 version=3.3.0
but can’t get that to work:
I built a 5rc2-ish KiCad from source, so maybe it is not setup right
Application: kicad
Version: (5.0.0-rc2-dev-266-gbad462a22), debug build
Libraries:
wxWidgets 3.0.3
libcurl/7.57.0 OpenSSL/1.0.2n (WinSSL) zlib/1.2.11 libidn2/2.0.4 libssh2/1.8.0 nghttp2/1.29.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.66.0
Curl: 7.57.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_SPICE=ON