From 835753cbfb9557c5fddb1edbf5126a07dca3575c Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Mon, 31 Jan 2022 02:17:21 +0100 Subject: [PATCH] Adding a few more gates --- TripwireHook.dcm | 36 +++++++- TripwireHook.lib | 233 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 266 insertions(+), 3 deletions(-) diff --git a/TripwireHook.dcm b/TripwireHook.dcm index e297236..c3a7d9e 100644 --- a/TripwireHook.dcm +++ b/TripwireHook.dcm @@ -4,18 +4,48 @@ $CMP 2088RGB-5 D 8x8 RGB LED Matrix $ENDCMP # +$CMP 74HC00 +D CMOS Quad 2-Input NAND gate +K cmos nand gate +F https://assets.nexperia.com/documents/data-sheet/74HC_HCT00.pdf +$ENDCMP +# +$CMP 74HC02 +D CMOS Quad 2-Input NOR gate +K cmos nor gate +F https://assets.nexperia.com/documents/data-sheet/74HC_HCT02.pdf +$ENDCMP +# $CMP 74HC04 -D CMOS hex inverter +D CMOS Hex Inverter gate K cmos inverter gate F https://assets.nexperia.com/documents/data-sheet/74HC_HCT04.pdf $ENDCMP # $CMP 74HC08 -D CMOS Quad And gate -K cmos and +D CMOS Quad 2-Input AND gate +K cmos and gate F https://assets.nexperia.com/documents/data-sheet/74HC_HCT08.pdf $ENDCMP # +$CMP 74HC08_Split +D CMOS Quad 2-Input AND gate +K cmos and gate +F https://assets.nexperia.com/documents/data-sheet/74HC_HCT08.pdf +$ENDCMP +# +$CMP 74HC32 +D CMOS Quad 2-Input OR gate +K cmos or gate +F https://assets.nexperia.com/documents/data-sheet/74HC_HCT32.pdf +$ENDCMP +# +$CMP 74HC86 +D CMOS Quad 2-Input XOR gate +K cmos xor gate +F https://assets.nexperia.com/documents/data-sheet/74HC_HCT86.pdf +$ENDCMP +# $CMP AP3211 D 1.5A fixed-frequency 1.4MHz adjustable step-down; Input 4.5V - 18V; Output 0.81V - 15V $ENDCMP diff --git a/TripwireHook.lib b/TripwireHook.lib index b9e7bac..c9892bb 100644 --- a/TripwireHook.lib +++ b/TripwireHook.lib @@ -57,6 +57,108 @@ X R1 9 650 350 100 L 50 50 1 1 I ENDDRAW ENDDEF # +# 74HC00 +# +DEF 74HC00 U 0 40 Y Y 1 F N +F0 "U" -200 650 50 H V C CNN +F1 "74HC00" 200 650 50 H V C CNN +F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 550 -650 50 H I C CNN +F3 "" 550 -650 50 H I C CNN +DRAW +C 70 -300 20 1 1 12 N +C 70 -100 20 1 1 12 N +C 70 100 20 1 1 12 N +C 70 300 20 1 1 12 N +T 0 -20 -300 50 0 1 1 & Normal 1 C C +T 0 -20 -100 50 0 1 1 & Normal 1 C C +T 0 -20 100 50 0 1 1 & Normal 1 C C +T 0 -20 300 50 0 1 1 & Normal 1 C C +S -300 -600 300 600 1 1 12 f +S -85 -220 45 -380 1 1 12 N +S -85 -20 45 -180 1 1 12 N +S -85 180 45 20 1 1 12 N +S -85 380 45 220 1 1 12 N +P 2 1 1 12 -85 -350 -145 -350 N +P 2 1 1 12 -85 -250 -145 -250 N +P 2 1 1 12 -85 -150 -145 -150 N +P 2 1 1 12 -85 -50 -145 -50 N +P 2 1 1 12 -85 50 -145 50 N +P 2 1 1 12 -85 150 -145 150 N +P 2 1 1 12 -85 250 -145 250 N +P 2 1 1 12 -85 350 -145 350 N +P 2 1 1 12 95 -300 140 -300 N +P 2 1 1 12 95 -100 140 -100 N +P 2 1 1 12 95 100 140 100 N +P 2 1 1 12 95 300 140 300 N +X A0 1 -450 350 150 R 50 50 1 1 I +X B2 10 -450 -150 150 R 50 50 1 1 I +X Z3 11 450 -300 150 L 50 50 1 1 O +X A3 12 -450 -250 150 R 50 50 1 1 I +X B3 13 -450 -350 150 R 50 50 1 1 I +X Vcc 14 0 750 150 D 50 50 1 1 W +X B0 2 -450 250 150 R 50 50 1 1 I +X Z0 3 450 300 150 L 50 50 1 1 O +X A1 4 -450 150 150 R 50 50 1 1 I +X B1 5 -450 50 150 R 50 50 1 1 I +X Z1 6 450 100 150 L 50 50 1 1 O +X GND 7 0 -750 150 U 50 50 1 1 W +X Z2 8 450 -100 150 L 50 50 1 1 O +X A2 9 -450 -50 150 R 50 50 1 1 I +X GND EP 0 -750 150 U 50 31 1 1 W N +ENDDRAW +ENDDEF +# +# 74HC02 +# +DEF 74HC02 U 0 40 Y Y 1 F N +F0 "U" -200 650 50 H V C CNN +F1 "74HC02" 200 650 50 H V C CNN +F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 550 -650 50 H I C CNN +F3 "" 550 -650 50 H I C CNN +DRAW +C 70 -300 20 1 1 12 N +C 70 -100 20 1 1 12 N +C 70 100 20 1 1 12 N +C 70 300 20 1 1 12 N +T 0 -20 -300 50 0 1 1 ≥1 Normal 1 C C +T 0 -20 -100 50 0 1 1 ≥1 Normal 1 C C +T 0 -20 100 50 0 1 1 ≥1 Normal 1 C C +T 0 -20 300 50 0 1 1 ≥1 Normal 1 C C +S -300 -600 300 600 1 1 12 f +S -85 -220 45 -380 1 1 12 N +S -85 -20 45 -180 1 1 12 N +S -85 180 45 20 1 1 12 N +S -85 380 45 220 1 1 12 N +P 2 1 1 12 -85 -350 -145 -350 N +P 2 1 1 12 -85 -250 -145 -250 N +P 2 1 1 12 -85 -150 -145 -150 N +P 2 1 1 12 -85 -50 -145 -50 N +P 2 1 1 12 -85 50 -145 50 N +P 2 1 1 12 -85 150 -145 150 N +P 2 1 1 12 -85 250 -145 250 N +P 2 1 1 12 -85 350 -145 350 N +P 2 1 1 12 95 -300 140 -300 N +P 2 1 1 12 95 -100 140 -100 N +P 2 1 1 12 95 100 140 100 N +P 2 1 1 12 95 300 140 300 N +X Z0 1 450 300 150 L 50 50 1 1 O +X Z2 10 450 -100 150 L 50 50 1 1 O +X A3 11 -450 -250 150 R 50 50 1 1 I +X B3 12 -450 -350 150 R 50 50 1 1 I +X Z3 13 450 -300 150 L 50 50 1 1 O +X Vcc 14 0 750 150 D 50 50 1 1 W +X A0 2 -450 350 150 R 50 50 1 1 I +X B0 3 -450 250 150 R 50 50 1 1 I +X Z1 4 450 100 150 L 50 50 1 1 O +X A1 5 -450 150 150 R 50 50 1 1 I +X B1 6 -450 50 150 R 50 50 1 1 I +X GND 7 0 -750 150 U 50 50 1 1 W +X A2 8 -450 -50 150 R 50 50 1 1 I +X B2 9 -450 -150 150 R 50 50 1 1 I +X GND EP 0 -750 150 U 50 31 1 1 W N +ENDDRAW +ENDDEF +# # 74HC04 # DEF 74HC04 U 0 40 Y Y 1 F N @@ -165,6 +267,137 @@ X GND EP 0 -750 150 U 50 31 1 1 W N ENDDRAW ENDDEF # +# 74HC08_Split +# +DEF 74HC08_Split U 0 40 Y N 5 L N +F0 "U" 0 150 50 H V C CNN +F1 "74HC08_Split" 0 -150 50 H V C CNN +F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 0 -300 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +T 0 0 0 59 0 1 0 & Normal 1 C C +T 0 0 100 50 0 5 0 Vcc Normal 0 C C +T 0 0 0 59 0 2 1 & Normal 1 C C +T 0 0 0 59 0 3 1 & Normal 1 C C +T 0 0 0 59 0 4 1 & Normal 1 C C +T 0 0 -50 50 0 5 1 GND Normal 0 C C +S -100 150 100 -100 5 1 0 f +P 5 1 0 12 -100 100 100 100 100 -100 -100 -100 -100 100 f +P 5 2 1 12 -100 100 100 100 100 -100 -100 -100 -100 100 f +P 5 3 1 12 -100 100 100 100 100 -100 -100 -100 -100 100 f +P 5 4 1 12 -100 100 100 100 100 -100 -100 -100 -100 100 f +X A0 1 -200 50 100 R 50 50 1 1 I +X B0 2 -200 -50 100 R 50 50 1 1 I +X Z0 3 200 0 100 L 50 50 1 1 O +X A1 4 -200 50 100 R 50 50 2 1 I +X B1 5 -200 -50 100 R 50 50 2 1 I +X Z0 6 200 0 100 L 50 50 2 1 O +X B2 10 -200 -50 100 R 50 50 3 1 I +X Z2 8 200 0 100 L 50 50 3 1 O +X A2 9 -200 50 100 R 50 50 3 1 I +X Z0 11 200 0 100 L 50 50 4 1 O +X A3 12 -200 50 100 R 50 50 4 1 I +X B3 13 -200 -50 100 R 50 50 4 1 I +X VCC 14 0 250 100 D 50 50 5 1 W +X GND 7 0 -200 100 U 50 50 5 1 W +X GND EP 0 -200 100 U 50 50 5 1 W N +ENDDRAW +ENDDEF +# +# 74HC32 +# +DEF 74HC32 U 0 40 Y Y 1 F N +F0 "U" -200 650 50 H V C CNN +F1 "74HC32" 200 650 50 H V C CNN +F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 550 -650 50 H I C CNN +F3 "" 550 -650 50 H I C CNN +DRAW +T 0 0 -300 50 0 1 1 ≥1 Normal 1 C C +T 0 0 -100 50 0 1 1 ≥1 Normal 1 C C +T 0 0 100 50 0 1 1 ≥1 Normal 1 C C +T 0 0 300 50 0 1 1 ≥1 Normal 1 C C +S -300 -600 300 600 1 1 12 f +S -65 -220 65 -380 1 1 12 N +S -65 -20 65 -180 1 1 12 N +S -65 180 65 20 1 1 12 N +S -65 380 65 220 1 1 12 N +P 2 1 1 12 -65 -350 -125 -350 N +P 2 1 1 12 -65 -250 -125 -250 N +P 2 1 1 12 -65 -150 -125 -150 N +P 2 1 1 12 -65 -50 -125 -50 N +P 2 1 1 12 -65 50 -125 50 N +P 2 1 1 12 -65 150 -125 150 N +P 2 1 1 12 -65 250 -125 250 N +P 2 1 1 12 -65 350 -125 350 N +P 2 1 1 12 125 -300 65 -300 N +P 2 1 1 12 125 -100 65 -100 N +P 2 1 1 12 125 100 65 100 N +P 2 1 1 12 125 300 65 300 N +X A0 1 -450 350 150 R 50 50 1 1 I +X B2 10 -450 -150 150 R 50 50 1 1 I +X Z3 11 450 -300 150 L 50 50 1 1 O +X A3 12 -450 -250 150 R 50 50 1 1 I +X B3 13 -450 -350 150 R 50 50 1 1 I +X Vcc 14 0 750 150 D 50 50 1 1 W +X B0 2 -450 250 150 R 50 50 1 1 I +X Z0 3 450 300 150 L 50 50 1 1 O +X A1 4 -450 150 150 R 50 50 1 1 I +X B1 5 -450 50 150 R 50 50 1 1 I +X Z1 6 450 100 150 L 50 50 1 1 O +X GND 7 0 -750 150 U 50 50 1 1 W +X Z2 8 450 -100 150 L 50 50 1 1 O +X A2 9 -450 -50 150 R 50 50 1 1 I +X GND EP 0 -750 150 U 50 31 1 1 W N +ENDDRAW +ENDDEF +# +# 74HC86 +# +DEF 74HC86 U 0 40 Y Y 1 F N +F0 "U" -200 650 50 H V C CNN +F1 "74HC86" 200 650 50 H V C CNN +F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 550 -650 50 H I C CNN +F3 "" 550 -650 50 H I C CNN +DRAW +T 0 0 -300 50 0 1 1 =1 Normal 1 C C +T 0 0 -100 50 0 1 1 =1 Normal 1 C C +T 0 0 100 50 0 1 1 =1 Normal 1 C C +T 0 0 300 50 0 1 1 =1 Normal 1 C C +S -300 -600 300 600 1 1 12 f +S -65 -220 65 -380 1 1 12 N +S -65 -20 65 -180 1 1 12 N +S -65 180 65 20 1 1 12 N +S -65 380 65 220 1 1 12 N +P 2 1 1 12 -65 -350 -125 -350 N +P 2 1 1 12 -65 -250 -125 -250 N +P 2 1 1 12 -65 -150 -125 -150 N +P 2 1 1 12 -65 -50 -125 -50 N +P 2 1 1 12 -65 50 -125 50 N +P 2 1 1 12 -65 150 -125 150 N +P 2 1 1 12 -65 250 -125 250 N +P 2 1 1 12 -65 350 -125 350 N +P 2 1 1 12 125 -300 65 -300 N +P 2 1 1 12 125 -100 65 -100 N +P 2 1 1 12 125 100 65 100 N +P 2 1 1 12 125 300 65 300 N +X A0 1 -450 350 150 R 50 50 1 1 I +X B2 10 -450 -150 150 R 50 50 1 1 I +X Z3 11 450 -300 150 L 50 50 1 1 O +X A3 12 -450 -250 150 R 50 50 1 1 I +X B3 13 -450 -350 150 R 50 50 1 1 I +X Vcc 14 0 750 150 D 50 50 1 1 W +X B0 2 -450 250 150 R 50 50 1 1 I +X Z0 3 450 300 150 L 50 50 1 1 O +X A1 4 -450 150 150 R 50 50 1 1 I +X B1 5 -450 50 150 R 50 50 1 1 I +X Z1 6 450 100 150 L 50 50 1 1 O +X GND 7 0 -750 150 U 50 50 1 1 W +X Z2 8 450 -100 150 L 50 50 1 1 O +X A2 9 -450 -50 150 R 50 50 1 1 I +X GND EP 0 -750 150 U 50 31 1 1 W N +ENDDRAW +ENDDEF +# # 74LVC4245 # DEF 74LVC4245 IC 0 40 Y Y 1 F N -- GitLab