Comment 5 for bug 1793062

Revision history for this message
Sebastian Kulik (sebastiankulik1) wrote :

well, every model have apins, right, use SPICE model with ".SUBCKT" (subcircuit) - and youll might need to change pin-numbers in part-symbol (or model-file) otherwise simulation will not work correctly.
As example, take a look on my BS170 model, youll find Gate:1, Source:2 and Drain:3 in subcircuit definition.
I use same midel-fine in LTSpice, so, dont wish to change it. In other hand the symbol in KiCAD corresponding with right footprint habe other pin-sequence.
In this very simple (3 Pins only) example you will see two ways to fix it for now:
1. fix corresponding pins in model-file and save it for KiCAD only
2. change symbol and footprint in KiCAD to have a some consistance in SPICE-Model files.

More elegat will be to have a option to remap the pins corresponding to SPICE-model file and let well working symbols&footprints in KiCAD untouched as well.
Cheers,
Sebastian