Jeff Young
55b8f0bc00
Gracefully fall back to raw spice when we can't parse the data.
Fixes https://gitlab.com/kicad/code/kicad/issues/13329
3 years ago
Jeff Young
7f60b87d1d
Implement fallback models for SPICE .lib models that we can't parse.
3 years ago
Jeff Young
e64852c833
Clearer naming.
3 years ago
Jeff Young
321de57d7c
Bug fixes for simulator.
1) Finish removing pin-count based APIs. We need to know the pin names
as well, not just the count.
2) Fix a bug in the regexp for SPICE functions to allow both lowercase
and uppercase function names
3) Move CreatePins() overrides to the new API so that we get pins on
raw SPICE models.
Fixes https://gitlab.com/kicad/code/kicad/issues/13190
3 years ago
Mikolaj Wielgus
a65b35107d
Sim: Make Sim.Pins have key-value pairs instead of a sequence
Moreover, upgrade models on schematic load instead of on model load
3 years ago
Mikolaj Wielgus
490069c5e6
Move (de)serialization of models into fields to new SIM_SERDE class
3 years ago
Mikolaj Wielgus
d9eb76eae0
Sim: Refactor SPICE_GENERATOR methods to accept a single SPICE_ITEM
3 years ago
Mikolaj Wielgus
e4865ce543
Excise wxString from simulation
3 years ago
Mikolaj Wielgus
0efc1149af
Sim: Create a common base class for models sourced from Spice libs
3 years ago
Mikolaj Wielgus
3b94624e90
Commit forgotten files
I must stop forgetting to commit new and renamed files.
3 years ago