File: adder_snload.script

package info (click to toggle)
ngspice 34%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 56,764 kB
  • sloc: ansic: 505,343; cpp: 15,906; xml: 9,158; makefile: 3,676; sh: 2,315; perl: 2,287; yacc: 1,520; tcl: 1,033; lex: 318; pascal: 241; python: 143
file content (15 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*  SCRIPT: ADDER - 4 BIT BINARY
* script to reload circuit and continue the simulation
* begin with editing the file location
* to be started with 'ngspice adder_snload.script'

.control
* cd to where all files are located
cd D:\Spice_general\ngspice\examples\snapshot
* load circuit and snpashot file
snload adder_mos_circ.cir adder500.snap
* continue simulation
resume
* plot some node voltages
plot v(10) v(11) v(12)
.endc