Commit Graph

35 Commits

Author SHA1 Message Date
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
Alessio Cacciatori 4ebf4901b9 S-parameters in ngspice
With this commit the patch provided by Alessio Cacchiatori the S-parameter is completed:
Noise simulation added with C matrix output
Y and Z matrix output enabled

To allow compiling with gcc, the dense.h inline functions have been put into denseinlines.h
2022-04-25 21:31:28 +02:00
Alessio Cacciatori 2c10c4aebd S parameter simulation
Command '.sp'
arbitrary number of ports
ports made with modified VSRC

Patch provided by Alessio Cacciatori
https://sourceforge.net/p/ngspice/discussion/127605/thread/7a2655c86f/
2022-02-17 15:48:00 +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 c88578e2c5 noise value is 0 for time == zero.
Only when time changes from time == 0 to time > 0,
the 1/f noise data are generated once per voltage instance
with 1/f noise requested.
2018-08-22 22:38:34 +02:00
rlar 2dcb79d09c GENmodel, GENinstance, change layout, #1/4, coccinelle semantic patch 2018-02-17 11:53:01 +01:00
rlar 07d89b5fcd devices/**, unify structure member variables, ptr -> Ptr 2017-03-17 17:42:58 +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
Francesco Lannutti 1dc70189a7 remove compilation warnings (type casts) 2012-10-26 18:04:44 +02:00
Francesco Lannutti c23bd59c44 removed ancient PARALLEL_ARCH feature
removed variables
  ARCHme
  ARCHsize

removed functions
  SMPcombine()
  SMPcCombine()
  CKTpartition()

removed files
  spcombin.c
  cktpartn.c

removed struct slots
  STATcombineTime
  STATtranCombTime
  STATacCombTime
  GENowner
  <MODEL>owner
2012-10-22 23:06:25 +02:00
rlar 0b5042e7da remove CVS `Id',`log' etc. keyword incantations 2011-12-13 19:57:45 +00:00
rlar 10346e055c #1/4 #include <ngspice/...> --> #include "ngspice/..." 2011-12-11 18:05:00 +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 2a693e2d80 merge TRRANDOM vsrc -> isrc 2011-02-28 20:32:34 +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
rlar 015741260f bug fix, three of them (vsrc, isrc) 2011-02-27 20:05:32 +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 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 5221bffddf pwl td= r= 2010-02-26 22:55:40 +00:00
h_vogt d8810a841a patches by R. Larice 2010-01-17 16:40:22 +00:00
h_vogt 99533fa109 start value for sine 2009-12-20 08:44:50 +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
sjborley c2fb0224ed Implemented patches supplied by Andreas Unger <a_unger@gmx.de>. Fixes XSpice bug; variable PER was being used before initialisation. 2005-10-15 13:53:58 +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
pnenzi 0875108157 Added patches extracted from Alan Gillespie's code. Documentation and
author's file not updated.
2000-09-03 09:00:08 +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