summaryrefslogtreecommitdiff
path: root/library/kicadLibrary
diff options
context:
space:
mode:
authorSumanto Kar2023-05-04 13:51:04 +0530
committerSumanto Kar2023-05-04 13:51:04 +0530
commit427467420f97eef76fd0ecc067ebd426f5cac554 (patch)
tree55db6e05f0751afa8d65d4932f68ac0271e3c5f6 /library/kicadLibrary
parent57e4961612e7f0c21f1e2b8ef223f8fbaff84dba (diff)
downloadeSim-427467420f97eef76fd0ecc067ebd426f5cac554.tar.gz
eSim-427467420f97eef76fd0ecc067ebd426f5cac554.tar.bz2
eSim-427467420f97eef76fd0ecc067ebd426f5cac554.zip
Resolved merge conflicts
Diffstat (limited to 'library/kicadLibrary')
-rw-r--r--library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib549
1 files changed, 489 insertions, 60 deletions
diff --git a/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib b/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
index f5adf191..306cff3f 100644
--- a/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
+++ b/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
@@ -24,22 +24,6 @@ X AnalogOut 11 600 350 200 L 50 50 1 1 O
ENDDRAW
ENDDEF
#
-# Clock_pulse_generator
-#
-DEF Clock_pulse_generator X 0 40 Y Y 1 F N
-F0 "X" 0 0 60 H V C CNN
-F1 "Clock_pulse_generator" 0 -100 60 H V C CNN
-F2 "" 0 0 60 H I C CNN
-F3 "" 0 0 60 H I C CNN
-DRAW
-S -550 200 600 -300 0 1 0 N
-X Vdd 1 -750 100 200 R 50 50 1 1 I
-X R 2 -750 -50 200 R 50 50 1 1 I
-X C 3 -750 -200 200 R 50 50 1 1 I
-X Clkout 4 800 0 200 L 50 50 1 1 O
-ENDDRAW
-ENDDEF
-#
# 2BITMUL
#
DEF 2BITMUL X 0 40 Y Y 1 F N
@@ -164,6 +148,40 @@ X out 6 550 0 200 L 50 50 1 1 O
ENDDRAW
ENDDEF
#
+# CMOS_NAND
+#
+DEF CMOS_NAND X 0 40 Y Y 1 F N
+F0 "X" -100 -150 60 H V C CNN
+F1 "CMOS_NAND" 0 -50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+A 150 -50 381 668 -668 0 1 0 N 300 300 300 -400
+C 550 0 50 0 1 0 N
+P 2 0 1 0 -350 300 300 300 N
+P 3 0 1 0 -350 300 -350 -400 300 -400 N
+X in1 1 -550 250 200 R 50 50 1 1 I
+X in2 2 -550 -300 200 R 50 50 1 1 I
+X out 3 800 0 279 L 79 79 1 1 I
+ENDDRAW
+ENDDEF
+#
+# Clock_pulse_generator
+#
+DEF Clock_pulse_generator X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Clock_pulse_generator" 0 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 200 600 -300 0 1 0 N
+X Vdd 1 -750 100 200 R 50 50 1 1 I
+X R 2 -750 -50 200 R 50 50 1 1 I
+X C 3 -750 -200 200 R 50 50 1 1 I
+X Clkout 4 800 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
# IC_4002
#
DEF IC_4002 X 0 40 Y Y 1 F N
@@ -190,24 +208,6 @@ X VCC 14 450 250 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
-# CMOS_NAND
-#
-DEF CMOS_NAND X 0 40 Y Y 1 F N
-F0 "X" -100 -150 60 H V C CNN
-F1 "CMOS_NAND" 0 -50 60 H V C CNN
-F2 "" 0 0 60 H I C CNN
-F3 "" 0 0 60 H I C CNN
-DRAW
-A 150 -50 381 668 -668 0 1 0 N 300 300 300 -400
-C 550 0 50 0 1 0 N
-P 2 0 1 0 -350 300 300 300 N
-P 3 0 1 0 -350 300 -350 -400 300 -400 N
-X in1 1 -550 250 200 R 50 50 1 1 I
-X in2 2 -550 -300 200 R 50 50 1 1 I
-X out 3 800 0 279 L 79 79 1 1 I
-ENDDRAW
-ENDDEF
-#
# IC_4012
#
DEF IC_4012 X 0 40 Y Y 1 F N
@@ -258,32 +258,6 @@ X CLK 12 -550 350 200 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
-# eSim_74LS04
-#
-DEF eSim_74LS04 X 0 40 Y Y 1 F N
-F0 "X" 0 100 60 H V C CNN
-F1 "eSim_74LS04" 0 0 60 H V C CNN
-F2 "" 0 0 60 H I C CNN
-F3 "" 0 0 60 H I C CNN
-DRAW
-S 350 500 -350 -500 0 1 0 N
-X ~ 1 -550 450 200 R 50 50 1 1 P
-X ~ 2 -550 300 200 R 50 50 1 1 P I
-X ~ 3 -550 150 200 R 50 50 1 1 P
-X ~ 4 -550 0 200 R 50 50 1 1 P I
-X ~ 5 -550 -150 200 R 50 50 1 1 P
-X ~ 6 -550 -300 200 R 50 50 1 1 P I
-X GND 7 -550 -450 200 R 50 50 1 1 P
-X ~ 8 550 -450 200 L 50 50 1 1 P I
-X ~ 9 550 -300 200 L 50 50 1 1 P
-X ~ 10 550 -150 200 L 50 50 1 1 P I
-X ~ 11 550 0 200 L 50 50 1 1 P
-X ~ 12 550 150 200 L 50 50 1 1 P I
-X ~ 13 550 300 200 L 50 50 1 1 P
-X VCC 14 550 450 200 L 50 50 1 1 P
-ENDDRAW
-ENDDEF
-#
# IC_4023
#
DEF IC_4023 X 0 40 Y Y 1 F N
@@ -523,6 +497,21 @@ X VCC 8 0 600 200 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
+# LM_7809_VR
+#
+DEF LM_7809_VR X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "LM_7809_VR" 0 150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -200 0 1 0 N
+X IN 1 -550 0 200 R 50 50 1 1 I
+X OUT 2 550 0 200 L 50 50 1 1 O
+X GND 3 0 -400 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
# LM_7812
#
DEF LM_7812 X 0 40 Y Y 1 F N
@@ -590,6 +579,32 @@ X B2 3 0 350 200 D 50 50 1 1 B
ENDDRAW
ENDDEF
#
+# eSim_74LS04
+#
+DEF eSim_74LS04 X 0 40 Y Y 1 F N
+F0 "X" 0 100 60 H V C CNN
+F1 "eSim_74LS04" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S 350 500 -350 -500 0 1 0 N
+X ~ 1 -550 450 200 R 50 50 1 1 P
+X ~ 2 -550 300 200 R 50 50 1 1 P I
+X ~ 3 -550 150 200 R 50 50 1 1 P
+X ~ 4 -550 0 200 R 50 50 1 1 P I
+X ~ 5 -550 -150 200 R 50 50 1 1 P
+X ~ 6 -550 -300 200 R 50 50 1 1 P I
+X GND 7 -550 -450 200 R 50 50 1 1 P
+X ~ 8 550 -450 200 L 50 50 1 1 P I
+X ~ 9 550 -300 200 L 50 50 1 1 P
+X ~ 10 550 -150 200 L 50 50 1 1 P I
+X ~ 11 550 0 200 L 50 50 1 1 P
+X ~ 12 550 150 200 L 50 50 1 1 P I
+X ~ 13 550 300 200 L 50 50 1 1 P
+X VCC 14 550 450 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
# full_adder
#
DEF full_adder X 0 40 Y Y 1 F N
@@ -676,6 +691,420 @@ X NC 8 150 -300 200 U 50 38 1 1 N
ENDDRAW
ENDDEF
#
+# CD_4081
+#
+DEF CD_4081 X 0 40 Y Y 1 F N
+F0 "X" 150 -100 60 H V C CNN
+F1 "CD_4081" 100 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 300 750 -300 0 1 0 N
+X A1 1 -500 -500 200 U 50 50 1 1 I
+X B1 2 -300 -500 200 U 50 50 1 1 I
+X Y1 3 -100 -500 200 U 50 50 1 1 O
+X Y2 4 100 -500 200 U 50 50 1 1 O
+X A2 5 300 -500 200 U 50 50 1 1 I
+X B2 6 500 -500 200 U 50 50 1 1 I
+X GND 7 700 -500 200 U 50 50 1 1 I
+X A3 8 700 500 200 D 50 50 1 1 I
+X B3 9 500 500 200 D 50 50 1 1 I
+X Y3 10 300 500 200 D 50 50 1 1 O
+X Y4 11 100 500 200 D 50 50 1 1 O
+X A4 12 -100 500 200 D 50 50 1 1 I
+X B4 13 -300 500 200 D 50 50 1 1 I
+X VCC 14 -500 500 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD4077
+#
+DEF CD4077 X 0 40 Y Y 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "CD4077" 0 50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -450 250 550 -250 0 1 0 N
+X A1 1 -400 -450 200 U 50 50 1 1 I
+X B1 2 -250 -450 200 U 50 50 1 1 I
+X Y1 3 -100 -450 200 U 50 50 1 1 O
+X Y2 4 50 -450 200 U 50 50 1 1 O
+X A2 5 200 -450 200 U 50 50 1 1 I
+X B2 6 350 -450 200 U 50 50 1 1 I
+X GND 7 500 -450 200 U 50 50 1 1 I
+X A3 8 500 450 200 D 50 50 1 1 I
+X B3 9 350 450 200 D 50 50 1 1 I
+X Y3 10 200 450 200 D 50 50 1 1 O
+X Y4 11 50 450 200 D 50 50 1 1 O
+X B4 12 -100 450 200 D 50 50 1 1 I
+X A4 13 -250 450 200 D 50 50 1 1 I
+X VCC 14 -400 450 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4071
+#
+DEF CD_4071 X 0 40 Y Y 1 F N
+F0 "X" -200 -50 60 H V C CNN
+F1 "CD_4071" 100 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -400 200 600 -250 0 1 0 N
+X A1 1 -350 -450 200 U 50 50 1 1 I
+X B1 2 -200 -450 200 U 50 50 1 1 I
+X Q1 3 -50 -450 200 U 50 50 1 1 O
+X Q2 4 100 -450 200 U 50 50 1 1 O
+X A2 5 250 -450 200 U 50 50 1 1 I
+X B2 6 400 -450 200 U 50 50 1 1 I
+X GND 7 550 -450 200 U 50 50 1 1 I
+X A3 8 550 400 200 D 50 50 1 1 I
+X B3 9 400 400 200 D 50 50 1 1 I
+X Q3 10 250 400 200 D 50 50 1 1 O
+X Q4 11 100 400 200 D 50 50 1 1 O
+X A4 12 -50 400 200 D 50 50 1 1 I
+X B4 13 -200 400 200 D 50 50 1 1 I
+X VCC 14 -350 400 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4070
+#
+DEF CD_4070 X 0 40 Y Y 1 F N
+F0 "X" -250 -50 60 H V C CNN
+F1 "CD_4070" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 250 550 -250 0 1 0 N
+X A1 1 -450 -450 200 U 50 50 1 1 I
+X B1 2 -300 -450 200 U 50 50 1 1 I
+X Y1 3 -150 -450 200 U 50 50 1 1 O
+X Y2 4 0 -450 200 U 50 50 1 1 O
+X A2 5 150 -450 200 U 50 50 1 1 I
+X B2 6 300 -450 200 U 50 50 1 1 I
+X GND 7 450 -450 200 U 50 50 1 1 I
+X A3 8 450 450 200 D 50 50 1 1 I
+X B3 9 300 450 200 D 50 50 1 1 I
+X Y3 10 150 450 200 D 50 50 1 1 O
+X Y4 11 0 450 200 D 50 50 1 1 O
+X A4 12 -150 450 200 D 50 50 1 1 I
+X B4 13 -300 450 200 D 50 50 1 1 I
+X VCC 14 -450 450 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4069
+#
+DEF CD_4069 X 0 40 Y Y 1 F N
+F0 "X" -250 100 60 H V C CNN
+F1 "CD_4069" 0 100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -300 400 300 -450 0 1 0 N
+X IN_1 1 -500 350 200 R 50 50 1 1 I
+X OUT_1 2 -500 200 200 R 50 50 1 1 O
+X IN_3 3 -500 0 200 R 50 50 1 1 I
+X OUT_2 4 -500 -100 200 R 50 50 1 1 O
+X IN_5 5 -500 -200 200 R 50 50 1 1 I
+X OUT_3 6 -500 -300 200 R 50 50 1 1 O
+X GND 7 -500 -400 200 R 50 50 1 1 I
+X OUT_4 8 500 -400 200 L 50 50 1 1 O
+X IN_4 9 500 -300 200 L 50 50 1 1 I
+X OUT_5 10 500 -200 200 L 50 50 1 1 O
+X IN_5 11 500 -100 200 L 50 50 1 1 I
+X OUT_6 12 500 0 200 L 50 50 1 1 O
+X IN_6 13 500 200 200 L 50 50 1 1 I
+X VDD 14 500 350 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD4028B_IC
+#
+DEF CD4028B_IC X 0 40 Y Y 1 F N
+F0 "X" 100 150 60 H V C CNN
+F1 "CD4028B_IC" 100 -50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -400 450 600 -700 0 1 0 N
+X Y_4 1 -600 400 200 R 50 50 1 1 O
+X Y_2 2 -600 250 200 R 50 50 1 1 O
+X Y_0 3 -600 100 200 R 50 50 1 1 O
+X Y_7 4 -600 -50 200 R 50 50 1 1 O
+X Y_9 5 -600 -200 200 R 50 50 1 1 O
+X Y_5 6 -600 -350 200 R 50 50 1 1 O
+X Y_6 7 -600 -500 200 R 50 50 1 1 O
+X VSS 8 -600 -650 200 R 50 50 1 1 I
+X Y_8 9 800 -650 200 L 50 50 1 1 O
+X A 10 800 -500 200 L 50 50 1 1 I
+X D 11 800 -350 200 L 50 50 1 1 I
+X C 12 800 -200 200 L 50 50 1 1 I
+X B 13 800 -50 200 L 50 50 1 1 I
+X Y_1 14 800 100 200 L 50 50 1 1 O
+X Y_3 15 800 250 200 L 50 50 1 1 O
+X VDD 16 800 400 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4023
+#
+DEF CD_4023 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "CD_4023" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 250 450 -300 0 1 0 N
+X A1 1 -500 -500 200 U 50 50 1 1 I
+X B1 2 -350 -500 200 U 50 50 1 1 I
+X A2 3 -200 -500 200 U 50 50 1 1 I
+X B2 4 -50 -500 200 U 50 50 1 1 I
+X C2 5 100 -500 200 U 50 50 1 1 I
+X Y2 6 250 -500 200 U 50 50 1 1 O
+X GND 7 400 -500 200 U 50 50 1 1 I
+X C1 8 400 450 200 D 50 50 1 1 I
+X Y1 9 250 450 200 D 50 50 1 1 O
+X Y3 10 100 450 200 D 50 50 1 1 O
+X A3 11 -50 450 200 D 50 50 1 1 I
+X B3 12 -200 450 200 D 50 50 1 1 I
+X C3 13 -350 450 200 D 50 50 1 1 I
+X VCC 14 -500 450 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4011
+#
+DEF CD_4011 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "CD_4011" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -450 250 550 -300 0 1 0 N
+X A1 1 -400 -500 200 U 50 50 1 1 I
+X B1 2 -250 -500 200 U 50 50 1 1 I
+X Y1 3 -100 -500 200 U 50 50 1 1 O
+X Y2 4 50 -500 200 U 50 50 1 1 O
+X A2 5 200 -500 200 U 50 50 1 1 I
+X B2 6 350 -500 200 U 50 50 1 1 I
+X GND 7 500 -500 200 U 50 50 1 1 I
+X A3 8 500 450 200 D 50 50 1 1 I
+X B3 9 350 450 200 D 50 50 1 1 I
+X Y3 10 200 450 200 D 50 50 1 1 O
+X Y4 11 50 450 200 D 50 50 1 1 O
+X A4 12 -100 450 200 D 50 50 1 1 I
+X B4 13 -250 450 200 D 50 50 1 1 I
+X VCC 14 -400 450 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4001
+#
+DEF CD_4001 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "CD_4001" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -500 250 500 -300 0 1 0 N
+X A1 1 -450 -500 200 U 50 50 1 1 I
+X B1 2 -300 -500 200 U 50 50 1 1 I
+X Y1 3 -150 -500 200 U 50 50 1 1 O
+X Y2 4 0 -500 200 U 50 50 1 1 O
+X A2 5 150 -500 200 U 50 50 1 1 I
+X B2 6 300 -500 200 U 50 50 1 1 I
+X GND 7 450 -500 200 U 50 50 1 1 I
+X A3 8 450 450 200 D 50 50 1 1 I
+X B3 9 300 450 200 D 50 50 1 1 I
+X VCC ~ -450 450 200 D 50 50 1 1 I
+X Y3 10 150 450 200 D 50 50 1 1 O
+X Y4 11 0 450 200 D 50 50 1 1 O
+X A4 12 -150 450 200 D 50 50 1 1 I
+X B4 13 -300 450 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_54HC_153
+#
+DEF CD_54HC_153 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "CD_54HC_153" 0 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 450 550 -700 0 1 0 N
+X E1_bar 1 -750 400 200 R 50 50 1 1 I
+X S1 2 -750 250 200 R 50 50 1 1 I
+X I3_1 3 -750 100 200 R 50 50 1 1 I
+X I2_1 4 -750 -50 200 R 50 50 1 1 I
+X I1_1 5 -750 -200 200 R 50 50 1 1 I
+X I0_1 6 -750 -350 200 R 50 50 1 1 I
+X Y1 7 -750 -500 200 R 50 50 1 1 O
+X GND 8 -750 -650 200 R 50 50 1 1 I
+X Y2 9 750 -650 200 L 50 50 1 1 O
+X I0_2 10 750 -500 200 L 50 50 1 1 I
+X I1_2 11 750 -350 200 L 50 50 1 1 I
+X I2_2 12 750 -200 200 L 50 50 1 1 I
+X I3_2 13 750 -50 200 L 50 50 1 1 I
+X S0 14 750 100 200 L 50 50 1 1 I
+X E2_bar 15 750 250 200 L 50 50 1 1 I
+X VCC 16 750 400 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_54157
+#
+DEF CD_54157 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "CD_54157" 0 -250 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -600 0 1 0 N
+X Sel 1 -550 150 200 R 50 50 1 1 I
+X I0_1 2 -550 50 200 R 50 50 1 1 I
+X I1_1 3 -550 -50 200 R 50 50 1 1 I
+X Y1_bar 4 -550 -150 200 R 50 50 1 1 O
+X I0_2 5 -550 -250 200 R 50 50 1 1 I
+X I1_2 6 -550 -350 200 R 50 50 1 1 I
+X Y2_bar 7 -550 -450 200 R 50 50 1 1 O
+X GND 8 -550 -550 200 R 50 50 1 1 I
+X Y3_bar 9 550 -550 200 L 50 50 1 1 O
+X I1_3 10 550 -450 200 L 50 50 1 1 I
+X I0_3 11 550 -350 200 L 50 50 1 1 I
+X Y4_bar 12 550 -250 200 L 50 50 1 1 O
+X I1_4 13 550 -150 200 L 50 50 1 1 I
+X I0_4 14 550 -50 200 L 50 50 1 1 I
+X E_bar 15 550 50 200 L 50 50 1 1 I
+X VCC 16 550 150 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# AD620_IC
+#
+DEF AD620_IC X 0 40 Y Y 1 F N
+F0 "X" 50 200 60 H V C CNN
+F1 "AD620_IC" 0 -100 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 400 350 -450 0 1 0 N
+X RG1 1 -550 300 200 R 50 50 1 1 I
+X IN- 2 -550 100 200 R 50 50 1 1 I
+X IN+ 3 -550 -150 200 R 50 50 1 1 I
+X VS- 4 -550 -350 200 R 50 50 1 1 I
+X REF 5 550 -350 200 L 50 50 1 1 I
+X OUT 6 550 -150 200 L 50 50 1 1 O
+X VS+ 7 550 100 200 L 50 50 1 1 I
+X RG2 8 550 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD_4008
+#
+DEF CD_4008 X 0 40 Y Y 1 F N
+F0 "X" -50 -50 60 H V C CNN
+F1 "CD_4008" 0 50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 500 350 -650 0 1 0 N
+X A3 1 -550 450 200 R 50 50 1 1 I
+X B2 2 -550 300 200 R 50 50 1 1 I
+X A2 3 -550 150 200 R 50 50 1 1 I
+X B1 4 -550 0 200 R 50 50 1 1 I
+X A1 5 -550 -150 200 R 50 50 1 1 I
+X B0 6 -550 -300 200 R 50 50 1 1 I
+X A0 7 -550 -450 200 R 50 50 1 1 I
+X GND 8 -550 -600 200 R 50 50 1 1 I
+X Cin 9 550 -600 200 L 50 50 1 1 I
+X S0 10 550 -450 200 L 50 50 1 1 O
+X S1 11 550 -300 200 L 50 50 1 1 O
+X S2 12 550 -150 200 L 50 50 1 1 O
+X S3 13 550 0 200 L 50 50 1 1 O
+X COUT 14 550 150 200 L 50 50 1 1 O
+X B3 15 550 300 200 L 50 50 1 1 I
+X VDD 16 550 450 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD54HC151
+#
+DEF CD54HC151 X 0 40 Y Y 1 F N
+F0 "X" 50 -150 60 H V C CNN
+F1 "CD54HC151" 50 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -500 500 550 -650 0 1 0 N
+X I3 1 -700 450 200 R 50 50 1 1 I
+X I2 2 -700 300 200 R 50 50 1 1 I
+X I1 3 -700 150 200 R 50 50 1 1 I
+X I0 4 -700 0 200 R 50 50 1 1 I
+X Y 5 -700 -150 200 R 50 50 1 1 O
+X Y_bar 6 -700 -300 200 R 50 50 1 1 O
+X E_bar 7 -700 -450 200 R 50 50 1 1 I
+X GND 8 -700 -600 200 R 50 50 1 1 I
+X S2 9 750 -600 200 L 50 50 1 1 I
+X S1 10 750 -450 200 L 50 50 1 1 I
+X S0 11 750 -300 200 L 50 50 1 1 I
+X I7 12 750 -150 200 L 50 50 1 1 I
+X I6 13 750 0 200 L 50 50 1 1 I
+X I5 14 750 150 200 L 50 50 1 1 I
+X I4 15 750 300 200 L 50 50 1 1 I
+X VDD 16 750 450 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD4000_NOR
+#
+DEF CD4000_NOR X 0 40 Y Y 1 F N
+F0 "X" 50 350 60 H V C CNN
+F1 "CD4000_NOR" 0 -100 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+T 0 -300 400 60 0 0 0 NC_1 Normal 0 C C
+T 0 -300 250 60 0 0 0 NC_2 Normal 0 C C
+S -450 450 450 -550 0 1 0 N
+X IN1_1 3 -650 100 200 R 50 50 1 1 I
+X IN1_2 4 -650 -50 200 R 50 50 1 1 I
+X IN1_3 5 -650 -200 200 R 50 50 1 1 I
+X OUT_1 6 -650 -350 200 R 50 50 1 1 O
+X GND 7 -650 -500 200 R 50 50 1 1 I
+X IN_inv 8 650 -500 200 L 50 50 1 1 I
+X OUT_inv 9 650 -350 200 L 50 50 1 1 O
+X OUT_2 10 650 -200 200 L 50 50 1 1 O
+X IN2_1 11 650 -50 200 L 50 50 1 1 I
+X IN2_2 12 650 100 200 L 50 50 1 1 I
+X IN2_3 13 650 250 200 L 50 50 1 1 I
+X VDD 14 650 400 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# LM_386
+#
+DEF LM_386 X 0 40 Y Y 1 F N
+F0 "X" -100 100 60 H V C CNN
+F1 "LM_386" 150 100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -250 350 400 -150 0 1 0 N
+X GAIN 1 -200 -350 200 U 50 50 1 1 I
+X -IN 2 0 -350 200 U 50 50 1 1 I
+X +IN 3 150 -350 200 U 50 50 1 1 I
+X GND 4 350 -350 200 U 50 50 1 1 I
+X OUT 5 350 550 200 D 50 50 1 1 O
+X VDD 6 150 550 200 D 50 50 1 1 I
+X ByP 7 0 550 200 D 50 50 1 1 I
+X GAIN 8 -200 550 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
# Precision_Rectifier
#
DEF Precision_Rectifier X 0 40 Y Y 1 F N