Commit Graph

42 Commits

Author SHA1 Message Date
Giles Atkinson d86a0c77cb Improve scheduling of breakpoints for V-source (PULSE and PWL).
This fixes bugs with the TRA delay line reported by Tom Hajjar in
the Help forum, Jan 11 2024.
2024-01-13 18:06:46 +00:00
Giles Atkinson 5f6a6a27d8 Further fix for PWL bugs introduced by 9c71db3 (Fix for Bug #607) and
partially fixed by 79c69e0 and 9c75367.  This also fixes Bug #468 -
"Bugs in src/spicelib/devices/vsrc/vsrcacct.c for PWL source."
2023-07-15 11:29:51 +02:00
Giles Atkinson ad5bb9eb8d Fix Bug #607 -
"DC Source with Pulse stops pulsing half way through simulation".
Do not require breakpoints to be hit almost exactly before scheduling
the next one.  That may cause the next breakpoint to be lost.
2023-05-27 10:43:01 +02:00
Holger Vogt 631ff35c34 The 8th parameter on a voltage or current source now is 'number of pulses'.
Previous usage had been PHASE, introduced by XSPICE, which has
been redundant to DELAY. PHASE is again available when compatibility flag
xs has been set.
2022-12-11 15:32:51 +01:00
Holger Vogt cbf4305ff8 Remove the XSPICE dependency of the phase parameter for the
independent voltage source.
2020-12-22 17:56:18 +01:00
Holger Vogt 03f9ac82b3 Relax the numerical precision a little bit when
comparing real valued time values.
Fixes bug no 536 reported by Victor Kuchynsky
2020-12-22 17:56:18 +01: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
rlar 2dcb79d09c GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch 2018-02-17 11:53:01 +01:00
dwarning b535b43980 1-f-code.c, use fftw3 2014-01-02 09:54:00 +01:00
h_vogt 8147b03465 shared ngspice: external voltage source 2013-12-31 16:11:40 +01:00
h_vogt 8a1cec25a5 vsrc, isrc TRNOISE: allow repeated calls to 'tran' 2012-12-22 17:57:31 +01:00
rlar a394d79c56 use utf-8 encoding 2012-10-20 21:27:15 +02:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +00:00
h_vogt 4cbfbad8b5 type long --> int 2011-08-21 10:43:07 +00:00
rlar d26015586c #1/7 use a subdirectory "ngspice" for includes to create a uniq namespace 2011-08-20 17:27:09 +00:00
rlar b778c50bd6 code cleanup, some warnings, some casts, ... 2011-04-28 17:05:22 +00:00
rlar 49211d2153 vsrc, isrc, whitespace cleanup 2011-02-27 20:40:48 +00:00
rlar 598b4c6b83 vsrc, isrc, cleanup aiming for more similarity 2011-02-27 20:39:03 +00:00
h_vogt c162d3273f vsrc trrandom option 2011-01-16 19:19:42 +00:00
h_vogt f476389531 RTS noise 2010-12-18 17:05:44 +00:00
rlar c5c551a70a rewrite TRNOISE, with the intention to separate the noise sequenze computation
from its use in the VSRC device.
2010-12-12 19:41:29 +00:00
h_vogt b1e1c03430 sichere Breakpoints bei TRNOISE 2010-12-12 12:27:51 +00:00
h_vogt 5e1ed023c6 transient noise simulation 2010-11-27 16:36:03 +00:00
h_vogt f21f2a05bc PULSE: correct timing in case of phase != 0 2010-11-21 21:06:00 +00:00
h_vogt 4ab496dd1b PULSE: correct timing in case of phase != 0 2010-11-21 17:16:49 +00:00
h_vogt 2e06867da6 PULSE: correct timing in case of phase != 0 2010-11-21 15:06:55 +00:00
h_vogt 95b7a297fa PULSE: correct timing in case of phase != 0 2010-11-21 00:32:54 +00:00
h_vogt 39fccad193 PULSE: correct timing in case of phase != 0 2010-11-21 00:30:22 +00:00
h_vogt 413d0ff103 PULSE: correct timing in case of phase != 0 2010-11-21 00:11:43 +00:00
h_vogt 8ba1e81a9b PULSE: allow time < 0.0 2010-11-20 17:18:23 +00:00
dwarning 883eba85be Correct bitwise operation 2010-09-18 15:45:19 +00:00
dwarning 461d229da7 Correct bitwise operation 2010-09-18 09:02:33 +00:00
h_vogt 5221bffddf pwl td= r= 2010-02-26 22:55:40 +00:00
pnenzi aa93968573 Fixed bug in time computation for vsrc and isrc with xspice extensions. 2009-12-19 18:15:03 +00:00
h_vogt ee349375bd error during debug:' time' not defined 2008-09-23 22:15:27 +00:00
dwarning b7e71db2ad AlmostEqualUlps on central place 2007-11-21 17:05:51 +00:00
dwarning 41325622fd some clean-up's to come through MSC 2007-10-18 19:34:30 +00:00
pnenzi a52a87ddd8 Added "r" option to vsrc, aliased some parameters on r and c, added safe floating point comparison (from Phil Barker) 2007-10-09 08:44:49 +00:00
pnenzi aae86db65c Added XSPICE extensions (PHASE parameter) and AM transient function. 2005-05-10 07:01:47 +00:00
pnenzi 01bbb31d2e Cleaned up isrc and vsrc code and updated their status into DEVICE file. 2004-01-26 19:51:11 +00:00
arno 9819983733 * Removed unnecessary 'register' keywords. 2000-07-11 13:39:04 +00:00
pnenzi 978f1c32a2 Initial revision 2000-04-27 20:03:57 +00:00