Diode pin assignment error
Diodes in the spice model (D) assign pin 1 to cathode and pin 2 to anode (1=K 2=A) and this works as expected in the simulation. On the other hand, if you add some random diode from the library and assign it via simulation model the device diode, it reverses the pin assignment (1=A 2=K). This wreaks havoc in the simulation unless one remembers to change the pin assignments in the Sim.Pins field. ``` Application: KiCad Schematic Editor x86_64 on x86_64 Version: 7.0.0, release build Libraries: wxWidgets 3.2.2 FreeType 2.12.1 HarfBuzz 5.2.0 FontConfig 2.14.1 libcurl/7.86.0-DEV OpenSSL/3.0.8 zlib/1.2.12 nghttp2/1.52.0 Platform: , 64 bit, Little endian, wxGTK, KDE, wayland Build Info: Date: Feb 17 2023 07:10:50 wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.81.0 OCC: 7.6.3 Curl: 7.86.0-DEV ngspice: 39 Compiler: GCC 12.2.0 with C++ ABI 1017 Build settings: KICAD_SPICE=ON ```
issue