Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
Add D2PAK diodes with NC pin 1 (#2000)
Browse files Browse the repository at this point in the history
* Add D2PAK diodes with NC pin 1

* Add generic silicon diodes in AAk and KAK pinouts

- Removed the specific symbols created earlier in favor of these generic ones
- On the existing Schottky AAK and KAK symbols changed the one Input pin type to Passive

* Add missing FP filters and simplify polyline

* Added D_KAK and D_KKA

- Copies of existing Schottky symbols
- Also added footprint filters to those existing symbols
  • Loading branch information
cpresser authored Oct 5, 2019
2 parents 0414ff0 + 14c3355 commit cc3cb47
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 3 deletions.
24 changes: 24 additions & 0 deletions Device.dcm
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ K AC diode DIAC
F ~
$ENDCMP
#
$CMP D_AAK
D Diode, anode on pins 1 and 2
K diode
F ~
$ENDCMP
#
$CMP D_ALT
D Diode, filled shape
K diode
Expand Down Expand Up @@ -288,6 +294,24 @@ K capacitance diode varicap varactor
F ~
$ENDCMP
#
$CMP D_KAA
D Diode, anode on pins 2 and 3
K diode
F ~
$ENDCMP
#
$CMP D_KAK
D Diode, cathode on pins 1 and 3
K diode
F ~
$ENDCMP
#
$CMP D_KKA
D Diode, cathode on pins 1 and 2
K diode
F ~
$ENDCMP
#
$CMP D_Photo
D Photodiode
K photodiode diode opto
Expand Down
120 changes: 117 additions & 3 deletions Device.lib
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,30 @@ X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_AAK
#
DEF D_AAK D 0 0 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D_AAK" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C 100 0 10 0 1 0 F
P 2 0 1 8 -50 50 -50 -50 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
P 4 0 1 0 150 100 100 100 100 0 -50 0 N
X A 1 200 100 100 L 50 50 1 1 P
X A 2 200 0 100 L 50 50 1 1 P
X K 3 -150 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_ALT
#
DEF D_ALT D 0 40 N N 1 F N
Expand Down Expand Up @@ -1093,6 +1117,78 @@ X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_KAA
#
DEF D_KAA D 0 0 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D_KAA" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C 100 0 10 0 1 0 F
P 2 0 1 8 -50 50 -50 -50 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
P 4 0 1 0 150 100 100 100 100 0 -50 0 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 200 100 100 L 50 50 1 1 I
X A 3 200 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_KAK
#
DEF D_KAK D 0 0 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D_KAK" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C -150 0 10 0 1 0 F
P 2 0 1 8 -50 50 -50 -50 N
P 3 0 1 0 -150 100 -150 0 100 0 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
X K 1 -250 100 100 R 50 50 1 1 P
X A 2 200 0 100 L 50 50 1 1 P
X K 3 -250 0 100 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_KKA
#
DEF D_KKA D 0 0 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "D_KKA" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C -150 0 10 0 1 0 F
P 2 0 1 8 -50 50 -50 -50 N
P 4 0 1 0 -200 100 -150 100 -150 0 100 0 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
X K 1 -250 100 100 R 50 50 1 1 I
X K 2 -250 0 100 R 50 50 1 1 P
X A 3 200 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_Photo
#
DEF D_Photo D 0 20 N N 1 F N
Expand Down Expand Up @@ -1227,7 +1323,7 @@ C 100 0 10 0 1 0 F
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
P 4 0 1 0 150 100 100 100 100 0 -50 0 N
P 6 0 1 8 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N
X A 1 200 100 100 L 50 50 1 1 I
X A 1 200 100 100 L 50 50 1 1 P
X A 2 200 0 100 L 50 50 1 1 P
X K 3 -150 0 100 R 50 50 1 1 P
ENDDRAW
Expand Down Expand Up @@ -1310,6 +1406,12 @@ F0 "D" 0 100 50 H V C CNN
F1 "D_Schottky_KAA" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C 100 0 10 0 1 0 F
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
Expand All @@ -1328,12 +1430,18 @@ F0 "D" 0 100 50 H V C CNN
F1 "D_Schottky_KAK" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C -150 0 10 0 1 0 F
P 4 0 1 0 -200 100 -150 100 -150 0 100 0 N
P 3 0 1 0 -150 100 -150 0 100 0 N
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
P 6 0 1 8 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N
X K 1 -250 100 100 R 50 50 1 1 I
X K 1 -250 100 100 R 50 50 1 1 P
X A 2 200 0 100 L 50 50 1 1 P
X K 3 -250 0 100 R 50 50 1 1 P
ENDDRAW
Expand All @@ -1346,6 +1454,12 @@ F0 "D" 0 100 50 H V C CNN
F1 "D_Schottky_KKA" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
TO-???*
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
C -150 0 10 0 1 0 F
P 4 0 1 0 -200 100 -150 100 -150 0 100 0 N
Expand Down

0 comments on commit cc3cb47

Please sign in to comment.