Barabas Raffai
63da407345
Add tests for no connect flag
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
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
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
Mikolaj Wielgus
e9fe59a28c
Sim: Rename the missed Sim_* fields to Sim.*
3 years ago
Mikolaj Wielgus
059ca8fc48
Sim: Rename Sim_* fields to Sim.*
3 years ago
Tomasz Wlostowski
cab5f65685
qa/pns: added test case for via drag walkaround
3 years ago
Mikolaj Wielgus
e7c43ca20a
Sim: Remove inference from Reference and Value
3 years ago
Tomasz Wlostowski
33594e92fa
router: qa test case for backspace (unfix) regression
3 years ago
Jon Evans
c07477b94c
Move to explicit symbol properties mapping
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12845
3 years ago
Tomasz Wlostowski
ab350cbfaa
qa: some trivial test cases for the P&S regressions
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
00c04e74ed
Sim QA: Test LTspice parameters and ako models of BJTs
3 years ago
Mikolaj Wielgus
c4fc9c1b16
Sim QA: Add tests for AKO and LTspice diodes
3 years ago
Mikolaj Wielgus
42acabb5a9
Fix a mistake in uopamp.lib.spice
3 years ago
Mikolaj Wielgus
ae671c07e1
Commit missing uopamp.lib.spice
3 years ago
Mikolaj Wielgus
e5704d7058
Update uopamp.lib.spice to be the same in all QA tests
3 years ago
Mikolaj Wielgus
c8e13813d9
Sim: Rename Sim_Disabled field to Sim_Enable
3 years ago
Mikolaj Wielgus
c3d5b3b3e5
Sim: Only store device type in reference, not full model type
Instead of Reference="VSIN1", Value="dc=1 ampl=2 f=3", it's now
Reference="V1", Value="SIN dc=1 ampl=2 f=3".
3 years ago
Jeff Young
9424b166d0
Add regression test case for 12609.
3 years ago
Seth Hillbrand
0150655ed3
Fix missing DRC check with via
When the via is first and not second in our ordering, the hole-copper
clearance was not checked as the track did not have a hole.
We also calculated the NPTH-via clearance incorrectly in the inspector
3 years ago
Seth Hillbrand
60374daa49
Fix ERC global label unit tests
Need to test all units in the subgraph as there are chances that the
subgraph might have more than one label, which needs to be consistently
handled
3 years ago
Mikolaj Wielgus
0e0d1a34f5
Sim: Spice grammar fixes
- Fix parsing .model lines with model names containingnon-alphanumeric
characters like - and _,
- Fix parsing libraries in which EOF is not preceded by a newline.
Fixes https://gitlab.com/kicad/code/kicad/issues/12394
3 years ago
Mikolaj Wielgus
e56635a02b
Sim: Add mutual inductor model
3 years ago
Seth Hillbrand
f2e3329617
Add ERC QA tests
3 years ago
Jon Evans
a5246a6df7
DbLib: Support showing field names
3 years ago
Mikolaj Wielgus
b225e53135
Sim QA: Test raw model with fewer pins than its symbol
3 years ago
Mikolaj Wielgus
121fad63ab
Sim QA: Add Directives test
This test checks whether Spice directives placed in schematics as text
objects are properly included in the generated Spice netlist.
3 years ago
Mikolaj Wielgus
bd6c153ad9
Sim: Implement "enum" model parameters for switches
Displayed in Sim Model Dialog parameter grid as a dropdown
(wxEnumProperty).
3 years ago
Mikolaj Wielgus
385e5deaaa
Add Switches sim QA test
Tests voltage switches. Current switches will be tested as well once
they're fixed to work with .probe alli command in Ngspice.
3 years ago
Jon Evans
ae6a2a6443
ADDED: Database libraries MVP
Allows placing parts from an external database that reference symbols from another loaded library.
Includes:
- nanodbc wrapper
- database schematic library plugin
- basic tests
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7436
4 years ago
Mikolaj Wielgus
103b8a0d2c
Update the Opamp test to use a symbol with unordered pins
3 years ago
Mikolaj Wielgus
c6defadb78
Add Fliege filter Spice netlist exporter test
Which we use to test multi-part symbols, as Fliege filter has two op
amps.
3 years ago
Mikolaj Wielgus
8a6a0ff7dc
Allow inferred voltage/current sources to have a single float in Value
Update Opamp test to use this feature.
3 years ago
Seth Hillbrand
b9461f2ba7
Re-enable tests for zones
Avoid invalid substantial checks triggered by signed floating point
zeros. Adds a QA check to ensure zone-self checks are maintained
3 years ago
Mikolaj Wielgus
b6f6d1ef81
Sim QA: Add legacy_opamp test to check legacy subckt fields
In particular, Spice_Node_Sequence needed some additional coverage.
3 years ago
Mikolaj Wielgus
c669d55eb8
Sim QA: Use uopamp_lvl2 instead of uopamp_lvl1 in Opamp test
3 years ago
jean-pierre charras
cc1e99ff5d
QA test: annotate rlc.kicad_sch. only annotated schematic give reliable result.
3 years ago
Mikolaj Wielgus
128fedec1a
Sim QA: Commit the missing rlc unit test project
3 years ago
Mikolaj Wielgus
f6771ed789
Sim QA: Add rlc project to test RLC ideal model inference
3 years ago
Mikolaj Wielgus
9e7bc585ef
Sim QA: Test only specific hardcoded points of the results
We don't want to assume Ngspice results to be very deterministic.
3 years ago
Mikolaj Wielgus
800b512fe8
Further cut off digits down to one after period in sim QA
We just want to make sure our netlist exporter works. Being
deterministic is the simulator's job, not ours, though perhaps we should
investigate that too eventually.
3 years ago
Mikolaj Wielgus
37209bb496
Try to fix Ngspice QA by resampling and cutting off value digits
`linearize` command resamples the data. Fourth and further digits from
decimal point are cut off by using `wrdata` command instead of `write`.
Oddly, "sources" unit test is not working (so it's still uncommented) --
some substantially different values are generated when generating the
reference with standalone Ngspice.
3 years ago