kicad/eeschema/sim
Mark Visser f9c2f03a44 fix bug whereby spice params with capital letters no longer cause an error and data loss
Spice parameters were converted to lower-case before comparison. This is incorrect, as it
is legal and common for spice parameters to contain capital letters (e.g. potentiometers
typically use Rt and SET as their parameters).
Spice parameters are not case sensitive, so the correct behaviour is to instead do a
case-insensitive comparison on the parameter name.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14793

(cherry picked from commit 0d235ac64b)
(cherry picked from commit 888a35bbde)
2023-05-28 19:38:27 +02:00
..
kibis Fix unintentional string change in IBIS parser. 2023-02-11 02:19:06 +03:00
ngspice.cpp Add "all" mode to HSPICE emulation. 2023-01-21 19:32:25 +00:00
ngspice.h Formatting. 2022-12-05 20:03:42 +00:00
ngspice_circuit_model.cpp Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
ngspice_circuit_model.h Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
sim_lib_mgr.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 18:02:59 +01:00
sim_lib_mgr.h More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library.cpp More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library.h More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library_kibis.cpp More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library_kibis.h More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library_spice.cpp More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_library_spice.h More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
sim_model.cpp fix bug whereby spice params with capital letters no longer cause an error and data loss 2023-05-28 19:38:27 +02:00
sim_model.h Revert "Fix more SPICE case-insensitivity bugs." 2023-05-24 08:54:16 -07:00
sim_model_behavioral.cpp More dead code removal and a bit of formatting and const& for strings. 2023-02-24 20:47:22 +00:00
sim_model_behavioral.h More dead code removal and a bit of formatting and const& for strings. 2023-02-24 20:47:22 +00:00
sim_model_ideal.cpp More dead code removal and a bit of formatting and const& for strings. 2023-02-24 20:47:22 +00:00
sim_model_ideal.h More dead code removal and a bit of formatting and const& for strings. 2023-02-24 20:47:22 +00:00
sim_model_kibis.cpp Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_kibis.h Clear model name when switching to internal model. 2023-02-28 14:21:12 +00:00
sim_model_l_mutual.cpp Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_l_mutual.h Sim: s/SIM_MODEL_MUTUAL_INDUCTOR/SIM_MODEL_L_MUTUAL/ 2022-11-21 05:01:12 +01:00
sim_model_ngspice.cpp Revert "Fix more SPICE case-insensitivity bugs." 2023-05-24 08:54:16 -07:00
sim_model_ngspice.h Move only-write-model-if-it-contains-overrides up to base class. 2023-03-01 13:44:26 +00:00
sim_model_ngspice_data.cpp sim: fix diode model default breakdown voltage 2023-05-11 13:15:37 +01:00
sim_model_r_pot.cpp Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_r_pot.h Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_raw_spice.cpp Convert inline models in Sim.Params fields to SPICE syntax. 2023-03-03 18:18:32 +00:00
sim_model_raw_spice.h Clear model name when switching to internal model. 2023-02-28 14:21:12 +00:00
sim_model_serializer.cpp Revert "Fix more SPICE case-insensitivity bugs." 2023-05-24 08:54:16 -07:00
sim_model_serializer.h Handle single-token flag parameters. 2023-03-22 14:12:42 +00:00
sim_model_source.cpp Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_source.h Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_spice.cpp Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_spice.h Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
sim_model_spice_fallback.cpp Revert "Fix more SPICE case-insensitivity bugs." 2023-05-24 08:54:16 -07:00
sim_model_spice_fallback.h Make SIM_MODEL_SPICE_FALLBACK act more like the model it's a fallback for. 2023-02-28 14:21:11 +00:00
sim_model_subckt.cpp Add reference material to SPICE model pin assignment tab. 2022-12-31 18:52:26 +00:00
sim_model_subckt.h Move only-write-model-if-it-contains-overrides up to base class. 2023-03-01 13:44:26 +00:00
sim_model_switch.cpp Simulator: Fix some cases with initial conditions 2023-02-28 21:31:45 +00:00
sim_model_switch.h Clear model name when switching to internal model. 2023-02-28 14:21:12 +00:00
sim_model_tline.cpp Simulator: Fix RLGC c unit 2023-03-06 15:59:54 +00:00
sim_model_tline.h A fall-back model for FOO should supply FOO's pin names. 2023-01-19 12:14:50 +00:00
sim_model_xspice.cpp Sim: Spice netlist exporter rewrite 2022-07-30 02:25:34 +00:00
sim_model_xspice.h Sim: Spice netlist exporter rewrite 2022-07-30 02:25:34 +00:00
sim_panel_base.cpp Support for simulation options in workbook and simulation command dlg. 2023-01-14 00:21:45 +00:00
sim_panel_base.h Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
sim_plot_colors.cpp Eeschema,sim: extract plot colors to new class 2021-03-01 18:50:37 +00:00
sim_plot_colors.h Eeschema,sim: extract plot colors to new class 2021-03-01 18:50:37 +00:00
sim_plot_frame.cpp Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
sim_plot_frame.h Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
sim_plot_frame_base.cpp Add context menu for simulation cursors. 2023-01-19 12:50:21 +00:00
sim_plot_frame_base.fbp Add context menu for simulation cursors. 2023-01-19 12:50:21 +00:00
sim_plot_frame_base.h Add context menu for simulation cursors. 2023-01-19 12:50:21 +00:00
sim_plot_panel.cpp Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
sim_plot_panel.h Make sure legend reflects gain/phase for AC small signal analyses. 2023-03-20 10:24:22 +00:00
sim_property.cpp Don't commit changes on paint events or updateUI events. 2023-03-04 00:10:39 +00:00
sim_property.h Cleanup some dead code, and add a potentially needed fix for non-Mac. 2023-02-24 20:47:22 +00:00
sim_types.h Fix more broken Doxygen comment specifiers. 2021-01-26 12:17:52 -05:00
sim_value.cpp Don't commit changes on paint events or updateUI events. 2023-03-04 00:10:39 +00:00
sim_value.h Don't commit changes on paint events or updateUI events. 2023-03-04 00:10:39 +00:00
sim_workbook.cpp More safety for array access. 2023-01-24 00:07:40 +00:00
sim_workbook.h Revert "Manual reimplementation of 84c72b087c548829908d7fbbecfd2fa5968cc98b" 2023-05-24 08:54:16 -07:00
simulator.h Remove GUI calls from netlisting. 2022-11-18 15:29:16 +00:00
spice_generator.cpp Handle single-token flag parameters. 2023-03-22 14:12:42 +00:00
spice_generator.h Remove most of SIM_VALUE in favour of good old wxString. 2023-02-24 20:47:22 +00:00
spice_grammar.h Allow a limited set of un-braced expressions in SPICE model values. 2023-02-04 19:49:48 +00:00
spice_library_parser.cpp More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
spice_library_parser.h More robust file reading for simulator files. 2023-04-24 13:53:22 +01:00
spice_model_parser.cpp Simulator fixes. 2023-04-24 13:55:34 +01:00
spice_model_parser.h More dead code removal and a bit of formatting and const& for strings. 2023-02-24 20:47:22 +00:00
spice_reporter.h Changed the simulator code license to GPLv3+ 2016-08-11 14:41:43 +02:00
spice_settings.cpp Formatting. 2023-04-24 13:55:15 +01:00
spice_settings.h sim GUI: remove "Adjust value" checkbox. 2022-12-03 08:28:43 +00:00
spice_simulator.cpp simulator: remove unused includes, and reorder a few includes to fix conflicts 2022-11-16 10:09:54 +01:00
spice_simulator.h eeschema,sim: add SIMULATOR and SIM_MODEL interface 2022-04-01 19:28:31 +00:00
spice_value.cpp Revert "Reorder includes is some simulator files to fix issues on msys2 (no code change)" 2022-11-12 20:47:36 +01:00
spice_value.h Fix more broken Doxygen comment specifiers. 2021-01-26 12:17:52 -05:00