Eeschema V6 (5.99) minor bug in spice model settings
This is a small problem. In the Spice model setting, if a component is set to
.SUBCKT, when the model file is changed, the
Spice_Primitive option setting cannot be synchronized to update the type.
For example, use a diode to set up a model file containing “sub-circuit”, and its Spice_Primitive is set to “X”. Then set it up again with a diode model file and reset to "diode". However, the content of
Spice_Primitive will not be updated to “D”, causing the simulation operation to fail because it cannot find
You need to manually change “X” to “D” to perform the simulation operation correctly.
Steps to reproduce
Application: KiCad (64-bit) Version: (5.99.0-11443-gcb72da294a), release build Libraries: wxWidgets 3.1.5 libcurl/7.74.0-DEV Schannel zlib/1.2.11 Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW Build Info: Date: Jul 17 2021 06:45:05 wxWidgets: 3.1.5 (wchar_t,STL containers) Boost: 1.75.0 OCC: 7.5.0 Curl: 7.74.0-DEV ngspice: 34 Compiler: Visual C++ 1928 without C++ ABI Build settings: KICAD_USE_OCC=ON KICAD_SPICE=ON