blob: c7ac6e4a4c38cb263fe01b816c43eeba15bad4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
* /home/fossee/esim-workspace/integrator/integrator.cir
.include ua741.sub
x1 net-_r2-pad1_ net-_c1-pad2_ out ua741
r1 in net-_c1-pad2_ 10k
r2 net-_r2-pad1_ gnd 1k
r3 out gnd 1k
c1 out net-_c1-pad2_ 100n
r4 net-_c1-pad2_ out 100k
v1 in gnd pwl(0m 0 0.5m 5 50m 5 50.5m 0 100m 0)
* u1 in plot_v1
* u2 out plot_v1
.tran 10e-00 100e-00 0e-00
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
plot v(in)
plot v(out)
.endc
.end
|