summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/5bit-Ripple_carry_adder
diff options
context:
space:
mode:
Diffstat (limited to 'src/SubcircuitLibrary/5bit-Ripple_carry_adder')
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder-cache.lib61
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir16
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir.out18
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.pro44
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sch386
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sub12
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder_Previous_Values.xml1
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder-cache.lib100
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir16
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir.out32
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.pro74
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sch226
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sub26
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder_Previous_Values.xml1
-rw-r--r--src/SubcircuitLibrary/5bit-Ripple_carry_adder/analysis1
15 files changed, 1014 insertions, 0 deletions
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder-cache.lib b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder-cache.lib
new file mode 100644
index 00000000..b75ae867
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder-cache.lib
@@ -0,0 +1,61 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# Full-Adder
+#
+DEF Full-Adder X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Full-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 -300 200 300 -200 0 1 0 N
+X A 1 -500 150 200 R 50 50 1 1 I
+X B 2 -500 0 200 R 50 50 1 1 I
+X Cin 3 -500 -150 200 R 50 50 1 1 I
+X Out 4 500 100 200 L 50 50 1 1 I
+X Cout 5 500 -100 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir
new file mode 100644
index 00000000..84b7b723
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir
@@ -0,0 +1,16 @@
+* C:\esim\eSim\src\SubcircuitLibrary\5bit-Ripple_carry_adder\5bit-Ripple_carry_adder.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 03/23/19 02:16:47
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X4 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_X4-Pad3_ Net-_U1-Pad4_ ? Full-Adder
+X5 Net-_U1-Pad3_ Net-_U1-Pad5_ Net-_X5-Pad3_ Net-_U1-Pad7_ Net-_X4-Pad3_ Full-Adder
+X6 Net-_U1-Pad6_ Net-_U1-Pad8_ Net-_X6-Pad3_ Net-_U1-Pad10_ Net-_X5-Pad3_ Full-Adder
+X7 Net-_U1-Pad9_ Net-_U1-Pad11_ Net-_X7-Pad3_ Net-_U1-Pad13_ Net-_X6-Pad3_ Full-Adder
+X8 Net-_U1-Pad12_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_U1-Pad16_ Net-_X7-Pad3_ Full-Adder
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_U1-Pad16_ PORT
+
+.end
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir.out b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir.out
new file mode 100644
index 00000000..dfda0a3b
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.cir.out
@@ -0,0 +1,18 @@
+* c:\esim\esim\src\subcircuitlibrary\5bit-ripple_carry_adder\5bit-ripple_carry_adder.cir
+
+.include Full-Adder.sub
+x4 net-_u1-pad1_ net-_u1-pad2_ net-_x4-pad3_ net-_u1-pad4_ ? Full-Adder
+x5 net-_u1-pad3_ net-_u1-pad5_ net-_x5-pad3_ net-_u1-pad7_ net-_x4-pad3_ Full-Adder
+x6 net-_u1-pad6_ net-_u1-pad8_ net-_x6-pad3_ net-_u1-pad10_ net-_x5-pad3_ Full-Adder
+x7 net-_u1-pad9_ net-_u1-pad11_ net-_x7-pad3_ net-_u1-pad13_ net-_x6-pad3_ Full-Adder
+x8 net-_u1-pad12_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_ net-_x7-pad3_ Full-Adder
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_ port
+.ac lin 0 0Hz 0Hz
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.pro b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.pro
new file mode 100644
index 00000000..d3bfc6c4
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.pro
@@ -0,0 +1,44 @@
+update=Sat Jun 22 12:25:13 2019
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=../../../eSim-1.1.2/kicadSchematicLibrary
+[eeschema/libraries]
+LibName1=9bit-BoothMultiplier-cache
+LibName2=eSim_Analog
+LibName3=eSim_Devices
+LibName4=eSim_Digital
+LibName5=eSim_Hybrid
+LibName6=eSim_Miscellaneous
+LibName7=eSim_Plot
+LibName8=eSim_Power
+LibName9=eSim_Sources
+LibName10=eSim_Subckt
+LibName11=eSim_User
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sch b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sch
new file mode 100644
index 00000000..dd2e9165
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sch
@@ -0,0 +1,386 @@
+EESchema Schematic File Version 2
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Plot
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:5bit-Ripple_carry_adder-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L Full-Adder X4
+U 1 1 5C93C7FA
+P 3000 3550
+F 0 "X4" H 3000 3550 60 0000 C CNN
+F 1 "Full-Adder" H 3000 3550 60 0000 C CNN
+F 2 "" H 3000 3550 60 0000 C CNN
+F 3 "" H 3000 3550 60 0000 C CNN
+ 1 3000 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L Full-Adder X5
+U 1 1 5C93C84A
+P 4350 3550
+F 0 "X5" H 4350 3550 60 0000 C CNN
+F 1 "Full-Adder" H 4350 3550 60 0000 C CNN
+F 2 "" H 4350 3550 60 0000 C CNN
+F 3 "" H 4350 3550 60 0000 C CNN
+ 1 4350 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L Full-Adder X6
+U 1 1 5C93C897
+P 5700 3550
+F 0 "X6" H 5700 3550 60 0000 C CNN
+F 1 "Full-Adder" H 5700 3550 60 0000 C CNN
+F 2 "" H 5700 3550 60 0000 C CNN
+F 3 "" H 5700 3550 60 0000 C CNN
+ 1 5700 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L Full-Adder X7
+U 1 1 5C93C961
+P 7000 3550
+F 0 "X7" H 7000 3550 60 0000 C CNN
+F 1 "Full-Adder" H 7000 3550 60 0000 C CNN
+F 2 "" H 7000 3550 60 0000 C CNN
+F 3 "" H 7000 3550 60 0000 C CNN
+ 1 7000 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L Full-Adder X8
+U 1 1 5C93C9A8
+P 8250 3550
+F 0 "X8" H 8250 3550 60 0000 C CNN
+F 1 "Full-Adder" H 8250 3550 60 0000 C CNN
+F 2 "" H 8250 3550 60 0000 C CNN
+F 3 "" H 8250 3550 60 0000 C CNN
+ 1 8250 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3500 3450 3650 3450
+Wire Wire Line
+ 3650 3450 3650 4800
+Wire Wire Line
+ 2500 3700 2500 3850
+Wire Wire Line
+ 2500 3850 4900 3850
+Wire Wire Line
+ 4900 3850 4900 3650
+Wire Wire Line
+ 4900 3650 4850 3650
+Wire Wire Line
+ 4850 3450 4950 3450
+Wire Wire Line
+ 4950 3450 4950 4800
+Wire Wire Line
+ 3850 3700 3850 3900
+Wire Wire Line
+ 3850 3900 6250 3900
+Wire Wire Line
+ 6250 3900 6250 3650
+Wire Wire Line
+ 6250 3650 6200 3650
+Wire Wire Line
+ 5200 3700 5200 3850
+Wire Wire Line
+ 5200 3850 7550 3850
+Wire Wire Line
+ 7550 3850 7550 3650
+Wire Wire Line
+ 7550 3650 7500 3650
+Wire Wire Line
+ 6500 3900 8750 3900
+Wire Wire Line
+ 8750 3900 8750 3650
+Wire Wire Line
+ 8750 3450 8800 3450
+Wire Wire Line
+ 8800 3450 8800 4950
+Wire Wire Line
+ 7500 3450 7600 3450
+Wire Wire Line
+ 7600 3450 7600 4850
+Wire Wire Line
+ 6200 3450 6300 3450
+Wire Wire Line
+ 6300 3450 6300 4800
+Wire Wire Line
+ 7750 3700 7750 3850
+Wire Wire Line
+ 7750 3850 8000 3850
+Wire Wire Line
+ 8000 3850 8000 4900
+Wire Wire Line
+ 2350 3400 2500 3400
+Wire Wire Line
+ 2350 2200 2350 3400
+Wire Wire Line
+ 2450 3550 2500 3550
+Wire Wire Line
+ 2450 2550 2450 3550
+Wire Wire Line
+ 3650 3400 3850 3400
+Wire Wire Line
+ 3650 2200 3650 3400
+Wire Wire Line
+ 7600 3400 7750 3400
+Wire Wire Line
+ 7600 2200 7600 3400
+Wire Wire Line
+ 6300 3400 6500 3400
+Wire Wire Line
+ 6300 2200 6300 3400
+Wire Wire Line
+ 6400 3550 6500 3550
+Wire Wire Line
+ 6400 2550 6400 3550
+Wire Wire Line
+ 4950 3400 5200 3400
+Wire Wire Line
+ 4950 2200 4950 3400
+Wire Wire Line
+ 5050 3550 5200 3550
+Wire Wire Line
+ 5050 2500 5050 3550
+Text Notes 7550 2750 1 60 ~ 0
+A0
+Text Notes 6200 2750 1 60 ~ 0
+A1
+Text Notes 4900 2750 1 60 ~ 0
+A2
+Text Notes 3600 2750 1 60 ~ 0
+A3
+Text Notes 2300 2750 1 60 ~ 0
+A4
+Text Notes 7800 2900 3 60 ~ 0
+B0
+Text Notes 6500 3050 1 60 ~ 0
+B1
+Text Notes 5150 3050 1 60 ~ 0
+B2
+Text Notes 3850 3050 1 60 ~ 0
+B3
+Text Notes 2550 3050 1 60 ~ 0
+B4
+Text Notes 8750 4700 1 60 ~ 0
+O0
+Text Notes 7550 4700 1 60 ~ 0
+O1
+Text Notes 6250 4650 1 60 ~ 0
+O2
+Text Notes 4900 4650 1 60 ~ 0
+O3
+Text Notes 3600 4650 1 60 ~ 0
+O4
+Wire Wire Line
+ 7700 2550 7700 3550
+Wire Wire Line
+ 7700 3550 7750 3550
+Wire Wire Line
+ 3850 3550 3750 3550
+Wire Wire Line
+ 3750 3550 3750 2550
+Wire Wire Line
+ 6500 3900 6500 3700
+$Comp
+L PORT U1
+U 12 1 5C95CA38
+P 7600 1950
+F 0 "U1" H 7650 2050 30 0000 C CNN
+F 1 "PORT" H 7600 1950 30 0000 C CNN
+F 2 "" H 7600 1950 60 0000 C CNN
+F 3 "" H 7600 1950 60 0000 C CNN
+ 12 7600 1950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 9 1 5C95CAA1
+P 6300 1950
+F 0 "U1" H 6350 2050 30 0000 C CNN
+F 1 "PORT" H 6300 1950 30 0000 C CNN
+F 2 "" H 6300 1950 60 0000 C CNN
+F 3 "" H 6300 1950 60 0000 C CNN
+ 9 6300 1950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 5C95CAD4
+P 4950 1950
+F 0 "U1" H 5000 2050 30 0000 C CNN
+F 1 "PORT" H 4950 1950 30 0000 C CNN
+F 2 "" H 4950 1950 60 0000 C CNN
+F 3 "" H 4950 1950 60 0000 C CNN
+ 6 4950 1950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5C95CB01
+P 3650 1950
+F 0 "U1" H 3700 2050 30 0000 C CNN
+F 1 "PORT" H 3650 1950 30 0000 C CNN
+F 2 "" H 3650 1950 60 0000 C CNN
+F 3 "" H 3650 1950 60 0000 C CNN
+ 3 3650 1950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 1 1 5C95CB34
+P 2350 1950
+F 0 "U1" H 2400 2050 30 0000 C CNN
+F 1 "PORT" H 2350 1950 30 0000 C CNN
+F 2 "" H 2350 1950 60 0000 C CNN
+F 3 "" H 2350 1950 60 0000 C CNN
+ 1 2350 1950
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 14 1 5C95CB65
+P 7700 2300
+F 0 "U1" H 7750 2400 30 0000 C CNN
+F 1 "PORT" H 7700 2300 30 0000 C CNN
+F 2 "" H 7700 2300 60 0000 C CNN
+F 3 "" H 7700 2300 60 0000 C CNN
+ 14 7700 2300
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 11 1 5C95CBEC
+P 6400 2300
+F 0 "U1" H 6450 2400 30 0000 C CNN
+F 1 "PORT" H 6400 2300 30 0000 C CNN
+F 2 "" H 6400 2300 60 0000 C CNN
+F 3 "" H 6400 2300 60 0000 C CNN
+ 11 6400 2300
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 8 1 5C95CC27
+P 5050 2250
+F 0 "U1" H 5100 2350 30 0000 C CNN
+F 1 "PORT" H 5050 2250 30 0000 C CNN
+F 2 "" H 5050 2250 60 0000 C CNN
+F 3 "" H 5050 2250 60 0000 C CNN
+ 8 5050 2250
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 5 1 5C95CC5E
+P 3750 2300
+F 0 "U1" H 3800 2400 30 0000 C CNN
+F 1 "PORT" H 3750 2300 30 0000 C CNN
+F 2 "" H 3750 2300 60 0000 C CNN
+F 3 "" H 3750 2300 60 0000 C CNN
+ 5 3750 2300
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5C95CC9F
+P 2450 2300
+F 0 "U1" H 2500 2400 30 0000 C CNN
+F 1 "PORT" H 2450 2300 30 0000 C CNN
+F 2 "" H 2450 2300 60 0000 C CNN
+F 3 "" H 2450 2300 60 0000 C CNN
+ 2 2450 2300
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 15 1 5C95D6FB
+P 8000 5150
+F 0 "U1" H 8050 5250 30 0000 C CNN
+F 1 "PORT" H 8000 5150 30 0000 C CNN
+F 2 "" H 8000 5150 60 0000 C CNN
+F 3 "" H 8000 5150 60 0000 C CNN
+ 15 8000 5150
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 16 1 5C95D772
+P 8800 5200
+F 0 "U1" H 8850 5300 30 0000 C CNN
+F 1 "PORT" H 8800 5200 30 0000 C CNN
+F 2 "" H 8800 5200 60 0000 C CNN
+F 3 "" H 8800 5200 60 0000 C CNN
+ 16 8800 5200
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 13 1 5C95D7ED
+P 7600 5100
+F 0 "U1" H 7650 5200 30 0000 C CNN
+F 1 "PORT" H 7600 5100 30 0000 C CNN
+F 2 "" H 7600 5100 60 0000 C CNN
+F 3 "" H 7600 5100 60 0000 C CNN
+ 13 7600 5100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 10 1 5C95D844
+P 6300 5050
+F 0 "U1" H 6350 5150 30 0000 C CNN
+F 1 "PORT" H 6300 5050 30 0000 C CNN
+F 2 "" H 6300 5050 60 0000 C CNN
+F 3 "" H 6300 5050 60 0000 C CNN
+ 10 6300 5050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 7 1 5C95D899
+P 4950 5050
+F 0 "U1" H 5000 5150 30 0000 C CNN
+F 1 "PORT" H 4950 5050 30 0000 C CNN
+F 2 "" H 4950 5050 60 0000 C CNN
+F 3 "" H 4950 5050 60 0000 C CNN
+ 7 4950 5050
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 5C95D8EA
+P 3650 5050
+F 0 "U1" H 3700 5150 30 0000 C CNN
+F 1 "PORT" H 3650 5050 30 0000 C CNN
+F 2 "" H 3650 5050 60 0000 C CNN
+F 3 "" H 3650 5050 60 0000 C CNN
+ 4 3650 5050
+ 0 -1 -1 0
+$EndComp
+Text Notes 7950 4700 1 60 ~ 0
+Cin
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sub b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sub
new file mode 100644
index 00000000..675975d9
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder.sub
@@ -0,0 +1,12 @@
+* Subcircuit 5bit-Ripple_carry_adder
+.subckt 5bit-Ripple_carry_adder net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_
+* c:\esim\esim\src\subcircuitlibrary\5bit-ripple_carry_adder\5bit-ripple_carry_adder.cir
+.include Full-Adder.sub
+x4 net-_u1-pad1_ net-_u1-pad2_ net-_x4-pad3_ net-_u1-pad4_ ? Full-Adder
+x5 net-_u1-pad3_ net-_u1-pad5_ net-_x5-pad3_ net-_u1-pad7_ net-_x4-pad3_ Full-Adder
+x6 net-_u1-pad6_ net-_u1-pad8_ net-_x6-pad3_ net-_u1-pad10_ net-_x5-pad3_ Full-Adder
+x7 net-_u1-pad9_ net-_u1-pad11_ net-_x7-pad3_ net-_u1-pad13_ net-_x6-pad3_ Full-Adder
+x8 net-_u1-pad12_ net-_u1-pad14_ net-_u1-pad15_ net-_u1-pad16_ net-_x7-pad3_ Full-Adder
+* Control Statements
+
+.ends 5bit-Ripple_carry_adder \ No newline at end of file
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder_Previous_Values.xml b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder_Previous_Values.xml
new file mode 100644
index 00000000..8fbbb417
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/5bit-Ripple_carry_adder_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel /><subcircuit><x8><field>C:\esim\eSim\src\SubcircuitLibrary\Full-Adder</field></x8><x6><field>C:\esim\eSim\src\SubcircuitLibrary\Full-Adder</field></x6><x7><field>C:\esim\eSim\src\SubcircuitLibrary\Full-Adder</field></x7><x4><field>C:\esim\eSim\src\SubcircuitLibrary\Full-Adder</field></x4><x5><field>C:\esim\eSim\src\SubcircuitLibrary\Full-Adder</field></x5></subcircuit></KicadtoNgspice> \ No newline at end of file
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder-cache.lib b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder-cache.lib
new file mode 100644
index 00000000..cba68b20
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# d_and
+#
+DEF d_and U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_and" 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 149 50 100 -894 0 0 1 0 N 150 -50 250 50
+A 150 49 100 6 900 0 1 0 N 250 50 150 150
+P 4 0 1 0 150 -50 -250 -50 -250 150 150 150 N
+X IN1 1 -450 100 200 R 50 50 1 1 I
+X IN2 2 -450 0 200 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# d_or
+#
+DEF d_or U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_or" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -450 50 224 266 -266 0 1 0 N -250 150 -250 -50
+A -25 -124 325 574 323 0 1 0 N 150 150 250 50
+A 74 125 191 -665 -231 0 1 0 N 150 -50 250 50
+P 2 0 1 0 -250 -50 150 -50 N
+P 2 0 1 0 -250 150 150 150 N
+X IN1 1 -450 100 215 R 50 50 1 1 I
+X IN2 2 -450 0 215 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# d_xor
+#
+DEF d_xor U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_xor" 50 100 47 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -450 50 224 266 -266 0 1 0 N -250 150 -250 -50
+A -350 50 180 -337 337 0 1 0 N -200 -50 -200 150
+A -25 -124 325 574 323 0 1 0 N 150 150 250 50
+A 74 125 191 -665 -231 0 1 0 N 150 -50 250 50
+P 2 0 1 0 150 -50 -200 -50 N
+P 2 0 1 0 150 150 -200 150 N
+X IN1 1 -450 100 215 R 50 43 1 1 I
+X IN2 2 -450 0 215 R 50 43 1 1 I
+X OUT 3 450 50 200 L 50 39 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir
new file mode 100644
index 00000000..ea7aed36
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir
@@ -0,0 +1,16 @@
+* C:\esim\eSim\src\SubcircuitLibrary\Full-Adder\Full-Adder.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 03/21/19 17:15:52
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ PORT
+U2 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U2-Pad3_ d_xor
+U5 Net-_U2-Pad3_ Net-_U1-Pad3_ Net-_U1-Pad4_ d_xor
+U4 Net-_U2-Pad3_ Net-_U1-Pad3_ Net-_U4-Pad3_ d_and
+U3 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U3-Pad3_ d_and
+U6 Net-_U3-Pad3_ Net-_U4-Pad3_ Net-_U1-Pad5_ d_or
+
+.end
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir.out b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir.out
new file mode 100644
index 00000000..086d8b71
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.cir.out
@@ -0,0 +1,32 @@
+* c:\esim\esim\src\subcircuitlibrary\full-adder\full-adder.cir
+
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ port
+* u2 net-_u1-pad1_ net-_u1-pad2_ net-_u2-pad3_ d_xor
+* u5 net-_u2-pad3_ net-_u1-pad3_ net-_u1-pad4_ d_xor
+* u4 net-_u2-pad3_ net-_u1-pad3_ net-_u4-pad3_ d_and
+* u3 net-_u1-pad1_ net-_u1-pad2_ net-_u3-pad3_ d_and
+* u6 net-_u3-pad3_ net-_u4-pad3_ net-_u1-pad5_ d_or
+a1 [net-_u1-pad1_ net-_u1-pad2_ ] net-_u2-pad3_ u2
+a2 [net-_u2-pad3_ net-_u1-pad3_ ] net-_u1-pad4_ u5
+a3 [net-_u2-pad3_ net-_u1-pad3_ ] net-_u4-pad3_ u4
+a4 [net-_u1-pad1_ net-_u1-pad2_ ] net-_u3-pad3_ u3
+a5 [net-_u3-pad3_ net-_u4-pad3_ ] net-_u1-pad5_ u6
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u2 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u5 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u4 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u3 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u6 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+.ac lin 0 0Hz 0Hz
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.pro b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.pro
new file mode 100644
index 00000000..7089d69d
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.pro
@@ -0,0 +1,74 @@
+update=03/21/19 17:06:42
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=eSim_Analog
+LibName2=eSim_Devices
+LibName3=eSim_Digital
+LibName4=eSim_Hybrid
+LibName5=eSim_Miscellaneous
+LibName6=eSim_Plot
+LibName7=eSim_Power
+LibName8=eSim_PSpice
+LibName9=eSim_Sources
+LibName10=eSim_Subckt
+LibName11=eSim_User
+LibName12=half-adder
+LibName13=power
+LibName14=device
+LibName15=transistors
+LibName16=conn
+LibName17=linear
+LibName18=regul
+LibName19=74xx
+LibName20=cmos4000
+LibName21=adc-dac
+LibName22=memory
+LibName23=xilinx
+LibName24=microcontrollers
+LibName25=dsp
+LibName26=microchip
+LibName27=analog_switches
+LibName28=motorola
+LibName29=texas
+LibName30=intel
+LibName31=audio
+LibName32=interface
+LibName33=digital-audio
+LibName34=philips
+LibName35=display
+LibName36=cypress
+LibName37=siliconi
+LibName38=opto
+LibName39=atmel
+LibName40=contrib
+LibName41=valves
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sch b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sch
new file mode 100644
index 00000000..981e7cdb
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sch
@@ -0,0 +1,226 @@
+EESchema Schematic File Version 2
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Plot
+LIBS:eSim_Power
+LIBS:eSim_PSpice
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_User
+LIBS:half-adder
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:microcontrollers
+LIBS:dsp
+LIBS:microchip
+LIBS:analog_switches
+LIBS:motorola
+LIBS:texas
+LIBS:intel
+LIBS:audio
+LIBS:interface
+LIBS:digital-audio
+LIBS:philips
+LIBS:display
+LIBS:cypress
+LIBS:siliconi
+LIBS:opto
+LIBS:atmel
+LIBS:contrib
+LIBS:valves
+LIBS:Full-Adder-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L PORT U1
+U 1 1 5C93775D
+P 4100 2800
+F 0 "U1" H 4150 2900 30 0000 C CNN
+F 1 "PORT" H 4100 2800 30 0000 C CNN
+F 2 "" H 4100 2800 60 0000 C CNN
+F 3 "" H 4100 2800 60 0000 C CNN
+ 1 4100 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5C9377A8
+P 4100 3100
+F 0 "U1" H 4150 3200 30 0000 C CNN
+F 1 "PORT" H 4100 3100 30 0000 C CNN
+F 2 "" H 4100 3100 60 0000 C CNN
+F 3 "" H 4100 3100 60 0000 C CNN
+ 2 4100 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5C9377CD
+P 4100 3400
+F 0 "U1" H 4150 3500 30 0000 C CNN
+F 1 "PORT" H 4100 3400 30 0000 C CNN
+F 2 "" H 4100 3400 60 0000 C CNN
+F 3 "" H 4100 3400 60 0000 C CNN
+ 3 4100 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 5C9377F2
+P 8450 2900
+F 0 "U1" H 8500 3000 30 0000 C CNN
+F 1 "PORT" H 8450 2900 30 0000 C CNN
+F 2 "" H 8450 2900 60 0000 C CNN
+F 3 "" H 8450 2900 60 0000 C CNN
+ 4 8450 2900
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 5C937851
+P 8450 3200
+F 0 "U1" H 8500 3300 30 0000 C CNN
+F 1 "PORT" H 8450 3200 30 0000 C CNN
+F 2 "" H 8450 3200 60 0000 C CNN
+F 3 "" H 8450 3200 60 0000 C CNN
+ 5 8450 3200
+ -1 0 0 1
+$EndComp
+$Comp
+L d_xor U2
+U 1 1 5C93788C
+P 5150 2900
+F 0 "U2" H 5150 2900 60 0000 C CNN
+F 1 "d_xor" H 5200 3000 47 0000 C CNN
+F 2 "" H 5150 2900 60 0000 C CNN
+F 3 "" H 5150 2900 60 0000 C CNN
+ 1 5150 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_xor U5
+U 1 1 5C9378DF
+P 6400 2950
+F 0 "U5" H 6400 2950 60 0000 C CNN
+F 1 "d_xor" H 6450 3050 47 0000 C CNN
+F 2 "" H 6400 2950 60 0000 C CNN
+F 3 "" H 6400 2950 60 0000 C CNN
+ 1 6400 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U4
+U 1 1 5C937928
+P 6150 3300
+F 0 "U4" H 6150 3300 60 0000 C CNN
+F 1 "d_and" H 6200 3400 60 0000 C CNN
+F 2 "" H 6150 3300 60 0000 C CNN
+F 3 "" H 6150 3300 60 0000 C CNN
+ 1 6150 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U3
+U 1 1 5C9379CF
+P 5200 3500
+F 0 "U3" H 5200 3500 60 0000 C CNN
+F 1 "d_and" H 5250 3600 60 0000 C CNN
+F 2 "" H 5200 3500 60 0000 C CNN
+F 3 "" H 5200 3500 60 0000 C CNN
+ 1 5200 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U6
+U 1 1 5C937A14
+P 7250 3550
+F 0 "U6" H 7250 3550 60 0000 C CNN
+F 1 "d_or" H 7250 3650 60 0000 C CNN
+F 2 "" H 7250 3550 60 0000 C CNN
+F 3 "" H 7250 3550 60 0000 C CNN
+ 1 7250 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4350 2800 4700 2800
+Wire Wire Line
+ 4350 3100 4700 3100
+Wire Wire Line
+ 4700 3100 4700 2900
+Wire Wire Line
+ 5600 2850 5950 2850
+Wire Wire Line
+ 4350 3400 4400 3400
+Wire Wire Line
+ 4400 3400 4400 3150
+Wire Wire Line
+ 4400 3150 5450 3150
+Wire Wire Line
+ 5450 3150 5450 2950
+Wire Wire Line
+ 5450 2950 5950 2950
+Wire Wire Line
+ 6850 2900 8200 2900
+Wire Wire Line
+ 4450 2800 4450 3400
+Wire Wire Line
+ 4450 3400 4750 3400
+Connection ~ 4450 2800
+Wire Wire Line
+ 4600 3100 4600 3500
+Wire Wire Line
+ 4600 3500 4750 3500
+Connection ~ 4600 3100
+Wire Wire Line
+ 5650 3450 6800 3450
+Wire Wire Line
+ 4400 3300 5700 3300
+Connection ~ 4400 3300
+Wire Wire Line
+ 5700 3200 5700 2850
+Connection ~ 5700 2850
+Wire Wire Line
+ 6600 3250 6650 3250
+Wire Wire Line
+ 6650 3250 6650 3550
+Wire Wire Line
+ 6650 3550 6800 3550
+Wire Wire Line
+ 7700 3500 7700 3200
+Wire Wire Line
+ 7700 3200 8200 3200
+Text Notes 4400 2750 0 60 ~ 0
+A
+Text Notes 4400 3050 0 60 ~ 0
+B
+Text Notes 4350 3500 0 60 ~ 0
+Cin
+Text Notes 7950 2850 0 60 ~ 0
+Sum
+Text Notes 7950 3150 0 60 ~ 0
+Cout
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sub b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sub
new file mode 100644
index 00000000..0ea4496d
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder.sub
@@ -0,0 +1,26 @@
+* Subcircuit Full-Adder
+.subckt Full-Adder net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_
+* c:\esim\esim\src\subcircuitlibrary\full-adder\full-adder.cir
+* u2 net-_u1-pad1_ net-_u1-pad2_ net-_u2-pad3_ d_xor
+* u5 net-_u2-pad3_ net-_u1-pad3_ net-_u1-pad4_ d_xor
+* u4 net-_u2-pad3_ net-_u1-pad3_ net-_u4-pad3_ d_and
+* u3 net-_u1-pad1_ net-_u1-pad2_ net-_u3-pad3_ d_and
+* u6 net-_u3-pad3_ net-_u4-pad3_ net-_u1-pad5_ d_or
+a1 [net-_u1-pad1_ net-_u1-pad2_ ] net-_u2-pad3_ u2
+a2 [net-_u2-pad3_ net-_u1-pad3_ ] net-_u1-pad4_ u5
+a3 [net-_u2-pad3_ net-_u1-pad3_ ] net-_u4-pad3_ u4
+a4 [net-_u1-pad1_ net-_u1-pad2_ ] net-_u3-pad3_ u3
+a5 [net-_u3-pad3_ net-_u4-pad3_ ] net-_u1-pad5_ u6
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u2 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u5 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u4 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u3 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u6 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Control Statements
+
+.ends Full-Adder \ No newline at end of file
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder_Previous_Values.xml b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder_Previous_Values.xml
new file mode 100644
index 00000000..c7136641
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/Full-Adder_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model><u2 name="type">d_xor<field1 name="Enter Fall Delay (default=1.0e-9)" /><field2 name="Enter Input Load (default=1.0e-12)" /><field3 name="Enter Rise Delay (default=1.0e-9)" /></u2><u5 name="type">d_xor<field4 name="Enter Fall Delay (default=1.0e-9)" /><field5 name="Enter Input Load (default=1.0e-12)" /><field6 name="Enter Rise Delay (default=1.0e-9)" /></u5><u4 name="type">d_and<field7 name="Enter Fall Delay (default=1.0e-9)" /><field8 name="Enter Input Load (default=1.0e-12)" /><field9 name="Enter Rise Delay (default=1.0e-9)" /></u4><u3 name="type">d_and<field10 name="Enter Fall Delay (default=1.0e-9)" /><field11 name="Enter Input Load (default=1.0e-12)" /><field12 name="Enter Rise Delay (default=1.0e-9)" /></u3><u6 name="type">d_or<field13 name="Enter Fall Delay (default=1.0e-9)" /><field14 name="Enter Input Load (default=1.0e-12)" /><field15 name="Enter Rise Delay (default=1.0e-9)" /></u6></model><devicemodel /><subcircuit /></KicadtoNgspice> \ No newline at end of file
diff --git a/src/SubcircuitLibrary/5bit-Ripple_carry_adder/analysis b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/analysis
new file mode 100644
index 00000000..52ccc5ec
--- /dev/null
+++ b/src/SubcircuitLibrary/5bit-Ripple_carry_adder/analysis
@@ -0,0 +1 @@
+.ac lin 0 0Hz 0Hz \ No newline at end of file