Maciej Suminski
|
eeeb3e0a9a
|
Simulator code formatting and clean up
|
2016-08-11 14:42:17 +02:00 |
Maciej Suminski
|
957c6ec417
|
Removed hard limit for ngspice netlist
|
2016-08-11 14:42:17 +02:00 |
Maciej Suminski
|
0a6390701d
|
NGSPICE uses a more convenient function to generate DLL name
|
2016-08-11 14:42:16 +02:00 |
Maciej Suminski
|
46ecfd8139
|
Resized simulator dialogs
|
2016-08-11 14:42:16 +02:00 |
Johannes Maibaum
|
c78462c4f5
|
sim: Modifications to compile the simulator on OSX.
|
2016-08-11 14:42:15 +02:00 |
Maciej Suminski
|
c9a1b45666
|
Fixed probe & tune cursors under Windows.
|
2016-08-11 14:42:15 +02:00 |
Tomasz Wlostowski
|
80d8dd7205
|
sim: default to decade frequency sweep for ac analysis
|
2016-08-11 14:42:15 +02:00 |
Tomasz Wlostowski
|
1930cd4d66
|
sim: display labels on current scale when only currents are added to transient plot
|
2016-08-11 14:42:14 +02:00 |
Maciej Suminski
|
e452992a6c
|
Cursor centering fix
|
2016-08-11 14:42:14 +02:00 |
Maciej Suminski
|
2b041425e5
|
Resized Spice model dialog
|
2016-08-11 14:42:14 +02:00 |
Maciej Suminski
|
ca36f15fee
|
Temporary disable cursor centering
|
2016-08-11 14:42:14 +02:00 |
Maciej Suminski
|
6d7a7a3233
|
KICAD_SPICE CMake flag
|
2016-08-11 14:42:13 +02:00 |
Maciej Suminski
|
2c576afdf3
|
Fixed menu entries
|
2016-08-11 14:42:13 +02:00 |
Maciej Suminski
|
ca13dc93b1
|
Support for simulation workbooks
|
2016-08-11 14:42:12 +02:00 |
Maciej Suminski
|
7b81516b61
|
Fixed SIM_PLOT_FRAME::CurrentPlot()
|
2016-08-11 14:42:12 +02:00 |
Tomasz Wlostowski
|
b20f941bd0
|
sim: hopefully final version of plot axis unit/suffix handling.
|
2016-08-11 14:42:10 +02:00 |
Maciej Suminski
|
01d18bad97
|
Save simulation command directive for every plot
|
2016-08-11 14:42:10 +02:00 |
Maciej Suminski
|
02e4252fcd
|
A few fixes for DIALOG_SIM_SETTINGS
|
2016-08-11 14:42:10 +02:00 |
Maciej Suminski
|
fb56420654
|
Do not store Spice vector names, but regenerate them
|
2016-08-11 14:42:10 +02:00 |
Maciej Suminski
|
ed8f555331
|
Remove plots that are invalid after component removal
|
2016-08-11 14:42:09 +02:00 |
Maciej Suminski
|
672fd76995
|
Remove tuners for components that were removed
|
2016-08-11 14:42:09 +02:00 |
Maciej Suminski
|
06287e4986
|
Display an error message for unannotated schematics
|
2016-08-11 14:42:09 +02:00 |
Maciej Suminski
|
741ae10a97
|
Improved Spice model dialog for sources Now user can specify both DC/AC & transient analysis specifications at once.
|
2016-08-11 14:42:09 +02:00 |
Maciej Suminski
|
53d772989a
|
Store relative library path if possible
|
2016-08-11 14:42:08 +02:00 |
Maciej Suminski
|
39caddd22b
|
Parsing sim command directives
|
2016-08-11 14:42:08 +02:00 |
Maciej Suminski
|
dbf0fd6156
|
Better normalization rules for SPICE_VALUE
|
2016-08-11 14:42:07 +02:00 |
Maciej Suminski
|
bf758dce3e
|
Tuners are common for all plots
|
2016-08-11 14:42:07 +02:00 |
Maciej Suminski
|
5772938a71
|
New cursor shows up in the center, can be dragged by its axis
|
2016-08-11 14:42:07 +02:00 |
Maciej Suminski
|
2f8f92cf0a
|
Closing tabs with middle button click I could not find a way to make tab close button work in wxWidgets..
|
2016-08-11 14:42:07 +02:00 |
Maciej Suminski
|
fccf71aadd
|
Change 'Run Simulation' button icon when simulation is running
|
2016-08-11 14:42:06 +02:00 |
Maciej Suminski
|
8306cd3b9b
|
Fixed tuners layout after a tuner is removed
|
2016-08-11 14:42:06 +02:00 |
Maciej Suminski
|
2740556505
|
Fix for Spice library parser
|
2016-08-11 14:42:06 +02:00 |
Tomasz Wlostowski
|
e691565fe3
|
sim: updated label generation code to match changes in the mathplot api
|
2016-08-11 14:42:04 +02:00 |
Maciej Suminski
|
7d268d2608
|
Reset scales upon simulation relaunch
|
2016-08-11 14:42:04 +02:00 |
Maciej Suminski
|
9d8b40b93d
|
Reset scales when a plot is removed
|
2016-08-11 14:42:03 +02:00 |
Maciej Suminski
|
ba3ce9b566
|
Fixed tuner autoplacement
|
2016-08-11 14:42:03 +02:00 |
Maciej Suminski
|
bc433764fe
|
Fixed layout proportions
|
2016-08-11 14:42:02 +02:00 |
Tomasz Wlostowski
|
36297f84c3
|
sim: further locale hacks, fixed plot/welcome message sizing
|
2016-08-11 14:42:02 +02:00 |
Tomasz Wlostowski
|
8e4ae1968f
|
sim: working on improved UX [wip]
|
2016-08-11 14:42:01 +02:00 |
Tomasz Wlostowski
|
2bcd8af25c
|
sim: fix trailing zero removal
|
2016-08-11 14:42:01 +02:00 |
Tomasz Wlostowski
|
bba57097b7
|
sim: use C locale for SPICE simulation. Added error callback
|
2016-08-11 14:42:01 +02:00 |
Tomasz Wlostowski
|
1cb7f665fb
|
sim: tuner slider now located in a nested wxPanel
|
2016-08-11 14:42:00 +02:00 |
Tomasz Wlostowski
|
8c14f2f6b1
|
sim: working on UX
|
2016-08-11 14:42:00 +02:00 |
Tomasz Wlostowski
|
ec1b8be528
|
sim: fixed build errors & locale issues
|
2016-08-11 14:41:58 +02:00 |
Maciej Suminski
|
7406aad8ea
|
Display current plots using the current axis
|
2016-08-11 14:41:57 +02:00 |
Maciej Suminski
|
ce59b282d3
|
Display both axis names in the cursor list
|
2016-08-11 14:41:56 +02:00 |
Maciej Suminski
|
6c53aba680
|
Validators for Spice model dialog
|
2016-08-11 14:41:56 +02:00 |
Maciej Suminski
|
973a3d7bcb
|
Fixed a crash when a signal was removed
|
2016-08-11 14:41:56 +02:00 |
Maciej Suminski
|
07b451f4b1
|
Do not draw cursors outside margins
|
2016-08-11 14:41:55 +02:00 |
Maciej Suminski
|
cdf758b173
|
Automatically update cursor coordinates
|
2016-08-11 14:41:55 +02:00 |
Maciej Suminski
|
b25781814d
|
Fixed cursors
|
2016-08-11 14:41:55 +02:00 |
Maciej Suminski
|
65a0327e85
|
Better normalization rules for SPICE_VALUE
|
2016-08-11 14:41:55 +02:00 |
Maciej Suminski
|
65c7520544
|
Bulletproof Simulation settings dialog
|
2016-08-11 14:41:54 +02:00 |
Maciej Suminski
|
16fec4d73e
|
Strip comas from a Spice value
|
2016-08-11 14:41:54 +02:00 |
Maciej Suminski
|
920cf09ac1
|
Fixed plot for DC sweep analysis
|
2016-08-11 14:41:53 +02:00 |
Maciej Suminski
|
38810930ec
|
Removed redundant TRACE_* classes
|
2016-08-11 14:41:53 +02:00 |
Maciej Suminski
|
dfeb5385f3
|
Disable current signals in all analyses but transient
|
2016-08-11 14:41:53 +02:00 |
Maciej Suminski
|
806b862a5e
|
Corrected Spice vector name for voltages
|
2016-08-11 14:41:53 +02:00 |
Maciej Suminski
|
114e3638e7
|
Renamed tabs in Spice model dialog
|
2016-08-11 14:41:52 +02:00 |
Maciej Suminski
|
5fdc32b79a
|
AC analysis plots using linear frequency scale
|
2016-08-11 14:41:52 +02:00 |
Maciej Suminski
|
324d27711a
|
Hide OP & noise analysis, scale settings for AC in settings dialog
|
2016-08-11 14:41:52 +02:00 |
Maciej Suminski
|
0f993ba98c
|
Current probing
|
2016-08-11 14:41:52 +02:00 |
Maciej Suminski
|
6e05d1656b
|
Bugfix for NETLIST_EXPORTER_PSPICE::GetSpiceField()
|
2016-08-11 14:41:51 +02:00 |
Maciej Suminski
|
caef84d622
|
SPICE_SIMULATOR::GetXAxis()
|
2016-08-11 14:41:51 +02:00 |
Maciej Suminski
|
27a7a9b1a5
|
Spice fields enum values renamed from SPICE_* to SF_*
|
2016-08-11 14:41:51 +02:00 |
Maciej Suminski
|
3ebc2494a7
|
Minor fix in NETLIST_EXPOTER_PSPICE
|
2016-08-11 14:41:51 +02:00 |
Maciej Suminski
|
cf28e843ba
|
Fix for crash when AC simulation is relaunched
|
2016-08-11 14:41:50 +02:00 |
Maciej Suminski
|
e5604fee1c
|
SPICE_VALUE bugfix
|
2016-08-11 14:41:50 +02:00 |
Maciej Suminski
|
ef45cd696d
|
Refresh plots after simulation is relaunched
|
2016-08-11 14:41:50 +02:00 |
Tomasz Wlostowski
|
e8d6a42e1a
|
simulator: working on magnitude/phase plots
|
2016-08-11 14:41:49 +02:00 |
Tomasz Wlostowski
|
e5bf70996b
|
eeschema: migrate SIM_PLOT_PANEL to improved wxMathPlot [wip]
|
2016-08-11 14:41:49 +02:00 |
Maciej Suminski
|
d869771f04
|
Display an error message if ngspice DLL is missing
|
2016-08-11 14:41:48 +02:00 |
Maciej Suminski
|
132e30081b
|
Disabled assert for unknown Spice primitives
|
2016-08-11 14:41:47 +02:00 |
Maciej Suminski
|
a717194b1e
|
Enable tuner for RLC components only
|
2016-08-11 14:41:45 +02:00 |
Maciej Suminski
|
92a3e405c2
|
Tuner tool.
|
2016-08-11 14:41:45 +02:00 |
Maciej Suminski
|
fead9ca831
|
TUNER_SLIDER widget
|
2016-08-11 14:41:44 +02:00 |
Maciej Suminski
|
4f9a418694
|
Moved SPICE_VALUE to a separate source file
|
2016-08-11 14:41:43 +02:00 |
Maciej Suminski
|
f62a6425a3
|
Changed the simulator code license to GPLv3+
|
2016-08-11 14:41:43 +02:00 |
Maciej Suminski
|
51f0564119
|
Signals are added using a separate dialog
|
2016-08-11 14:41:42 +02:00 |
Maciej Suminski
|
b897af7eb9
|
Added a few checks for SIM_PLOT_FRAME to improve robustness
|
2016-08-11 14:41:41 +02:00 |
Maciej Suminski
|
3999ff1973
|
Resized DIALOG_SIM_SETTINGS
|
2016-08-11 14:41:41 +02:00 |
Maciej Suminski
|
6bfe6342fc
|
Simulator fixes for Windows
|
2016-08-11 14:41:41 +02:00 |
Maciej Suminski
|
9acdedcb85
|
Improved library management in simulator Now it also gathers information from Spice_Lib_File fields
|
2016-08-11 14:41:40 +02:00 |
Maciej Suminski
|
1a6e048afc
|
Pressing Enter accepts changes in Simulation settings dialog
|
2016-08-11 14:41:40 +02:00 |
Maciej Suminski
|
246a43baf0
|
Spice model editor dialog
|
2016-08-11 14:41:40 +02:00 |
Maciej Suminski
|
3e2061158e
|
SIM_PLOT_FRAME: Do not update plots if the just run a different type of simulation
|
2016-08-11 14:41:39 +02:00 |
Maciej Suminski
|
4dc62e061b
|
SPICE_VALUE class to handle Spice value expressions
|
2016-08-11 14:41:39 +02:00 |
Maciej Suminski
|
63e8e17cce
|
Added missing class declaration in sch_component.h
|
2016-08-11 14:41:38 +02:00 |
Maciej Suminski
|
3a9dcca32f
|
Enum SPICE_FIELD
|
2016-08-11 14:41:38 +02:00 |
Maciej Suminski
|
01f40e258c
|
More elegant way for checking Spice_Netlist_Enabled value
|
2016-08-11 14:41:37 +02:00 |
Maciej Suminski
|
1c74e27366
|
NETLIST_EXPORTER_PSPICE fix
|
2016-08-11 14:41:37 +02:00 |
Maciej Suminski
|
06463252d7
|
wxMathPlot: Limited zooming and panning
|
2016-08-11 14:41:37 +02:00 |
Maciej Suminski
|
a83d4802f9
|
Load Spice directives from schematics when Sim settings dialog is launched
|
2016-08-11 14:41:36 +02:00 |
Maciej Suminski
|
78526ee913
|
Additional options for netlist exporter (fix passive values, library include paths)
|
2016-08-11 14:41:36 +02:00 |
Maciej Suminski
|
822f436231
|
Removed unused DIALOG_SIMULATE_PLOT
|
2016-08-11 14:41:35 +02:00 |
Maciej Suminski
|
6580a355ab
|
Strip 'stdout' & 'stderr' from ngspice log
|
2016-08-11 14:41:35 +02:00 |
Maciej Suminski
|
90b6112c5d
|
Rearranged SIM_PLOT_FRAME, changed console log from wxRichTextCtrl to wxTextCtrl
|
2016-08-11 14:41:35 +02:00 |
Maciej Suminski
|
e90fcaa6d9
|
New type of simulation opens a new plot
|
2016-08-11 14:41:35 +02:00 |
Maciej Suminski
|
fe92630f16
|
Fixes for DC sweep directive generated by Simulator settings dialog
|
2016-08-11 14:41:34 +02:00 |
Maciej Suminski
|
ab8c88f10b
|
SIM_TYPE enum
|
2016-08-11 14:41:34 +02:00 |
Maciej Suminski
|
ee1adcd92c
|
Fix for noise directive generated by Simulation settings dialog
|
2016-08-11 14:41:32 +02:00 |
Maciej Suminski
|
0da13052dd
|
SPICE_SIMULATOR interface allows to obtain different types of plots (mag, phase, real, imag)
|
2016-08-11 14:41:31 +02:00 |
Maciej Suminski
|
183fb24112
|
Fixed string for transient simulation directive
|
2016-08-11 14:41:31 +02:00 |
Maciej Suminski
|
c5227b7279
|
Fix: use correct node numbers in noise simulation directive
|
2016-08-11 14:41:31 +02:00 |
Maciej Suminski
|
3c909e2c32
|
Allow typing zeroes in Simulation settings dialog
|
2016-08-11 14:41:31 +02:00 |
Maciej Suminski
|
d055692cf3
|
Renamed 'Simulate' to 'Simulator' in menu
|
2016-08-11 14:41:30 +02:00 |
Maciej Suminski
|
2b1784cfc6
|
Simulation settings combo boxes are filled with net/power source choices
|
2016-08-11 14:41:30 +02:00 |
Maciej Suminski
|
95ca3914ce
|
Fields in simulation settings dialog are treated as invalid when empty
|
2016-08-11 14:41:29 +02:00 |
Maciej Suminski
|
96dcee81fe
|
Modified Spice netlist exporter to run in two passes Now it creates a list of Spice items, so they can be used by other objects, instead of directly dumping them.
|
2016-08-11 14:41:29 +02:00 |
Maciej Suminski
|
a2b16ae640
|
Initial 'Simulation settings' dialog
|
2016-08-11 14:41:29 +02:00 |
Maciej Suminski
|
17294aaf6a
|
Simulation plot CSV & PNG export
|
2016-08-11 14:41:28 +02:00 |
Maciej Suminski
|
1d4fe279db
|
Menu entries to toggle legend & coordinates
|
2016-08-11 14:41:27 +02:00 |
Maciej Suminski
|
8c138312fb
|
Cursors are updated on request instead of using update UI events Previously CPU was busy updating the list of cursors even though nothing was changing.
|
2016-08-11 14:41:27 +02:00 |
Maciej Suminski
|
e364cfdbac
|
Renamed wxEVT_SIM* events to EVT_SIM*
|
2016-08-11 14:41:27 +02:00 |
Maciej Suminski
|
fa4ba69661
|
Simplified SIM_PLOT_FRAME layout Removed unnecessary panels & sizers, changed wxAuiNotebook to wxNotebook
|
2016-08-11 14:41:26 +02:00 |
Maciej Suminski
|
433f934dc1
|
Simulation frame displays a list of cursors and their values
|
2016-08-11 14:41:26 +02:00 |
Maciej Suminski
|
f3fabeb9fb
|
Right click context menu for signals (including adding cursors)
|
2016-08-11 14:41:25 +02:00 |
Maciej Suminski
|
88adcc894a
|
SIM_PLOT_FRAME::CurrentPlot() made public
|
2016-08-11 14:41:25 +02:00 |
Maciej Suminski
|
cd25e62052
|
CURSOR does not take mpWindow* in constructor
|
2016-08-11 14:41:24 +02:00 |
Maciej Suminski
|
0b0885f6cd
|
Removed 'Parameters' listbox, expanded 'Signals' list
|
2016-08-11 14:41:24 +02:00 |
Maciej Suminski
|
8b61bb4acc
|
Signals toggling in SIM_PLOT_PANEL
|
2016-08-11 14:41:24 +02:00 |
Maciej Suminski
|
ba99dfdabf
|
CURSOR class for simulation plot
|
2016-08-11 14:41:22 +02:00 |
Maciej Suminski
|
24bccb00d6
|
Menu event handlers for simulation plot frame
|
2016-08-11 14:41:22 +02:00 |
Maciej Suminski
|
51906625ee
|
Replaced sim plotting widget with wxMathPlot
|
2016-08-11 14:41:21 +02:00 |
Maciej Suminski
|
951d16c655
|
Fixed Spice netlist export options and added a few new flags
|
2016-08-11 14:41:20 +02:00 |
Maciej Suminski
|
5795a2dbf3
|
Fixed Spice netlist exporter
|
2016-08-11 14:41:20 +02:00 |
Maciej Suminski
|
68e3daec6e
|
Removed probe-related stuff from NETLIST_EXPORTER_PSPICE
|
2016-08-11 14:41:20 +02:00 |
Maciej Suminski
|
9f3324bac7
|
Changed the way ngspice is executed Previously it was run in a wxThread, but it did not allow to issue commands while the simulation is running. If you check ngspice shared library source code, then you will discover "bg_*" commands that executes commands in background, so the simulator still can be controlled.
|
2016-08-11 14:41:19 +02:00 |
Maciej Suminski
|
544da3feda
|
Handle 'Simulate' button label in idle event handler
|
2016-08-11 14:41:19 +02:00 |
Maciej Suminski
|
aea29fc730
|
Update already plotted signals upon simulation run
|
2016-08-11 14:41:18 +02:00 |
Maciej Suminski
|
38042ac9e0
|
NGSPICE class minor cleanup
|
2016-08-11 14:41:17 +02:00 |
Maciej Suminski
|
8fdb9e8307
|
SIM_PLOT_FRAME::NewPlot() -> SIM_PLOT_FRAME::NewPlotPanel()
|
2016-08-11 14:41:17 +02:00 |
Maciej Suminski
|
8a6e6f2d36
|
Do not add a trace if it is already plotted
|
2016-08-11 14:41:16 +02:00 |
Maciej Suminski
|
cb463f48b1
|
Add a signal on double click
|
2016-08-11 14:41:16 +02:00 |
Maciej Suminski
|
0d764741f9
|
Simulation commands moved from eeschema menu to SIM_PLOT_FRAME buttons
|
2016-08-11 14:41:16 +02:00 |
Maciej Suminski
|
751a335503
|
Minor SIM_PLOT_FRAME redesign
|
2016-08-11 14:41:16 +02:00 |
Maciej Suminski
|
2b1d2d7bd1
|
Fixed Kiway problems in SIM_PLOT_FRAME
|
2016-08-11 14:41:15 +02:00 |
Maciej Suminski
|
40224f48fb
|
Minor simulation plot style changes
|
2016-08-11 14:41:14 +02:00 |
Maciej Suminski
|
781a12222c
|
Fixed simulation plot legend
|
2016-08-11 14:41:14 +02:00 |
Maciej Suminski
|
0261a0e59c
|
Axis autorange
|
2016-08-11 14:41:14 +02:00 |
Maciej Suminski
|
91d1f7135b
|
SIM_PLOT_PAINTER class
|
2016-08-11 14:41:12 +02:00 |
Maciej Suminski
|
ae5424c44a
|
Probe cursor (TODO: has to be discussed)
|
2016-08-11 14:41:12 +02:00 |
Maciej Suminski
|
ac17165947
|
Initial version of simulator probe tool
|
2016-08-11 14:41:11 +02:00 |
Maciej Suminski
|
aa3e251cdd
|
Sim plots get consecutive numbers
|
2016-08-11 14:41:11 +02:00 |
Maciej Suminski
|
112cf074f6
|
Heuristics to correct passive component values
|
2016-08-11 14:41:11 +02:00 |
Maciej Suminski
|
a4868a0e5a
|
Minor fixes to debug output
|
2016-08-11 14:41:10 +02:00 |
Maciej Suminski
|
b6eab191d0
|
Added a button to add Spice fields to a schematic component
|
2016-08-11 14:41:10 +02:00 |
Maciej Suminski
|
0d8c095215
|
Fill the signal list box when a simulation is finished
|
2016-08-11 14:41:10 +02:00 |
Maciej Suminski
|
171e649313
|
Fixed type names (NET_INDEX_MAP & PROBE_LIST)
|
2016-08-11 14:41:10 +02:00 |
Maciej Suminski
|
402a438339
|
NETLIST_EXPORTER_PSPICE adjusts paths for .include directives
|
2016-08-11 14:41:09 +02:00 |