From fde85af34e3faa7050eb69ce43bdc075dfd9b4b4 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 2 Nov 2012 23:22:00 -0300 Subject: [PATCH] add 74x585 (shift register with latch and 3-state output) component --- AUTHORS | 1 + components/74x595.dcm | 3 ++ components/74x595.lib | 76 +++++++++++++++++++++++++++++++++++++++ components/HIERARCHY | 2 ++ components/components.pro | 1 + 5 files changed, 83 insertions(+) create mode 100644 components/74x595.dcm create mode 100644 components/74x595.lib diff --git a/AUTHORS b/AUTHORS index 7e31f16..1e8956e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -46,6 +46,7 @@ Werner Almesberger components/74x1g07_5.lib components/74x1g07_4.lib components/74x1g07_6.lib + components/74x565.lib components/adxl32x.lib components/atmega8u2.lib components/c8051f320.lib diff --git a/components/74x595.dcm b/components/74x595.dcm new file mode 100644 index 0000000..ac5711a --- /dev/null +++ b/components/74x595.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 Date: Fri Nov 2 23:17:03 2012 +# +#End Doc Library diff --git a/components/74x595.lib b/components/74x595.lib new file mode 100644 index 0000000..205bce4 --- /dev/null +++ b/components/74x595.lib @@ -0,0 +1,76 @@ +EESchema-LIBRARY Version 2.3 Date: Fri Nov 2 23:17:03 2012 +#encoding utf-8 +# +# 74X595 +# +DEF 74X595 U 0 0 Y N 1 F N +F0 "U" -550 425 60 H V C CNN +F1 "74X595" -600 -500 60 H V C CNN +DRAW +C -425 -300 25 0 0 0 N +C -425 50 25 0 0 0 N +T 0 -500 300 50 0 0 0 DS Normal 0 C C +T 0 500 -350 50 0 0 0 GND Normal 0 C C +T 0 0 -200 50 0 0 0 LATCH Normal 0 C C +T 0 -500 -150 50 0 0 0 LCLK Normal 0 C C +T 0 -500 -250 50 0 0 0 nOE Normal 0 C C +T 0 -500 100 50 0 0 0 nRST Normal 0 C C +T 900 -350 -300 50 0 0 0 Q0 Normal 0 C C +T 900 -250 -300 50 0 0 0 Q1 Normal 0 C C +T 900 -150 -300 50 0 0 0 Q2 Normal 0 C C +T 900 -50 -300 50 0 0 0 Q3 Normal 0 C C +T 900 50 -300 50 0 0 0 Q4 Normal 0 C C +T 900 150 -300 50 0 0 0 Q5 Normal 0 C C +T 900 250 -300 50 0 0 0 Q6 Normal 0 C C +T 900 350 -300 50 0 0 0 Q7 Normal 0 C C +T 0 500 0 50 0 0 0 Q7S Normal 0 C C +T 0 -500 200 50 0 0 0 SCLK Normal 0 C C +T 0 0 150 50 0 0 0 SHIFT~REGISTER Normal 0 C C +T 0 500 300 50 0 0 0 VCC Normal 0 C C +S -400 0 400 300 0 0 0 N +S 600 -400 -600 350 0 0 0 N +P 2 0 0 0 -600 -300 -450 -300 N +P 2 0 0 0 -600 -200 -400 -200 N +P 2 0 0 0 -600 50 -450 50 N +P 2 0 0 0 -600 150 -400 150 N +P 2 0 0 0 -600 250 -400 250 N +P 2 0 0 0 -350 -350 -350 -400 N +P 2 0 0 0 -350 0 -350 -100 N +P 2 0 0 0 -250 -350 -250 -400 N +P 2 0 0 0 -250 0 -250 -100 N +P 2 0 0 0 -150 -350 -150 -400 N +P 2 0 0 0 -150 0 -150 -100 N +P 2 0 0 0 -50 -350 -50 -400 N +P 2 0 0 0 -50 0 -50 -100 N +P 2 0 0 0 50 -350 50 -400 N +P 2 0 0 0 50 0 50 -100 N +P 2 0 0 0 150 -350 150 -400 N +P 2 0 0 0 150 0 150 -100 N +P 2 0 0 0 250 -350 250 -400 N +P 2 0 0 0 250 0 250 -100 N +P 2 0 0 0 350 -350 350 -400 N +P 2 0 0 0 350 -50 600 -50 N +P 2 0 0 0 350 0 350 -100 N +P 3 0 0 0 -400 -175 -375 -200 -400 -225 N +P 3 0 0 0 -400 175 -375 150 -400 125 N +S -400 -100 400 -350 0 1 0 N +X Q1 1 -250 -600 200 U 50 50 1 1 T +X Q2 2 -150 -600 200 U 50 50 1 1 T +X Q3 3 -50 -600 200 U 50 50 1 1 T +X Q4 4 50 -600 200 U 50 50 1 1 T +X Q5 5 150 -600 200 U 50 50 1 1 T +X Q6 6 250 -600 200 U 50 50 1 1 T +X Q7 7 350 -600 200 U 50 50 1 1 T +X GND 8 500 -600 200 U 50 50 1 1 W +X Q7S 9 800 -50 200 L 50 50 1 1 O +X nRST 10 -800 50 200 R 50 50 1 1 I +X SCLK 11 -800 150 200 R 50 50 1 1 I +X LCLK 12 -800 -200 200 R 50 50 1 1 I +X nOE 13 -800 -300 200 R 50 50 1 1 I +X DS 14 -800 250 200 R 50 50 1 1 I +X Q0 15 -350 -600 200 U 50 50 1 1 T +X VCC 16 500 550 200 D 50 50 1 1 W +ENDDRAW +ENDDEF +# +#End Library diff --git a/components/HIERARCHY b/components/HIERARCHY index f690575..f80058c 100644 --- a/components/HIERARCHY +++ b/components/HIERARCHY @@ -23,6 +23,8 @@ Logic 74x1g125 Dual 74x2g126 + Shift + 74x595 Codec Audio wm9707scft/v diff --git a/components/components.pro b/components/components.pro index af78ca3..861d07f 100644 --- a/components/components.pro +++ b/components/components.pro @@ -139,3 +139,4 @@ LibName67=./diode LibName68=./powered LibName69=./adxl32x LibName70=./xc6slx9-tqg144 +LibName71=./74x595