Long time ago at Kicad 4.0 there was a way to use XSPICE devices with eeschema by the use of this patch https://gitlab.com/kicad/code/kicad/uploads/1795960331e4e64f5fda60dcb855eeeb/kicad_xspice.patch . Since then the exporter changed and nearly all of this patch functionality is build into the new spice exporter. The only thing is missing are the port modifiers.
The idea to deal with this issue is to create a separate filed called something like *Sim.Pattern*. Put '*?*' where pin name should be and put modifiers in correct order in respect to '?'. So the field would look like this: ? %vd ? ? [ ? ~? ] I have created a tao::pegtl parser for the needs of this idea: https://gitlab.com/k0201pl/pegtl-eeschema-xspice-pattern-parser Is is still in development parsing works, but it still needs some rules for [ ] handling. I am also open to implement inserting the modifiers into netlist, however it would be nice if someone assures me the idea behind a seperate Sim.Pattern field is ok. I also want to ask for the need of creating a pull request, should I put the parser in separate header or connect it with spice_model_parser? This topic was mentioned in following issues: https://gitlab.com/kicad/code/kicad/-/issues/13404 https://gitlab.com/kicad/code/kicad/-/issues/11616 https://gitlab.com/kicad/code/kicad/-/issues/12949 -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/dbcb8c1e-4205-45bb-968e-57755e9fcdf8n%40kicad.org.
