ngspice/tests/general/rc.cir

12 lines
176 B
Plaintext
Raw Normal View History

Basic RC circuit
r 1 2 1.0
*l 1 2 1.0
c 2 0 1.0
vin 1 0 pulse (0 1) ac 1
2009-02-22 20:29:44 +01:00
.options noacct
.tran 0.1 7.0
*.ac dec 10 .01 10
.plot tran v(2) i(vin)
*.plot ac vdb(2) xlog
.end