Commit Graph

7030 Commits

Author SHA1 Message Date
dwarning ee3bf7f998 correct peripheral resistor current temperature dependency 2020-09-09 15:51:29 +02:00
dwarning 7d9c6c6b42 BJT prevent crash in qs model for insane parameter entry 2020-09-09 09:52:23 +02:00
dwarning a3f99eb2ce BJT Kull Quasi-Saturation model 2020-09-09 09:24:20 +02:00
dwarning aa4681ea98 VBIC add quasi-saturation example 2020-09-04 23:36:25 +02:00
dwarning c98f2661ba VBIC copy before voltage prediction 2020-09-04 23:30:06 +02:00
dwarning 8ff1716458 workaround for bug #511 to prevent copy model parameter M to device multiplier 2020-08-25 17:37:29 +02:00
dwarning d407258e11 add alternative temperature model for certain jfet parameter 2020-08-25 17:36:10 +02:00
Holger Vogt 9e422be493 proper size_t to int conversion 2020-08-20 17:25:55 +02:00
Holger Vogt 43b96d69bf simplify the previous commit, single step warp if multibyte utf-8 character 2020-08-18 10:40:14 +02:00
Holger Vogt 8c1862cd8f X11: re-enable writing text to a graph if libxft is used 2020-08-18 09:43:11 +02:00
Holger Vogt 835471af1d add fcn com_optran(wordlist* wl) to enable compiling ngnutmeg 2020-08-18 00:54:28 +02:00
Holger Vogt 2bf743a07b remove unused 2020-08-18 00:53:54 +02:00
Holger Vogt ad14f310e4 fix a bug that occurs when xspice is not selected
missing function parameter has been introduced in previous commit
2020-08-17 23:44:44 +02:00
Holger Vogt 39913b64d1 spice2g6 allows to omit the poly(n) statement, if the
polynomial is one-dimensional (n==1).
For compatibility with the XSPIXE code, we have to add
poly(1) appropriately.
2020-08-15 11:33:02 +02:00
Holger Vogt bdf0136f8f If ps is enabled, .dc TEMP -15 75 5 will have been
modified to .dc (TEMPER) -15 75 5.
So we repair it here with a preliminary fix.
2020-08-13 22:45:00 +02:00
Holger Vogt 50296c6796 The tests of cmaths function will be done only on request,
with configure flag --enable-cmathtests
2020-08-13 22:42:35 +02:00
Holger Vogt 1c9d71b7ce no forcing lower-case letters for command 'cd' 2020-08-11 18:13:54 +02:00
Holger Vogt e6fb9c95af utf-8 without BOM 2020-08-10 21:42:13 +02:00
Holger Vogt 8375cfac3e add com_optran.h 2020-08-09 14:37:50 +02:00
Holger Vogt fae9193f2b add optran.c 2020-08-09 14:25:11 +02:00
Holger Vogt f57744e322 Add optran.c
New custom build commands as suggested by VS
2020-08-09 14:19:00 +02:00
Holger Vogt 0f35363613 Use InpEvaluate() instead of strtod to enable ngspice numbers
with scale factors Meg k m u n p f etc.
2020-08-09 14:18:48 +02:00
Holger Vogt a077bac97d Reverse stepsize and finaltime in optran command,
stepsize first as in tran command.
2020-08-09 14:18:48 +02:00
Holger Vogt 33d7cbad98 prevent crash if first breakpoint is beyond optran max time 2020-08-09 14:18:48 +02:00
Holger Vogt 589bfa6edc add tran simulation 2020-08-09 14:18:47 +02:00
Holger Vogt 2b4e880122 test of supply ramping 2020-08-09 14:18:47 +02:00
Holger Vogt b56e81d5fe updates to optran description and example. 2020-08-09 14:18:47 +02:00
Holger Vogt 0426ea8e55 upon finishing 'optran', restore old CKTstep
remove unused
2020-08-09 14:18:47 +02:00
Holger Vogt 722f4436f0 safeguard command 'optran' against circuit no being loaded 2020-08-09 14:18:47 +02:00
Holger Vogt 487f2e9e46 add missing header 2020-08-09 14:18:47 +02:00
Holger Vogt ab97ff6139 header for optran 2020-08-09 14:18:47 +02:00
Holger Vogt 7463198c5c Pass Labs F5 Turbo
example for optran
2020-08-09 14:18:47 +02:00
Holger Vogt f6723e8346 When we sre ready, reset CKTmaxstep to its previous value 2020-08-09 14:18:47 +02:00
Holger Vogt f811659f08 set maxstepsize to stepsize 2020-08-09 14:18:46 +02:00
Holger Vogt 26985c20bc set the task values, not the ckt values,
because task is called only afterwards when
the simulation command is given.
2020-08-09 14:18:46 +02:00
Holger Vogt 5acf4fac2f Update the description, new 'optran' command 2020-08-09 14:18:46 +02:00
Holger Vogt 6eff472b50 fix some text entry 2020-08-09 14:18:46 +02:00
Holger Vogt ff9f303fcd short description of branch contents 2020-08-09 14:18:46 +02:00
Holger Vogt 0744c7bb63 set stepsize 2020-08-09 14:18:46 +02:00
Holger Vogt 0f013ff55e Add command 'optran' to set 6 flags for transient op 2020-08-09 14:18:46 +02:00
Holger Vogt 7f08f4d31a Transient op calculation added to the standard oerating point code.
When standard iteration, gmin stepping and source stepping fail,
try a transient simulation (like tran with uic option) to
determine the op. Implemented for AC and Tran simulation.
2020-08-09 14:18:45 +02:00
Holger Vogt d78f95eec2 In PS compatibility mode:
In subcircuit .subckt and X lines with 'params:' statement
replace comma separator by space. Do nothing if comma is inside of {}.
2020-08-09 10:31:06 +02:00
Holger Vogt 3ec5140600 avoid some compiler warnings 'referencing a NULL pointer' 2020-08-09 10:24:34 +02:00
Holger Vogt 213c5fedba more precise freeing the wordlist, depending on exit point 2020-08-09 10:23:43 +02:00
Holger Vogt 830984d04d No more printout of 'Initial Transient Solution'
when .tran with uic
2020-08-09 10:23:07 +02:00
Holger Vogt 273c1bde3d typo 2020-08-09 10:21:30 +02:00
Holger Vogt c1fa9fdfe3 remove vceo= and icrating= from bjt model cards 2020-08-03 23:11:55 +02:00
Holger Vogt 3f9ef62996 fix typo
Reported by Ferdy in bug report #506
2020-08-03 22:44:08 +02:00
Holger Vogt 2614d92595 fix a memory leak
Reported in bug report 504 by Ferdy
2020-08-03 22:41:32 +02:00
Holger Vogt 137d5b6d56 Don't add copied scale vector as new vector, but as new scale vector,
thus preventing crash after pushing X11 'Hardcopy' twice or
pushing 'quit' after 'Hardcopy'.
Scale vector was deleted two times, then crashimg ngsoice.
2020-07-30 16:46:16 +02:00