Holger Vogt
f2ba4a93fb
Update example for independent grid and line widths
in polar or Smith plots.
4 years ago
Holger Vogt
36da24e251
Add another RF example, drawn from fig. 13.2 of
https://qucs-help.readthedocs.io/en/spice4qucs/RF.html
4 years ago
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/
4 years ago
Holger Vogt
afde37c35d
add y-axis label
4 years ago
Holger Vogt
a464ef47bc
meas example with output redirection
4 years ago
Holger Vogt
2981d0f56d
Use 'esave none' to reduce memory consumption.
Only analg nodes are to be saved.
4 years ago
Holger Vogt
738ac4863c
Obtain memory and simulation time
Add rusage information command
4 years ago
Carsten Schoenert
e373ca0e2f
tcl-testbench[x].sh: Use bash within shebang
These scripts using non Posix shell extensions which are provided by bash and
require the bash as shell to be fully functional.
4 years ago
Holger Vogt
8bf28b5aee
Comment out non-ngspice compatible commands
Otherwise error messages would have beeen generated
4 years ago
Holger Vogt
45ceeee509
small updates to example files
4 years ago
Holger Vogt
b714f0bea9
Add other integration methods to the example
We have: meas, integ, and code model INTEG
4 years ago
Holger Vogt
1605d293d0
Add function integ to control language
Trapezoidal rule for integrating a vector.
4 years ago
Holger Vogt
a68cfefb28
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
4 years ago
Holger Vogt
aaf586ae83
.probe: Add more safeguards to prevent crashes
in case of wrong user input
due to obtain empty lines in shared ngspice
4 years ago
Holger Vogt
d41379177f
.probe: various example netlists
4 years ago
Brian Taylor
f66573883f
Fix typo in the diode/README file.
4 years ago
Brian Taylor
a46b2041c2
Fix pz1.cir test so that the Cider OP data file is saved and the PZ analysis is run.
4 years ago
Holger Vogt
87b9df6681
CIDER: Examples for 2D plotting with gnuplot
4 years ago
Holger Vogt
69e2903bf6
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
5 years ago
Holger Vogt
70e4d2157e
New names for the (experimental) ramp-time capacitor and inductor code models
5 years ago
Holger Vogt
eb7b1fc1e7
Some typos
5 years ago
Holger Vogt
34c227815d
RKM for C: Revert reading f, it is again femto
Examples files include expected results
5 years ago
Holger Vogt
7f981569d9
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.
5 years ago
Holger Vogt
daa3609e58
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.
5 years ago
Holger Vogt
0817d86f33
No oscillation: Add a starting pulse
5 years ago
Brian Taylor
663a79dea8
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.
5 years ago
Holger Vogt
4667a74389
Adapt gtkwave plotting to the various OSs.
macOS still needs some improvement.
5 years ago
Holger Vogt
aeafe4bd49
Update to the optran circuit examples:
TLV9002-test.cir: Rely on optran from spinit
TLV6001-test.cir: Override optran from spinit
5 years ago
Holger Vogt
00f530c9cb
Add MOS model cards
5 years ago
Holger Vogt
7c84e3f993
SOA for bipolar
Replace pow_max by pd_max
5 years ago
Holger Vogt
04080c2ab3
Add short description of the new examples
5 years ago
Holger Vogt
f40e6b9357
Linux line endings (LF only)
5 years ago
Holger Vogt
70ba37b149
Example OpAmp which converge for op only with optran:
TLV6001 and TLV9002
5 years ago
Holger Vogt
b20ac16093
remove old files
5 years ago
Holger Vogt
03d956cbfa
Example file with three dual opamp filters.
Different opamps: TL072, OPA1656, OPA1612
5 years ago
Holger Vogt
8dcb1f901a
Three OpAmp Example for optran
5 years ago
Holger Vogt
8c5c8da2a7
line endings LF (Linux)
5 years ago
Holger Vogt
4e03efacb7
Use InpEvaluate() instead of strtod to enable ngspice numbers
with scale factors Meg k m u n p f etc.
6 years ago
Holger Vogt
3be5926f2c
Reverse stepsize and finaltime in optran command,
stepsize first as in tran command.
6 years ago
Holger Vogt
6bdd6610f6
add tran simulation
6 years ago
Holger Vogt
89f78bfc6c
updates to optran description and example.
6 years ago
Holger Vogt
29dfa23465
Pass Labs F5 Turbo
example for optran
6 years ago
Holger Vogt
a08e6a0676
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.
5 years ago
Holger Vogt
cbb63215c4
Remove the old SOA examples
5 years ago
Holger Vogt
e9274d4b9c
New folder with SOA (safe operating area) examples
in the ngspice examples section
5 years ago
Holger Vogt
33571877dc
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.
5 years ago
Holger Vogt
7ebe17f32f
hicum plot has non-monotonic x values.
We thus need parametr 'retraceplot'.
Command 'run' not required.
5 years ago
Holger Vogt
05624bedd3
move examples file to prpoer xspice folder
5 years ago
Holger Vogt
5603c8cae7
Write some output to file with raw file or table format.
5 years ago
Holger Vogt
ce1ddd8623
Circuit (ring oscillator) with various current and voltage measurements
inside and outside of subcircuits
5 years ago