Holger Vogt
9ad4a2a291
Comment out non-ngspice compatible commands
...
Otherwise error messages would have beeen generated
2021-12-15 16:33:45 +01:00
Holger Vogt
c639af562d
small updates to example files
2021-12-13 17:06:24 +01:00
Holger Vogt
27565f77ea
Add other integration methods to the example
...
We have: meas, integ, and code model INTEG
2021-12-13 14:54:57 +01:00
Holger Vogt
6d80356c28
Add function integ to control language
...
Trapezoidal rule for integrating a vector.
2021-12-10 22:06:27 +01:00
Holger Vogt
a70a2e2a3f
hcopywidth and hcopyheight failed with SVG plot
...
cp_getvar read CP_NUM, not CP_STRING
Patch #108 contributed by Giles Atkinson
Add hcopywidth and hcopyheight to example nmos_out_BSIM330_svg.sp
2021-12-07 15:16:03 +01:00
Holger Vogt
913b7edc2a
.probe: Add more safeguards to prevent crashes
...
in case of wrong user input
due to obtain empty lines in shared ngspice
2021-11-29 11:11:58 +01:00
Holger Vogt
0e5ab05e72
.probe: various example netlists
2021-11-28 17:18:50 +01:00
Brian Taylor
2fdc09a3aa
Fix typo in the diode/README file.
2021-11-23 15:38:34 +01:00
Brian Taylor
5a5987daca
Fix pz1.cir test so that the Cider OP data file is saved and the PZ analysis is run.
2021-11-23 15:38:16 +01:00
Holger Vogt
0790571e67
CIDER: Examples for 2D plotting with gnuplot
2021-10-30 11:46:21 +02:00
Holger Vogt
7df845edfd
Some typos
2021-10-05 18:10:33 +02:00
Holger Vogt
8019e69baa
Update to Garbage Collector for cpl
...
Update some comments
Insert the deleting functions
Reset pool_vi and ndn_btree
Add an example with 20 call to cpl in sequence
2021-10-03 15:58:51 +02:00
Holger Vogt
0afdac301e
BSIMCMG in ADMS: Bug with the calculation of gds in NMOS and PMOS.
...
Extend the output characteristics plot by 0.1 into
theinvers direction to demonstrate the problem.
2021-10-02 10:52:18 +02:00
Holger Vogt
7888b687b7
New names for the (experimental) ramp-time capacitor and inductor code models
2021-09-29 23:17:24 +02:00
Holger Vogt
22a878e49e
RKM for C: Revert reading f, it is again femto
...
Examples files include expected results
2021-09-27 17:56:12 +02:00
Holger Vogt
4bb1d84f9f
Update to RKM if ngbehavior=lt is set:
...
Reading C and R values follow the RKM convention with 2 exceptions:
Upper case and lower case letters are not distinguished.
Letters m, M denote milli (1e-3), letters Meg or meg denote 1e6.
2021-09-27 16:42:26 +02:00
Holger Vogt
32e26a5849
Enable RKM notation for R and C, when ngbehavior LT is selected.
...
Add 2 evaluation functions specific for R and C respectively.
R has code letters L, R, K, M, G, T enabled. M here is Meg!
C has code letters p, n, u or µ, m, F. F here is unity, femto is
not available, m is still milli!
Two examples files show all cases.
2021-09-25 23:50:35 +02:00
Holger Vogt
5a8621bd08
No oscillation: Add a starting pulse
2021-09-05 12:21:13 +02:00
Brian Taylor
43520d9b8a
Fix NAN error in numd2 area report and crashes when a doping file is missing. Update examples/cider so that the test circuits all run; add case sensitivity tests for rootfile and ic.file parameter strings enclosed in a single pair of double quotes.
2021-09-05 11:27:01 +02:00
Holger Vogt
d9d4b86219
Adapt gtkwave plotting to the various OSs.
...
macOS still needs some improvement.
2021-08-28 17:04:37 +02:00
Holger Vogt
e99ca82476
Revert "Adapt gtkwave plotting to the various OSs."
...
This reverts commit 1b1d4f412f .
2021-08-28 17:02:02 +02:00
Holger Vogt
1b1d4f412f
Adapt gtkwave plotting to the various OSs.
...
macOS still needs some improvement.
2021-08-28 16:19:43 +02:00
Holger Vogt
6cfe98ce43
Update to the optran circuit examples:
...
TLV9002-test.cir: Rely on optran from spinit
TLV6001-test.cir: Override optran from spinit
2021-08-24 17:50:18 +02:00
Holger Vogt
2936b11764
Add MOS model cards
2021-08-24 16:16:07 +02:00
Holger Vogt
c8d76014b9
SOA for bipolar
...
Replace pow_max by pd_max
2021-08-24 16:15:46 +02:00
Holger Vogt
b43b4023eb
Add short description of the new examples
2021-08-20 20:28:10 +02:00
Holger Vogt
3c3c039515
Linux line endings (LF only)
2021-08-20 20:24:55 +02:00
Holger Vogt
152be62ae3
Example OpAmp which converge for op only with optran:
...
TLV6001 and TLV9002
2021-08-20 20:22:12 +02:00
Holger Vogt
15dc796656
remove old files
2021-08-20 20:19:03 +02:00
Holger Vogt
4ff37a9fb1
Example file with three dual opamp filters.
...
Different opamps: TL072, OPA1656, OPA1612
2021-08-20 20:18:41 +02:00
Holger Vogt
c83f441bb2
Three OpAmp Example for optran
2021-08-20 20:04:54 +02:00
Holger Vogt
1368fba469
line endings LF (Linux)
2021-08-20 20:03:58 +02:00
Holger Vogt
edea5bf67b
Use InpEvaluate() instead of strtod to enable ngspice numbers
...
with scale factors Meg k m u n p f etc.
2021-08-20 15:28:24 +02:00
Holger Vogt
15907a592c
Reverse stepsize and finaltime in optran command,
...
stepsize first as in tran command.
2021-08-20 15:27:44 +02:00
Holger Vogt
c21ba645d2
add tran simulation
2021-08-20 15:27:07 +02:00
Holger Vogt
3048f62aad
updates to optran description and example.
2021-08-20 15:26:13 +02:00
Holger Vogt
82c7df4c3d
Pass Labs F5 Turbo
...
example for optran
2021-08-20 15:24:39 +02:00
Holger Vogt
151be5478d
Add new SOA parameters (safe operating area) for BJT.
...
We now scan for max of Ic, Ib, power, taking into
account the max allowed temperature, using the thermal
resistance rth0 model parameter between juntion and ambient.
Two user options are there: If rth0 is given, we calculate
a derating of the max power allowed.
Without a constant max power according to model param pow_max
is assumed.
The new model parameters for the bipolar model are:
pow_max, ic_max, ib_max, te_max, and rth0, in addition
to the already existing vbe_max, vbc_max, adn vce_max.
2021-08-20 12:23:38 +02:00
Holger Vogt
d227fce509
Remove the old SOA examples
2021-08-20 11:48:33 +02:00
Holger Vogt
0604ae6486
New folder with SOA (safe operating area) examples
...
in the ngspice examples section
2021-08-20 11:48:09 +02:00
Holger Vogt
ee260bbfbe
Some update to SOA for a diode:
...
Limit output to four digits
Add power and temperature limits.
Derating with self-heating, or with fixed temperature,
or no derating at all, selectable by setting model parameters.
Example file: SOA plotted as frame, with diode current.
2021-08-18 14:03:31 +02:00
Holger Vogt
940b938394
hicum plot has non-monotonic x values.
...
We thus need parametr 'retraceplot'.
Command 'run' not required.
2021-08-09 12:49:25 +02:00
Holger Vogt
05624bedd3
move examples file to prpoer xspice folder
2021-08-03 15:53:11 +02:00
Holger Vogt
5603c8cae7
Write some output to file with raw file or table format.
2021-07-23 14:54:25 +02:00
Holger Vogt
ce1ddd8623
Circuit (ring oscillator) with various current and voltage measurements
...
inside and outside of subcircuits
2021-07-23 14:43:20 +02:00
Holger Vogt
1a9ea82b97
new file name (transfer characteristics inside)
2021-07-18 12:03:37 +02:00
Holger Vogt
c7cd07e2e0
Update to psp model files and examples
...
NMOS, PMOS, inverter, ring oscillator
2021-07-18 11:57:51 +02:00
Holger Vogt
5083954fa1
Example input file for analog delay
2021-07-05 14:24:58 +02:00
Holger Vogt
1266225cdb
For C and R device enable value tokens like 4k7 or 1u2
...
in addition to 4.7k and 1.2u.
Valid for
R1 1 0 47k
C2 3 6 1u2
only. Does not interfere with other value tokens in params etc.
2021-07-05 14:17:31 +02:00
Holger Vogt
5619665106
Remove double defined xrcv
2021-07-05 14:15:48 +02:00