summaryrefslogtreecommitdiff
path: root/OSCAD/Examples/sedra_smith/chapter_3/example3.4/example3.4-cache.lib
blob: f2704f31c7a9d89aef3e4ee1675841fb38665b50 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
EESchema-LIBRARY Version 2.3  Date: Tuesday 16 April 2013 11:42:22 AM IST
#encoding utf-8
#
# dc
#
DEF dc v 0 40 Y Y 1 F N
F0 "v" -200 100 60 H V C CNN
F1 "dc" -200 -50 60 H V C CNN
F2 "R1" -300 0 60 H V C CNN
$FPLIST
 1_pin
$ENDFPLIST
DRAW
C 0 0 150 0 1 0 N
X + 1 0 450 300 D 50 50 1 1 P
X - 2 0 -450 300 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF ~GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 0 30 H I C CNN
F1 "GND" 0 -70 30 H I C CNN
DRAW
P 4 0 1 0  -50 0  0 -50  50 0  -50 0 N
X GND 1 0 0 0 U 30 30 1 1 W N
ENDDRAW
ENDDEF
#
# iplot
#
DEF iplot U 0 20 Y Y 1 F N
F0 "U" -150 100 50 H V C CNN
F1 "iplot" 150 100 50 H V C CNN
DRAW
C 0 0 100 0 0 0 N
X + 1 -250 0 150 R 30 30 1 1 I
X - 2 250 0 150 L 30 30 1 1 I
ENDDRAW
ENDDEF
#
# NPN
#
DEF NPN Q 0 0 Y Y 1 F N
F0 "Q" 0 -150 50 H V R CNN
F1 "NPN" 0 150 50 H V R CNN
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0  0 0  100 100 N
P 3 0 1 10  0 75  0 -75  0 -75 N
P 3 0 1 0  50 -50  0 0  0 0 N
P 3 0 1 0  90 -90  100 -100  100 -100 N
P 5 0 1 0  90 -90  70 -30  30 -70  90 -90  90 -90 F
X E 1 100 -200 100 U 40 40 1 1 P
X B 2 -200 0 200 R 40 40 1 1 I
X C 3 100 200 100 D 40 40 1 1 P
ENDDRAW
ENDDEF
#
# pulse
#
DEF pulse v 0 40 Y Y 1 F N
F0 "v" -200 100 60 H V C CNN
F1 "pulse" -200 -50 60 H V C CNN
F2 "R1" -300 0 60 H V C CNN
$FPLIST
 1_pin
$ENDFPLIST
DRAW
A -25 -450 501 928 871 0 1 0 N -50 50 0 50
A 25 400 451 -931 -868 0 1 0 N 0 -50 50 -50
A 75 600 551 -926 -873 0 1 0 N 50 50 100 50
A 350 0 403 -1728 1728 0 1 0 N -50 -50 -50 50
A 450 0 453 1736 -1736 0 1 0 N 0 50 0 -50
A 600 0 552 -1748 1748 0 1 0 N 50 -50 50 50
C 0 0 150 0 1 0 N
X + 1 0 450 300 D 50 50 1 1 P
X - 2 0 -450 300 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 270 30 H I C CNN
F1 "PWR_FLAG" 0 230 30 H V C CNN
DRAW
X pwr 1 0 0 0 U 20 20 0 0 w
P 3 0 1 0  0 0  0 100  0 100 N
P 5 0 1 0  0 100  -100 150  0 200  100 150  0 100 N
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "R" 0 0 50 V V C CNN
$FPLIST
 R?
 SM0603
 SM0805
 R?-*
$ENDFPLIST
DRAW
S -40 150 40 -150 0 1 12 N
X ~ 1 0 250 100 D 60 60 1 1 P
X ~ 2 0 -250 100 U 60 60 1 1 P
ENDDRAW
ENDDEF
#
# vplot8_1
#
DEF vplot8_1 U 0 40 Y Y 8 F N
F0 "U" -150 100 50 H V C CNN
F1 "vplot8_1" 150 100 50 H V C CNN
DRAW
C 0 0 100 0 0 0 N
X + 1 0 -300 200 U 40 40 1 1 I
X + 2 0 -300 200 U 40 40 2 1 I
X + 3 0 -300 200 U 40 40 3 1 I
X + 4 0 -300 200 U 40 40 4 1 I
X + 5 0 -300 200 U 40 40 5 1 I
X + 6 0 -300 200 U 40 40 6 1 I
X + 7 0 -300 200 U 40 40 7 1 I
X + 8 0 -300 200 U 40 40 8 1 I
ENDDRAW
ENDDEF
#
#End Library