Ignore all generated/compiled files
[gwave-svn.git] / examples / rcsq.sp
blob8a47ff179914b1e08b7892a51c8a17dce7e20fb3
1 * RC circuit driven by square wave
2 * Run with command: SPICE_ASCIIRAWFILE=1 ngspice -r rcsq.raw -b rcsq.sp
4 * unlike modern spices, GND and node 0 are not aliases for each other.
5 vgnd 0 GND 0
7 R1 A B 50
8 C1 B GND 100pf
10 Va A GND PWL (0 0 50n 0 51n 5 100n 5 101n 0 200n 0)
12 .tran 0.5n 200n
13 .plot tran v(A) V(B)
14 .option POST=1 PROBE
16 .end