blob: dc6cb480765204035304d0555e8894e5e61d71e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
* Subcircuit TINA_TI_Rectifier
.subckt TINA_TI_Rectifier /vin /vneg /vout /vpos
* c:\fossee\esim\library\subcircuitlibrary\tina_ti_rectifier\tina_ti_rectifier.cir
.include lm_741.sub
.include D.lib
x1 ? net-_c1-pad1_ /vin /vneg ? net-_c1-pad2_ /vpos ? lm_741
x2 ? net-_r2-pad1_ net-_d2-pad2_ /vneg ? /vout /vpos ? lm_741
r1 /vin gnd 49.9
r3 net-_d2-pad2_ gnd 1k
d2 net-_c1-pad2_ net-_d2-pad2_ 1N4148
d1 net-_c1-pad1_ net-_c1-pad2_ 1N4148
c1 net-_c1-pad1_ net-_c1-pad2_ 47p
r2 net-_r2-pad1_ net-_c1-pad1_ 1k
r4 /vout net-_r2-pad1_ 1k
c3 /vpos gnd 100p
c5 /vpos gnd 100n
c2 /vneg gnd 100p
c4 /vneg gnd 100n
* Control Statements
.ends TINA_TI_Rectifier
|