Holger Vogt
7b6cd86a62
re-write vswitch transformation code:
...
first scan: check for each .model with vswitch
second scan: check for switch instances
(s lines) using the models
2018-05-22 20:19:50 +02:00
Holger Vogt
210345c78a
example for mixed vswitch, standard switch circuit
2018-05-21 23:37:50 +02:00
Holger Vogt
404fd7f3b9
move example files
2018-05-19 16:56:57 +02:00
Holger Vogt
e06def0645
move vdmos examples to the examples directory
2018-05-18 15:58:45 +02:00
Holger Vogt
949299f2fc
add examples for PSPICE -> ngspice transfer
2018-05-18 15:57:20 +02:00
h_vogt
f46a003c59
example file for current measurement with function i(device)
2018-05-15 23:19:48 +02:00
h_vogt
40e3d4bf95
examples/various: tests and loops using alterparam
2018-05-15 23:00:33 +02:00
Holger Vogt
560cb6e970
plotting/grid.c, bug fix, avoid string buffer overflow
...
Prevent a crash of example/FFT_test.cir.
Buffer 'buf' in function drawlingrid() has been too small.
Increase 'buf' size, and add some protection.
The example file examples/plot/test-small-plot.cir
shows the limits of plotting:
difference in two numbers at digit 14 is plotted well.
at digit 15 is plotted with bugs.
at digit 16 is reduced to integer.
consider compiling with
-O1 -D_FORTIFY_SOURCE=2
for gcc, and
/GS
for visual studio.
2018-01-27 21:58:15 +01:00
rlar
06f2ce9087
examples/tclspice, cleanup "wish" trampoline and add emacs mode specification
2017-10-19 17:57:37 +02:00
rlar
fad7605c21
examples/tclspice, rename test bench scripts, .tcl --> .sh
...
Customers have been mislead to invoke them with tclsh or wish.
Actually some are indeed tcl scripts which could be invoked with "wish"
All these scripts include a #!/bin/sh trampoline to the proper interpreter.
No script was meant to be interpreted by tclsh
2017-10-19 17:57:03 +02:00
dwarning
22599ca096
examples/tclspice, explicit blt::vector create
...
in blt2.5 "create" is not the default vector operation anymore
2017-10-19 17:50:34 +02:00
dwarning
8539029e6d
reduce simulation time for tcl examples
2017-10-12 11:22:17 +02:00
dwarning
8316af27cf
autosclae for psd plot
2017-09-02 10:25:31 +02:00
dwarning
a1d27b4257
dio, introduce qd as an alias for diode charge to get the right unit in plotting
2017-08-03 17:03:10 +02:00
dwarning
458be1a82e
bjt and diode: examples for plotting small signal parameters in a dc sweep
2017-08-03 17:03:07 +02:00
Tim Edwards
6ac19b03a3
examples/xspice/d_lut/mult4bit.spi, example for d_lut and d_genlut
2017-05-01 22:11:50 +02:00
h_vogt
30aa5ec0b7
examples/xspice/table, examples for the table2d and table3d code models
2017-04-30 17:01:07 +02:00
h_vogt
370e52736f
MC_ring.sp, replace variables by vectors in the loop
2017-02-09 22:06:04 +01:00
dwarning
d45736855e
binning constraints are wrong and obsolete for the examples
2017-02-03 13:32:13 +01:00
rlar
13decee3ed
examples/inductive-systems/*, add test files
2017-01-02 20:02:19 +01:00
h_vogt
0252f7b9cb
examples/various/ro_17_4.cir, a ring oscillator with BSIM4 using 'xmu'
2016-07-16 15:25:41 +02:00
h_vogt
494a58cca9
main.c, add variable 'batchmode'
...
which is set when command line option `-b' is active
2016-03-26 22:14:11 +01:00
h_vogt
8b709a394f
cpitf.c, cp_istrue(), avoid surplus Warning Message when an `if' condition expands to nothing
...
When in expression
if $var ...
the variable `var' was undefined, then
ngspice printed a surplus warning message
> Warning: NULL arithmetic expression
in addition to the error message
> Error: var: no such variable.
ngspice continues to process the conditional construct
and evaluates the condition as "FALSE"
2016-03-26 21:58:39 +01:00
rlar
dbb958fff8
introduce examples/control_structs/if-test-1.cir
2016-03-26 21:58:11 +01:00
dwarning
11a75fd1e3
move to the actual bsim4 version to avoid needless warnings
2014-09-10 13:33:22 +02:00
h_vogt
fb90bebcab
example for .options interp (reduces memory, speeds up plotting)
2014-02-01 14:31:38 +01:00
h_vogt
dab52db6da
monte carlo with control script and MOS parameter set containing AGAUSS parameter variations (like commercial parameter libraries)
2014-01-11 16:24:27 +01:00
dwarning
d65e0fa855
two examples to show fft/ifft vector command
2014-01-02 09:54:02 +01:00
dwarning
29f6b5c618
soa check example
2014-01-02 09:32:57 +01:00
dwarning
5f5a22ec3e
suppress a warning by inserting the default diode model
2013-12-31 16:19:54 +01:00
Stefano Perticaroli
79bffc78a1
next version of PSS2
...
which was reviewed and rewritten on branch `PSS-2-try-to-rebase+4'
by Stefano Perticaroli and Francesco Lannutti
2012-12-28 18:15:37 +01:00
rlar
0be61b3e5a
remove PSS2
2012-12-28 18:10:05 +01:00
h_vogt
f04bfb3a0b
input examples drawn from manual
2012-11-17 16:32:08 +01:00
h_vogt
04adbd7d3b
examples/snapshot: start, interrupt and resume simulation
2012-11-03 20:08:23 +01:00
h_vogt
5ed51c2668
example input file as cited in manual
2012-10-21 11:50:23 +02:00
rlar
2bcadae16c
missing newline at end of file
2012-10-20 19:49:10 +02:00
h_vogt
3ca1235602
gnuplot.c: improve scaling of y axis
2012-10-09 19:47:24 +02:00
h_vogt
177964b4a6
XSPICE example: delta-sigma converter
2012-08-14 23:06:34 +02:00
h_vogt
f1d0d40753
demonstrate effect of W crossing binning limits
2012-08-07 23:11:52 +02:00
h_vogt
5d0c3182d3
add BSIM3 model parameters for loop filer with transistor charge pump
2012-08-05 20:15:53 +02:00
h_vogt
e1df8eb739
example, add 'alter @m1[w]=11u' using binning and model change
2012-08-05 20:06:06 +02:00
dwarning
96dd397251
correct the plot output
2012-08-05 12:06:11 +02:00
h_vogt
19a67fb7c5
pll: just include one of the two vco available
...
(avoid a bug which has been removed only recently)
2012-08-04 00:22:25 +02:00
h_vogt
a0db6f0ccd
update to XSPICE phase-locked loop example
2012-08-03 23:22:54 +02:00
h_vogt
6cd13e0475
pll-xspice-fstep.cir: pll with ref frequency steps
2012-07-31 18:05:10 +02:00
h_vogt
c31fc334f6
pll-xspice.cir: save command added
2012-07-31 17:31:28 +02:00
h_vogt
c0b5a78097
new XSPICE example: use trtol=1
...
less ripple, but longer simulation time
2012-07-30 00:01:56 +02:00
h_vogt
85ece25a3a
new XSPICE example: mixed mode pll circuit
2012-07-29 13:52:23 +02:00
h_vogt
d072ab80d1
memristor example, parameters changed
2012-06-13 19:15:26 +02:00
h_vogt
fde8c46356
add ac and dc simulation to memristor model
2012-06-13 19:15:25 +02:00
h_vogt
f53eb5cf78
memristor code model in extradev
2012-06-13 19:15:24 +02:00
h_vogt
1cbc41cc32
memristor subcircuit model example
2012-06-13 19:15:19 +02:00
rlar
3d34b22ebf
fix file modes
2012-06-12 21:26:29 +02:00
h_vogt
890d049a5b
uic to end of line in pss
2011-08-09 19:58:40 +00:00
pnenzi
af16208f9c
Moved pss example files from tests directory to examples directory
2011-08-07 18:51:05 +00:00
h_vogt
926a7b338c
'filesource' test
2011-06-23 19:56:46 +00:00
h_vogt
747c606e30
remove bug in command meas, allow / and \ in Windows file paths
2011-06-18 17:45:43 +00:00
dwarning
c7763a6e83
to much puts
2011-03-10 20:12:07 +00:00
rlar
7880d5bd8e
cleanup some whitespace errors and prototypes
2011-02-19 16:47:30 +00:00
h_vogt
c162d3273f
vsrc trrandom option
2011-01-16 19:19:42 +00:00
dwarning
6aba89bbed
convergence with higher epi resistances
2011-01-15 22:22:59 +00:00
h_vogt
97605a5df7
models 1N4001 also in subcircuits
2011-01-06 19:15:20 +00:00
h_vogt
1ea76af678
add statistical functions to numparam and nutmeg parsers
2010-12-28 19:01:30 +00:00
h_vogt
4d1202d7ef
rts example
2010-12-18 17:16:00 +00:00
h_vogt
3a479ade38
meas added
2010-11-28 10:47:35 +00:00
h_vogt
3070001ed1
transient noise example added
2010-11-28 09:59:40 +00:00
h_vogt
19babde1e1
change to version 3.3.0 allowing multithreading
2010-11-27 17:11:36 +00:00
h_vogt
ffc3032df7
bsim3 parameter sets
2010-11-27 17:01:54 +00:00
h_vogt
5e1ed023c6
transient noise simulation
2010-11-27 16:36:03 +00:00
h_vogt
c140c3d532
improved comments
2010-10-16 13:29:07 +00:00
h_vogt
afdf6ee134
new command wrs2p
2010-10-16 12:05:09 +00:00
h_vogt
7fd724c060
new Monte Carlo example folder
2010-09-25 14:57:24 +00:00
h_vogt
ed625c5509
update
2010-09-15 22:00:04 +00:00
rlar
b1f6da536a
whitespace cleanup, add missing trailing newlines
2010-09-07 19:04:20 +00:00
dwarning
a4d4e91ab4
no message
2010-08-29 09:24:38 +00:00
h_vogt
adc911d412
xspice examples
2010-05-14 20:33:20 +00:00
dwarning
49aadcca58
new operation in control blocks
2010-04-11 09:04:55 +00:00
dwarning
f59646cef8
txl model needs g value
2010-03-03 20:03:34 +00:00
dwarning
ba54c4d9b8
big kspice model update
2010-02-07 18:16:17 +00:00
dwarning
0bea3e294a
fix the c matrix unsymmetry
2010-01-28 20:17:38 +00:00
dwarning
64e383961b
matrixes must be complete to prevent access violation
2010-01-24 14:17:00 +00:00
dwarning
609e109029
matrixes must be complete to prevent access violation
2010-01-23 22:20:08 +00:00
dwarning
a34c4a3e53
matrixes must be complete to prevent access violation
2010-01-23 22:12:53 +00:00
dwarning
531ffc1403
Hopefully more meaningful transmissionline examples
2010-01-17 17:11:42 +00:00
h_vogt
28d5114f43
comments, new examples
2009-12-28 08:34:55 +00:00
h_vogt
57097463ee
xspice examples
2009-12-21 18:23:55 +00:00
h_vogt
70b2408f39
updates for .measure
...
new example files
2009-12-21 18:17:38 +00:00
h_vogt
248e44b883
new measure commands
2009-12-20 16:43:51 +00:00
h_vogt
b9512bbed1
.plot tran vout1
2009-12-12 11:48:06 +00:00
pnenzi
2e2fdb2695
This file is not needed in this dir.
2009-11-02 21:22:05 +00:00
h_vogt
fc43943e93
vm, vi, vp, vr, vdb for ac measurement
2009-08-30 19:54:54 +00:00
h_vogt
914736f7b9
*** empty log message ***
2009-08-30 11:04:53 +00:00
h_vogt
82052e0700
examples for .meas
2009-08-30 11:02:48 +00:00
h_vogt
1a9a809111
*** empty log message ***
2009-08-30 10:59:07 +00:00
h_vogt
b399caf9bc
.meas patches by Bill Swartz added
2009-08-08 20:12:46 +00:00
h_vogt
45b8342e63
.meas only in interactive mode
2009-08-08 13:48:53 +00:00
h_vogt
ea8c5bc5d4
allow .meas, add .meas .. when to example
2009-06-11 20:58:56 +00:00
h_vogt
9aad956864
convergence (output.net), add some comments
2009-06-11 14:12:07 +00:00
dwarning
003d4e766d
better breakthrough current in bas70
2009-05-24 17:08:39 +00:00
dwarning
78b8fb7169
correct path to codemodel
2009-05-24 17:07:20 +00:00
dwarning
be520381cc
Transimp moved to examples
2009-02-25 20:44:26 +00:00
dwarning
3445bbfb15
add level parameter
2009-02-23 21:49:01 +00:00
dwarning
ddd8ee929d
ADMS examples w/o reference
2009-02-22 21:47:39 +00:00
dwarning
9b60a0f440
example
2009-02-22 20:41:30 +00:00
dwarning
3f3e404b67
obsolete, see tests
2009-02-22 20:34:43 +00:00
saintel
84f3077eda
*** empty log message ***
2008-11-30 12:47:07 +00:00
pnenzi
dff9cca91e
Moved TCL test under examples dir
2008-11-30 09:17:27 +00:00
pnenzi
90dfe91a15
Removed duplicated test.
2008-11-29 16:42:16 +00:00
pnenzi
0b3d3c8558
Netlist that describe the use of .func feature (Phil Barker).
2008-11-06 21:19:21 +00:00
pnenzi
00da122a5e
Completer example of ngspice capabilites (Phil Barker).
2008-11-06 21:14:09 +00:00
pnenzi
09f9bc7308
Example that shows the new features of ngspice (Phil Barker).
2008-11-06 21:08:22 +00:00
h_vogt
e1aafbf148
Adapt examples to new numparam code
2008-06-14 15:09:20 +00:00
pnenzi
1aa04ca10b
Fixed numparam library (Steven Borley) and corrected bug in node translation (Hitoshi Tanaka).
2005-04-16 22:45:32 +00:00
pnenzi
4af6137cd3
Added some examples.
2004-08-09 16:20:23 +00:00