Some BJT, MESFET builtin sim models have wrong pins available
Description
The spice model editor gives the wrong available pins for a few types of devices.
- BJTs are missing substrate and TJ (junction temperature) pins. TJ appears to only be relevant for VBIC and HICUM2 models. Ref section 8.1 https://ngspice.sourceforge.io/docs/ngspice-manual.pdf
- MESFETs have a bulk pin in KiCad, but ngspice has no corresponding pin. Ref section 9.1 https://ngspice.sourceforge.io/docs/ngspice-manual.pdf
Steps to reproduce
- Add a transistor symbol. Open symbol properties -> Simulation Model
- Select Built-in SPICE model, NPN BJT or N-channel MESFET
- Click Pin Assignments tab
- Click on any of the pins in the right column to see available pins
- Compare with ngspice manual
KiCad Version
Application: KiCad Schematic Editor arm64 on arm64
Version: (7.0.0-rc2-249-gc22fb390ec), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.3.1
FontConfig 2.14.0
Platform: macOS Monterey Version 12.2.1 (Build 21D62), 64 bit, Little endian, wxMac
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.77.0
ngspice: 38
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON