Brian Taylor
4706c3dea5
Add 74xx283 4-bit adder example from the Micro Cap digital example circuits. Pspice primitives are translated to Xspice and a waveform is displayed using GTKWave. This is a digital-only test.
4 years ago
Holger Vogt
e9b5a9a957
aswitch needs two input nodes because gd has been selected for input.
4 years ago
Holger Vogt
c8ed9590b7
Handle the case when control voltages on and off are equal.
Update the linear switch: add the limits to resistance ron, roff
Update the log switch: correct the resistance calculation for
von < voff
Add some examples for the pswitch.
4 years ago
Holger Vogt
5b0b328186
If a node name to be plotted ends by ':power', its type is set to POWER.
Thus 'settype power nodename(s)' in the examples is no longer necessary.
4 years ago
Holger Vogt
2deefe1fbc
New tables for MOS devices
4 years ago
Holger Vogt
765d2e8a0e
Return data to input directory.
4 years ago
Holger Vogt
a69dd1bcde
Simplify the NMOS or PMOS selection by setting only one parameter
'mostype'
ngspice-37+ is required.
4 years ago
Brian Taylor
7f38ce4ebb
Remove debug code.
4 years ago
Brian Taylor
112e47d0d3
This test is equivalent to examples/xspice/xspice_c3.cir and uses Pspice subckts for the divider and nand gate.
4 years ago
Brian Taylor
e8dfd16cb2
Add counter test. Check for usage of $d_lo, $d_hi, $d_nc usage with dff, jkff, dltch which will not translate to Xspice.
4 years ago
Brian Taylor
f7c519f149
All-digital U* device examples. No a/d or d/a interfaces on the subcircuits.
4 years ago
Holger Vogt
c4efe2e3ac
Update, link on device models (public domain or TI)
Download adresses for TI models.
4 years ago
Giles Atkinson
2e329986b8
Fix filename case.
4 years ago
Holger Vogt
ac8f8ad65d
New example: S-parameters of a Tschebyschef Low Pass filter
4 years ago
Holger Vogt
07feb637b5
New example for power measurement with .probe
4 years ago
Holger Vogt
129893b399
S-parameters: Replace S11 by S_1_1 etc. to avoid ambiguity
when more than 10 ports are measured.
Update to S-parameter script and command wr2sp
4 years ago
Holger Vogt
aca85ec386
Add .probe p(...) commands (including plotting and averaging)
4 years ago
Holger Vogt
cd451bd5b3
Add measuring power of the VDMOS devices with .probe p(device)
4 years ago
Holger Vogt
a0ee275b08
Improve printout formatting
4 years ago
Holger Vogt
6b03aaa15f
examples for loops.
The syntax is listed in the ngspice manual,
chapter 17.6 Control Structures. Practical examples
using a simple voltage divider circuit are given here.
4 years ago
Holger Vogt
9882c3a24c
New examples: command 'sp' and three-port example
4 years ago
Holger Vogt
5fb19c41bc
Fix internet address
4 years ago
Holger Vogt
a3d55cdddb
Replace (all) by alli
4 years ago
Holger Vogt
82822eb260
replace (all) by alli
4 years ago
Holger Vogt
18a01244af
save only relevant digital data (command 'esave'
4 years ago
Holger Vogt
7f326b4fe1
remove options not needed
local behavior setting
4 years ago
Holger Vogt
48e0164cc4
Replace $ in instance and.model lines by ;
$ is not a valid end-of-line comment delimiter when PS
compatibility mode is chosen.
4 years ago
Holger Vogt
c8beb1e601
Replace $ by ; as a universally valid end-of-line-comment delimiter
4 years ago
Holger Vogt
63a4e44c2c
Add more parameters to the example
4 years ago
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