Commit Graph

7010 Commits

Author SHA1 Message Date
Holger Vogt 110a853ce5 Fix a bug when reading a list of type ( 2 4 6 ): If ')' was not
the last token, an error message was generated.
2020-10-10 12:19:23 +02:00
Holger Vogt 64e5e13c4e Bug no. #512: Set a breakpoint at delay time td to safely
catch the starting time point of the random numbers
2020-10-10 12:19:04 +02:00
dwarning 2b33ef8c58 VDMOS fix bypass label in diode section 2020-10-10 12:18:46 +02:00
dwarning 1ae131551b truncation error calculation for body diode charge 2020-10-10 12:18:23 +02:00
dwarning 56b8da7be6 white spaces 2020-10-10 12:18:07 +02:00
dwarning 797042e7e7 include power dissipation of drain resistance 2020-10-10 12:17:03 +02:00
dwarning 04a1a74c2e limit deltemp maximum stepsize 2020-10-10 12:16:34 +02:00
dwarning 3f4b24be89 VDMOS change name of some matrix entries to make life easier 2020-10-10 12:16:04 +02:00
dwarning 17497eddec VDMOS change thermal left and rigth side signs that mos and diode part follow same logic 2020-10-10 12:15:51 +02:00
dwarning 689d561c9e unify temperature limit routine for usage in self-heating model 2020-10-10 12:15:37 +02:00
dwarning 04656c4596 rearrange and white spaces 2020-10-10 12:15:14 +02:00
dwarning 7f5f8ac69f correct peripheral resistor current temperature dependency 2020-10-10 12:15:02 +02:00
dwarning 8a7fce8676 BJT prevent crash in qs model for insane parameter entry 2020-10-10 12:14:50 +02:00
dwarning c8fa54ce1c BJT Kull Quasi-Saturation model 2020-10-10 12:14:37 +02:00
dwarning 9a6ec08287 VBIC add quasi-saturation example 2020-10-10 12:14:12 +02:00
dwarning d00fbd0c51 workaround for bug #511 to prevent copy model parameter M to device multiplier 2020-10-10 12:13:55 +02:00
dwarning aab54e8a55 add alternative temperature model for certain jfet parameter 2020-10-10 12:13:19 +02:00
Holger Vogt b0a790a463 proper size_t to int conversion 2020-10-10 12:12:59 +02:00
Holger Vogt 8ea8ddcc03 simplify the previous commit, single step warp if multibyte utf-8 character 2020-10-10 12:12:37 +02:00
Holger Vogt f911758e4b X11: re-enable writing text to a graph if libxft is used 2020-10-10 12:12:21 +02:00
Holger Vogt 445c6f2d32 fix a bug that occurs when xspice is not selected
missing function parameter has been introduced in previous commit
2020-10-10 12:11:41 +02:00
Holger Vogt 602baf68e6 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-10-10 12:11:14 +02:00
Holger Vogt 60dfe836f4 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-10-10 12:10:43 +02:00
Holger Vogt 1698004078 The tests of cmaths function will be done only on request,
with configure flag --enable-cmathtests
2020-10-10 12:09:52 +02:00
Holger Vogt ca27319213 no forcing lower-case letters for command 'cd' 2020-10-10 12:09:25 +02:00
Holger Vogt 37858e66ec utf-8 without BOM 2020-10-10 12:08:41 +02:00
Holger Vogt a0389bb547 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-20 15:49:32 +02:00
Holger Vogt 26a4a32b8b avoid some compiler warnings 'referencing a NULL pointer' 2020-08-20 15:49:05 +02:00
Holger Vogt 458411b2e1 more precise freeing the wordlist, depending on exit point 2020-08-20 15:48:45 +02:00
Holger Vogt bc52389a09 No more printout of 'Initial Transient Solution'
when .tran with uic
2020-08-20 15:48:30 +02:00
Holger Vogt a4f3036706 typo 2020-08-20 15:48:15 +02:00
Holger Vogt e3aad7849c remove vceo= and icrating= from bjt model cards 2020-08-20 15:47:49 +02:00
Holger Vogt c69a4d6633 fix typo
Reported by Ferdy in bug report #506
2020-08-20 15:47:17 +02:00
Kevin Zheng efde6902a0 indentation 2020-08-20 15:46:44 +02:00
Holger Vogt 54d8c990c5 src/spicelib/analysis/dcpss.c
line endings Windows --> Linux
2020-08-20 15:44:04 +02:00
Holger Vogt 23ceaabf83 fix a memory leak
Reported in bug report 504 by Ferdy
2020-08-20 15:41:39 +02:00
Holger Vogt a04c909a23 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-08-20 15:41:15 +02:00
Holger Vogt f9f8174cb8 enable debug output, taking into account that there may be two threads
accessing fcn SetAnalyse()
2020-08-20 15:40:16 +02:00
Holger Vogt c68940712d prevent writing beyond end of buffer 2020-08-20 15:39:55 +02:00
Holger Vogt 02222be165 enable loading ext-utf8-2.cir by $inputdir 2020-08-20 15:39:37 +02:00
Holger Vogt ebb1e953fe Streamline the compatibility flag generation 2020-08-20 15:39:19 +02:00
Holger Vogt f03a32287f If 'set ngbehavior=ki' in .spiceinit or flag 'kicad' on the plot line:
Add " around vector names containing character /
Numerical ivision in plot line then requires spaces around /
2020-08-20 15:39:00 +02:00
Holger Vogt c112279555 new compatibility handling with struct compat newcompat:
simplify the compatibility handling, better readability
make it easily extendable
add new flag 'ki' for KiCad compatibility
2020-08-20 15:38:43 +02:00
Holger Vogt 9defcae963 Do not compile in fcn main() when shared ngspice is made 2020-08-20 15:38:29 +02:00
Holger Vogt 0caeaccdd3 fix typo 2020-08-20 15:38:18 +02:00
Kevin Zheng 068a1fee55 Fix indentation 2020-08-20 15:30:08 +02:00
Kevin Zheng ccd4df6a47 Add parser outputs to gitignore 2020-08-20 15:30:00 +02:00
caand 6907d17985 add missing get_sysmem() when no info available 2020-08-20 15:29:49 +02:00
Holger Vogt a406af26d6 bug fix 'extern int sh_vecinit()', not void
See patch #96, thanks to Balazs Kovacs
2020-08-20 15:29:42 +02:00
Holger Vogt ce69e8d70c Don't send the empty line to create_circbyline(),
it is not used anymore and may cause a crash
2020-08-20 15:29:21 +02:00