Holger Vogt
dc8c7db718
Fix a bug in simple diode, when ilimit is set, but not epsilon.
...
Make model more similar to LTSPICE
Add an example
2022-09-29 16:14:25 +02:00
Giles Atkinson
c75476eaa0
Add some automatic bridge examples, mostly using the bidirectional bridge.
2022-09-23 13:15:07 +02:00
Holger Vogt
fb75a15e83
example for pwlts source code model
2022-09-09 15:26:45 +02:00
Holger Vogt
0be7461dd9
Enable power measurement for W switch
2022-08-29 20:30:23 +02:00
Holger Vogt
c70a438ae0
Replace end-of-line comment delimiter $ by ;
...
So to make it independent from compatibility switch selection.
2022-08-29 14:19:47 +02:00
Holger Vogt
6b786099cb
examples for .probe alli or .probe i(xx)
2022-08-29 14:11:20 +02:00
Holger Vogt
ef3adfc050
set colors for grids and data
2022-08-28 17:52:55 +02:00
Brian Taylor
0e0daa7d9a
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.
2022-08-06 10:42:56 +02:00
Holger Vogt
03bd381e83
aswitch needs two input nodes because gd has been selected for input.
2022-08-05 17:30:51 +02:00
Holger Vogt
3fc3997cef
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.
2022-08-05 17:30:08 +02:00
Holger Vogt
227bb9c419
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.
2022-07-31 15:49:50 +02:00
Holger Vogt
7970bc7c54
New tables for MOS devices
2022-07-24 15:55:46 +02:00
Holger Vogt
9302f14bb9
Return data to input directory.
2022-07-24 15:54:58 +02:00
Holger Vogt
09e48350eb
Simplify the NMOS or PMOS selection by setting only one parameter
...
'mostype'
ngspice-37+ is required.
2022-07-24 15:51:59 +02:00
Brian Taylor
b64f684a62
Remove debug code.
2022-07-01 15:55:00 +02:00
Brian Taylor
831f8b1dad
This test is equivalent to examples/xspice/xspice_c3.cir and uses Pspice subckts for the divider and nand gate.
2022-07-01 15:53:10 +02:00
Brian Taylor
3ca14e44ed
Add counter test. Check for usage of $d_lo, $d_hi, $d_nc usage with dff, jkff, dltch which will not translate to Xspice.
2022-07-01 15:53:02 +02:00
Brian Taylor
45c88edb77
All-digital U* device examples. No a/d or d/a interfaces on the subcircuits.
2022-07-01 15:52:52 +02:00
Holger Vogt
140d143ae8
Update, link on device models (public domain or TI)
...
Download adresses for TI models.
2022-05-16 16:31:15 +02:00
Giles Atkinson
2821b24350
Fix filename case.
2022-05-09 10:51:26 +02:00
Holger Vogt
622a9fdd04
New example: S-parameters of a Tschebyschef Low Pass filter
2022-05-03 17:07:40 +02:00
Holger Vogt
b107312544
New example for power measurement with .probe
2022-05-03 17:05:45 +02:00
Holger Vogt
1d8dacedaa
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
2022-04-28 11:58:21 +02:00
Holger Vogt
429cba6593
Add .probe p(...) commands (including plotting and averaging)
2022-04-25 15:19:08 +02:00
Holger Vogt
9ac358fbf5
Add measuring power of the VDMOS devices with .probe p(device)
2022-04-25 13:39:23 +02:00
Holger Vogt
b7d811c306
Improve printout formatting
2022-04-06 15:58:31 +02:00
Holger Vogt
7a50c4b84a
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.
2022-04-06 10:32:18 +02:00
Holger Vogt
b2923ee7ff
New examples: command 'sp' and three-port example
2022-03-29 15:51:04 +02:00
Holger Vogt
7de6d65e6d
Fix internet address
2022-03-21 16:51:12 +01:00
Holger Vogt
9be02e7334
Replace (all) by alli
2022-03-14 11:05:10 +01:00
Holger Vogt
7f2229f024
replace (all) by alli
2022-03-14 10:58:05 +01:00
Holger Vogt
e61c92af5a
save only relevant digital data (command 'esave'
2022-02-26 11:06:39 +01:00
Holger Vogt
5af7956498
remove options not needed
...
local behavior setting
2022-02-26 11:01:12 +01:00
Holger Vogt
81d5def76d
Replace $ in instance and.model lines by ;
...
$ is not a valid end-of-line comment delimiter when PS
compatibility mode is chosen.
2022-02-25 12:40:15 +01:00
Holger Vogt
78f22cf5f3
Replace $ by ; as a universally valid end-of-line-comment delimiter
2022-02-25 11:57:19 +01:00
Holger Vogt
ad03463c9b
Add more parameters to the example
2022-02-22 20:49:23 +01:00
Holger Vogt
f2ba4a93fb
Update example for independent grid and line widths
...
in polar or Smith plots.
2022-02-17 15:50:27 +01:00
Holger Vogt
36da24e251
Add another RF example, drawn from fig. 13.2 of
...
https://qucs-help.readthedocs.io/en/spice4qucs/RF.html
2022-02-17 15:50:05 +01: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
afde37c35d
add y-axis label
2022-02-01 12:21:08 +01:00
Holger Vogt
a464ef47bc
meas example with output redirection
2022-01-15 16:03:19 +01:00
Holger Vogt
2981d0f56d
Use 'esave none' to reduce memory consumption.
...
Only analg nodes are to be saved.
2022-01-09 10:58:51 +01:00
Holger Vogt
738ac4863c
Obtain memory and simulation time
...
Add rusage information command
2022-01-03 22:11:15 +01:00
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.
2022-01-02 13:51:44 +01:00
Holger Vogt
8bf28b5aee
Comment out non-ngspice compatible commands
...
Otherwise error messages would have beeen generated
2021-12-16 08:12:29 +01:00
Holger Vogt
45ceeee509
small updates to example files
2021-12-13 21:50:10 +01:00
Holger Vogt
b714f0bea9
Add other integration methods to the example
...
We have: meas, integ, and code model INTEG
2021-12-13 21:50:00 +01:00
Holger Vogt
1605d293d0
Add function integ to control language
...
Trapezoidal rule for integrating a vector.
2021-12-13 21:49:45 +01:00
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
2021-12-13 21:49:01 +01:00
Holger Vogt
aaf586ae83
.probe: Add more safeguards to prevent crashes
...
in case of wrong user input
due to obtain empty lines in shared ngspice
2021-12-13 21:48:21 +01:00