Commit Graph

7365 Commits

Author SHA1 Message Date
dwarning bf020ca173 vbic: correct op reporting for excess phase model 2024-07-23 10:50:19 +02:00
Holger Vogt 31dba308d6 Merge branch 'pre-master-44' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master-44 2024-07-20 17:55:27 +02:00
Holger Vogt f0ff8b230b Remove sourceinfo upon shared ngspice reset.
Remove memory leaks.
2024-07-20 17:54:43 +02:00
dwarning cbca05cd6b format: rm misleading indentation 2024-07-20 16:09:39 +02:00
Holger Vogt 272e4cc6fb Memcpy only when p_word is not NULL
enable -fsanitize=address
2024-07-16 17:01:57 +02:00
Holger Vogt 98479267d4 Revert "memcpy only if p_word is not NULL"
This reverts commit 58787756d4.
2024-07-16 16:48:23 +02:00
Holger Vogt a43c6f4916 Add #define RESMIN 1e-6 as a minimum resistor value 2024-07-16 16:25:54 +02:00
Holger Vogt 0ac18a37c0 Stop the worker thread when running
Delete mutexes only after all other resets and delets.
2024-07-16 16:22:07 +02:00
Holger Vogt c61fc35231 Set pl_lookup_table to NULL after freeing: allow another initialization 2024-07-16 16:21:53 +02:00
Holger Vogt 07b10bc1a1 Bail out when state file is not found. 2024-07-16 16:21:44 +02:00
Holger Vogt d2cc17b45d Add function ngSpice_Reset(void) to completely reset shared ngspice,
so that it may be restartet again by ngSpice_Init
2024-07-16 16:21:36 +02:00
Holger Vogt 620b9c86ce Update copyright 2024-07-16 16:21:22 +02:00
Holger Vogt 58787756d4 memcpy only if p_word is not NULL 2024-07-16 16:06:54 +02:00
b'Holger Vogt 0721afc355 Merge /u/mtasaka/ngspice/ branch asan-segv-fix into pre-master-44
https://sourceforge.net/p/ngspice/ngspice/merge-requests/19/
2024-07-16 07:35:20 +00:00
Mamoru TASAKA 38f6bbe5ec misc/string.c: fix one byte ahead access in dup_string
In dup_string in misc/string.c , even if the destination
buffer is allocated with n_char bytes,
the source buffer `str` can be accessed up to only n_char bytes.
2024-07-16 15:52:09 +09:00
Holger Vogt 942b4f62b4 43+ developing towards ngspice-44 2024-07-14 12:58:45 +02:00
Holger Vogt 2af390f0b1 Update copyright info 2024-07-13 10:14:02 +02:00
dwarning 08d834841f diode: init of potential uninitialized variable 2024-07-12 14:26:53 +02:00
dwarning 4ad7d10aef init of potential uninitialized variables 2024-07-12 14:26:44 +02:00
dwarning bbfb3953ed repair missing parenthesis 2024-07-12 14:26:33 +02:00
dwarning aae53f3641 complete vbic nqs effect implementation 2024-07-12 14:26:18 +02:00
dwarning 065b1c817c more complete vbic dc/tran nqs effect 2024-07-12 14:25:04 +02:00
dwarning 6e6e2fb203 first attempt to include NQS effect 2024-07-12 14:24:50 +02:00
Holger Vogt 1fef3835c9 Fix common typo: unkown -> unknown 2024-07-09 14:50:21 +02:00
Holger Vogt 3c7012a826 Repair the link to the xhtml manual
Thanks to Geoffrey Coram for the hint.
2024-07-05 23:59:37 +02:00
Holger Vogt 83e8cb3715 Remove VS compiler warning 2024-07-05 13:53:04 +02:00
dwarning 62677575fa vbic: init of thermal capacitances 2024-07-05 13:52:56 +02:00
dwarning 113275d3be vbic: save Vrth into state vector 2024-07-05 13:52:45 +02:00
dwarning 1b56bbe297 vbic: complete reactive part into acload 2024-07-05 13:52:33 +02:00
dwarning 8a88442004 vbic: more adding reactive part into acload 2024-07-05 13:52:22 +02:00
dwarning 32c4f24bfe vbic: first add reactive part into acload 2024-07-05 13:52:11 +02:00
dwarning c90da3ee38 vbic: add resistive part into acload 2024-07-05 13:52:03 +02:00
Holger Vogt acdd93f157 If compiling shared ngspice, don't set up a terminal. 2024-07-01 09:42:58 +02:00
Holger Vogt 28d8301b5f Prevent crash upon buggy user input 2024-07-01 09:42:45 +02:00
Holger Vogt 442d8554f0 Enable single terminal n devices (Verilog-A modules) 2024-07-01 09:42:28 +02:00
Holger Vogt 727a920032 Authorship for HICUM 2024-06-24 17:21:50 +02:00
Holger Vogt 33939d3f50 Prepare ngspice-43 2024-06-22 17:06:45 +02:00
Holger Vogt 14bb63490c Plug a memory leak 2024-06-22 16:33:53 +02:00
Brian Taylor d01868b725 Cleanup gcc compiler warnings. 2024-06-22 14:23:50 +02:00
Holger Vogt b1795dbcf2 add path or filepath (without file name) to variable sourcepath,
when calling command 'source'
2024-06-22 14:23:41 +02:00
Holger Vogt fb6820de30 Send warning message to stderr, not to stdout. 2024-06-22 14:23:29 +02:00
dwarning 11a3711d86 revert commit ea4c438 and db85dead by removing VJ and M limiting 2024-06-22 14:23:13 +02:00
Holger Vogt dd6089c4fc Improved warning message: hint to line causing the warning. 2024-06-22 14:22:59 +02:00
Holger Vogt f15a92d997 Revise commit
75c2a3c621/
If the frquency difference is less than a decade, use the old
frequency calculation.
If start and stop frequencies are equal, use a single point only.
2024-06-22 14:22:38 +02:00
Holger Vogt d61a728688 Add function check_for_nodes to
check if there are enough tokens in an instance line.
2024-06-22 14:22:06 +02:00
Holger Vogt 0362953cd4 Bail out when the instance line is not complete.
Moving on does typically not make any sense.
2024-06-22 14:21:56 +02:00
Holger Vogt e5195c10a3 Enable monotonic negative growth of abscissa values. 2024-06-22 14:21:42 +02:00
Holger Vogt 32901f9d0c Error messages to stderr only.
For MS Windows: Make code model path absolute.
Call LoadLibrary only when *.cm file exists. Until now
spurious return from LoadLibrary prevented error message,
when *.cm was not found, followed by a crash upon 'quit'.
2024-06-22 14:21:28 +02:00
Holger Vogt fa5ac4a0cd When reading code models, allow only a single model pere command
(as was implicitely assumed anyway).
2024-06-22 14:21:15 +02:00
Holger Vogt 344beaad24 Add ft_spiniterror, to be set during spinit processing,as
ft_stricterror will be set only later, when .spiceinit is
executed.
2024-06-22 14:21:01 +02:00