blob: eff58299622a7d0851edcfc79e8468fee8810b3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
* c:\users\hp\esim-workspace\dualtimer\dualtimer.cir
.include 556.sub
.include D.lib
* u2 c1 ic
.ic v(c1)=0
* u3 c2 ic
.ic v(c2)=0
x1 net-_r3-pad2_ c1 net-_c2-pad1_ net-_r1-pad1_ out1 c1 gnd c2 out2 net-_r1-pad1_ net-_c3-pad1_ c2 net-_r5-pad2_ net-_r1-pad1_ 556
c2 net-_c2-pad1_ gnd 0.001u
c3 net-_c3-pad1_ gnd 0.001u
r4 net-_r3-pad2_ c1 100k
r6 net-_r5-pad2_ c2 100k
r3 net-_r1-pad1_ net-_r3-pad2_ 1k
r5 net-_r1-pad1_ net-_r5-pad2_ 1k
c1 c1 gnd 100n
c4 c2 gnd 100n
r1 net-_r1-pad1_ net-_d1-pad2_ 1000
d1 out1 net-_d1-pad2_ 1N4148
r2 out1 net-_d2-pad2_ 1k
d2 gnd net-_d2-pad2_ 1N4148
r7 net-_r1-pad1_ net-_d3-pad2_ 1000
d3 out2 net-_d3-pad2_ 1N4148
r8 out2 net-_d4-pad2_ 1k
d4 gnd net-_d4-pad2_ 1N4148
v1 net-_r1-pad1_ gnd dc 6
* u3 c2 ic
* u2 c1 ic
* u4 out2 plot_v1
* u1 out1 plot_v1
* u6 c2 plot_v1
* u5 c1 plot_v1
.tran 5e-03 100e-03 0e-03
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
plot v(out2)
plot v(out1)
plot v(c2)
plot v(c1)
.endc
.end
|