From 8c44f97b533607d057a28e029e42f001270f4fd4 Mon Sep 17 00:00:00 2001 From: nilshah98 Date: Tue, 2 Jul 2019 16:43:27 +0530 Subject: kicadschematic libraries added by ECE fellows 2019 --- kicadSchematicLibrary/eSim_Sources.lib | 50 +- kicadSchematicLibrary/eSim_Subckt.lib | 1134 ++++++++++++++++++++++++++++++++ 2 files changed, 1166 insertions(+), 18 deletions(-) (limited to 'kicadSchematicLibrary') diff --git a/kicadSchematicLibrary/eSim_Sources.lib b/kicadSchematicLibrary/eSim_Sources.lib index d5958425..7c73d4e2 100644 --- a/kicadSchematicLibrary/eSim_Sources.lib +++ b/kicadSchematicLibrary/eSim_Sources.lib @@ -75,6 +75,20 @@ X - 2 0 -450 300 U 50 50 1 1 P ENDDRAW ENDDEF # +# NLDS +# +DEF NLDS B 0 40 Y Y 1 F N +F0 "B" 0 -50 60 H V C CNN +F1 "NLDS" 0 50 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +P 7 0 1 0 0 200 -150 100 -150 -100 0 -200 150 -100 150 100 0 200 N +X in 1 0 400 200 D 50 11 1 1 I +X out 2 0 -400 200 U 50 11 1 1 O +ENDDRAW +ENDDEF +# # VCCS # DEF VCCS G 0 40 Y Y 1 F N @@ -113,43 +127,43 @@ X -c 4 50 -200 100 U 35 35 1 1 P ENDDRAW ENDDEF # -# exp +# dc # -DEF exp v 0 40 Y Y 1 F N -F0 "v" -200 100 60 H V C CNN -F1 "exp" -200 -50 60 H V C CNN +DEF dc I 0 40 Y Y 1 F N +F0 "I" -200 100 60 H V C CNN +F1 "dc" -200 -50 60 H V C CNN F2 "R1" -300 0 60 H V C CNN F3 "" 0 0 60 H V C CNN $FPLIST 1_pin $ENDFPLIST DRAW -A 1 -50 100 905 1800 0 1 0 N 0 50 -100 -50 -A 100 51 100 -1794 -900 0 1 0 N 0 50 100 -50 C 0 0 150 0 1 0 N -X + 1 0 450 300 D 50 0 1 1 I -X - 2 0 -450 300 U 50 0 1 1 I +P 2 0 1 0 0 -100 0 -100 N +P 2 0 1 0 0 100 -50 50 N +P 2 0 1 0 0 100 0 -100 N +P 2 0 1 0 0 100 50 50 N +X ~ 1 0 450 300 D 50 50 1 1 P +X ~ 2 0 -450 300 U 50 50 1 1 P ENDDRAW ENDDEF # -# dc +# exp # -DEF dc I 0 40 Y Y 1 F N -F0 "I" -200 100 60 H V C CNN -F1 "dc" -200 -50 60 H V C CNN +DEF exp v 0 40 Y Y 1 F N +F0 "v" -200 100 60 H V C CNN +F1 "exp" -200 -50 60 H V C CNN F2 "R1" -300 0 60 H V C CNN F3 "" 0 0 60 H V C CNN $FPLIST 1_pin $ENDFPLIST DRAW +A 1 -50 100 905 1800 0 1 0 N 0 50 -100 -50 +A 100 51 100 -1794 -900 0 1 0 N 0 50 100 -50 C 0 0 150 0 1 0 N -P 2 0 1 0 0 -100 0 -100 N -P 2 0 1 0 0 100 -50 50 N -P 2 0 1 0 0 100 0 -100 N -P 2 0 1 0 0 100 50 50 N -X ~ 1 0 450 300 D 50 50 1 1 P -X ~ 2 0 -450 300 U 50 50 1 1 P +X + 1 0 450 300 D 50 0 1 1 I +X - 2 0 -450 300 U 50 0 1 1 I ENDDRAW ENDDEF # diff --git a/kicadSchematicLibrary/eSim_Subckt.lib b/kicadSchematicLibrary/eSim_Subckt.lib index 79daf246..ef62708b 100644 --- a/kicadSchematicLibrary/eSim_Subckt.lib +++ b/kicadSchematicLibrary/eSim_Subckt.lib @@ -1,6 +1,785 @@ EESchema-LIBRARY Version 2.3 #encoding utf-8 # +# 1bit_LogicUnit +# +DEF 1bit_LogicUnit X 0 40 Y Y 1 F N +F0 "X" 50 150 60 H V C CNN +F1 "1bit_LogicUnit" 200 150 60 V V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +T 0 0 350 60 0 0 0 2~Units Normal 0 C C +T 0 0 450 60 0 0 0 has Normal 0 C C +S -300 550 450 -300 0 1 0 N +X a0 1 -500 500 200 R 50 50 1 1 I +X b0 2 -500 400 200 R 50 50 1 1 I +X a1 3 -500 200 200 R 50 50 1 1 I +X b1 4 -500 100 200 R 50 50 1 1 I +X S1 5 -500 -100 200 R 50 50 1 1 I +X S0 6 -500 -200 200 R 50 50 1 1 I +X Y0 7 650 400 200 L 50 50 1 1 O +X Y1 8 650 50 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 +# +# 2bit_upcounter +# +DEF 2bit_upcounter X 0 40 Y Y 1 F N +F0 "X" 0 0 60 H V C CNN +F1 "2bit_upcounter" 50 200 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +S -250 150 300 -200 0 1 0 N +X CLK 1 -450 50 200 R 50 50 1 1 I C +X EN 2 -450 -100 200 R 50 50 1 1 I I +X Q0 3 500 50 200 L 50 50 1 1 O +X Q1 4 500 -100 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 3-OR +# +DEF 3-OR X 0 40 Y Y 1 F N +F0 "X" 0 100 60 H V C CNN +F1 "3-OR" 50 -100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +A -300 0 158 716 -716 0 1 0 N -250 150 -250 -150 +A -101 -260 437 365 1100 0 1 0 N 250 0 -250 150 +A -80 191 381 -1165 -301 0 1 0 N -250 -150 250 0 +X IN1 1 -450 150 200 R 50 50 1 1 I +X IN2 2 -350 0 200 R 50 50 1 1 I +X IN3 3 -450 -150 200 R 50 50 1 1 I +X OUT 4 450 0 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 +# +# 4_bit_FA +# +DEF 4_bit_FA X 0 40 Y Y 1 F N +F0 "X" 100 50 60 H V C CNN +F1 "4_bit_FA" 100 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 650 450 -550 0 1 0 N +S 550 400 550 400 0 1 0 N +X Cin 1 -500 -450 200 R 50 50 1 1 I +X a0 2 -500 500 200 R 50 50 1 1 I +X b0 3 -500 0 200 R 50 50 1 1 I +X a1 4 -500 400 200 R 50 50 1 1 I +X b1 5 -500 -100 200 R 50 50 1 1 I +X a2 6 -500 300 200 R 50 50 1 1 I +X b2 7 -500 -200 200 R 50 50 1 1 I +X a3 8 -500 200 200 R 50 50 1 1 I +X b3 9 -500 -300 200 R 50 50 1 1 I +X s1 10 650 300 200 L 50 50 1 1 O +X s2 11 650 200 200 L 50 50 1 1 O +X s3 12 650 100 200 L 50 50 1 1 O +X s0 13 650 400 200 L 50 50 1 1 O +X Cout 14 650 -150 200 L 50 50 1 1 O +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 +# +# 5_nand +# +DEF 5_nand X 0 40 Y Y 1 F N +F0 "X" 50 -100 60 H V C CNN +F1 "5_nand" 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 I +ENDDRAW +ENDDEF +# +# 5_nor +# +DEF 5_nor X 0 40 Y Y 1 F N +F0 "X" 50 -100 60 H V C CNN +F1 "5_nor" 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 150 0 316 716 -716 0 1 0 N 250 300 250 -300 +P 2 0 1 0 -300 300 250 300 N +P 4 0 1 0 -300 300 -300 -300 200 -300 250 -300 N +X in1 1 -500 250 200 R 50 50 1 1 I I +X in2 2 -500 150 200 R 50 50 1 1 I I +X in3 3 -500 50 200 R 50 50 1 1 I I +X in4 4 -500 -50 200 R 50 50 1 1 I I +X in5 5 -500 -150 200 R 50 50 1 1 I I +X in6 6 -500 -250 200 R 50 50 1 1 I I +X out 7 650 0 200 L 50 50 1 1 O +ENDDRAW +ENDDEF +# +# 5bit-Adder +# +DEF 5bit-Adder X 0 40 Y Y 1 F N +F0 "X" 250 -100 60 H V C CNN +F1 "5bit-Adder" 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 200 350 -200 0 1 0 N +X A4 1 -250 400 200 D 39 39 1 1 I +X B4 2 -200 400 200 D 39 39 1 1 I +X A3 3 -150 400 200 D 39 39 1 1 I +X O4 4 -100 -400 200 U 39 39 1 1 O +X B3 5 -100 400 200 D 39 39 1 1 I +X A2 6 -50 400 200 D 39 39 1 1 I +X O3 7 -50 -400 200 U 39 39 1 1 O +X B2 8 0 400 200 D 39 39 1 1 I +X A1 9 50 400 200 D 39 39 1 1 I +X O2 10 0 -400 200 U 39 39 1 1 O +X B1 11 100 400 200 D 39 39 1 1 I +X A0 12 150 400 200 D 39 39 1 1 I +X O1 13 50 -400 200 U 39 39 1 1 O +X B0 14 200 400 200 D 39 39 1 1 I +X Cin 15 250 400 200 D 39 39 1 1 I +X O0 16 100 -400 200 U 39 39 1 1 O +ENDDRAW +ENDDEF +# +# 7485 +# +DEF 7485 X 0 40 Y Y 1 F N +F0 "X" 100 100 60 H V C CNN +F1 "7485" 50 400 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 -450 0 1 0 N +X B3 1 -550 350 200 R 50 50 1 1 I +X AB(in) 4 -550 50 200 R 50 50 1 1 I +X A>B(out) 5 -550 -50 200 R 50 50 1 1 O +X A=B(out) 6 -550 -150 200 R 50 50 1 1 O +X A