blob: 6f79d4b8b072477ea52ea4edc0375a3304e3476b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
.options noacct
.tran 0.1 7.0
*.ac dec 10 .01 10
.plot tran v(2) i(vin)
*.plot ac vdb(2) xlog
.end
|