File: adder_mos.cir

package info (click to toggle)
ngspice 26-1.1
  • links: PTS, VCS
  • area: non-free
  • in suites: stretch
  • size: 49,440 kB
  • ctags: 56,528
  • sloc: ansic: 463,259; sh: 11,107; xml: 6,938; makefile: 3,575; yacc: 1,509; perl: 1,214; tcl: 1,025; pascal: 702; lex: 319
file content (26 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  Example: snsave
* load a circuit (including transistor models and .tran command)
* starts transient simulation until stop point
* store intermediate data to file
* begin with editing the file location
* to be run with 'ngspice adder_mos.cir'

.include adder_mos_circ.cir

.control
*cd to where all files are located
cd D:\Spice_general\ngspice\examples\snapshot
set noaskquit
unset ngdebug
set noinit
save vcc#branch 10
iplot v(10)
*interrupt condition for the simulation
stop when time > 500n
* simulate
run
* store snapshot to file
snsave adder500.snap
.endc

.END