summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArpit Sharma2022-10-21 23:07:05 +0530
committerArpit Sharma2022-10-21 23:07:05 +0530
commitfc9ec2ae62600baa3e91128769c2ff603817d227 (patch)
tree58632ba1985c15a4f31a4e363eae9af0a57a29e8
parent7c1f5eacbc233bd365d1fc42c11aa3163f7947e1 (diff)
downloadeSim-fc9ec2ae62600baa3e91128769c2ff603817d227.tar.gz
eSim-fc9ec2ae62600baa3e91128769c2ff603817d227.tar.bz2
eSim-fc9ec2ae62600baa3e91128769c2ff603817d227.zip
eSim_Subckt.lib file
-rw-r--r--eSim_Subckt.lib1085
1 files changed, 1085 insertions, 0 deletions
diff --git a/eSim_Subckt.lib b/eSim_Subckt.lib
new file mode 100644
index 00000000..076b3daf
--- /dev/null
+++ b/eSim_Subckt.lib
@@ -0,0 +1,1085 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# 10bitDAC
+#
+DEF 10bitDAC X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "10bitDAC" -50 -50 60 H V C CNN
+F2 "" 0 50 60 H I C CNN
+F3 "" 0 50 60 H I C CNN
+DRAW
+S -500 500 400 -600 0 1 0 N
+X D0 1 -700 -500 200 R 50 50 1 1 I
+X D1 2 -700 -400 200 R 50 50 1 1 I
+X D2 3 -700 -300 200 R 50 50 1 1 I
+X D3 4 -700 -200 200 R 50 50 1 1 I
+X D4 5 -700 -100 200 R 50 50 1 1 I
+X D5 6 -700 0 200 R 50 50 1 1 I
+X D6 7 -700 100 200 R 50 50 1 1 I
+X D7 8 -700 200 200 R 50 50 1 1 I
+X D8 9 -700 300 200 R 50 50 1 1 I
+X D9 10 -700 400 200 R 50 50 1 1 I
+X AnalogOut 11 600 350 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 2BITMUL
+#
+DEF 2BITMUL X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "2BITMUL" 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 -300 400 300 -400 0 1 0 N
+X A0 1 -500 300 200 R 50 50 1 1 I
+X A1 2 -500 150 200 R 50 50 1 1 I
+X B0 3 -500 -50 200 R 50 50 1 1 I
+X B1 4 -500 -250 200 R 50 50 1 1 I
+X M0 5 500 250 200 L 50 50 1 1 O
+X M1 6 500 100 200 L 50 50 1 1 O
+X M2 7 500 -50 200 L 50 50 1 1 O
+X M3 8 500 -250 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 3_and
+#
+DEF 3_and X 0 40 Y Y 1 F N
+F0 "X" 100 -50 60 H V C CNN
+F1 "3_and" 150 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 150 50 158 716 -716 0 1 0 N 200 200 200 -100
+P 2 0 1 0 -150 200 200 200 N
+P 3 0 1 0 -150 200 -150 -100 200 -100 N
+X in1 1 -350 150 200 R 50 50 1 1 I
+X in2 2 -350 50 200 R 50 50 1 1 I
+X in3 3 -350 -50 200 R 50 50 1 1 I
+X out 4 500 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 4_OR
+#
+DEF 4_OR X 0 40 Y Y 1 F N
+F0 "X" 150 -100 60 H V C CNN
+F1 "4_OR" 150 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -800 0 650 226 -226 0 1 0 N -200 250 -200 -250
+A -73 134 444 -599 -176 0 1 0 N 150 -250 350 0
+A -30 -99 393 627 146 0 1 0 N 150 250 350 0
+P 2 0 1 0 -200 -250 150 -250 N
+P 2 0 1 0 -200 250 150 250 N
+X in1 1 -350 150 200 R 50 50 1 1 I
+X in2 2 -350 50 200 R 50 50 1 1 I
+X in3 3 -350 -50 200 R 50 50 1 1 I
+X in4 4 -350 -150 200 R 50 50 1 1 I
+X out 5 550 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 4_and
+#
+DEF 4_and X 0 40 Y Y 1 F N
+F0 "X" 50 -50 60 H V C CNN
+F1 "4_and" 100 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 100 0 206 760 -760 0 1 0 N 150 200 150 -200
+P 2 0 1 0 -200 200 150 200 N
+P 4 0 1 0 -200 200 -200 -200 50 -200 150 -200 N
+X in1 1 -400 150 200 R 50 50 1 1 I
+X in2 2 -400 50 200 R 50 50 1 1 I
+X in3 3 -400 -50 200 R 50 50 1 1 I
+X in4 4 -400 -150 200 R 50 50 1 1 I
+X out 5 500 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 556
+#
+DEF 556 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "556" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 250 -550 0 1 0 N
+X dis1 1 -500 150 200 R 50 50 1 1 I
+X thr1 2 -500 -150 200 R 50 50 1 1 I
+X cv1 3 -150 -750 200 U 50 50 1 1 I
+X rst1 4 -200 600 200 D 50 50 1 1 I
+X out1 5 -500 0 200 R 50 50 1 1 O
+X trig1 6 -500 -300 200 R 50 50 1 1 I
+X gnd 7 0 -750 200 U 50 50 1 1 I
+X trig2 8 450 -300 200 L 50 50 1 1 I
+X out2 9 450 0 200 L 50 50 1 1 O
+X rst2 10 100 600 200 D 50 50 1 1 I
+X cv2 11 150 -750 200 U 50 50 1 1 I
+X thr2 12 450 -150 200 L 50 50 1 1 I
+X dis2 13 450 150 200 L 50 50 1 1 I
+X vcc 14 -50 600 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# 5_and
+#
+DEF 5_and X 0 40 Y Y 1 F N
+F0 "X" 50 -100 60 H V C CNN
+F1 "5_and" 100 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 100 0 255 787 -787 0 1 0 N 150 250 150 -250
+P 2 0 1 0 -250 250 150 250 N
+P 3 0 1 0 -250 250 -250 -250 150 -250 N
+X in1 1 -450 200 200 R 50 50 1 1 I
+X in2 2 -450 100 200 R 50 50 1 1 I
+X in3 3 -450 0 200 R 50 50 1 1 I
+X in4 4 -450 -100 200 R 50 50 1 1 I
+X in5 5 -450 -200 200 R 50 50 1 1 I
+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
+#
+# ICL8038
+#
+DEF ICL8038 X 0 40 N Y 1 F N
+F0 "X" 0 200 60 H V C CNN
+F1 "ICL8038" 0 -100 60 V V C CNN
+F2 "" 0 200 60 H I C CNN
+F3 "" 0 200 60 H I C CNN
+DRAW
+A 0 400 50 -1799 -1 0 1 0 N -50 400 50 400
+S -300 400 300 -400 0 1 0 N
+X 9 1 500 -200 200 L 50 50 1 1 O
+X 7 2 -500 -300 200 R 50 50 1 1 I
+X 8 3 500 -300 200 L 50 50 1 1 I
+X 5 4 -500 -100 200 R 50 50 1 1 I
+X 4 5 -500 0 200 R 50 50 1 1 I
+X 10 6 500 -100 200 L 50 50 1 1 I
+X 11 7 500 0 200 L 50 50 1 1 I
+X 3 8 -500 100 200 R 50 50 1 1 O
+X 2 9 -500 200 200 R 50 50 1 1 O
+X 6 10 -500 -200 200 R 50 50 1 1 I
+X 1 11 -500 300 200 R 50 50 1 1 I
+X 12 12 500 100 200 L 50 50 1 1 I
+X 13 13 500 200 200 L 50 50 1 1 N
+X 14 14 500 300 200 L 50 50 1 1 N
+ENDDRAW
+ENDDEF
+#
+# IC_4002
+#
+DEF IC_4002 X 0 40 Y Y 1 F N
+F0 "X" 0 150 60 H V C CNN
+F1 "IC_4002" 0 0 60 H V C CNN
+F2 "" 50 -150 60 H V C CNN
+F3 "" 50 -150 60 H V C CNN
+DRAW
+S -250 350 250 -400 0 1 0 N
+X 1Y 1 -450 250 200 R 50 50 1 1 O
+X 1A 2 -450 150 200 R 50 50 1 1 I
+X 1B 3 -450 50 200 R 50 50 1 1 I
+X 1C 4 -450 -50 200 R 50 50 1 1 I
+X 1D 5 -450 -150 200 R 50 50 1 1 I
+X NC 6 -450 -250 200 R 50 50 1 1 I
+X GND 7 -450 -350 200 R 50 50 1 1 I
+X NC 8 450 -350 200 L 50 50 1 1 I
+X 2A 9 450 -250 200 L 50 50 1 1 I
+X 2B 10 450 -150 200 L 50 50 1 1 I
+X 2C 11 450 -50 200 L 50 50 1 1 I
+X 2D 12 450 50 200 L 50 50 1 1 I
+X 2Y 13 450 150 200 L 50 50 1 1 O
+X VCC 14 450 250 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4012
+#
+DEF IC_4012 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "IC_4012" 0 200 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 350 -400 0 1 0 N
+X Q1 1 -500 300 200 R 50 50 1 1 O
+X A1 2 -500 200 200 R 50 50 1 1 I
+X B1 3 -500 100 200 R 50 50 1 1 I
+X C1 4 -500 0 200 R 50 50 1 1 I
+X D1 5 -500 -100 200 R 50 50 1 1 I
+X NC 6 -500 -200 200 R 50 50 1 1 N
+X VSS 7 -500 -300 200 R 50 50 1 1 I
+X NC 8 550 -300 200 L 50 50 1 1 N
+X A2 9 550 -200 200 L 50 50 1 1 I
+X B2 10 550 -100 200 L 50 50 1 1 I
+X C2 11 550 0 200 L 50 50 1 1 I
+X D2 12 550 100 200 L 50 50 1 1 I
+X Q2 13 550 200 200 L 50 50 1 1 O
+X VDD 14 550 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4017
+#
+DEF IC_4017 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "IC_4017" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -350 850 400 -850 0 1 0 N
+X 1 1 600 650 200 L 50 50 1 1 O
+X 2 2 600 500 200 L 50 50 1 1 O
+X 3 3 600 350 200 L 50 50 1 1 O
+X 4 4 600 200 200 L 50 50 1 1 O
+X 5 5 600 50 200 L 50 50 1 1 O
+X 6 6 600 -100 200 L 50 50 1 1 O
+X 7 7 600 -250 200 L 50 50 1 1 O
+X 8 8 600 -400 200 L 50 50 1 1 O
+X 9 9 600 -600 200 L 50 50 1 1 O
+X 10 10 600 -750 200 L 50 50 1 1 O
+X RST 11 -550 -400 200 R 50 50 1 1 I
+X CLK 12 -550 350 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4023
+#
+DEF IC_4023 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4023" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 450 300 -450 0 1 0 N
+X A1 1 -500 300 200 R 50 50 1 1 I
+X B1 2 -500 200 200 R 50 50 1 1 I
+X A2 3 -500 100 200 R 50 50 1 1 I
+X B2 4 -500 0 200 R 50 50 1 1 I
+X C2 5 -500 -100 200 R 50 50 1 1 I
+X Q2 6 -500 -200 200 R 50 50 1 1 O
+X Vss 7 -500 -300 200 R 50 50 1 1 I
+X C1 8 500 -300 200 L 50 50 1 1 I
+X Q1 9 500 -200 200 L 50 50 1 1 O
+X Q3 10 500 -100 200 L 50 50 1 1 O
+X C3 11 500 0 200 L 50 50 1 1 I
+X B3 12 500 100 200 L 50 50 1 1 I
+X A3 13 500 200 200 L 50 50 1 1 I
+X Vdd 14 500 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4028
+#
+DEF IC_4028 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4028" 0 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 450 300 -450 0 1 0 N
+X Q4 1 -500 350 200 R 50 50 1 1 O
+X Q2 2 -500 250 200 R 50 50 1 1 O
+X Q0 3 -500 150 200 R 50 50 1 1 O
+X Q7 4 -500 50 200 R 50 50 1 1 O
+X Q9 5 -500 -50 200 R 50 50 1 1 O
+X Q5 6 -500 -150 200 R 50 50 1 1 O
+X Q6 7 -500 -250 200 R 50 50 1 1 O
+X Vss 8 -500 -350 200 R 50 50 1 1 I
+X Q8 9 500 -350 200 L 50 50 1 1 O
+X A0 10 500 -250 200 L 50 50 1 1 I
+X A3 11 500 -150 200 L 50 50 1 1 I
+X A2 12 500 -50 200 L 50 50 1 1 I
+X A1 13 500 50 200 L 50 50 1 1 I
+X Q1 14 500 150 200 L 50 50 1 1 O
+X Q3 15 500 250 200 L 50 50 1 1 O
+X Vdd 16 500 350 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_4073
+#
+DEF IC_4073 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4073" 0 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 300 -400 0 1 0 N
+X A1 1 -500 300 200 R 50 50 1 1 I
+X B1 2 -500 200 200 R 50 50 1 1 I
+X A2 3 -500 100 200 R 50 50 1 1 I
+X B2 4 -500 0 200 R 50 50 1 1 I
+X C2 5 -500 -100 200 R 50 50 1 1 I
+X Q2 6 -500 -200 200 R 50 50 1 1 O
+X Vss 7 -500 -300 200 R 50 50 1 1 I
+X C1 8 500 -300 200 L 50 50 1 1 I
+X Q1 9 500 -200 200 L 50 50 1 1 O
+X Q3 10 500 -100 200 L 50 50 1 1 O
+X A3 11 500 0 200 L 50 50 1 1 I
+X B3 12 500 100 200 L 50 50 1 1 I
+X C3 13 500 200 200 L 50 50 1 1 I
+X Vdd 14 500 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_74153
+#
+DEF IC_74153 X 0 40 Y Y 1 F N
+F0 "X" 100 50 60 H V C CNN
+F1 "IC_74153" 100 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 100 -200 60 0 0 0 4:1 Normal 0 C C
+T 0 100 -100 60 0 0 0 DUAL Normal 0 C C
+T 0 100 -300 60 0 0 0 MUX Normal 0 C C
+S -200 500 350 -550 0 1 0 N
+X a0 1 -400 350 200 R 50 50 1 1 I
+X a1 2 -400 250 200 R 50 50 1 1 I
+X a2 3 -400 150 200 R 50 50 1 1 I
+X a3 4 -400 50 200 R 50 50 1 1 I
+X EA 5 0 700 200 D 50 50 1 1 I I
+X b0 6 -400 -150 200 R 50 50 1 1 I
+X b1 7 -400 -250 200 R 50 50 1 1 I
+X b2 8 -400 -350 200 R 50 50 1 1 I
+X b3 9 -400 -450 200 R 50 50 1 1 I
+X EB 10 200 700 200 D 50 50 1 1 I I
+X s1 11 50 -750 200 U 50 50 1 1 I
+X s0 12 150 -750 200 U 50 50 1 1 I
+X ya 13 550 250 200 L 50 50 1 1 O
+X yb 14 550 -300 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_74154
+#
+DEF IC_74154 X 0 40 Y Y 1 F N
+F0 "X" 0 -200 60 H V C CNN
+F1 "IC_74154" 50 -50 60 H V C CNN
+F2 "" 0 50 60 H V C CNN
+F3 "" 0 50 60 H V C CNN
+DRAW
+T 0 0 400 60 0 0 0 4:16~ Normal 0 C C
+T 0 0 250 60 0 0 0 decoder Normal 0 C C
+S -350 700 400 -700 0 0 0 N
+X ~Y0 1 -550 550 200 R 50 50 1 1 O I
+X ~Y1 2 -550 450 200 R 50 50 1 1 O I
+X ~Y2 3 -550 350 200 R 50 50 1 1 O I
+X ~Y3 4 -550 250 200 R 50 50 1 1 O I
+X ~Y4 5 -550 150 200 R 50 50 1 1 O I
+X ~Y5 6 -550 50 200 R 50 50 1 1 O I
+X ~Y6 7 -550 -50 200 R 50 50 1 1 O I
+X ~Y7 8 -550 -150 200 R 50 50 1 1 O I
+X ~Y8 9 -550 -250 200 R 50 50 1 1 O I
+X ~Y9 10 -550 -350 200 R 50 50 1 1 O I
+X A3 20 600 150 200 L 50 50 1 1 I
+X ~Y10 11 -550 -450 200 R 50 50 1 1 O I
+X A2 21 600 250 200 L 50 50 1 1 I
+X GND 12 -550 -550 200 R 50 50 1 1 I
+X A1 22 600 350 200 L 50 50 1 1 I
+X ~Y11 13 600 -550 200 L 50 50 1 1 O I
+X A0 23 600 450 200 L 50 50 1 1 I
+X ~Y12 14 600 -450 200 L 50 50 1 1 O I
+X Vcc 24 600 550 200 L 50 50 1 1 I
+X ~Y13 15 600 -350 200 L 50 50 1 1 O I
+X ~Y14 16 600 -250 200 L 50 50 1 1 O I
+X ~Y15 17 600 -150 200 L 50 50 1 1 O I
+X ~E0 18 600 -50 200 L 50 50 1 1 I I
+X ~E1 19 600 50 200 L 50 50 1 1 I I
+ENDDRAW
+ENDDEF
+#
+# IC_74157
+#
+DEF IC_74157 X 0 40 Y Y 1 F N
+F0 "X" 50 -50 60 H V C CNN
+F1 "IC_74157" 50 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 50 -300 60 0 0 0 2:1 Normal 0 C C
+T 0 50 -400 60 0 0 0 MUX Normal 0 C C
+T 0 50 -200 60 0 0 0 QUAD Normal 0 C C
+S -350 550 400 -650 0 1 0 N
+X a0 1 -550 450 200 R 50 50 1 1 I
+X a1 2 -550 300 200 R 50 50 1 1 I
+X b0 3 -550 200 200 R 50 50 1 1 I
+X b1 4 -550 100 200 R 50 50 1 1 I
+X c0 5 -550 0 200 R 50 50 1 1 I
+X c1 6 -550 -100 200 R 50 50 1 1 I
+X d0 7 -550 -200 200 R 50 50 1 1 I
+X d1 8 -550 -300 200 R 50 50 1 1 I
+X EN 9 -550 -550 200 R 50 50 1 1 I I
+X S 10 -550 -450 200 R 50 50 1 1 I
+X Yd 11 600 0 200 L 50 50 1 1 O
+X Ya 12 600 300 200 L 50 50 1 1 O
+X Yb 13 600 200 200 L 50 50 1 1 O
+X Yc 14 600 100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_7485
+#
+DEF IC_7485 X 0 40 Y Y 1 F N
+F0 "X" -50 -100 60 H V C CNN
+F1 "IC_7485" -50 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 0 550 60 0 0 0 4~BIT~comparator Normal 0 C C
+S -350 450 400 -400 0 1 0 N
+X A<B(in) 1 600 -100 200 L 50 50 1 1 I
+X A=B(in) 2 600 -200 200 L 50 50 1 1 I
+X A>B(in) 3 600 -300 200 L 50 50 1 1 I
+X A3 4 -550 100 200 R 50 50 1 1 I
+X B3 5 -550 -350 200 R 50 50 1 1 I
+X A2 6 -550 200 200 R 50 50 1 1 I
+X B2 7 -550 -250 200 R 50 50 1 1 I
+X A1 8 -550 300 200 R 50 50 1 1 I
+X B1 9 -550 -150 200 R 50 50 1 1 I
+X A0 10 -550 400 200 R 50 50 1 1 I
+X B0 11 -550 -50 200 R 50 50 1 1 I
+X A>B(out) 12 600 350 200 L 50 50 1 1 O
+X A=B(out) 13 600 250 200 L 50 50 1 1 O
+X A<B(out) 14 600 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# INVCMOS
+#
+DEF INVCMOS X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "INVCMOS" -450 150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+C 400 0 112 0 1 0 N
+S -250 200 -250 -200 0 1 0 N
+P 3 0 1 0 -250 200 300 0 -250 -200 N
+X in 1 -450 0 200 R 50 50 1 1 P
+X out 2 700 0 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# LM13700
+#
+DEF LM13700 X 0 40 N N 1 F N
+F0 "X" -50 250 60 H V C CNN
+F1 "LM13700" -50 400 60 H V C CNN
+F2 "" -50 250 60 H I C CNN
+F3 "" -50 250 60 H I C CNN
+DRAW
+A 0 550 50 -1799 -1 0 0 0 N -50 550 50 550
+T 0 -300 450 60 0 0 0 1 Normal 0 C C
+T 0 250 -150 60 0 0 0 10 Normal 0 C C
+T 0 250 -50 60 0 0 0 11 Normal 0 C C
+T 0 250 50 60 0 0 0 12 Normal 0 C C
+T 0 250 150 60 0 0 0 13 Normal 0 C C
+T 0 250 250 60 0 0 0 14 Normal 0 C C
+T 0 250 350 60 0 0 0 15 Normal 0 C C
+T 0 250 450 60 0 0 0 16 Normal 0 C C
+T 0 -300 350 60 0 0 0 2 Normal 0 C C
+T 0 -300 250 60 0 0 0 3 Normal 0 C C
+T 0 -300 150 60 0 0 0 4 Normal 0 C C
+T 0 -300 50 60 0 0 0 5 Normal 0 C C
+T 0 -300 -50 60 0 0 0 6 Normal 0 C C
+T 0 -300 -150 60 0 0 0 7 Normal 0 C C
+T 0 -300 -250 60 0 0 0 8 Normal 0 C C
+T 0 250 -250 60 0 0 0 9 Normal 0 C C
+S -350 550 350 -350 0 1 0 N
+X V+ 1 550 -50 200 L 50 50 1 1 I
+X Diode_bias 2 -550 350 200 R 50 50 1 1 I
+X -Input 3 -550 150 200 R 50 50 1 1 B
+X +Input 4 -550 250 200 R 50 50 1 1 B
+X Amp_bias 5 -550 450 200 R 50 50 1 1 I
+X V- 6 -550 -50 200 R 50 50 1 1 I
+X Output 7 -550 50 200 R 50 50 1 1 O
+X Diode_bias 8 550 350 200 L 50 50 1 1 I
+X -Input 9 550 150 200 L 50 50 1 1 B
+X +Input 10 550 250 200 L 50 50 1 1 B
+X Amp_bias_input 11 550 450 200 L 50 50 1 1 I
+X Buffer_output 12 -550 -250 200 R 50 50 1 1 B
+X Buffer_Input 13 -550 -150 200 R 50 50 1 1 I
+X Output 14 550 50 200 L 50 50 1 1 O
+X Buffer_output 15 550 -250 200 L 50 50 1 1 B
+X Buffer_input 16 550 -150 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# LM306
+#
+DEF LM306 X 0 40 N Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "LM306" 0 150 60 H V C CNN
+F2 "" 0 50 60 H I C CNN
+F3 "" 0 50 60 H I C CNN
+DRAW
+A 0 300 50 -1799 -1 0 1 0 N -50 300 50 300
+S -300 300 300 -200 0 1 0 N
+X 3 1 -500 0 200 R 50 50 1 1 I
+X 2 2 -500 100 200 R 50 50 1 1 I
+X 5 3 500 -100 200 L 50 50 1 1 I
+X 6 4 500 0 200 L 50 50 1 1 I
+X 8 5 500 200 200 L 50 50 1 1 I
+X 7 6 500 100 200 L 50 50 1 1 O
+X 1 7 -500 200 200 R 50 50 1 1 I
+X 4 8 -500 -100 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# LM307
+#
+DEF LM307 X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM307" 0 50 60 H V C CNN
+F2 "" 0 -50 60 H I C CNN
+F3 "" 0 -50 60 H I C CNN
+DRAW
+A 0 200 50 -1799 -1 0 0 0 N -50 200 50 200
+T 0 -300 200 60 0 0 0 1 Normal 0 C C
+T 0 -300 100 60 0 0 0 2 Normal 0 C C
+T 0 -300 0 60 0 0 0 3 Normal 0 C C
+T 0 -300 -100 60 0 0 0 4 Normal 0 C C
+T 0 300 -100 60 0 0 0 5 Normal 0 C C
+T 0 300 0 60 0 0 0 6 Normal 0 C C
+T 0 300 100 60 0 0 0 7 Normal 0 C C
+T 0 300 200 60 0 0 0 8 Normal 0 C C
+S -200 200 200 -200 0 1 0 N
+X 3 1 -400 -50 200 R 50 50 1 1 I
+X 2 2 -400 50 200 R 50 50 1 1 I
+X 7 3 400 50 200 L 50 50 1 1 I
+X 4 4 -400 -150 200 R 50 50 1 1 I
+X 6 5 400 -50 200 L 50 50 1 1 O
+X 5 6 400 -150 200 L 50 50 1 1 N
+X 1 7 -400 150 200 R 50 50 1 1 N
+X 8 8 400 150 200 L 50 50 1 1 N
+ENDDRAW
+ENDDEF
+#
+# LM310
+#
+DEF LM310 X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM310" 0 50 60 H V C CNN
+F2 "" 950 200 60 H I C CNN
+F3 "" 950 200 60 H I C CNN
+DRAW
+T 0 -200 150 60 0 0 0 1 Normal 0 C C
+T 0 -200 50 60 0 0 0 2 Normal 0 C C
+T 0 -200 -50 60 0 0 0 3 Normal 0 C C
+T 0 -200 -150 60 0 0 0 4 Normal 0 C C
+T 0 200 -150 60 0 0 0 5 Normal 0 C C
+T 0 200 -50 60 0 0 0 6 Normal 0 C C
+T 0 200 50 60 0 0 0 7 Normal 0 C C
+T 0 200 150 60 0 0 0 8 Normal 0 C C
+A 0 200 50 -1799 -1 0 1 0 N -50 200 50 200
+S -250 200 250 -200 0 1 0 N
+X Input 1 -450 -50 200 R 50 50 1 1 I
+X Balance_L 2 -450 150 200 R 50 50 1 1 I
+X Balance_R 3 450 150 200 L 50 50 1 1 I
+X Booster 4 450 -150 200 L 50 50 1 1 I
+X Vee 5 -450 -150 200 R 50 50 1 1 I
+X NC 6 -450 50 200 R 50 50 1 1 N
+X Vout 7 450 -50 200 L 50 50 1 1 O
+X Vcc 8 450 50 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# LM321
+#
+DEF LM321 X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM321" 0 50 60 H V C CNN
+F2 "" 0 -50 60 H I C CNN
+F3 "" 0 -50 60 H I C CNN
+DRAW
+T 0 -300 200 60 0 0 0 1 Normal 0 C C
+T 0 -300 50 60 0 0 0 2 Normal 0 C C
+T 0 -300 -100 60 0 0 0 3 Normal 0 C C
+T 0 300 -100 60 0 0 0 4 Normal 0 C C
+T 0 300 200 60 0 0 0 5 Normal 0 C C
+A 0 200 50 -1799 -1 0 1 0 N -50 200 50 200
+S -200 200 200 -200 0 1 0 N
+X V+ 1 -400 150 200 R 50 50 1 1 I
+X V- 2 -400 -150 200 R 50 50 1 1 I
+X Vcc 3 400 150 200 L 50 50 1 1 I
+X Vout 4 400 -150 200 L 50 50 1 1 O
+X Vee 5 -400 0 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# LM393
+#
+DEF LM393 X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM393" 0 50 60 H V C CNN
+F2 "" 0 -50 60 H I C CNN
+F3 "" 0 -50 60 H I C CNN
+DRAW
+T 0 -300 200 60 0 0 0 1 Normal 0 C C
+T 0 -300 100 60 0 0 0 2 Normal 0 C C
+T 0 -300 0 60 0 0 0 3 Normal 0 C C
+T 0 -300 -100 60 0 0 0 4 Normal 0 C C
+T 0 250 -100 60 0 0 0 5 Normal 0 C C
+T 0 250 0 60 0 0 0 6 Normal 0 C C
+T 0 250 100 60 0 0 0 7 Normal 0 C C
+T 0 250 200 60 0 0 0 8 Normal 0 C C
+A 0 200 50 -1799 -1 0 1 0 N -50 200 50 200
+S -200 200 200 -200 0 1 0 N
+X 8 1 400 150 200 L 50 50 1 1 I
+X 3 2 -400 -50 200 R 50 50 1 1 I
+X 2 3 -400 50 200 R 50 50 1 1 I
+X 1 4 -400 150 200 R 50 50 1 1 O
+X 4 5 -400 -150 200 R 50 50 1 1 I
+X 5 6 400 -150 200 L 50 50 1 1 I
+X 6 7 400 -50 200 L 50 50 1 1 I
+X 7 8 400 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# LM555N
+#
+DEF LM555N X 0 40 Y Y 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM555N" 0 100 60 H V C CNN
+F2 "" -50 0 60 H V C CNN
+F3 "" -50 0 60 H V C CNN
+DRAW
+S 350 -400 -350 400 0 1 0 N
+X GND 1 0 -600 200 U 50 50 1 1 W
+X TR 2 -550 250 200 R 50 50 1 1 I
+X Q 3 550 250 200 L 50 50 1 1 O
+X R 4 -550 -250 200 R 50 50 1 1 I I
+X CV 5 -550 0 200 R 50 50 1 1 I
+X THR 6 550 -250 200 L 50 50 1 1 I
+X DIS 7 550 0 200 L 50 50 1 1 I
+X VCC 8 0 600 200 D 50 50 1 1 W
+ENDDRAW
+ENDDEF
+#
+# LM723
+#
+DEF LM723 X 0 40 N Y 1 F N
+F0 "X" -50 150 60 H V C CNN
+F1 "LM723" -50 250 60 H V C CNN
+F2 "" -50 150 60 H I C CNN
+F3 "" -50 150 60 H I C CNN
+DRAW
+T 0 -500 350 60 0 0 0 1 Normal 0 C C
+T 0 450 -50 60 0 0 0 10 Normal 0 C C
+T 0 450 50 60 0 0 0 11 Normal 0 C C
+T 0 450 150 60 0 0 0 12 Normal 0 C C
+T 0 450 250 60 0 0 0 13 Normal 0 C C
+T 0 450 350 60 0 0 0 14 Normal 0 C C
+T 0 -500 250 60 0 0 0 2 Normal 0 C C
+T 0 -500 150 60 0 0 0 3 Normal 0 C C
+T 0 -500 50 60 0 0 0 4 Normal 0 C C
+T 0 -500 -50 60 0 0 0 5 Normal 0 C C
+T 0 -500 -150 60 0 0 0 6 Normal 0 C C
+T 0 -500 -250 60 0 0 0 7 Normal 0 C C
+T 0 450 -250 60 0 0 0 8 Normal 0 C C
+T 0 450 -150 60 0 0 0 9 Normal 0 C C
+A -25 400 25 -1799 -1 0 1 0 N -50 400 0 400
+S -400 400 350 -400 0 1 0 N
+X V+ 1 550 100 200 L 50 50 1 1 B
+X Vc 2 550 0 200 L 50 50 1 1 B
+X Vout 3 550 -100 200 L 50 50 1 1 B
+X Vz 4 550 -200 200 L 50 50 1 1 B
+X Vref 5 -600 -200 200 R 50 50 1 1 B
+X FC 6 550 200 200 L 50 50 1 1 B
+X CL 7 -600 200 200 R 50 50 1 1 B
+X CS 8 -600 100 200 R 50 50 1 1 B
+X Vi 9 -600 0 200 R 50 50 1 1 B
+X Vni 10 -600 -100 200 R 50 50 1 1 B
+X NC 11 -600 300 200 R 50 50 1 1 N
+X NC 12 550 300 200 L 50 50 1 1 N
+X NC 13 550 -300 200 L 50 50 1 1 N
+X V- 14 -600 -300 200 R 50 50 1 1 B
+ENDDRAW
+ENDDEF
+#
+# LM_7812
+#
+DEF LM_7812 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "LM_7812" 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 GND 2 0 -400 200 U 50 50 1 1 I
+X OUT 3 550 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# Lm_7805
+#
+DEF Lm_7805 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Lm_7805" 50 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 100 350 -200 0 1 0 N
+X Vin 1 -550 0 200 R 50 50 1 1 P
+X GND 2 0 -400 200 U 50 50 1 1 P
+X Vout 3 550 0 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# SCR
+#
+DEF SCR X 0 10 Y N 1 F N
+F0 "X" 150 200 50 H V C CNN
+F1 "SCR" 150 -350 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 2 0 0 0 -200 -150 200 -150 N
+P 2 0 1 0 0 -150 -200 -400 N
+P 3 0 1 0 -150 100 150 100 0 -150 F
+X A 1 0 400 300 D 60 60 1 1 I
+X K 2 0 -550 400 U 60 70 1 1 I
+X G 3 -350 -400 150 R 60 60 1 1 I
+ENDDRAW
+ENDDEF
+#
+# UJT
+#
+DEF UJT X 0 40 Y Y 1 F N
+F0 "X" -50 -50 60 H V C CNN
+F1 "UJT" 50 -50 60 H V C CNN
+F2 "" -50 -50 60 H I C CNN
+F3 "" -50 -50 60 H I C CNN
+DRAW
+C -50 -50 206 0 1 0 N
+P 2 0 1 0 -100 100 -100 -200 N
+P 3 0 1 0 -250 0 -200 0 -100 -100 N
+P 3 0 1 0 -200 -50 -150 -50 -150 0 N
+P 3 0 1 0 -100 -150 0 -150 0 -250 N
+P 3 0 1 0 -100 50 0 50 0 150 N
+X E 1 -450 0 200 R 50 50 1 1 I
+X B1 2 0 -450 200 U 50 50 1 1 B
+X B2 3 0 350 200 D 50 50 1 1 B
+ENDDRAW
+ENDDEF
+#
+# and
+#
+DEF and x 0 40 N N 1 F N
+F0 "x" 0 -50 60 H V C CNN
+F1 "and" 0 50 60 H V C CNN
+F2 "" 950 400 60 H I C CNN
+F3 "" 950 400 60 H I C CNN
+DRAW
+T 0 -200 100 60 0 0 0 in1 Normal 0 C C
+T 0 -200 -100 60 0 0 0 in2 Normal 0 C C
+T 0 250 50 60 0 0 0 out Normal 0 C C
+T 900 -50 200 60 0 0 0 v+ Normal 0 C C
+T 900 -50 -200 60 0 0 0 v- Normal 0 C C
+A 50 0 112 634 -634 0 1 0 N 100 100 100 -100
+P 4 0 1 0 100 100 -100 100 -100 -100 100 -100 N
+X in1 1 -300 50 200 R 50 50 1 1 I
+X v- 2 0 -300 200 U 50 50 1 1 I
+X v+ 3 0 300 200 D 50 50 1 1 I
+X in2 4 -300 -50 200 R 50 50 1 1 I
+X out 5 350 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# buf
+#
+DEF buf X 0 40 N N 1 F N
+F0 "X" -50 -50 60 H V C CNN
+F1 "buf" -50 50 60 H V C CNN
+F2 "" -50 -50 60 H I C CNN
+F3 "" -50 -50 60 H I C CNN
+DRAW
+T 0 -200 50 60 0 0 0 in Normal 0 C C
+T 0 200 50 60 0 0 0 out Normal 0 C C
+T 900 -50 150 60 0 0 0 v+ Normal 0 C C
+T 900 -50 -150 60 0 0 0 v- Normal 0 C C
+P 4 0 1 0 -100 100 -100 -100 100 0 -100 100 N
+X in 1 -300 0 200 R 50 50 1 1 I
+X v+ 2 0 250 200 D 50 50 1 1 I
+X v- 3 0 -250 200 U 50 50 1 1 I
+X out 4 300 0 200 L 50 50 1 1 O
+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
+F0 "X" 1400 700 60 H V C CNN
+F1 "full_adder" 1400 600 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S 800 1150 1950 0 0 1 0 N
+X IN1 1 600 950 200 R 50 50 1 1 I
+X IN2 2 600 550 200 R 50 50 1 1 I
+X CIN 3 600 150 200 R 50 50 1 1 I
+X SUM 4 2150 950 200 L 50 50 1 1 O
+X COUT 5 2150 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# full_sub
+#
+DEF full_sub X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "full_sub" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -550 650 450 -600 0 1 0 N
+X A 1 -750 400 200 R 50 50 1 1 I
+X B 2 -750 200 200 R 50 50 1 1 I
+X BIN 3 -750 -200 200 R 50 50 1 1 I
+X DIFF 4 650 450 200 L 50 50 1 1 O
+X BORROW 5 650 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# half_adder
+#
+DEF half_adder X 0 40 Y Y 1 F N
+F0 "X" 900 500 60 H V C CNN
+F1 "half_adder" 900 400 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S 500 800 1250 0 0 1 0 N
+X IN1 1 300 700 200 R 50 50 1 1 I
+X IN2 2 300 100 200 R 50 50 1 1 I
+X SUM 3 1450 700 200 L 50 50 1 1 O
+X COUT 4 1450 100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# half_sub
+#
+DEF half_sub X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "half_sub" 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 -300 300 300 -300 0 1 0 N
+X A 1 -500 200 200 R 50 50 1 1 I
+X B 2 -500 -100 200 R 50 50 1 1 I
+X D 3 500 150 200 L 50 50 1 1 O
+X BORROW 4 500 -100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# inv
+#
+DEF inv X 0 40 N N 1 F N
+F0 "X" -50 -50 60 H V C CNN
+F1 "inv" 0 50 60 H V C CNN
+F2 "" -50 50 60 H I C CNN
+F3 "" -50 50 60 H I C CNN
+DRAW
+T 0 -200 50 60 0 0 0 in Normal 0 C C
+T 0 250 50 60 0 0 0 out Normal 0 C C
+T 900 -50 150 60 0 0 0 v+ Normal 0 C C
+T 900 -50 -150 60 0 1 0 v- Normal 0 C C
+A 125 0 25 1 1799 0 1 0 N 150 0 100 0
+A 125 0 25 -1799 -1 0 1 0 N 100 0 150 0
+P 4 0 1 0 -100 100 -100 -100 100 0 -100 100 N
+X in 1 -300 0 200 R 50 50 1 1 I
+X V+ 2 0 250 200 D 50 50 1 1 I
+X V- 3 0 -250 200 U 50 50 1 1 I
+X out 4 350 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# lm1458
+#
+DEF lm1458 X 0 40 N N 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "lm1458" 0 100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+T 0 -200 200 60 0 0 0 1 Normal 0 C C
+T 0 -200 100 60 0 0 0 2 Normal 0 C C
+T 0 -200 0 60 0 0 0 3 Normal 0 C C
+T 0 -200 -100 60 0 0 0 4 Normal 0 C C
+T 0 200 -100 60 0 0 0 5 Normal 0 C C
+T 0 200 0 60 0 0 0 6 Normal 0 C C
+T 0 200 100 60 0 0 0 7 Normal 0 C C
+T 0 200 200 60 0 0 0 8 Normal 0 C C
+A 0 300 50 -1799 -1 0 1 0 N -50 300 50 300
+S -250 300 250 -200 0 1 0 N
+X 3 1 -450 0 200 R 50 50 1 1 I
+X 2 2 -450 100 200 R 50 50 1 1 I
+X 4 3 -450 -100 200 R 50 50 1 1 I
+X 5 4 450 -100 200 L 50 50 1 1 I
+X 8 5 450 200 200 L 50 50 1 1 I
+X 1 6 -450 200 200 R 50 50 1 1 O
+X 6 7 450 0 200 L 50 50 1 1 I
+X 7 8 450 100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# lm_741
+#
+DEF lm_741 X 0 40 Y Y 1 F N
+F0 "X" -200 0 60 H V C CNN
+F1 "lm_741" -100 -250 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N
+X off_null 1 -50 400 200 D 50 38 1 1 I
+X inv 2 -550 150 200 R 50 38 1 1 I
+X non_inv 3 -550 -100 200 R 50 38 1 1 I
+X v_neg 4 -150 -450 200 U 50 38 1 1 I
+X off_null 5 50 350 200 D 50 38 1 1 I
+X out 6 550 0 200 L 50 38 1 1 O
+X v_pos 7 -150 450 200 D 50 38 1 1 I
+X NC 8 150 -300 200 U 50 38 1 1 N
+ENDDRAW
+ENDDEF
+#
+# nand
+#
+DEF nand X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "nand" 0 50 60 H V C CNN
+F2 "" 0 -50 60 H I C CNN
+F3 "" 0 -50 60 H I C CNN
+DRAW
+T 0 -200 100 60 0 0 0 in1 Normal 0 C C
+T 0 -200 0 60 0 0 0 in2 Normal 0 C C
+T 0 250 50 60 0 0 0 out Normal 0 C C
+T 900 -50 200 60 0 0 0 V+ Normal 0 C C
+T 900 -50 -200 60 0 0 0 V- Normal 0 C C
+A 0 0 112 634 -634 0 1 0 N 50 100 50 -100
+A 125 0 25 1 1799 0 1 0 N 150 0 100 0
+A 125 0 25 -1799 -1 0 1 0 N 100 0 150 0
+P 2 0 1 0 -100 100 50 100 N
+P 3 0 1 0 -100 100 -100 -100 50 -100 N
+X in1 1 -300 50 200 R 50 50 1 1 I
+X V+ 2 0 300 200 D 50 50 1 1 I
+X V- 3 0 -300 200 U 50 50 1 1 I
+X out 4 350 0 200 L 50 50 1 1 O
+X in2 5 -300 -50 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# or
+#
+DEF or X 0 40 N N 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "or" 0 50 60 H V C CNN
+F2 "" 700 300 60 H I C CNN
+F3 "" 700 300 60 H I C CNN
+DRAW
+T 0 -200 100 60 0 0 0 in1 Normal 0 C C
+T 0 -200 -100 60 0 0 0 in2 Normal 0 C C
+T 0 250 50 60 0 0 0 out Normal 0 C C
+T 900 -50 200 60 0 0 0 v+ Normal 0 C C
+T 900 -50 -200 60 0 0 0 v- Normal 0 C C
+A -250 0 180 337 -337 0 1 0 N -100 100 -100 -100
+A -107 278 378 -889 -472 0 1 0 N -100 -100 150 0
+A -103 -269 369 895 468 0 1 0 N -100 100 150 0
+X in1 1 -300 50 200 R 50 50 1 1 I
+X in2 2 -300 -50 200 R 50 50 1 1 I
+X v- 3 0 -300 200 U 50 50 1 1 I
+X v+ 4 0 300 200 D 50 50 1 1 I
+X out 5 350 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# tg
+#
+DEF tg X 0 40 N N 1 F N
+F0 "X" -50 50 60 H V C CNN
+F1 "tg" 0 0 60 H V C CNN
+F2 "" 550 150 60 H I C CNN
+F3 "" 550 150 60 H I C CNN
+DRAW
+C 0 100 50 0 1 0 N
+P 4 0 1 0 -100 0 100 100 100 -100 -100 0 N
+P 4 0 1 0 -100 100 -100 -100 100 0 -100 100 N
+X inout1 1 -300 0 200 R 50 50 1 1 B
+X Cbar 2 0 350 200 D 50 50 1 1 I
+X C 3 0 -250 200 U 50 50 1 1 I
+X inout2 4 300 0 200 L 50 50 1 1 B
+ENDDRAW
+ENDDEF
+#
+#End Library