summaryrefslogtreecommitdiff
path: root/BasicGates
diff options
context:
space:
mode:
authorfahimkhan2016-03-14 16:37:03 +0530
committerfahimkhan2016-03-14 16:37:03 +0530
commit0767e64446641553c7c08c77b53d4817599c4ae1 (patch)
treeccc60cf033e7d1f56fe52633462c9e659de8af1d /BasicGates
parent9182fa7645ca28bd5d2d8401c2e2f03c39943f92 (diff)
downloadeSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.tar.gz
eSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.tar.bz2
eSim-Examples-0767e64446641553c7c08c77b53d4817599c4ae1.zip
Adding all available eSim examples
Diffstat (limited to 'BasicGates')
-rw-r--r--BasicGates/BasicGates-cache.bak324
-rw-r--r--BasicGates/BasicGates-cache.lib220
-rw-r--r--BasicGates/BasicGates-rescue.lib22
-rw-r--r--BasicGates/BasicGates.bak422
-rw-r--r--BasicGates/BasicGates.cir26
-rw-r--r--BasicGates/BasicGates.cir.ckt59
-rw-r--r--BasicGates/BasicGates.cir.out54
-rw-r--r--BasicGates/BasicGates.pro47
-rw-r--r--BasicGates/BasicGates.proj1
-rw-r--r--BasicGates/BasicGates.sch467
-rw-r--r--BasicGates/BasicGates_Previous_Values.xml1
-rw-r--r--BasicGates/BasicGates_last_input.txt20
-rw-r--r--BasicGates/analysis1
-rw-r--r--BasicGates/plot_data_i.txt335
-rw-r--r--BasicGates/plot_data_v.txt335
15 files changed, 2334 insertions, 0 deletions
diff --git a/BasicGates/BasicGates-cache.bak b/BasicGates/BasicGates-cache.bak
new file mode 100644
index 0000000..ba5e5f2
--- /dev/null
+++ b/BasicGates/BasicGates-cache.bak
@@ -0,0 +1,324 @@
+EESchema-LIBRARY Version 2.3 Date: Sunday 09 December 2012 08:00:09 AM IST
+#encoding utf-8
+#
+# 74HCT04
+#
+DEF 74HCT04 U 0 30 Y Y 6 F N
+F0 "U" 150 100 40 H V C CNN
+F1 "74HCT04" 200 -100 40 H V C CNN
+ALIAS 74HC14 74HC04 74LS14
+DRAW
+P 4 0 0 0 -150 150 -150 -150 150 0 -150 150 N
+X GND 7 -50 -100 0 U 30 20 0 0 W N
+X VCC 14 -50 100 0 D 30 20 0 0 W N
+X ~ 1 -450 0 300 R 60 60 1 1 I
+X ~ 2 450 0 300 L 60 60 1 1 O I
+X ~ 3 -450 0 300 R 60 60 2 1 I
+X ~ 4 450 0 300 L 60 60 2 1 O I
+X ~ 5 -450 0 300 R 60 60 3 1 I
+X ~ 6 450 0 300 L 60 60 3 1 O I
+X ~ 8 450 0 300 L 60 60 4 1 O I
+X ~ 9 -450 0 300 R 60 60 4 1 I
+X ~ 10 450 0 300 L 60 60 5 1 O I
+X ~ 11 -450 0 300 R 60 60 5 1 I
+X ~ 12 450 0 300 L 60 60 6 1 O I
+X ~ 13 -450 0 300 R 60 60 6 1 I
+X ~ 1 -450 0 300 R 60 60 1 2 I I
+X ~ 2 450 0 300 L 60 60 1 2 O
+X ~ 3 -450 0 300 R 60 60 2 2 I I
+X ~ 4 450 0 300 L 60 60 2 2 O
+X ~ 5 -450 0 300 R 60 60 3 2 I I
+X ~ 6 450 0 300 L 60 60 3 2 O
+X ~ 8 450 0 300 L 60 60 4 2 O
+X ~ 9 -450 0 300 R 60 60 4 2 I I
+X ~ 10 450 0 300 L 60 60 5 2 O
+X ~ 11 -450 0 300 R 60 60 5 2 I I
+X ~ 12 450 0 300 L 60 60 6 2 O
+X ~ 13 -450 0 300 R 60 60 6 2 I I
+ENDDRAW
+ENDDEF
+#
+# 74LS00
+#
+DEF 74LS00 U 0 30 Y Y 4 F N
+F0 "U" 0 50 60 H V C CNN
+F1 "74LS00" 0 -100 60 H V C CNN
+ALIAS 74LS37 7400 74HCT00 74HC00
+$FPLIST
+ 14DIP300*
+ SO14*
+$ENDFPLIST
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 D 40 40 0 0 W N
+A 100 0 200 -899 899 0 1 0 N 100 -200 100 200
+P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
+X ~ 1 -600 100 300 R 60 60 1 1 I
+X ~ 2 -600 -100 300 R 60 60 1 1 I
+X ~ 3 600 0 300 L 60 60 1 1 O I
+X ~ 4 -600 100 300 R 60 60 2 1 I
+X ~ 5 -600 -100 300 R 60 60 2 1 I
+X ~ 6 600 0 300 L 60 60 2 1 O I
+X ~ 8 600 0 300 L 60 60 3 1 O I
+X ~ 9 -600 100 300 R 60 60 3 1 I
+X ~ 10 -600 -100 300 R 60 60 3 1 I
+X ~ 11 600 0 300 L 60 60 4 1 O I
+X ~ 12 -600 100 300 R 60 60 4 1 I
+X ~ 13 -600 -100 300 R 60 60 4 1 I
+A -465 0 259 504 -504 0 2 0 N -300 200 -300 -200
+A -11 143 343 -881 -246 0 2 0 N 0 -200 300 0
+A -10 -141 340 244 883 0 2 0 N 300 0 0 200
+P 2 0 2 0 -300 -200 0 -200 N
+P 2 0 2 0 -300 200 0 200 N
+X ~ 1 -600 100 370 R 60 60 1 2 I I
+X ~ 2 -600 -100 370 R 60 60 1 2 I I
+X ~ 3 600 0 300 L 60 60 1 2 O
+X ~ 4 -600 100 370 R 60 60 2 2 I I
+X ~ 5 -600 -100 370 R 60 60 2 2 I I
+X ~ 6 600 0 300 L 60 60 2 2 O
+X ~ 8 600 0 300 L 60 60 3 2 O
+X ~ 9 -600 100 370 R 60 60 3 2 I I
+X ~ 10 -600 -100 370 R 60 60 3 2 I I
+X ~ 11 600 0 300 L 60 60 4 2 O
+X ~ 12 -600 100 370 R 60 60 4 2 I I
+X ~ 13 -600 -100 370 R 60 60 4 2 I I
+ENDDRAW
+ENDDEF
+#
+# 74LS02
+#
+DEF 74LS02 U 0 30 Y Y 4 F N
+F0 "U" 0 50 60 H V C CNN
+F1 "74LS02" 50 -50 60 H V C CNN
+ALIAS 74HC02 74HCT02 7402 74LS28
+$FPLIST
+ SO14*
+ 14DIP*
+$ENDFPLIST
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 D 40 40 0 0 W N
+A -470 0 262 496 -496 0 1 8 N -300 200 -300 -200
+A -1 -127 327 898 228 0 1 8 N 0 200 300 0
+A -1 128 327 -230 -898 0 1 8 N 300 0 0 -200
+P 2 0 1 8 -300 -200 0 -200 N
+P 2 0 1 8 -300 200 0 200 N
+X ~ 1 600 0 300 L 60 60 1 1 O I
+X ~ 2 -600 100 370 R 60 60 1 1 I
+X ~ 3 -600 -100 370 R 60 60 1 1 I
+X ~ 4 600 0 300 L 60 60 2 1 O I
+X ~ 5 -600 100 370 R 60 60 2 1 I
+X ~ 6 -600 -100 370 R 60 60 2 1 I
+X ~ 8 -600 100 370 R 60 60 3 1 I
+X ~ 9 -600 -100 370 R 60 60 3 1 I
+X ~ 10 600 0 300 L 60 60 3 1 O I
+X ~ 11 -600 100 370 R 60 60 4 1 I
+X ~ 12 -600 -100 370 R 60 60 4 1 I
+X ~ 13 600 0 300 L 60 60 4 1 O I
+A 100 0 200 896 -896 0 2 8 N 101 200 101 -199
+P 4 0 2 8 100 200 -300 200 -300 -200 100 -200 N
+X ~ 1 600 0 300 L 60 60 1 2 O
+X ~ 2 -600 100 300 R 60 60 1 2 I I
+X ~ 3 -600 -100 300 R 60 60 1 2 I I
+X ~ 4 600 0 300 L 60 60 2 2 O
+X ~ 5 -600 100 300 R 60 60 2 2 I I
+X ~ 6 -600 -100 300 R 60 60 2 2 I I
+X ~ 8 -600 100 300 R 60 60 3 2 I I
+X ~ 9 -600 -100 300 R 60 60 3 2 I I
+X ~ 10 600 0 300 L 60 60 3 2 O
+X ~ 11 -600 100 300 R 60 60 4 2 I I
+X ~ 12 -600 -100 300 R 60 60 4 2 I I
+X ~ 13 600 0 300 L 60 60 4 2 O
+ENDDRAW
+ENDDEF
+#
+# 74LS08
+#
+DEF 74LS08 U 0 30 Y Y 4 F N
+F0 "U" 0 50 60 H V C CNN
+F1 "74LS08" 0 -50 60 H V C CNN
+ALIAS 74LS09
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 U 40 40 0 0 W N
+A 100 0 200 896 -896 0 1 0 N 101 200 101 -199
+P 4 0 1 0 100 200 -300 200 -300 -200 100 -200 N
+X ~ 1 -600 100 300 R 60 60 1 1 I
+X ~ 2 -600 -100 300 R 60 60 1 1 I
+X ~ 3 600 0 300 L 60 60 1 1 O
+X ~ 4 -600 100 300 R 60 60 2 1 I
+X ~ 5 -600 -100 300 R 60 60 2 1 I
+X ~ 6 600 0 300 L 60 60 2 1 O
+X ~ 8 600 0 300 L 60 60 3 1 O
+X ~ 9 -600 100 300 R 60 60 3 1 I
+X ~ 10 -600 -100 300 R 60 60 3 1 I
+X ~ 11 600 0 300 L 60 60 4 1 O
+X ~ 12 -600 100 300 R 60 60 4 1 I
+X ~ 13 -600 -100 300 R 60 60 4 1 I
+A -470 0 262 495 -495 0 2 0 N -300 199 -300 -198
+A -2 126 326 -897 -225 0 2 0 N 0 -199 299 2
+A 4 -120 320 906 221 0 2 0 N 2 200 300 0
+P 2 0 2 0 -300 -200 0 -200 N
+P 2 0 2 0 -300 200 0 200 N
+X ~ 1 -600 100 370 R 60 60 1 2 I I
+X ~ 2 -600 -100 370 R 60 60 1 2 I I
+X ~ 3 600 0 300 L 60 60 1 2 O I
+X ~ 4 -600 100 370 R 60 60 2 2 I I
+X ~ 5 -600 -100 370 R 60 60 2 2 I I
+X ~ 6 600 0 300 L 60 60 2 2 O I
+X ~ 8 600 0 300 L 60 60 3 2 O I
+X ~ 9 -600 100 370 R 60 60 3 2 I I
+X ~ 10 -600 -100 370 R 60 60 3 2 I I
+X ~ 11 600 0 300 L 60 60 4 2 O I
+X ~ 12 -600 100 370 R 60 60 4 2 I I
+X ~ 13 -600 -100 370 R 60 60 4 2 I I
+ENDDRAW
+ENDDEF
+#
+# 74LS32
+#
+DEF 74LS32 U 0 30 Y Y 4 F N
+F0 "U" 0 50 60 H V C CNN
+F1 "74LS32" 0 -50 60 H V C CNN
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 U 40 40 0 0 W N
+A -470 0 262 495 -495 0 1 0 N -300 199 -300 -198
+A -2 126 326 -897 -225 0 1 0 N 0 -199 299 2
+A 4 -120 320 906 221 0 1 0 N 2 200 300 0
+P 2 0 1 0 -300 -200 0 -200 N
+P 2 0 1 0 -300 200 0 200 N
+X ~ 1 -600 100 370 R 60 60 1 1 I
+X ~ 2 -600 -100 370 R 60 60 1 1 I
+X ~ 3 600 0 300 L 60 60 1 1 O
+X ~ 4 -600 100 370 R 60 60 2 1 I
+X ~ 5 -600 -100 370 R 60 60 2 1 I
+X ~ 6 600 0 300 L 60 60 2 1 O
+X ~ 8 600 0 300 L 60 60 3 1 O
+X ~ 9 -600 100 370 R 60 60 3 1 I
+X ~ 10 -600 -100 370 R 60 60 3 1 I
+X ~ 11 600 0 300 L 60 60 4 1 O
+X ~ 12 -600 100 370 R 60 60 4 1 I
+X ~ 13 -600 -100 370 R 60 60 4 1 I
+A 100 0 200 896 -896 0 2 0 N 101 200 101 -199
+P 4 0 2 0 100 200 -300 200 -300 -200 100 -200 N
+X ~ 1 -600 100 300 R 60 60 1 2 I I
+X ~ 2 -600 -100 300 R 60 60 1 2 I I
+X ~ 3 600 0 300 L 60 60 1 2 O I
+X ~ 4 -600 100 300 R 60 60 2 2 I I
+X ~ 5 -600 -100 300 R 60 60 2 2 I I
+X ~ 6 600 0 300 L 60 60 2 2 O I
+X ~ 8 600 0 300 L 60 60 3 2 O I
+X ~ 9 -600 100 300 R 60 60 3 2 I I
+X ~ 10 -600 -100 300 R 60 60 3 2 I I
+X ~ 11 600 0 300 L 60 60 4 2 O I
+X ~ 12 -600 100 300 R 60 60 4 2 I I
+X ~ 13 -600 -100 300 R 60 60 4 2 I I
+ENDDRAW
+ENDDEF
+#
+# 74LS86
+#
+DEF 74LS86 U 0 30 Y N 4 F N
+F0 "U" 50 50 50 H V C CNN
+F1 "74LS86" 50 -50 40 H V C CNN
+ALIAS 74HC86
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 D 40 40 0 0 W N
+A -470 0 262 495 -495 0 1 0 N -300 199 -300 -198
+A -396 -2 281 457 -451 0 1 0 N -200 199 -198 -200
+A -2 126 326 -897 -225 0 1 0 N 0 -199 299 2
+A 4 -120 320 906 221 0 1 0 N 2 200 300 0
+P 2 0 1 0 -200 -200 0 -200 N
+P 2 0 1 0 -200 200 0 200 N
+X IN1 1 -600 100 370 R 60 60 1 1 I
+X IN2 2 -600 -100 370 R 60 60 1 1 I
+X OUT 3 600 0 300 L 60 60 1 1 O
+X IN1 4 -600 100 370 R 60 60 2 1 I
+X IN2 5 -600 -100 370 R 60 60 2 1 I
+X OUT 6 600 0 300 L 60 60 2 1 O
+X OUT 8 600 0 300 L 60 60 3 1 O
+X IN1 9 -600 100 370 R 60 60 3 1 I
+X IN2 10 -600 -100 370 R 60 60 3 1 I
+X OUT 11 600 0 300 L 60 60 4 1 O
+X IN1 12 -600 100 370 R 60 60 4 1 I
+X IN2 13 -600 -100 370 R 60 60 4 1 I
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF ~GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 0 30 H I C CNN
+F1 "GND" 0 -70 30 H I C CNN
+DRAW
+P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
+X GND 1 0 0 0 U 30 30 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# pulse
+#
+DEF pulse v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "pulse" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+A -25 -450 501 928 871 0 1 0 N -50 50 0 50
+A 25 400 451 -931 -868 0 1 0 N 0 -50 50 -50
+A 75 600 551 -926 -873 0 1 0 N 50 50 100 50
+A 350 0 403 -1728 1728 0 1 0 N -50 -50 -50 50
+A 450 0 453 1736 -1736 0 1 0 N 0 50 0 -50
+A 600 0 552 -1748 1748 0 1 0 N 50 -50 50 50
+C 0 0 150 0 1 0 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
+#
+# PWR_FLAG
+#
+DEF PWR_FLAG #FLG 0 0 N N 1 F P
+F0 "#FLG" 0 270 30 H I C CNN
+F1 "PWR_FLAG" 0 230 30 H V C CNN
+DRAW
+X pwr 1 0 0 0 U 20 20 0 0 w
+P 3 0 1 0 0 0 0 100 0 100 N
+P 5 0 1 0 0 100 -100 150 0 200 100 150 0 100 N
+ENDDRAW
+ENDDEF
+#
+# R
+#
+DEF R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R" 0 0 50 V V C CNN
+$FPLIST
+ R?
+ SM0603
+ SM0805
+ R?-*
+$ENDFPLIST
+DRAW
+S -40 150 40 -150 0 1 12 N
+X ~ 1 0 250 100 D 60 60 1 1 P
+X ~ 2 0 -250 100 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# vplot1
+#
+DEF vplot1 U 0 40 Y Y 1 F N
+F0 "U" -150 100 50 H V C CNN
+F1 "vplot1" 150 100 50 H V C CNN
+DRAW
+C 0 0 100 0 0 0 N
+X + 1 0 -300 200 U 40 40 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/BasicGates/BasicGates-cache.lib b/BasicGates/BasicGates-cache.lib
new file mode 100644
index 0000000..7ae0d2a
--- /dev/null
+++ b/BasicGates/BasicGates-cache.lib
@@ -0,0 +1,220 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# GND-RESCUE-BasicGates
+#
+DEF ~GND-RESCUE-BasicGates #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 0 30 H I C CNN
+F1 "GND-RESCUE-BasicGates" 0 -70 30 H I C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
+X GND 1 0 0 0 U 30 30 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# PWR_FLAG
+#
+DEF PWR_FLAG #FLG 0 0 N N 1 F P
+F0 "#FLG" 0 95 50 H I C CNN
+F1 "PWR_FLAG" 0 180 50 H V C CNN
+F2 "" 0 0 50 H V C CNN
+F3 "" 0 0 50 H V C CNN
+DRAW
+X pwr 1 0 0 0 U 50 50 0 0 w
+P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N
+ENDDRAW
+ENDDEF
+#
+# R-RESCUE-BasicGates
+#
+DEF R-RESCUE-BasicGates R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R-RESCUE-BasicGates" 0 0 50 V V C CNN
+F2 "" -70 0 30 V V C CNN
+F3 "" 0 0 30 H V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S -40 -100 40 100 0 1 10 N
+X ~ 1 0 150 50 D 60 60 1 1 P
+X ~ 2 0 -150 50 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# adc_bridge_2
+#
+DEF adc_bridge_2 U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "adc_bridge_2" 0 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -400 200 350 -100 0 1 0 N
+X IN1 1 -600 50 200 R 50 50 1 1 I
+X IN2 2 -600 -50 200 R 50 50 1 1 I
+X OUT1 3 550 50 200 L 50 50 1 1 O
+X OUT2 4 550 -50 200 L 50 50 1 1 O
+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_inverter
+#
+DEF d_inverter U 0 40 Y Y 1 F N
+F0 "U" 0 -100 60 H V C CNN
+F1 "d_inverter" 0 150 60 H V C CNN
+F2 "" 50 -50 60 H V C CNN
+F3 "" 50 -50 60 H V C CNN
+DRAW
+P 4 0 1 0 -100 50 -100 -50 100 0 -100 50 N
+X ~ 1 -300 0 200 R 50 50 1 1 I
+X ~ 2 300 0 200 L 50 50 1 1 O I
+ENDDRAW
+ENDDEF
+#
+# d_nand
+#
+DEF d_nand U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_nand" 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 I
+ENDDRAW
+ENDDEF
+#
+# d_nor
+#
+DEF d_nor U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_nor" 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 -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 I
+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
+#
+# dac_bridge_1
+#
+DEF dac_bridge_1 U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "dac_bridge_1" 0 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -400 200 350 -50 0 1 0 N
+X IN1 1 -600 50 200 R 50 50 1 1 I
+X OUT1 2 550 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# plot_v1
+#
+DEF plot_v1 U 0 40 Y Y 1 F N
+F0 "U" 0 500 60 H V C CNN
+F1 "plot_v1" 200 350 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 500 100 0 1 0 N
+X ~ ~ 0 200 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# pulse
+#
+DEF pulse v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "pulse" -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 -25 -450 501 928 871 0 1 0 N -50 50 0 50
+A 25 400 451 -931 -868 0 1 0 N 0 -50 50 -50
+A 75 600 551 -926 -873 0 1 0 N 50 50 100 50
+A 350 0 403 -1728 1728 0 1 0 N -50 -50 -50 50
+A 450 0 453 1736 -1736 0 1 0 N 0 50 0 -50
+A 600 0 552 -1748 1748 0 1 0 N 50 -50 50 50
+C 0 0 150 0 1 0 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
+#
+#End Library
diff --git a/BasicGates/BasicGates-rescue.lib b/BasicGates/BasicGates-rescue.lib
new file mode 100644
index 0000000..378c9c7
--- /dev/null
+++ b/BasicGates/BasicGates-rescue.lib
@@ -0,0 +1,22 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# R-RESCUE-BasicGates
+#
+DEF R-RESCUE-BasicGates R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R-RESCUE-BasicGates" 0 0 50 V V C CNN
+F2 "" -70 0 30 V V C CNN
+F3 "" 0 0 30 H V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S -40 -100 40 100 0 1 10 N
+X ~ 1 0 150 50 D 60 60 1 1 P
+X ~ 2 0 -150 50 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/BasicGates/BasicGates.bak b/BasicGates/BasicGates.bak
new file mode 100644
index 0000000..87a43c7
--- /dev/null
+++ b/BasicGates/BasicGates.bak
@@ -0,0 +1,422 @@
+EESchema Schematic File Version 2
+LIBS:BasicGates-rescue
+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:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Sources
+LIBS:BasicGates-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "9 dec 2012"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+Text Notes 9150 2850 0 60 ~ 0
+~A.B
+Text Notes 9050 2850 0 60 ~ 0
++
+Text Notes 8900 2850 0 60 ~ 0
+A.B
+Text Notes 8000 2300 0 60 ~ 0
+~B
+Text Notes 7900 2300 0 60 ~ 0
++
+Text Notes 7750 2300 0 60 ~ 0
+=~A
+Text Notes 7900 3650 0 60 ~ 0
+=A+B
+Text Notes 7850 3500 0 60 ~ 0
+A.B+A+B
+Text Notes 6450 3600 0 60 ~ 0
+~((A.B)+(A+B))
+Text Notes 7100 2300 0 60 ~ 0
+~((A.B).(A+B))
+Text Notes 5150 3650 0 60 ~ 0
+A+B
+Text Notes 5100 2250 0 60 ~ 0
+A.B
+Text Notes 3600 3950 0 60 ~ 0
+B
+Text Notes 3500 1650 0 60 ~ 0
+A
+$Comp
+L GND-RESCUE-BasicGates #PWR01
+U 1 1 5072534B
+P 10850 3900
+F 0 "#PWR01" H 10850 3900 30 0001 C CNN
+F 1 "GND" H 10850 3830 30 0001 C CNN
+F 2 "" H 10850 3900 60 0001 C CNN
+F 3 "" H 10850 3900 60 0001 C CNN
+ 1 10850 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PWR_FLAG #FLG02
+U 1 1 507251F2
+P 1800 1700
+F 0 "#FLG02" H 1800 1970 30 0001 C CNN
+F 1 "PWR_FLAG" H 1800 1930 30 0000 C CNN
+F 2 "" H 1800 1700 60 0001 C CNN
+F 3 "" H 1800 1700 60 0001 C CNN
+ 1 1800 1700
+ -1 0 0 1
+$EndComp
+$Comp
+L GND-RESCUE-BasicGates #PWR03
+U 1 1 507251E5
+P 2050 1250
+F 0 "#PWR03" H 2050 1250 30 0001 C CNN
+F 1 "GND" H 2050 1180 30 0001 C CNN
+F 2 "" H 2050 1250 60 0001 C CNN
+F 3 "" H 2050 1250 60 0001 C CNN
+ 1 2050 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L R R3
+U 1 1 507251A7
+P 1400 2200
+F 0 "R3" V 1480 2200 50 0000 C CNN
+F 1 "1000" V 1400 2200 50 0000 C CNN
+F 2 "" H 1400 2200 60 0001 C CNN
+F 3 "" H 1400 2200 60 0001 C CNN
+ 1 1400 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L R R2
+U 1 1 50652FB6
+P 10850 3350
+F 0 "R2" V 10930 3350 50 0000 C CNN
+F 1 "1000" V 10850 3350 50 0000 C CNN
+F 2 "" H 10850 3350 60 0001 C CNN
+F 3 "" H 10850 3350 60 0001 C CNN
+ 1 10850 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 505C9F25
+P 2200 5100
+F 0 "R1" V 2280 5100 50 0000 C CNN
+F 1 "1000" V 2200 5100 50 0000 C CNN
+F 2 "" H 2200 5100 60 0001 C CNN
+F 3 "" H 2200 5100 60 0001 C CNN
+ 1 2200 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND-RESCUE-BasicGates #PWR04
+U 1 1 505C9EE8
+P 1650 5900
+F 0 "#PWR04" H 1650 5900 30 0001 C CNN
+F 1 "GND" H 1650 5830 30 0001 C CNN
+F 2 "" H 1650 5900 60 0001 C CNN
+F 3 "" H 1650 5900 60 0001 C CNN
+ 1 1650 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U2
+U 1 1 5575A2C1
+P 4450 2350
+F 0 "U2" H 4450 2350 60 0000 C CNN
+F 1 "d_and" H 4500 2450 60 0000 C CNN
+F 2 "" H 4450 2350 60 0000 C CNN
+F 3 "" H 4450 2350 60 0000 C CNN
+ 1 4450 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U3
+U 1 1 5575A328
+P 4550 3550
+F 0 "U3" H 4550 3550 60 0000 C CNN
+F 1 "d_or" H 4550 3650 60 0000 C CNN
+F 2 "" H 4550 3550 60 0000 C CNN
+F 3 "" H 4550 3550 60 0000 C CNN
+ 1 4550 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_nor U4
+U 1 1 5575A38D
+P 6200 3450
+F 0 "U4" H 6200 3450 60 0000 C CNN
+F 1 "d_nor" H 6250 3550 60 0000 C CNN
+F 2 "" H 6200 3450 60 0000 C CNN
+F 3 "" H 6200 3450 60 0000 C CNN
+ 1 6200 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_nand U5
+U 1 1 5575A3E6
+P 6450 2450
+F 0 "U5" H 6450 2450 60 0000 C CNN
+F 1 "d_nand" H 6500 2550 60 0000 C CNN
+F 2 "" H 6450 2450 60 0000 C CNN
+F 3 "" H 6450 2450 60 0000 C CNN
+ 1 6450 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U6
+U 1 1 5575A56B
+P 7400 3400
+F 0 "U6" H 7400 3300 60 0000 C CNN
+F 1 "d_inverter" H 7400 3550 60 0000 C CNN
+F 2 "" H 7450 3350 60 0000 C CNN
+F 3 "" H 7450 3350 60 0000 C CNN
+ 1 7400 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_xor U7
+U 1 1 5575A5B8
+P 8600 3050
+F 0 "U7" H 8600 3050 60 0000 C CNN
+F 1 "d_xor" H 8650 3150 47 0000 C CNN
+F 2 "" H 8600 3050 60 0000 C CNN
+F 3 "" H 8600 3050 60 0000 C CNN
+ 1 8600 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L dac_bridge_1 U8
+U 1 1 5575A633
+P 9800 3050
+F 0 "U8" H 9800 3050 60 0000 C CNN
+F 1 "dac_bridge_1" H 9800 3200 60 0000 C CNN
+F 2 "" H 9800 3050 60 0000 C CNN
+F 3 "" H 9800 3050 60 0000 C CNN
+ 1 9800 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L adc_bridge_2 U1
+U 1 1 5575A8EB
+P 2850 3200
+F 0 "U1" H 2850 3200 60 0000 C CNN
+F 1 "adc_bridge_2" H 2850 3350 60 0000 C CNN
+F 2 "" H 2850 3200 60 0000 C CNN
+F 3 "" H 2850 3200 60 0000 C CNN
+ 1 2850 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L pulse v2
+U 1 1 5575AD50
+P 2050 2150
+F 0 "v2" H 1850 2250 60 0000 C CNN
+F 1 "pulse" H 1850 2100 60 0000 C CNN
+F 2 "R1" H 1750 2150 60 0000 C CNN
+F 3 "" H 2050 2150 60 0000 C CNN
+ 1 2050 2150
+ -1 0 0 1
+$EndComp
+$Comp
+L pulse v1
+U 1 1 5575AE1A
+P 1650 5100
+F 0 "v1" H 1450 5200 60 0000 C CNN
+F 1 "pulse" H 1450 5050 60 0000 C CNN
+F 2 "R1" H 1350 5100 60 0000 C CNN
+F 3 "" H 1650 5100 60 0000 C CNN
+ 1 1650 5100
+ 1 0 0 -1
+$EndComp
+Text GLabel 2200 2950 2 60 Input ~ 0
+IN2
+Text GLabel 2250 3450 2 60 Input ~ 0
+IN1
+Wire Wire Line
+ 1650 4500 2200 4500
+Wire Wire Line
+ 3500 3800 3750 3800
+Wire Wire Line
+ 7900 3100 7850 3100
+Wire Wire Line
+ 7850 3100 7850 3400
+Wire Wire Line
+ 7850 3400 7700 3400
+Connection ~ 5300 2300
+Wire Wire Line
+ 5300 2300 5300 3300
+Wire Wire Line
+ 5300 3300 5500 3300
+Wire Wire Line
+ 5000 3500 5500 3500
+Wire Wire Line
+ 7900 2900 7350 2900
+Wire Wire Line
+ 7350 2900 7350 2400
+Wire Wire Line
+ 7350 2400 6900 2400
+Connection ~ 3750 2200
+Wire Wire Line
+ 3900 3400 3750 3400
+Wire Wire Line
+ 3750 3400 3750 2200
+Wire Wire Line
+ 3650 2200 3850 2200
+Wire Wire Line
+ 3650 1700 3650 2200
+Connection ~ 1400 2750
+Connection ~ 1800 1500
+Wire Wire Line
+ 1800 1500 1800 1700
+Wire Wire Line
+ 2200 4500 2200 4950
+Wire Wire Line
+ 1650 4500 1650 4650
+Wire Wire Line
+ 1400 1500 1400 2050
+Wire Wire Line
+ 1400 1500 2050 1500
+Connection ~ 1650 5750
+Wire Wire Line
+ 2200 5750 1650 5750
+Wire Wire Line
+ 2200 5250 2200 5750
+Wire Wire Line
+ 1650 5550 1650 5900
+Wire Wire Line
+ 2050 2600 2050 3150
+Wire Wire Line
+ 1400 2350 1400 2750
+Wire Wire Line
+ 2050 1700 2050 1250
+Connection ~ 2050 1500
+Wire Wire Line
+ 3900 3600 3750 3600
+Wire Wire Line
+ 3750 3600 3750 3800
+Wire Wire Line
+ 3600 2350 3600 3800
+Wire Wire Line
+ 4900 2300 5800 2300
+Wire Wire Line
+ 5800 2500 5200 2500
+Wire Wire Line
+ 5200 2500 5200 3500
+Connection ~ 5200 3500
+Wire Wire Line
+ 6650 3400 7100 3400
+Wire Wire Line
+ 10850 3500 10850 3900
+Connection ~ 3600 3800
+Wire Wire Line
+ 3400 3250 3500 3250
+Wire Wire Line
+ 3500 3250 3500 3800
+Wire Wire Line
+ 3500 3150 3400 3150
+Wire Wire Line
+ 3500 1700 3500 3150
+Wire Wire Line
+ 3500 1700 3650 1700
+Wire Wire Line
+ 2050 3150 2250 3150
+Wire Wire Line
+ 1400 2750 2050 2750
+Connection ~ 2050 2750
+Wire Wire Line
+ 2250 3250 2050 3250
+Wire Wire Line
+ 2050 3250 2050 4500
+Connection ~ 2050 4500
+Wire Wire Line
+ 3850 2200 3850 2250
+Wire Wire Line
+ 3850 2250 4000 2250
+Wire Wire Line
+ 4000 2350 3600 2350
+Wire Wire Line
+ 3900 3400 3900 3450
+Wire Wire Line
+ 3900 3450 4100 3450
+Wire Wire Line
+ 3900 3600 3900 3550
+Wire Wire Line
+ 3900 3550 4100 3550
+Wire Wire Line
+ 5800 2300 5800 2350
+Wire Wire Line
+ 5800 2350 6000 2350
+Wire Wire Line
+ 5800 2500 5800 2450
+Wire Wire Line
+ 5800 2450 6000 2450
+Wire Wire Line
+ 5500 3300 5500 3350
+Wire Wire Line
+ 5500 3350 5750 3350
+Wire Wire Line
+ 5500 3500 5500 3450
+Wire Wire Line
+ 5500 3450 5750 3450
+Wire Wire Line
+ 7900 2900 7900 2950
+Wire Wire Line
+ 7900 2950 8150 2950
+Wire Wire Line
+ 7900 3100 7900 3050
+Wire Wire Line
+ 7900 3050 8150 3050
+Wire Wire Line
+ 9050 3000 9200 3000
+Wire Wire Line
+ 10350 3000 10850 3000
+Wire Wire Line
+ 10850 3000 10850 3200
+Wire Wire Line
+ 2200 2950 2050 2950
+Connection ~ 2050 2950
+Wire Wire Line
+ 2250 3450 2050 3450
+Connection ~ 2050 3450
+Text GLabel 10700 2800 1 60 Input ~ 0
+OUT
+Wire Wire Line
+ 10700 2800 10700 3000
+Connection ~ 10700 3000
+$EndSCHEMATC
diff --git a/BasicGates/BasicGates.cir b/BasicGates/BasicGates.cir
new file mode 100644
index 0000000..01a4879
--- /dev/null
+++ b/BasicGates/BasicGates.cir
@@ -0,0 +1,26 @@
+* /home/fossee/Downloads/LabMigration/LM_Solve/BasicGates/BasicGates.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Mon Feb 29 21:52:07 2016
+
+* 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: /
+R3 A GND 1000
+R2 OUT GND 1000
+R1 B GND 1000
+U2 Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U2-Pad3_ d_and
+U3 Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U3-Pad3_ d_or
+U4 Net-_U2-Pad3_ Net-_U3-Pad3_ Net-_U4-Pad3_ d_nor
+U5 Net-_U2-Pad3_ Net-_U3-Pad3_ Net-_U5-Pad3_ d_nand
+U6 Net-_U4-Pad3_ Net-_U6-Pad2_ d_inverter
+U7 Net-_U5-Pad3_ Net-_U6-Pad2_ Net-_U7-Pad3_ d_xor
+U8 Net-_U7-Pad3_ OUT dac_bridge_1
+U1 A B Net-_U1-Pad3_ Net-_U1-Pad4_ adc_bridge_2
+v2 A GND pulse
+v1 B GND pulse
+U9 A plot_v1
+U10 B plot_v1
+U11 OUT plot_v1
+
+.end
diff --git a/BasicGates/BasicGates.cir.ckt b/BasicGates/BasicGates.cir.ckt
new file mode 100644
index 0000000..59b85ff
--- /dev/null
+++ b/BasicGates/BasicGates.cir.ckt
@@ -0,0 +1,59 @@
+* eeschema netlist version 1.1 (spice format) creation date: monday 29 december 2014 04:59:08 pm utc
+
+* Plotting option vplot8_1
+* 74hc86
+* 74ls32
+* 74ls08
+* 74hc02
+* 74hc04
+* 7400
+r3 8 0 1000
+v2 8 0 pulse(0 5 0 0 0 2 20)
+r2 9 0 1000
+r1 4 0 1000
+v1 4 0 pulse(5 0 0 0 0 2 20)
+a1 [5] [5_in] u12adc
+a2 [6] [6_in] u12adc
+a3 [5_in 6_in] 9_out u12
+a4 [9_out] [9] u12dac
+.model u12 d_xor
+.model u12adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u12dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+a5 [8] [8_in] u8adc
+a6 [4] [4_in] u8adc
+a7 [8_in 4_in] 10_out u8
+a8 [10_out] [10] u8dac
+.model u8 d_or
+.model u8adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u8dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+a9 [8] [8_in] u7adc
+a10 [4] [4_in] u7adc
+a11 [8_in 4_in] 2_out u7
+a12 [2_out] [2] u7dac
+.model u7 d_and
+.model u7adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u7dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+a13 [2] [2_in] u9adc
+a14 [10] [10_in] u9adc
+a15 [2_in 10_in] 7_out u9
+a16 [7_out] [7] u9dac
+.model u9 d_nor
+.model u9adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u9dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+a17 [7] [7_in] u11adc
+a18 7_in 6_out u11
+a19 [6_out] [6] u11dac
+.model u11 d_inverter
+.model u11adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u11dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+a20 [2] [2_in] u10adc
+a21 [10] [10_in] u10adc
+a22 [2_in 10_in] 5_out u10
+a23 [5_out] [5] u10dac
+.model u10 d_nand
+.model u10adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u10dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+
+.tran 10e-09 1e-06 0e-00
+.plot v(8) v(4) v(9)
+.end
diff --git a/BasicGates/BasicGates.cir.out b/BasicGates/BasicGates.cir.out
new file mode 100644
index 0000000..428fd72
--- /dev/null
+++ b/BasicGates/BasicGates.cir.out
@@ -0,0 +1,54 @@
+* /home/fossee/downloads/labmigration/lm_solve/basicgates/basicgates.cir
+
+r3 a gnd 1000
+r2 out gnd 1000
+r1 b gnd 1000
+* u2 net-_u1-pad3_ net-_u1-pad4_ net-_u2-pad3_ d_and
+* u3 net-_u1-pad3_ net-_u1-pad4_ net-_u3-pad3_ d_or
+* u4 net-_u2-pad3_ net-_u3-pad3_ net-_u4-pad3_ d_nor
+* u5 net-_u2-pad3_ net-_u3-pad3_ net-_u5-pad3_ d_nand
+* u6 net-_u4-pad3_ net-_u6-pad2_ d_inverter
+* u7 net-_u5-pad3_ net-_u6-pad2_ net-_u7-pad3_ d_xor
+* u8 net-_u7-pad3_ out dac_bridge_1
+* u1 a b net-_u1-pad3_ net-_u1-pad4_ adc_bridge_2
+v2 a gnd pulse(0 5 0.1u 0.1u 0.1u 2u 20u)
+v1 b gnd pulse(5 0 0.1u 0.1u 0.1u 2u 20u)
+* u9 a plot_v1
+* u10 b plot_v1
+* u11 out plot_v1
+a1 [net-_u1-pad3_ net-_u1-pad4_ ] net-_u2-pad3_ u2
+a2 [net-_u1-pad3_ net-_u1-pad4_ ] net-_u3-pad3_ u3
+a3 [net-_u2-pad3_ net-_u3-pad3_ ] net-_u4-pad3_ u4
+a4 [net-_u2-pad3_ net-_u3-pad3_ ] net-_u5-pad3_ u5
+a5 net-_u4-pad3_ net-_u6-pad2_ u6
+a6 [net-_u5-pad3_ net-_u6-pad2_ ] net-_u7-pad3_ u7
+a7 [net-_u7-pad3_ ] [out ] u8
+a8 [a b ] [net-_u1-pad3_ net-_u1-pad4_ ] u1
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u2 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 u3 d_or(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_nor, NgSpice Name: d_nor
+.model u4 d_nor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_nand, NgSpice Name: d_nand
+.model u5 d_nand(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u6 d_inverter(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: d_xor, NgSpice Name: d_xor
+.model u7 d_xor(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 )
+* Schematic Name: dac_bridge_1, NgSpice Name: dac_bridge
+.model u8 dac_bridge(out_undef=0.5 out_low=0.0 out_high=5.0 t_rise=1.0e-9 t_fall=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: adc_bridge_2, NgSpice Name: adc_bridge
+.model u1 adc_bridge(fall_delay=1.0e-9 in_high=2.0 rise_delay=1.0e-9 in_low=1.0 )
+.tran 10e-06 30e-06 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+plot v(a)
+plot v(b)
+plot v(out)
+.endc
+.end
diff --git a/BasicGates/BasicGates.pro b/BasicGates/BasicGates.pro
new file mode 100644
index 0000000..329f39f
--- /dev/null
+++ b/BasicGates/BasicGates.pro
@@ -0,0 +1,47 @@
+update=Mon Feb 29 21:50:04 2016
+last_client=eeschema
+[eeschema]
+version=1
+LibDir=/home/yogesh/FreeEDA/library
+[eeschema/libraries]
+LibName1=BasicGates-rescue
+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
+LibName12=power
+LibName13=device
+LibName14=transistors
+LibName15=conn
+LibName16=linear
+LibName17=regul
+LibName18=74xx
+LibName19=cmos4000
+LibName20=adc-dac
+LibName21=memory
+LibName22=xilinx
+LibName23=special
+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/BasicGates/BasicGates.proj b/BasicGates/BasicGates.proj
new file mode 100644
index 0000000..f8a0441
--- /dev/null
+++ b/BasicGates/BasicGates.proj
@@ -0,0 +1 @@
+schematicFile BasicGates.sch
diff --git a/BasicGates/BasicGates.sch b/BasicGates/BasicGates.sch
new file mode 100644
index 0000000..bd9eb34
--- /dev/null
+++ b/BasicGates/BasicGates.sch
@@ -0,0 +1,467 @@
+EESchema Schematic File Version 2
+LIBS:BasicGates-rescue
+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: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:BasicGates-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "9 dec 2012"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+Text Notes 9150 2850 0 60 ~ 0
+~A.B
+Text Notes 9050 2850 0 60 ~ 0
++
+Text Notes 8900 2850 0 60 ~ 0
+A.B
+Text Notes 8000 2300 0 60 ~ 0
+~B
+Text Notes 7900 2300 0 60 ~ 0
++
+Text Notes 7750 2300 0 60 ~ 0
+=~A
+Text Notes 7900 3650 0 60 ~ 0
+=A+B
+Text Notes 7850 3500 0 60 ~ 0
+A.B+A+B
+Text Notes 6450 3600 0 60 ~ 0
+~((A.B)+(A+B))
+Text Notes 7100 2300 0 60 ~ 0
+~((A.B).(A+B))
+Text Notes 5150 3650 0 60 ~ 0
+A+B
+Text Notes 5100 2250 0 60 ~ 0
+A.B
+Text Notes 3600 3950 0 60 ~ 0
+B
+Text Notes 3500 1650 0 60 ~ 0
+A
+$Comp
+L GND-RESCUE-BasicGates #PWR01
+U 1 1 5072534B
+P 10850 3900
+F 0 "#PWR01" H 10850 3900 30 0001 C CNN
+F 1 "GND" H 10850 3830 30 0001 C CNN
+F 2 "" H 10850 3900 60 0001 C CNN
+F 3 "" H 10850 3900 60 0001 C CNN
+ 1 10850 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PWR_FLAG #FLG02
+U 1 1 507251F2
+P 1800 1700
+F 0 "#FLG02" H 1800 1970 30 0001 C CNN
+F 1 "PWR_FLAG" H 1800 1930 30 0000 C CNN
+F 2 "" H 1800 1700 60 0001 C CNN
+F 3 "" H 1800 1700 60 0001 C CNN
+ 1 1800 1700
+ -1 0 0 1
+$EndComp
+$Comp
+L GND-RESCUE-BasicGates #PWR03
+U 1 1 507251E5
+P 2050 1250
+F 0 "#PWR03" H 2050 1250 30 0001 C CNN
+F 1 "GND" H 2050 1180 30 0001 C CNN
+F 2 "" H 2050 1250 60 0001 C CNN
+F 3 "" H 2050 1250 60 0001 C CNN
+ 1 2050 1250
+ -1 0 0 1
+$EndComp
+$Comp
+L R-RESCUE-BasicGates R3
+U 1 1 507251A7
+P 1400 2200
+F 0 "R3" V 1480 2200 50 0000 C CNN
+F 1 "1000" V 1400 2200 50 0000 C CNN
+F 2 "" H 1400 2200 60 0001 C CNN
+F 3 "" H 1400 2200 60 0001 C CNN
+ 1 1400 2200
+ -1 0 0 1
+$EndComp
+$Comp
+L R-RESCUE-BasicGates R2
+U 1 1 50652FB6
+P 10850 3350
+F 0 "R2" V 10930 3350 50 0000 C CNN
+F 1 "1000" V 10850 3350 50 0000 C CNN
+F 2 "" H 10850 3350 60 0001 C CNN
+F 3 "" H 10850 3350 60 0001 C CNN
+ 1 10850 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L R-RESCUE-BasicGates R1
+U 1 1 505C9F25
+P 2200 5100
+F 0 "R1" V 2280 5100 50 0000 C CNN
+F 1 "1000" V 2200 5100 50 0000 C CNN
+F 2 "" H 2200 5100 60 0001 C CNN
+F 3 "" H 2200 5100 60 0001 C CNN
+ 1 2200 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND-RESCUE-BasicGates #PWR04
+U 1 1 505C9EE8
+P 1650 5900
+F 0 "#PWR04" H 1650 5900 30 0001 C CNN
+F 1 "GND" H 1650 5830 30 0001 C CNN
+F 2 "" H 1650 5900 60 0001 C CNN
+F 3 "" H 1650 5900 60 0001 C CNN
+ 1 1650 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U2
+U 1 1 5575A2C1
+P 4450 2350
+F 0 "U2" H 4450 2350 60 0000 C CNN
+F 1 "d_and" H 4500 2450 60 0000 C CNN
+F 2 "" H 4450 2350 60 0000 C CNN
+F 3 "" H 4450 2350 60 0000 C CNN
+ 1 4450 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U3
+U 1 1 5575A328
+P 4550 3550
+F 0 "U3" H 4550 3550 60 0000 C CNN
+F 1 "d_or" H 4550 3650 60 0000 C CNN
+F 2 "" H 4550 3550 60 0000 C CNN
+F 3 "" H 4550 3550 60 0000 C CNN
+ 1 4550 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_nor U4
+U 1 1 5575A38D
+P 6200 3450
+F 0 "U4" H 6200 3450 60 0000 C CNN
+F 1 "d_nor" H 6250 3550 60 0000 C CNN
+F 2 "" H 6200 3450 60 0000 C CNN
+F 3 "" H 6200 3450 60 0000 C CNN
+ 1 6200 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_nand U5
+U 1 1 5575A3E6
+P 6450 2450
+F 0 "U5" H 6450 2450 60 0000 C CNN
+F 1 "d_nand" H 6500 2550 60 0000 C CNN
+F 2 "" H 6450 2450 60 0000 C CNN
+F 3 "" H 6450 2450 60 0000 C CNN
+ 1 6450 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_inverter U6
+U 1 1 5575A56B
+P 7400 3400
+F 0 "U6" H 7400 3300 60 0000 C CNN
+F 1 "d_inverter" H 7400 3550 60 0000 C CNN
+F 2 "" H 7450 3350 60 0000 C CNN
+F 3 "" H 7450 3350 60 0000 C CNN
+ 1 7400 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_xor U7
+U 1 1 5575A5B8
+P 8600 3050
+F 0 "U7" H 8600 3050 60 0000 C CNN
+F 1 "d_xor" H 8650 3150 47 0000 C CNN
+F 2 "" H 8600 3050 60 0000 C CNN
+F 3 "" H 8600 3050 60 0000 C CNN
+ 1 8600 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L dac_bridge_1 U8
+U 1 1 5575A633
+P 9800 3050
+F 0 "U8" H 9800 3050 60 0000 C CNN
+F 1 "dac_bridge_1" H 9800 3200 60 0000 C CNN
+F 2 "" H 9800 3050 60 0000 C CNN
+F 3 "" H 9800 3050 60 0000 C CNN
+ 1 9800 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L adc_bridge_2 U1
+U 1 1 5575A8EB
+P 2850 3200
+F 0 "U1" H 2850 3200 60 0000 C CNN
+F 1 "adc_bridge_2" H 2850 3350 60 0000 C CNN
+F 2 "" H 2850 3200 60 0000 C CNN
+F 3 "" H 2850 3200 60 0000 C CNN
+ 1 2850 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L pulse v2
+U 1 1 5575AD50
+P 2050 2150
+F 0 "v2" H 1850 2250 60 0000 C CNN
+F 1 "pulse" H 1850 2100 60 0000 C CNN
+F 2 "R1" H 1750 2150 60 0000 C CNN
+F 3 "" H 2050 2150 60 0000 C CNN
+ 1 2050 2150
+ 1 0 0 1
+$EndComp
+$Comp
+L pulse v1
+U 1 1 5575AE1A
+P 1650 5100
+F 0 "v1" H 1450 5200 60 0000 C CNN
+F 1 "pulse" H 1450 5050 60 0000 C CNN
+F 2 "R1" H 1350 5100 60 0000 C CNN
+F 3 "" H 1650 5100 60 0000 C CNN
+ 1 1650 5100
+ 1 0 0 -1
+$EndComp
+Text GLabel 2200 2950 2 60 Input ~ 0
+A
+Text GLabel 2250 3450 2 60 Input ~ 0
+B
+Wire Wire Line
+ 1650 4500 2200 4500
+Wire Wire Line
+ 3500 3800 3750 3800
+Wire Wire Line
+ 7900 3100 7850 3100
+Wire Wire Line
+ 7850 3100 7850 3400
+Wire Wire Line
+ 7850 3400 7700 3400
+Connection ~ 5300 2300
+Wire Wire Line
+ 5300 2300 5300 3300
+Wire Wire Line
+ 5300 3300 5500 3300
+Wire Wire Line
+ 5000 3500 5500 3500
+Wire Wire Line
+ 7900 2900 7350 2900
+Wire Wire Line
+ 7350 2900 7350 2400
+Wire Wire Line
+ 7350 2400 6900 2400
+Connection ~ 3750 2200
+Wire Wire Line
+ 3900 3400 3750 3400
+Wire Wire Line
+ 3750 3400 3750 2200
+Wire Wire Line
+ 3650 2200 3850 2200
+Wire Wire Line
+ 3650 1700 3650 2200
+Connection ~ 1800 1500
+Wire Wire Line
+ 1800 1500 1800 1700
+Wire Wire Line
+ 2200 4500 2200 4950
+Wire Wire Line
+ 1650 4500 1650 4650
+Wire Wire Line
+ 1400 1500 1400 2050
+Wire Wire Line
+ 1400 1500 2050 1500
+Connection ~ 1650 5750
+Wire Wire Line
+ 2200 5750 1650 5750
+Wire Wire Line
+ 2200 5250 2200 5750
+Wire Wire Line
+ 1650 5550 1650 5900
+Wire Wire Line
+ 2050 2600 2050 3150
+Wire Wire Line
+ 1400 2350 1400 2750
+Wire Wire Line
+ 2050 1700 2050 1250
+Connection ~ 2050 1500
+Wire Wire Line
+ 3900 3600 3750 3600
+Wire Wire Line
+ 3750 3600 3750 3800
+Wire Wire Line
+ 3600 2350 3600 3800
+Wire Wire Line
+ 4900 2300 5800 2300
+Wire Wire Line
+ 5800 2500 5200 2500
+Wire Wire Line
+ 5200 2500 5200 3500
+Connection ~ 5200 3500
+Wire Wire Line
+ 6650 3400 7100 3400
+Wire Wire Line
+ 10850 3500 10850 3900
+Connection ~ 3600 3800
+Wire Wire Line
+ 3400 3250 3500 3250
+Wire Wire Line
+ 3500 3250 3500 3800
+Wire Wire Line
+ 3500 3150 3400 3150
+Wire Wire Line
+ 3500 1700 3500 3150
+Wire Wire Line
+ 3500 1700 3650 1700
+Wire Wire Line
+ 2050 3150 2250 3150
+Wire Wire Line
+ 1400 2750 2350 2750
+Connection ~ 2050 2750
+Wire Wire Line
+ 2250 3250 2050 3250
+Wire Wire Line
+ 2050 3250 2050 4500
+Connection ~ 2050 4500
+Wire Wire Line
+ 3850 2200 3850 2250
+Wire Wire Line
+ 3850 2250 4000 2250
+Wire Wire Line
+ 4000 2350 3600 2350
+Wire Wire Line
+ 3900 3400 3900 3450
+Wire Wire Line
+ 3900 3450 4100 3450
+Wire Wire Line
+ 3900 3600 3900 3550
+Wire Wire Line
+ 3900 3550 4100 3550
+Wire Wire Line
+ 5800 2300 5800 2350
+Wire Wire Line
+ 5800 2350 6000 2350
+Wire Wire Line
+ 5800 2500 5800 2450
+Wire Wire Line
+ 5800 2450 6000 2450
+Wire Wire Line
+ 5500 3300 5500 3350
+Wire Wire Line
+ 5500 3350 5750 3350
+Wire Wire Line
+ 5500 3500 5500 3450
+Wire Wire Line
+ 5500 3450 5750 3450
+Wire Wire Line
+ 7900 2900 7900 2950
+Wire Wire Line
+ 7900 2950 8150 2950
+Wire Wire Line
+ 7900 3100 7900 3050
+Wire Wire Line
+ 7900 3050 8150 3050
+Wire Wire Line
+ 9050 3000 9200 3000
+Wire Wire Line
+ 10350 3000 10850 3000
+Wire Wire Line
+ 10850 3000 10850 3200
+Wire Wire Line
+ 2200 2950 2050 2950
+Connection ~ 2050 2950
+Wire Wire Line
+ 2250 3450 2050 3450
+Connection ~ 2050 3450
+Text GLabel 10850 2800 2 60 Input ~ 0
+OUT
+Wire Wire Line
+ 10700 2700 10700 3000
+Connection ~ 10700 3000
+$Comp
+L plot_v1 U9
+U 1 1 56D473A0
+P 2350 2900
+F 0 "U9" H 2350 3400 60 0000 C CNN
+F 1 "plot_v1" H 2550 3250 60 0000 C CNN
+F 2 "" H 2350 2900 60 0000 C CNN
+F 3 "" H 2350 2900 60 0000 C CNN
+ 1 2350 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U10
+U 1 1 56D4742D
+P 2350 4400
+F 0 "U10" H 2350 4900 60 0000 C CNN
+F 1 "plot_v1" H 2550 4750 60 0000 C CNN
+F 2 "" H 2350 4400 60 0000 C CNN
+F 3 "" H 2350 4400 60 0000 C CNN
+ 1 2350 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L plot_v1 U11
+U 1 1 56D47776
+P 10700 2900
+F 0 "U11" H 10700 3400 60 0000 C CNN
+F 1 "plot_v1" H 10900 3250 60 0000 C CNN
+F 2 "" H 10700 2900 60 0000 C CNN
+F 3 "" H 10700 2900 60 0000 C CNN
+ 1 10700 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2350 2750 2350 2700
+Wire Wire Line
+ 2350 4200 2050 4200
+Connection ~ 2050 4200
+Wire Wire Line
+ 10850 2800 10700 2800
+Connection ~ 10700 2800
+$EndSCHEMATC
diff --git a/BasicGates/BasicGates_Previous_Values.xml b/BasicGates/BasicGates_Previous_Values.xml
new file mode 100644
index 0000000..cac329c
--- /dev/null
+++ b/BasicGates/BasicGates_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v2 name="Source type">pulse<field1 name="Initial Value">0</field1><field2 name="Pulse Value">5</field2><field3 name="Delay Time">0.1u</field3><field4 name="Rise Time">0.1u</field4><field5 name="Fall Time">0.1u</field5><field5 name="Pulse width">2u</field5><field5 name="Period">20u</field5></v2><v1 name="Source type">pulse<field1 name="Initial Value">5</field1><field2 name="Pulse Value">0</field2><field3 name="Delay Time">0.1u</field3><field4 name="Rise Time">0.1u</field4><field5 name="Fall Time">0.1u</field5><field5 name="Pulse width">2u</field5><field5 name="Period">20u</field5></v1></source><model><u2 name="type">d_and<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><u3 name="type">d_or<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)" /></u3><u4 name="type">d_nor<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><u5 name="type">d_nand<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)" /></u5><u6 name="type">d_inverter<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><u7 name="type">d_xor<field16 name="Enter Fall Delay (default=1.0e-9)" /><field17 name="Enter Input Load (default=1.0e-12)" /><field18 name="Enter Rise Delay (default=1.0e-9)" /></u7><u8 name="type">dac_bridge<field19 name="Enter value for input load (default=1.0e-12)" /><field20 name="Enter value for out_low (default=0.0)" /><field21 name="Enter value for out_high (default=5.0)" /><field22 name="Enter the Rise Time (default=1.0e-9)" /><field23 name="Enter the Fall Time (default=1.0e-9)" /><field24 name="Enter value for out_undef (default=0.5)" /></u8><u1 name="type">adc_bridge<field25 name="Enter Fall Delay (default=1.0e-9)" /><field26 name="Enter value for in_high (default=2.0)" /><field27 name="Enter Rise Delay (default=1.0e-9)" /><field28 name="Enter value for in_low (default=1.0)" /></u1></model><devicemodel /><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">0</field1><field2 name="Step Time">10</field2><field3 name="Stop Time">30</field3><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">us</field5><field6 name="Stop Combo">us</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/BasicGates/BasicGates_last_input.txt b/BasicGates/BasicGates_last_input.txt
new file mode 100644
index 0000000..5d6f4aa
--- /dev/null
+++ b/BasicGates/BasicGates_last_input.txt
@@ -0,0 +1,20 @@
+v2 8 0 pulse(0 5 0 0 0 2 20)
+v1 4 0 pulse(5 0 0 0 0 2 20)
+.model u12 d_xor
+.model u12adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u12dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+.model u8 d_or
+.model u8adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u8dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+.model u7 d_and
+.model u7adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u7dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+.model u9 d_nor
+.model u9adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u9dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+.model u11 d_inverter
+.model u11adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u11dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+.model u10 d_nand
+.model u10adc adc_bridge(in_low=0.8 in_high=2.0)
+.model u10dac dac_bridge(out_low=0.25 out_high=5.0 out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
diff --git a/BasicGates/analysis b/BasicGates/analysis
new file mode 100644
index 0000000..2acaeed
--- /dev/null
+++ b/BasicGates/analysis
@@ -0,0 +1 @@
+.tran 10e-06 30e-06 0e-00 \ No newline at end of file
diff --git a/BasicGates/plot_data_i.txt b/BasicGates/plot_data_i.txt
new file mode 100644
index 0000000..57a9c0d
--- /dev/null
+++ b/BasicGates/plot_data_i.txt
@@ -0,0 +1,335 @@
+ * /home/fossee/downloads/labmigration/lm_solve/basicgates/basicgates.cir
+ Transient Analysis Thu Mar 3 18:27:58 2016
+--------------------------------------------------------------------------------
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 -5.00000e-03 0.000000e+00
+1 1.000000e-09 0.000000e+00 -5.00000e-03 0.000000e+00
+2 2.000000e-09 0.000000e+00 -5.00000e-03 0.000000e+00
+3 4.000000e-09 0.000000e+00 -5.00000e-03 0.000000e+00
+4 8.000000e-09 0.000000e+00 -5.00000e-03 0.000000e+00
+5 1.600000e-08 0.000000e+00 -5.00000e-03 0.000000e+00
+6 3.200000e-08 0.000000e+00 -5.00000e-03 0.000000e+00
+7 6.400000e-08 0.000000e+00 -5.00000e-03 0.000000e+00
+8 1.000000e-07 0.000000e+00 -5.00000e-03 0.000000e+00
+9 1.064000e-07 0.000000e+00 -4.68000e-03 -3.20000e-04
+10 1.192000e-07 0.000000e+00 -4.04000e-03 -9.60000e-04
+11 1.448000e-07 0.000000e+00 -2.76000e-03 -2.24000e-03
+12 1.488000e-07 0.000000e+00 -2.56000e-03 -2.44000e-03
+13 1.489000e-07 -5.00000e-04 -2.55500e-03 -2.44500e-03
+14 1.491000e-07 -1.50000e-03 -2.54500e-03 -2.45500e-03
+15 1.495000e-07 -3.50000e-03 -2.52500e-03 -2.47500e-03
+16 1.498000e-07 -5.00000e-03 -2.51000e-03 -2.49000e-03
+17 1.498800e-07 -5.00000e-03 -2.50600e-03 -2.49400e-03
+18 1.500400e-07 -5.00000e-03 -2.49800e-03 -2.50200e-03
+19 1.503600e-07 -5.00000e-03 -2.48200e-03 -2.51800e-03
+20 1.510000e-07 -5.00000e-03 -2.45000e-03 -2.55000e-03
+21 1.522800e-07 -5.00000e-03 -2.38600e-03 -2.61400e-03
+22 1.548400e-07 -5.00000e-03 -2.25800e-03 -2.74200e-03
+23 1.599600e-07 -5.00000e-03 -2.00200e-03 -2.99800e-03
+24 1.702000e-07 -5.00000e-03 -1.49000e-03 -3.51000e-03
+25 1.742000e-07 -5.00000e-03 -1.29000e-03 -3.71000e-03
+26 1.742900e-07 -4.55000e-03 -1.28550e-03 -3.71450e-03
+27 1.744700e-07 -3.65000e-03 -1.27650e-03 -3.72350e-03
+28 1.748300e-07 -1.85000e-03 -1.25850e-03 -3.74150e-03
+29 1.751000e-07 -5.00000e-04 -1.24500e-03 -3.75500e-03
+30 1.751720e-07 -5.00000e-04 -1.24140e-03 -3.75860e-03
+31 1.753160e-07 -5.00000e-04 -1.23420e-03 -3.76580e-03
+32 1.756040e-07 -5.00000e-04 -1.21980e-03 -3.78020e-03
+33 1.761800e-07 -5.00000e-04 -1.19100e-03 -3.80900e-03
+34 1.773320e-07 -5.00000e-04 -1.13340e-03 -3.86660e-03
+35 1.796360e-07 -5.00000e-04 -1.01820e-03 -3.98180e-03
+36 1.842440e-07 -5.00000e-04 -7.87800e-04 -4.21220e-03
+37 1.882440e-07 -5.00000e-04 -5.87800e-04 -4.41220e-03
+38 1.882540e-07 -4.50000e-04 -5.87300e-04 -4.41270e-03
+39 1.882740e-07 -3.50000e-04 -5.86300e-04 -4.41370e-03
+40 1.883140e-07 -1.50000e-04 -5.84300e-04 -4.41570e-03
+41 1.883440e-07 0.000000e+00 -5.82800e-04 -4.41720e-03
+42 1.883520e-07 0.000000e+00 -5.82400e-04 -4.41760e-03
+43 1.883680e-07 0.000000e+00 -5.81600e-04 -4.41840e-03
+44 1.884000e-07 0.000000e+00 -5.80000e-04 -4.42000e-03
+45 1.884640e-07 0.000000e+00 -5.76800e-04 -4.42320e-03
+46 1.885920e-07 0.000000e+00 -5.70400e-04 -4.42960e-03
+47 1.888480e-07 0.000000e+00 -5.57600e-04 -4.44240e-03
+48 1.893600e-07 0.000000e+00 -5.32000e-04 -4.46800e-03
+49 1.903840e-07 0.000000e+00 -4.80800e-04 -4.51920e-03
+50 1.924320e-07 0.000000e+00 -3.78400e-04 -4.62160e-03
+51 1.965280e-07 0.000000e+00 -1.73600e-04 -4.82640e-03
+52 2.000000e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+53 2.008192e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+54 2.024576e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+55 2.057344e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+56 2.122880e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+57 2.253952e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+58 2.516096e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+59 3.040384e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+60 4.088960e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+61 6.186112e-07 0.000000e+00 0.000000e+00 -5.00000e-03
+62 1.038042e-06 0.000000e+00 0.000000e+00 -5.00000e-03
+63 1.638042e-06 0.000000e+00 0.000000e+00 -5.00000e-03
+64 2.200000e-06 0.000000e+00 -2.11758e-17 -5.00000e-03
+65 2.210000e-06 0.000000e+00 -5.00000e-04 -4.50000e-03
+66 2.230000e-06 0.000000e+00 -1.50000e-03 -3.50000e-03
+67 2.234000e-06 0.000000e+00 -1.70000e-03 -3.30000e-03
+68 2.234010e-06 -5.00000e-05 -1.70050e-03 -3.29950e-03
+69 2.234030e-06 -1.50000e-04 -1.70150e-03 -3.29850e-03
+70 2.234070e-06 -3.50000e-04 -1.70350e-03 -3.29650e-03
+71 2.234100e-06 -5.00000e-04 -1.70500e-03 -3.29500e-03
+72 2.234108e-06 -5.00000e-04 -1.70540e-03 -3.29460e-03
+73 2.234124e-06 -5.00000e-04 -1.70620e-03 -3.29380e-03
+74 2.234156e-06 -5.00000e-04 -1.70780e-03 -3.29220e-03
+75 2.234220e-06 -5.00000e-04 -1.71100e-03 -3.28900e-03
+76 2.234348e-06 -5.00000e-04 -1.71740e-03 -3.28260e-03
+77 2.234604e-06 -5.00000e-04 -1.73020e-03 -3.26980e-03
+78 2.235116e-06 -5.00000e-04 -1.75580e-03 -3.24420e-03
+79 2.236140e-06 -5.00000e-04 -1.80700e-03 -3.19300e-03
+80 2.238188e-06 -5.00000e-04 -1.90940e-03 -3.09060e-03
+81 2.242284e-06 -5.00000e-04 -2.11420e-03 -2.88580e-03
+82 2.246284e-06 -5.00000e-04 -2.31420e-03 -2.68580e-03
+83 2.246374e-06 -9.50000e-04 -2.31870e-03 -2.68130e-03
+84 2.246554e-06 -1.85000e-03 -2.32770e-03 -2.67230e-03
+85 2.246914e-06 -3.65000e-03 -2.34570e-03 -2.65430e-03
+86 2.247184e-06 -5.00000e-03 -2.35920e-03 -2.64080e-03
+87 2.247256e-06 -5.00000e-03 -2.36280e-03 -2.63720e-03
+88 2.247400e-06 -5.00000e-03 -2.37000e-03 -2.63000e-03
+89 2.247688e-06 -5.00000e-03 -2.38440e-03 -2.61560e-03
+90 2.248264e-06 -5.00000e-03 -2.41320e-03 -2.58680e-03
+91 2.249416e-06 -5.00000e-03 -2.47080e-03 -2.52920e-03
+92 2.251720e-06 -5.00000e-03 -2.58600e-03 -2.41400e-03
+93 2.256328e-06 -5.00000e-03 -2.81640e-03 -2.18360e-03
+94 2.265544e-06 -5.00000e-03 -3.27720e-03 -1.72280e-03
+95 2.269544e-06 -5.00000e-03 -3.47720e-03 -1.52280e-03
+96 2.269634e-06 -4.55000e-03 -3.48170e-03 -1.51830e-03
+97 2.269814e-06 -3.65000e-03 -3.49070e-03 -1.50930e-03
+98 2.270174e-06 -1.85000e-03 -3.50870e-03 -1.49130e-03
+99 2.270444e-06 -5.00000e-04 -3.52220e-03 -1.47780e-03
+100 2.270516e-06 -5.00000e-04 -3.52580e-03 -1.47420e-03
+101 2.270660e-06 -5.00000e-04 -3.53300e-03 -1.46700e-03
+102 2.270948e-06 -5.00000e-04 -3.54740e-03 -1.45260e-03
+103 2.271524e-06 -5.00000e-04 -3.57620e-03 -1.42380e-03
+104 2.272676e-06 -5.00000e-04 -3.63380e-03 -1.36620e-03
+105 2.274980e-06 -5.00000e-04 -3.74900e-03 -1.25100e-03
+106 2.279588e-06 -5.00000e-04 -3.97940e-03 -1.02060e-03
+107 2.288804e-06 -5.00000e-04 -4.44020e-03 -5.59800e-04
+108 2.292804e-06 -5.00000e-04 -4.64020e-03 -3.59800e-04
+109 2.292814e-06 -4.50000e-04 -4.64070e-03 -3.59300e-04
+110 2.292834e-06 -3.50000e-04 -4.64170e-03 -3.58300e-04
+111 2.292874e-06 -1.50000e-04 -4.64370e-03 -3.56300e-04
+112 2.292904e-06 -1.02124e-15 -4.64520e-03 -3.54800e-04
+
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+113 2.292912e-06 0.000000e+00 -4.64560e-03 -3.54400e-04
+114 2.292928e-06 0.000000e+00 -4.64640e-03 -3.53600e-04
+115 2.292960e-06 0.000000e+00 -4.64800e-03 -3.52000e-04
+116 2.293024e-06 0.000000e+00 -4.65120e-03 -3.48800e-04
+117 2.293152e-06 0.000000e+00 -4.65760e-03 -3.42400e-04
+118 2.293408e-06 0.000000e+00 -4.67040e-03 -3.29600e-04
+119 2.293920e-06 0.000000e+00 -4.69600e-03 -3.04000e-04
+120 2.294944e-06 0.000000e+00 -4.74720e-03 -2.52800e-04
+121 2.296992e-06 0.000000e+00 -4.84960e-03 -1.50400e-04
+122 2.300000e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+123 2.300410e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+124 2.301229e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+125 2.302867e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+126 2.306144e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+127 2.312698e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+128 2.325805e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+129 2.352019e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+130 2.404448e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+131 2.509306e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+132 2.719021e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+133 3.138451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+134 3.738451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+135 4.338451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+136 4.938451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+137 5.538451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+138 6.138451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+139 6.738451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+140 7.338451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+141 7.938451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+142 8.538451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+143 9.138451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+144 9.738451e-06 0.000000e+00 -5.00000e-03 0.000000e+00
+145 1.033845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+146 1.093845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+147 1.153845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+148 1.213845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+149 1.273845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+150 1.333845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+151 1.393845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+152 1.453845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+153 1.513845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+154 1.573845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+155 1.633845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+156 1.693845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+157 1.753845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+158 1.813845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+159 1.873845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+160 1.933845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+161 1.993845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+162 2.010000e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+163 2.011000e-05 0.000000e+00 -4.50000e-03 -5.00000e-04
+164 2.013000e-05 0.000000e+00 -3.50000e-03 -1.50000e-03
+165 2.013400e-05 0.000000e+00 -3.30000e-03 -1.70000e-03
+166 2.013401e-05 -5.00000e-05 -3.29950e-03 -1.70050e-03
+167 2.013403e-05 -1.50000e-04 -3.29850e-03 -1.70150e-03
+168 2.013407e-05 -3.50000e-04 -3.29650e-03 -1.70350e-03
+169 2.013410e-05 -5.00000e-04 -3.29500e-03 -1.70500e-03
+170 2.013411e-05 -5.00000e-04 -3.29460e-03 -1.70540e-03
+
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+171 2.013412e-05 -5.00000e-04 -3.29380e-03 -1.70620e-03
+172 2.013416e-05 -5.00000e-04 -3.29220e-03 -1.70780e-03
+173 2.013422e-05 -5.00000e-04 -3.28900e-03 -1.71100e-03
+174 2.013435e-05 -5.00000e-04 -3.28260e-03 -1.71740e-03
+175 2.013460e-05 -5.00000e-04 -3.26980e-03 -1.73020e-03
+176 2.013512e-05 -5.00000e-04 -3.24420e-03 -1.75580e-03
+177 2.013614e-05 -5.00000e-04 -3.19300e-03 -1.80700e-03
+178 2.013819e-05 -5.00000e-04 -3.09060e-03 -1.90940e-03
+179 2.014228e-05 -5.00000e-04 -2.88580e-03 -2.11420e-03
+180 2.014628e-05 -5.00000e-04 -2.68580e-03 -2.31420e-03
+181 2.014637e-05 -9.50000e-04 -2.68130e-03 -2.31870e-03
+182 2.014655e-05 -1.85000e-03 -2.67230e-03 -2.32770e-03
+183 2.014691e-05 -3.65000e-03 -2.65430e-03 -2.34570e-03
+184 2.014718e-05 -5.00000e-03 -2.64080e-03 -2.35920e-03
+185 2.014726e-05 -5.00000e-03 -2.63720e-03 -2.36280e-03
+186 2.014740e-05 -5.00000e-03 -2.63000e-03 -2.37000e-03
+187 2.014769e-05 -5.00000e-03 -2.61560e-03 -2.38440e-03
+188 2.014826e-05 -5.00000e-03 -2.58680e-03 -2.41320e-03
+189 2.014942e-05 -5.00000e-03 -2.52920e-03 -2.47080e-03
+190 2.015172e-05 -5.00000e-03 -2.41400e-03 -2.58600e-03
+191 2.015633e-05 -5.00000e-03 -2.18360e-03 -2.81640e-03
+192 2.016554e-05 -5.00000e-03 -1.72280e-03 -3.27720e-03
+193 2.016954e-05 -5.00000e-03 -1.52280e-03 -3.47720e-03
+194 2.016963e-05 -4.55000e-03 -1.51830e-03 -3.48170e-03
+195 2.016981e-05 -3.65000e-03 -1.50930e-03 -3.49070e-03
+196 2.017017e-05 -1.85000e-03 -1.49130e-03 -3.50870e-03
+197 2.017044e-05 -5.00000e-04 -1.47780e-03 -3.52220e-03
+198 2.017052e-05 -5.00000e-04 -1.47420e-03 -3.52580e-03
+199 2.017066e-05 -5.00000e-04 -1.46700e-03 -3.53300e-03
+200 2.017095e-05 -5.00000e-04 -1.45260e-03 -3.54740e-03
+201 2.017152e-05 -5.00000e-04 -1.42380e-03 -3.57620e-03
+202 2.017268e-05 -5.00000e-04 -1.36620e-03 -3.63380e-03
+203 2.017498e-05 -5.00000e-04 -1.25100e-03 -3.74900e-03
+204 2.017959e-05 -5.00000e-04 -1.02060e-03 -3.97940e-03
+205 2.018880e-05 -5.00000e-04 -5.59800e-04 -4.44020e-03
+206 2.019280e-05 -5.00000e-04 -3.59800e-04 -4.64020e-03
+207 2.019281e-05 -4.50000e-04 -3.59300e-04 -4.64070e-03
+208 2.019283e-05 -3.50000e-04 -3.58300e-04 -4.64170e-03
+209 2.019287e-05 -1.50000e-04 -3.56300e-04 -4.64370e-03
+210 2.019290e-05 0.000000e+00 -3.54800e-04 -4.64520e-03
+211 2.019291e-05 0.000000e+00 -3.54400e-04 -4.64560e-03
+212 2.019293e-05 0.000000e+00 -3.53600e-04 -4.64640e-03
+213 2.019296e-05 0.000000e+00 -3.52000e-04 -4.64800e-03
+214 2.019302e-05 0.000000e+00 -3.48800e-04 -4.65120e-03
+215 2.019315e-05 0.000000e+00 -3.42400e-04 -4.65760e-03
+216 2.019341e-05 0.000000e+00 -3.29600e-04 -4.67040e-03
+217 2.019392e-05 0.000000e+00 -3.04000e-04 -4.69600e-03
+218 2.019494e-05 0.000000e+00 -2.52800e-04 -4.74720e-03
+219 2.019699e-05 0.000000e+00 -1.50400e-04 -4.84960e-03
+220 2.020000e-05 0.000000e+00 -4.79616e-17 -5.00000e-03
+221 2.020041e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+222 2.020123e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+223 2.020287e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+224 2.020614e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+225 2.021270e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+226 2.022580e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+227 2.025202e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+228 2.030445e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+229 2.040931e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+230 2.061902e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+231 2.103845e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+232 2.163845e-05 0.000000e+00 0.000000e+00 -5.00000e-03
+233 2.220000e-05 0.000000e+00 -2.11758e-17 -5.00000e-03
+234 2.221000e-05 0.000000e+00 -5.00000e-04 -4.50000e-03
+235 2.223000e-05 0.000000e+00 -1.50000e-03 -3.50000e-03
+236 2.223400e-05 0.000000e+00 -1.70000e-03 -3.30000e-03
+237 2.223401e-05 -5.00000e-05 -1.70050e-03 -3.29950e-03
+238 2.223403e-05 -1.50000e-04 -1.70150e-03 -3.29850e-03
+239 2.223407e-05 -3.50000e-04 -1.70350e-03 -3.29650e-03
+240 2.223410e-05 -5.00000e-04 -1.70500e-03 -3.29500e-03
+241 2.223411e-05 -5.00000e-04 -1.70540e-03 -3.29460e-03
+242 2.223412e-05 -5.00000e-04 -1.70620e-03 -3.29380e-03
+243 2.223416e-05 -5.00000e-04 -1.70780e-03 -3.29220e-03
+244 2.223422e-05 -5.00000e-04 -1.71100e-03 -3.28900e-03
+245 2.223435e-05 -5.00000e-04 -1.71740e-03 -3.28260e-03
+246 2.223460e-05 -5.00000e-04 -1.73020e-03 -3.26980e-03
+247 2.223512e-05 -5.00000e-04 -1.75580e-03 -3.24420e-03
+248 2.223614e-05 -5.00000e-04 -1.80700e-03 -3.19300e-03
+249 2.223819e-05 -5.00000e-04 -1.90940e-03 -3.09060e-03
+250 2.224228e-05 -5.00000e-04 -2.11420e-03 -2.88580e-03
+251 2.224628e-05 -5.00000e-04 -2.31420e-03 -2.68580e-03
+252 2.224637e-05 -9.50000e-04 -2.31870e-03 -2.68130e-03
+253 2.224655e-05 -1.85000e-03 -2.32770e-03 -2.67230e-03
+254 2.224691e-05 -3.65000e-03 -2.34570e-03 -2.65430e-03
+255 2.224718e-05 -5.00000e-03 -2.35920e-03 -2.64080e-03
+256 2.224726e-05 -5.00000e-03 -2.36280e-03 -2.63720e-03
+257 2.224740e-05 -5.00000e-03 -2.37000e-03 -2.63000e-03
+258 2.224769e-05 -5.00000e-03 -2.38440e-03 -2.61560e-03
+259 2.224826e-05 -5.00000e-03 -2.41320e-03 -2.58680e-03
+260 2.224942e-05 -5.00000e-03 -2.47080e-03 -2.52920e-03
+261 2.225172e-05 -5.00000e-03 -2.58600e-03 -2.41400e-03
+262 2.225633e-05 -5.00000e-03 -2.81640e-03 -2.18360e-03
+263 2.226554e-05 -5.00000e-03 -3.27720e-03 -1.72280e-03
+264 2.226954e-05 -5.00000e-03 -3.47720e-03 -1.52280e-03
+265 2.226963e-05 -4.55000e-03 -3.48170e-03 -1.51830e-03
+266 2.226981e-05 -3.65000e-03 -3.49070e-03 -1.50930e-03
+267 2.227017e-05 -1.85000e-03 -3.50870e-03 -1.49130e-03
+268 2.227044e-05 -5.00000e-04 -3.52220e-03 -1.47780e-03
+269 2.227052e-05 -5.00000e-04 -3.52580e-03 -1.47420e-03
+270 2.227066e-05 -5.00000e-04 -3.53300e-03 -1.46700e-03
+271 2.227095e-05 -5.00000e-04 -3.54740e-03 -1.45260e-03
+272 2.227152e-05 -5.00000e-04 -3.57620e-03 -1.42380e-03
+273 2.227268e-05 -5.00000e-04 -3.63380e-03 -1.36620e-03
+274 2.227498e-05 -5.00000e-04 -3.74900e-03 -1.25100e-03
+275 2.227959e-05 -5.00000e-04 -3.97940e-03 -1.02060e-03
+276 2.228880e-05 -5.00000e-04 -4.44020e-03 -5.59800e-04
+277 2.229280e-05 -5.00000e-04 -4.64020e-03 -3.59800e-04
+278 2.229281e-05 -4.50000e-04 -4.64070e-03 -3.59300e-04
+279 2.229283e-05 -3.50000e-04 -4.64170e-03 -3.58300e-04
+280 2.229287e-05 -1.50000e-04 -4.64370e-03 -3.56300e-04
+281 2.229290e-05 0.000000e+00 -4.64520e-03 -3.54800e-04
+282 2.229291e-05 0.000000e+00 -4.64560e-03 -3.54400e-04
+283 2.229293e-05 0.000000e+00 -4.64640e-03 -3.53600e-04
+284 2.229296e-05 0.000000e+00 -4.64800e-03 -3.52000e-04
+285 2.229302e-05 0.000000e+00 -4.65120e-03 -3.48800e-04
+286 2.229315e-05 0.000000e+00 -4.65760e-03 -3.42400e-04
+
+Index time a7#branch_1_0 v1#branch v2#branch
+--------------------------------------------------------------------------------
+287 2.229341e-05 0.000000e+00 -4.67040e-03 -3.29600e-04
+288 2.229392e-05 0.000000e+00 -4.69600e-03 -3.04000e-04
+289 2.229494e-05 0.000000e+00 -4.74720e-03 -2.52800e-04
+290 2.229699e-05 0.000000e+00 -4.84960e-03 -1.50400e-04
+291 2.230000e-05 0.000000e+00 -5.00000e-03 -2.66454e-17
+292 2.230041e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+293 2.230123e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+294 2.230287e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+295 2.230614e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+296 2.231270e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+297 2.232580e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+298 2.235202e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+299 2.240445e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+300 2.250931e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+301 2.271902e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+302 2.313845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+303 2.373845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+304 2.433845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+305 2.493845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+306 2.553845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+307 2.613845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+308 2.673845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+309 2.733845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+310 2.793845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+311 2.853845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+312 2.913845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+313 2.973845e-05 0.000000e+00 -5.00000e-03 0.000000e+00
+314 3.000000e-05 0.000000e+00 -5.00000e-03 0.000000e+00
diff --git a/BasicGates/plot_data_v.txt b/BasicGates/plot_data_v.txt
new file mode 100644
index 0000000..849b5ff
--- /dev/null
+++ b/BasicGates/plot_data_v.txt
@@ -0,0 +1,335 @@
+ * /home/fossee/downloads/labmigration/lm_solve/basicgates/basicgates.cir
+ Transient Analysis Thu Mar 3 18:27:58 2016
+--------------------------------------------------------------------------------
+Index time a b out
+--------------------------------------------------------------------------------
+0 0.000000e+00 0.000000e+00 5.000000e+00 0.000000e+00
+1 1.000000e-09 0.000000e+00 5.000000e+00 0.000000e+00
+2 2.000000e-09 0.000000e+00 5.000000e+00 0.000000e+00
+3 4.000000e-09 0.000000e+00 5.000000e+00 0.000000e+00
+4 8.000000e-09 0.000000e+00 5.000000e+00 0.000000e+00
+5 1.600000e-08 0.000000e+00 5.000000e+00 0.000000e+00
+6 3.200000e-08 0.000000e+00 5.000000e+00 0.000000e+00
+7 6.400000e-08 0.000000e+00 5.000000e+00 0.000000e+00
+8 1.000000e-07 0.000000e+00 5.000000e+00 0.000000e+00
+9 1.064000e-07 3.200000e-01 4.680000e+00 0.000000e+00
+10 1.192000e-07 9.600000e-01 4.040000e+00 0.000000e+00
+11 1.448000e-07 2.240000e+00 2.760000e+00 0.000000e+00
+12 1.488000e-07 2.440000e+00 2.560000e+00 0.000000e+00
+13 1.489000e-07 2.445000e+00 2.555000e+00 5.000000e-01
+14 1.491000e-07 2.455000e+00 2.545000e+00 1.500000e+00
+15 1.495000e-07 2.475000e+00 2.525000e+00 3.500000e+00
+16 1.498000e-07 2.490000e+00 2.510000e+00 5.000000e+00
+17 1.498800e-07 2.494000e+00 2.506000e+00 5.000000e+00
+18 1.500400e-07 2.502000e+00 2.498000e+00 5.000000e+00
+19 1.503600e-07 2.518000e+00 2.482000e+00 5.000000e+00
+20 1.510000e-07 2.550000e+00 2.450000e+00 5.000000e+00
+21 1.522800e-07 2.614000e+00 2.386000e+00 5.000000e+00
+22 1.548400e-07 2.742000e+00 2.258000e+00 5.000000e+00
+23 1.599600e-07 2.998000e+00 2.002000e+00 5.000000e+00
+24 1.702000e-07 3.510000e+00 1.490000e+00 5.000000e+00
+25 1.742000e-07 3.710000e+00 1.290000e+00 5.000000e+00
+26 1.742900e-07 3.714500e+00 1.285500e+00 4.550000e+00
+27 1.744700e-07 3.723500e+00 1.276500e+00 3.650000e+00
+28 1.748300e-07 3.741500e+00 1.258500e+00 1.850000e+00
+29 1.751000e-07 3.755000e+00 1.245000e+00 5.000000e-01
+30 1.751720e-07 3.758600e+00 1.241400e+00 5.000000e-01
+31 1.753160e-07 3.765800e+00 1.234200e+00 5.000000e-01
+32 1.756040e-07 3.780200e+00 1.219800e+00 5.000000e-01
+33 1.761800e-07 3.809000e+00 1.191000e+00 5.000000e-01
+34 1.773320e-07 3.866600e+00 1.133400e+00 5.000000e-01
+35 1.796360e-07 3.981800e+00 1.018200e+00 5.000000e-01
+36 1.842440e-07 4.212200e+00 7.878000e-01 5.000000e-01
+37 1.882440e-07 4.412200e+00 5.878000e-01 5.000000e-01
+38 1.882540e-07 4.412700e+00 5.873000e-01 4.500000e-01
+39 1.882740e-07 4.413700e+00 5.863000e-01 3.500000e-01
+40 1.883140e-07 4.415700e+00 5.843000e-01 1.500000e-01
+41 1.883440e-07 4.417200e+00 5.828000e-01 0.000000e+00
+42 1.883520e-07 4.417600e+00 5.824000e-01 0.000000e+00
+43 1.883680e-07 4.418400e+00 5.816000e-01 0.000000e+00
+44 1.884000e-07 4.420000e+00 5.800000e-01 0.000000e+00
+45 1.884640e-07 4.423200e+00 5.768000e-01 0.000000e+00
+46 1.885920e-07 4.429600e+00 5.704000e-01 0.000000e+00
+47 1.888480e-07 4.442400e+00 5.576000e-01 0.000000e+00
+48 1.893600e-07 4.468000e+00 5.320000e-01 0.000000e+00
+49 1.903840e-07 4.519200e+00 4.808000e-01 0.000000e+00
+50 1.924320e-07 4.621600e+00 3.784000e-01 0.000000e+00
+51 1.965280e-07 4.826400e+00 1.736000e-01 0.000000e+00
+52 2.000000e-07 5.000000e+00 0.000000e+00 0.000000e+00
+53 2.008192e-07 5.000000e+00 0.000000e+00 0.000000e+00
+54 2.024576e-07 5.000000e+00 0.000000e+00 0.000000e+00
+
+Index time a b out
+--------------------------------------------------------------------------------
+55 2.057344e-07 5.000000e+00 0.000000e+00 0.000000e+00
+56 2.122880e-07 5.000000e+00 0.000000e+00 0.000000e+00
+57 2.253952e-07 5.000000e+00 0.000000e+00 0.000000e+00
+58 2.516096e-07 5.000000e+00 0.000000e+00 0.000000e+00
+59 3.040384e-07 5.000000e+00 0.000000e+00 0.000000e+00
+60 4.088960e-07 5.000000e+00 0.000000e+00 0.000000e+00
+61 6.186112e-07 5.000000e+00 0.000000e+00 0.000000e+00
+62 1.038042e-06 5.000000e+00 0.000000e+00 0.000000e+00
+63 1.638042e-06 5.000000e+00 0.000000e+00 0.000000e+00
+64 2.200000e-06 5.000000e+00 2.117582e-14 0.000000e+00
+65 2.210000e-06 4.500000e+00 5.000000e-01 0.000000e+00
+66 2.230000e-06 3.500000e+00 1.500000e+00 0.000000e+00
+67 2.234000e-06 3.300000e+00 1.700000e+00 0.000000e+00
+68 2.234010e-06 3.299500e+00 1.700500e+00 5.000000e-02
+69 2.234030e-06 3.298500e+00 1.701500e+00 1.500000e-01
+70 2.234070e-06 3.296500e+00 1.703500e+00 3.500000e-01
+71 2.234100e-06 3.295000e+00 1.705000e+00 5.000000e-01
+72 2.234108e-06 3.294600e+00 1.705400e+00 5.000000e-01
+73 2.234124e-06 3.293800e+00 1.706200e+00 5.000000e-01
+74 2.234156e-06 3.292200e+00 1.707800e+00 5.000000e-01
+75 2.234220e-06 3.289000e+00 1.711000e+00 5.000000e-01
+76 2.234348e-06 3.282600e+00 1.717400e+00 5.000000e-01
+77 2.234604e-06 3.269800e+00 1.730200e+00 5.000000e-01
+78 2.235116e-06 3.244200e+00 1.755800e+00 5.000000e-01
+79 2.236140e-06 3.193000e+00 1.807000e+00 5.000000e-01
+80 2.238188e-06 3.090600e+00 1.909400e+00 5.000000e-01
+81 2.242284e-06 2.885800e+00 2.114200e+00 5.000000e-01
+82 2.246284e-06 2.685800e+00 2.314200e+00 5.000000e-01
+83 2.246374e-06 2.681300e+00 2.318700e+00 9.500000e-01
+84 2.246554e-06 2.672300e+00 2.327700e+00 1.850000e+00
+85 2.246914e-06 2.654300e+00 2.345700e+00 3.650000e+00
+86 2.247184e-06 2.640800e+00 2.359200e+00 5.000000e+00
+87 2.247256e-06 2.637200e+00 2.362800e+00 5.000000e+00
+88 2.247400e-06 2.630000e+00 2.370000e+00 5.000000e+00
+89 2.247688e-06 2.615600e+00 2.384400e+00 5.000000e+00
+90 2.248264e-06 2.586800e+00 2.413200e+00 5.000000e+00
+91 2.249416e-06 2.529200e+00 2.470800e+00 5.000000e+00
+92 2.251720e-06 2.414000e+00 2.586000e+00 5.000000e+00
+93 2.256328e-06 2.183600e+00 2.816400e+00 5.000000e+00
+94 2.265544e-06 1.722800e+00 3.277200e+00 5.000000e+00
+95 2.269544e-06 1.522800e+00 3.477200e+00 5.000000e+00
+96 2.269634e-06 1.518300e+00 3.481700e+00 4.550000e+00
+97 2.269814e-06 1.509300e+00 3.490700e+00 3.650000e+00
+98 2.270174e-06 1.491300e+00 3.508700e+00 1.850000e+00
+99 2.270444e-06 1.477800e+00 3.522200e+00 5.000000e-01
+100 2.270516e-06 1.474200e+00 3.525800e+00 5.000000e-01
+101 2.270660e-06 1.467000e+00 3.533000e+00 5.000000e-01
+102 2.270948e-06 1.452600e+00 3.547400e+00 5.000000e-01
+103 2.271524e-06 1.423800e+00 3.576200e+00 5.000000e-01
+104 2.272676e-06 1.366200e+00 3.633800e+00 5.000000e-01
+105 2.274980e-06 1.251000e+00 3.749000e+00 5.000000e-01
+106 2.279588e-06 1.020600e+00 3.979400e+00 5.000000e-01
+107 2.288804e-06 5.598000e-01 4.440200e+00 5.000000e-01
+108 2.292804e-06 3.598000e-01 4.640200e+00 5.000000e-01
+109 2.292814e-06 3.593000e-01 4.640700e+00 4.500000e-01
+110 2.292834e-06 3.583000e-01 4.641700e+00 3.500000e-01
+111 2.292874e-06 3.563000e-01 4.643700e+00 1.500000e-01
+112 2.292904e-06 3.548000e-01 4.645200e+00 1.021239e-12
+
+Index time a b out
+--------------------------------------------------------------------------------
+113 2.292912e-06 3.544000e-01 4.645600e+00 0.000000e+00
+114 2.292928e-06 3.536000e-01 4.646400e+00 0.000000e+00
+115 2.292960e-06 3.520000e-01 4.648000e+00 0.000000e+00
+116 2.293024e-06 3.488000e-01 4.651200e+00 0.000000e+00
+117 2.293152e-06 3.424000e-01 4.657600e+00 0.000000e+00
+118 2.293408e-06 3.296000e-01 4.670400e+00 0.000000e+00
+119 2.293920e-06 3.040000e-01 4.696000e+00 0.000000e+00
+120 2.294944e-06 2.528000e-01 4.747200e+00 0.000000e+00
+121 2.296992e-06 1.504000e-01 4.849600e+00 0.000000e+00
+122 2.300000e-06 0.000000e+00 5.000000e+00 0.000000e+00
+123 2.300410e-06 0.000000e+00 5.000000e+00 0.000000e+00
+124 2.301229e-06 0.000000e+00 5.000000e+00 0.000000e+00
+125 2.302867e-06 0.000000e+00 5.000000e+00 0.000000e+00
+126 2.306144e-06 0.000000e+00 5.000000e+00 0.000000e+00
+127 2.312698e-06 0.000000e+00 5.000000e+00 0.000000e+00
+128 2.325805e-06 0.000000e+00 5.000000e+00 0.000000e+00
+129 2.352019e-06 0.000000e+00 5.000000e+00 0.000000e+00
+130 2.404448e-06 0.000000e+00 5.000000e+00 0.000000e+00
+131 2.509306e-06 0.000000e+00 5.000000e+00 0.000000e+00
+132 2.719021e-06 0.000000e+00 5.000000e+00 0.000000e+00
+133 3.138451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+134 3.738451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+135 4.338451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+136 4.938451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+137 5.538451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+138 6.138451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+139 6.738451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+140 7.338451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+141 7.938451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+142 8.538451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+143 9.138451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+144 9.738451e-06 0.000000e+00 5.000000e+00 0.000000e+00
+145 1.033845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+146 1.093845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+147 1.153845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+148 1.213845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+149 1.273845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+150 1.333845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+151 1.393845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+152 1.453845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+153 1.513845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+154 1.573845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+155 1.633845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+156 1.693845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+157 1.753845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+158 1.813845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+159 1.873845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+160 1.933845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+161 1.993845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+162 2.010000e-05 0.000000e+00 5.000000e+00 0.000000e+00
+163 2.011000e-05 5.000000e-01 4.500000e+00 0.000000e+00
+164 2.013000e-05 1.500000e+00 3.500000e+00 0.000000e+00
+165 2.013400e-05 1.700000e+00 3.300000e+00 0.000000e+00
+166 2.013401e-05 1.700500e+00 3.299500e+00 5.000000e-02
+167 2.013403e-05 1.701500e+00 3.298500e+00 1.500000e-01
+168 2.013407e-05 1.703500e+00 3.296500e+00 3.500000e-01
+169 2.013410e-05 1.705000e+00 3.295000e+00 5.000000e-01
+170 2.013411e-05 1.705400e+00 3.294600e+00 5.000000e-01
+
+Index time a b out
+--------------------------------------------------------------------------------
+171 2.013412e-05 1.706200e+00 3.293800e+00 5.000000e-01
+172 2.013416e-05 1.707800e+00 3.292200e+00 5.000000e-01
+173 2.013422e-05 1.711000e+00 3.289000e+00 5.000000e-01
+174 2.013435e-05 1.717400e+00 3.282600e+00 5.000000e-01
+175 2.013460e-05 1.730200e+00 3.269800e+00 5.000000e-01
+176 2.013512e-05 1.755800e+00 3.244200e+00 5.000000e-01
+177 2.013614e-05 1.807000e+00 3.193000e+00 5.000000e-01
+178 2.013819e-05 1.909400e+00 3.090600e+00 5.000000e-01
+179 2.014228e-05 2.114200e+00 2.885800e+00 5.000000e-01
+180 2.014628e-05 2.314200e+00 2.685800e+00 5.000000e-01
+181 2.014637e-05 2.318700e+00 2.681300e+00 9.500000e-01
+182 2.014655e-05 2.327700e+00 2.672300e+00 1.850000e+00
+183 2.014691e-05 2.345700e+00 2.654300e+00 3.650000e+00
+184 2.014718e-05 2.359200e+00 2.640800e+00 5.000000e+00
+185 2.014726e-05 2.362800e+00 2.637200e+00 5.000000e+00
+186 2.014740e-05 2.370000e+00 2.630000e+00 5.000000e+00
+187 2.014769e-05 2.384400e+00 2.615600e+00 5.000000e+00
+188 2.014826e-05 2.413200e+00 2.586800e+00 5.000000e+00
+189 2.014942e-05 2.470800e+00 2.529200e+00 5.000000e+00
+190 2.015172e-05 2.586000e+00 2.414000e+00 5.000000e+00
+191 2.015633e-05 2.816400e+00 2.183600e+00 5.000000e+00
+192 2.016554e-05 3.277200e+00 1.722800e+00 5.000000e+00
+193 2.016954e-05 3.477200e+00 1.522800e+00 5.000000e+00
+194 2.016963e-05 3.481700e+00 1.518300e+00 4.550000e+00
+195 2.016981e-05 3.490700e+00 1.509300e+00 3.650000e+00
+196 2.017017e-05 3.508700e+00 1.491300e+00 1.850000e+00
+197 2.017044e-05 3.522200e+00 1.477800e+00 5.000000e-01
+198 2.017052e-05 3.525800e+00 1.474200e+00 5.000000e-01
+199 2.017066e-05 3.533000e+00 1.467000e+00 5.000000e-01
+200 2.017095e-05 3.547400e+00 1.452600e+00 5.000000e-01
+201 2.017152e-05 3.576200e+00 1.423800e+00 5.000000e-01
+202 2.017268e-05 3.633800e+00 1.366200e+00 5.000000e-01
+203 2.017498e-05 3.749000e+00 1.251000e+00 5.000000e-01
+204 2.017959e-05 3.979400e+00 1.020600e+00 5.000000e-01
+205 2.018880e-05 4.440200e+00 5.598000e-01 5.000000e-01
+206 2.019280e-05 4.640200e+00 3.598000e-01 5.000000e-01
+207 2.019281e-05 4.640700e+00 3.593000e-01 4.500000e-01
+208 2.019283e-05 4.641700e+00 3.583000e-01 3.500000e-01
+209 2.019287e-05 4.643700e+00 3.563000e-01 1.500000e-01
+210 2.019290e-05 4.645200e+00 3.548000e-01 0.000000e+00
+211 2.019291e-05 4.645600e+00 3.544000e-01 0.000000e+00
+212 2.019293e-05 4.646400e+00 3.536000e-01 0.000000e+00
+213 2.019296e-05 4.648000e+00 3.520000e-01 0.000000e+00
+214 2.019302e-05 4.651200e+00 3.488000e-01 0.000000e+00
+215 2.019315e-05 4.657600e+00 3.424000e-01 0.000000e+00
+216 2.019341e-05 4.670400e+00 3.296000e-01 0.000000e+00
+217 2.019392e-05 4.696000e+00 3.040000e-01 0.000000e+00
+218 2.019494e-05 4.747200e+00 2.528000e-01 0.000000e+00
+219 2.019699e-05 4.849600e+00 1.504000e-01 0.000000e+00
+220 2.020000e-05 5.000000e+00 4.796163e-14 0.000000e+00
+221 2.020041e-05 5.000000e+00 0.000000e+00 0.000000e+00
+222 2.020123e-05 5.000000e+00 0.000000e+00 0.000000e+00
+223 2.020287e-05 5.000000e+00 0.000000e+00 0.000000e+00
+224 2.020614e-05 5.000000e+00 0.000000e+00 0.000000e+00
+225 2.021270e-05 5.000000e+00 0.000000e+00 0.000000e+00
+226 2.022580e-05 5.000000e+00 0.000000e+00 0.000000e+00
+227 2.025202e-05 5.000000e+00 0.000000e+00 0.000000e+00
+228 2.030445e-05 5.000000e+00 0.000000e+00 0.000000e+00
+
+Index time a b out
+--------------------------------------------------------------------------------
+229 2.040931e-05 5.000000e+00 0.000000e+00 0.000000e+00
+230 2.061902e-05 5.000000e+00 0.000000e+00 0.000000e+00
+231 2.103845e-05 5.000000e+00 0.000000e+00 0.000000e+00
+232 2.163845e-05 5.000000e+00 0.000000e+00 0.000000e+00
+233 2.220000e-05 5.000000e+00 2.117582e-14 0.000000e+00
+234 2.221000e-05 4.500000e+00 5.000000e-01 0.000000e+00
+235 2.223000e-05 3.500000e+00 1.500000e+00 0.000000e+00
+236 2.223400e-05 3.300000e+00 1.700000e+00 0.000000e+00
+237 2.223401e-05 3.299500e+00 1.700500e+00 5.000000e-02
+238 2.223403e-05 3.298500e+00 1.701500e+00 1.500000e-01
+239 2.223407e-05 3.296500e+00 1.703500e+00 3.500000e-01
+240 2.223410e-05 3.295000e+00 1.705000e+00 5.000000e-01
+241 2.223411e-05 3.294600e+00 1.705400e+00 5.000000e-01
+242 2.223412e-05 3.293800e+00 1.706200e+00 5.000000e-01
+243 2.223416e-05 3.292200e+00 1.707800e+00 5.000000e-01
+244 2.223422e-05 3.289000e+00 1.711000e+00 5.000000e-01
+245 2.223435e-05 3.282600e+00 1.717400e+00 5.000000e-01
+246 2.223460e-05 3.269800e+00 1.730200e+00 5.000000e-01
+247 2.223512e-05 3.244200e+00 1.755800e+00 5.000000e-01
+248 2.223614e-05 3.193000e+00 1.807000e+00 5.000000e-01
+249 2.223819e-05 3.090600e+00 1.909400e+00 5.000000e-01
+250 2.224228e-05 2.885800e+00 2.114200e+00 5.000000e-01
+251 2.224628e-05 2.685800e+00 2.314200e+00 5.000000e-01
+252 2.224637e-05 2.681300e+00 2.318700e+00 9.500000e-01
+253 2.224655e-05 2.672300e+00 2.327700e+00 1.850000e+00
+254 2.224691e-05 2.654300e+00 2.345700e+00 3.650000e+00
+255 2.224718e-05 2.640800e+00 2.359200e+00 5.000000e+00
+256 2.224726e-05 2.637200e+00 2.362800e+00 5.000000e+00
+257 2.224740e-05 2.630000e+00 2.370000e+00 5.000000e+00
+258 2.224769e-05 2.615600e+00 2.384400e+00 5.000000e+00
+259 2.224826e-05 2.586800e+00 2.413200e+00 5.000000e+00
+260 2.224942e-05 2.529200e+00 2.470800e+00 5.000000e+00
+261 2.225172e-05 2.414000e+00 2.586000e+00 5.000000e+00
+262 2.225633e-05 2.183600e+00 2.816400e+00 5.000000e+00
+263 2.226554e-05 1.722800e+00 3.277200e+00 5.000000e+00
+264 2.226954e-05 1.522800e+00 3.477200e+00 5.000000e+00
+265 2.226963e-05 1.518300e+00 3.481700e+00 4.550000e+00
+266 2.226981e-05 1.509300e+00 3.490700e+00 3.650000e+00
+267 2.227017e-05 1.491300e+00 3.508700e+00 1.850000e+00
+268 2.227044e-05 1.477800e+00 3.522200e+00 5.000000e-01
+269 2.227052e-05 1.474200e+00 3.525800e+00 5.000000e-01
+270 2.227066e-05 1.467000e+00 3.533000e+00 5.000000e-01
+271 2.227095e-05 1.452600e+00 3.547400e+00 5.000000e-01
+272 2.227152e-05 1.423800e+00 3.576200e+00 5.000000e-01
+273 2.227268e-05 1.366200e+00 3.633800e+00 5.000000e-01
+274 2.227498e-05 1.251000e+00 3.749000e+00 5.000000e-01
+275 2.227959e-05 1.020600e+00 3.979400e+00 5.000000e-01
+276 2.228880e-05 5.598000e-01 4.440200e+00 5.000000e-01
+277 2.229280e-05 3.598000e-01 4.640200e+00 5.000000e-01
+278 2.229281e-05 3.593000e-01 4.640700e+00 4.500000e-01
+279 2.229283e-05 3.583000e-01 4.641700e+00 3.500000e-01
+280 2.229287e-05 3.563000e-01 4.643700e+00 1.500000e-01
+281 2.229290e-05 3.548000e-01 4.645200e+00 0.000000e+00
+282 2.229291e-05 3.544000e-01 4.645600e+00 0.000000e+00
+283 2.229293e-05 3.536000e-01 4.646400e+00 0.000000e+00
+284 2.229296e-05 3.520000e-01 4.648000e+00 0.000000e+00
+285 2.229302e-05 3.488000e-01 4.651200e+00 0.000000e+00
+286 2.229315e-05 3.424000e-01 4.657600e+00 0.000000e+00
+
+Index time a b out
+--------------------------------------------------------------------------------
+287 2.229341e-05 3.296000e-01 4.670400e+00 0.000000e+00
+288 2.229392e-05 3.040000e-01 4.696000e+00 0.000000e+00
+289 2.229494e-05 2.528000e-01 4.747200e+00 0.000000e+00
+290 2.229699e-05 1.504000e-01 4.849600e+00 0.000000e+00
+291 2.230000e-05 2.664535e-14 5.000000e+00 0.000000e+00
+292 2.230041e-05 0.000000e+00 5.000000e+00 0.000000e+00
+293 2.230123e-05 0.000000e+00 5.000000e+00 0.000000e+00
+294 2.230287e-05 0.000000e+00 5.000000e+00 0.000000e+00
+295 2.230614e-05 0.000000e+00 5.000000e+00 0.000000e+00
+296 2.231270e-05 0.000000e+00 5.000000e+00 0.000000e+00
+297 2.232580e-05 0.000000e+00 5.000000e+00 0.000000e+00
+298 2.235202e-05 0.000000e+00 5.000000e+00 0.000000e+00
+299 2.240445e-05 0.000000e+00 5.000000e+00 0.000000e+00
+300 2.250931e-05 0.000000e+00 5.000000e+00 0.000000e+00
+301 2.271902e-05 0.000000e+00 5.000000e+00 0.000000e+00
+302 2.313845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+303 2.373845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+304 2.433845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+305 2.493845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+306 2.553845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+307 2.613845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+308 2.673845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+309 2.733845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+310 2.793845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+311 2.853845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+312 2.913845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+313 2.973845e-05 0.000000e+00 5.000000e+00 0.000000e+00
+314 3.000000e-05 0.000000e+00 5.000000e+00 0.000000e+00