Jeff Young
50ccc4e6da
Fix issue converting legacy SPICE models.
1) if a legacy model references a library then we need to see if said
libraray exists and read model from it if so
2) legacy node ordering is by index, not pin name
3) we can't auto-generate a pin map when we don't know the pin names,
so don't try
3 years ago
Seth Hillbrand
ba11de6e66
Update QA test schematics with valid and invalid variants
3 years ago
Barabas Raffai
63da407345
Add tests for no connect flag
3 years ago
Jeff Young
cfbf14ebfd
Attempt to fix build issue with NGSPICE off.
3 years ago
Jeff Young
ce8fa2ad00
Move previous fix to subclass (which overrides the base class).
3 years ago
Jeff Young
5aa204e194
Another attempted sim testcases fix.
3 years ago
Jeff Young
b9287968d6
Update symbol default prefixes after updating instance data.
Also moves the sim model fixups after the instance data updating as
it uses the prefixes.
3 years ago
Jeff Young
69448afb47
Don't run simulation twice when the sim command is overridden.
Fixes https://gitlab.com/kicad/code/kicad/issues/12731
3 years ago
Jeff Young
38906397d2
Move V6->V7 sim model migration from sheets to screens.
Also moves passive RLC inference out from migration to just-in-time
creation for the simulator or netlisting.
Also fixes a version guard mismatch because the spice migration was
done inside UpdateSymbolInstances (which has its own version guard).
Also changed UpdateSymbolInstances to UpdateSymbolInstanceData so
someone else in the future doesn't think it's a general-purpose symbol
instance updater.
3 years ago
Jeff Young
8260f0ee13
Add support for unitless values to PCB_EXPR_EVALUATOR.
Fixes https://gitlab.com/kicad/code/kicad/issues/13016
3 years ago
Mikolaj Wielgus
9055043409
Sim QA: Test for duplicates and wrongly deduplicated parameters
(adapt tests to the names of the newly deduplicated parameters)
3 years ago
Mikolaj Wielgus
b025b103de
Sim Model Editor: Make the VBIC model the first BJT model to select
3 years ago
Mikolaj Wielgus
484620eeb5
Sim QA: Add test for VDMOS
3 years ago
Mikolaj Wielgus
5fb191e4d6
Sim QA: Test all BJT parameters in each model
3 years ago
Mikolaj Wielgus
26644952a4
Sim QA: Test all diode parameters
3 years ago
Mikolaj Wielgus
d836fbaaaa
Sim: Add VBIC model support
Update generate_sim_model_ngspice_data.bash a little, but it's still
outdated.
3 years ago
Mikolaj Wielgus
f2fb734e06
Sim QA: Add test for Numparam expressions inside .subckt
3 years ago
Mikolaj Wielgus
08d37d2795
Sim QA: Add Spice .subckt parsing tests
3 years ago
Mikolaj Wielgus
9766351ee6
Sim: Update QA to tests to match the new model upgrade scheme
3 years ago
Jeff Young
0b0c35c4dc
Adjust test result.
3 years ago
Wayne Stambaugh
cd92088b7a
Fix disabled schematic page numbering unit tests.
3 years ago
Wayne Stambaugh
d37015bada
Temporarily disable unit tests so builds pass.
3 years ago
Mikolaj Wielgus
833146cf50
Sim QA: Fix QA errors
Let's not allow units in fields for now. (is 1m one meter or one milli?)
3 years ago
Jeff Young
729e64f33a
Add call modification missed from previous commit.
3 years ago
Mikolaj Wielgus
e9fe59a28c
Sim: Rename the missed Sim_* fields to Sim.*
3 years ago
Mikolaj Wielgus
6969362813
Sim Model Editor: Don't provide library-only models as builtins
3 years ago
Fabien Corona
8498630876
Ibis: correctly load QA files up to v2.1
3 years ago
Mikolaj Wielgus
059ca8fc48
Sim: Rename Sim_* fields to Sim.*
3 years ago
Jeff Young
e09e521162
Remove GUI calls from netlisting.
3 years ago
Tomasz Wlostowski
cab5f65685
qa/pns: added test case for via drag walkaround
3 years ago
Tomasz Wlostowski
bf4671aa16
qa: PNS debug tool should draw COMPOUND shapes too...
3 years ago
Mikolaj Wielgus
e7c43ca20a
Sim: Remove inference from Reference and Value
3 years ago
Jeff Young
a61ac363c2
Excise the remaining occurrences of "Alias" for derived symbols.
Fixes https://gitlab.com/kicad/code/kicad/issues/12895
3 years ago
Tomasz Wlostowski
33594e92fa
router: qa test case for backspace (unfix) regression
3 years ago
Tomasz Wlostowski
26a38797c7
router: log and replay the 'unfix' events too
3 years ago
Marek Roszko
3dd2ae762d
Refactor step export to use our normal board processing routines
3 years ago
Jeff Young
9d525e82f5
Fix qa tests so they don't assert on cleanup.
3 years ago
Jon Evans
c07477b94c
Move to explicit symbol properties mapping
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12845
3 years ago
jean-pierre charras
97a002e06c
fix previous commit for QA stuff (missing changes)
3 years ago
Jon Evans
68de92313e
Properties: move to custom editor for distances; refactoring
Also fix display of angle values since EDA_ANGLE was introduced
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12290
3 years ago
Bevan Weiss
4f634d7df7
Updated accelerating zoom controller to use default (non-accelerated)
zoom if changing direction.
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
3 years ago
Seth Hillbrand
07ef5d3343
Clarify QA message
3 years ago
Tomasz Wlostowski
ab350cbfaa
qa: some trivial test cases for the P&S regressions
3 years ago
Tomasz Wlostowski
50142ca73f
qa: P&S regression tool ported to Boost::test
3 years ago
Tomasz Wlostowski
99bcdf7979
qa: introducing headless regression test suite for the P&S. Works by playing out pre-recorded events and comparing the resulting geometry against a human-approved reference.
Other changes:
- store all router settings (ROUTING_SETTINGS) in the debug dump in a separate JSON file
- store router mode (single/diff/tune) in the event log file
- factor out the regression test player and the graphical log/debug tool into separate main files
- bring CONSOLE_LOG and CONSOLE_MSG_REPORTER to the common test headers
3 years ago
Tomasz Wlostowski
dfa6d22524
qa: moved CONSOLE_LOG and CONSOLE_MSG_REPORTER to common testing utils
3 years ago
Mikolaj Wielgus
5eca8dd8de
Undo hardcoding swapping of diode pins
Revert commits d1e2acd3 70b4d1aa cff508fb
3 years ago
Mikolaj Wielgus
cff508fb3b
Sim: Reverse diode model pin order to match diode symbols
3 years ago
Mikolaj Wielgus
f31feaac42
Sim: Commit forgotten files
3 years ago
Mikolaj Wielgus
6c752680d7
Sim QA: Add Potentiometers QA test
3 years ago