summaryrefslogtreecommitdiff
path: root/src/SubcircuitLibrary/ujt
diff options
context:
space:
mode:
Diffstat (limited to 'src/SubcircuitLibrary/ujt')
-rw-r--r--src/SubcircuitLibrary/ujt/D.lib2
-rw-r--r--src/SubcircuitLibrary/ujt/analysis1
-rw-r--r--src/SubcircuitLibrary/ujt/emitter.lib4
-rw-r--r--src/SubcircuitLibrary/ujt/plot_data_i.txt67
-rw-r--r--src/SubcircuitLibrary/ujt/plot_data_v.txt203
-rw-r--r--src/SubcircuitLibrary/ujt/ujt-cache.lib150
-rw-r--r--src/SubcircuitLibrary/ujt/ujt.cir18
-rw-r--r--src/SubcircuitLibrary/ujt/ujt.cir.out22
-rw-r--r--src/SubcircuitLibrary/ujt/ujt.pro44
-rw-r--r--src/SubcircuitLibrary/ujt/ujt.sch205
-rw-r--r--src/SubcircuitLibrary/ujt/ujt.sub16
-rw-r--r--src/SubcircuitLibrary/ujt/ujt_Previous_Values.xml1
12 files changed, 733 insertions, 0 deletions
diff --git a/src/SubcircuitLibrary/ujt/D.lib b/src/SubcircuitLibrary/ujt/D.lib
new file mode 100644
index 00000000..8a7fb4da
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/D.lib
@@ -0,0 +1,2 @@
+.model 1n4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/src/SubcircuitLibrary/ujt/analysis b/src/SubcircuitLibrary/ujt/analysis
new file mode 100644
index 00000000..21dc4b94
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/analysis
@@ -0,0 +1 @@
+.tran 5e-06 100e-03 0e-03 \ No newline at end of file
diff --git a/src/SubcircuitLibrary/ujt/emitter.lib b/src/SubcircuitLibrary/ujt/emitter.lib
new file mode 100644
index 00000000..3af759f4
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/emitter.lib
@@ -0,0 +1,4 @@
+.MODEL emitter D(
++ Is=21.3P
++ N=1.8
+) \ No newline at end of file
diff --git a/src/SubcircuitLibrary/ujt/plot_data_i.txt b/src/SubcircuitLibrary/ujt/plot_data_i.txt
new file mode 100644
index 00000000..bb08d2c2
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/plot_data_i.txt
@@ -0,0 +1,67 @@
+ * /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+ Transient Analysis Sat Jun 15 16:01:36 2019
+--------------------------------------------------------------------------------
+Index time h1#branch vh1#branch
+--------------------------------------------------------------------------------
+0 0.000000e+00 1.936296e-124 -1.93630e-121
+1 1.000000e-05 1.522607e-65 -1.52261e-62
+2 2.000000e-05 1.522589e-65 -1.52259e-62
+3 4.000000e-05 1.522545e-65 -1.52255e-62
+4 8.000000e-05 0.000000e+00 0.000000e+00
+5 1.600000e-04 0.000000e+00 0.000000e+00
+6 3.200000e-04 0.000000e+00 0.000000e+00
+7 6.400000e-04 0.000000e+00 0.000000e+00
+8 1.280000e-03 3.035283e-65 -3.03528e-62
+9 2.560000e-03 1.511759e-65 -1.51176e-62
+10 4.560000e-03 0.000000e+00 0.000000e+00
+11 6.560000e-03 0.000000e+00 0.000000e+00
+12 8.560000e-03 0.000000e+00 0.000000e+00
+13 1.056000e-02 0.000000e+00 0.000000e+00
+14 1.256000e-02 0.000000e+00 0.000000e+00
+15 1.456000e-02 0.000000e+00 0.000000e+00
+16 1.656000e-02 0.000000e+00 0.000000e+00
+17 1.856000e-02 0.000000e+00 0.000000e+00
+18 2.056000e-02 0.000000e+00 0.000000e+00
+19 2.256000e-02 0.000000e+00 0.000000e+00
+20 2.456000e-02 0.000000e+00 0.000000e+00
+21 2.656000e-02 0.000000e+00 0.000000e+00
+22 2.856000e-02 0.000000e+00 0.000000e+00
+23 3.056000e-02 0.000000e+00 0.000000e+00
+24 3.256000e-02 0.000000e+00 0.000000e+00
+25 3.456000e-02 0.000000e+00 0.000000e+00
+26 3.656000e-02 0.000000e+00 0.000000e+00
+27 3.856000e-02 0.000000e+00 0.000000e+00
+28 4.056000e-02 0.000000e+00 0.000000e+00
+29 4.256000e-02 0.000000e+00 0.000000e+00
+30 4.456000e-02 0.000000e+00 0.000000e+00
+31 4.656000e-02 0.000000e+00 0.000000e+00
+32 4.856000e-02 0.000000e+00 0.000000e+00
+33 5.056000e-02 0.000000e+00 0.000000e+00
+34 5.256000e-02 0.000000e+00 0.000000e+00
+35 5.456000e-02 0.000000e+00 0.000000e+00
+36 5.656000e-02 0.000000e+00 0.000000e+00
+37 5.856000e-02 0.000000e+00 0.000000e+00
+38 6.056000e-02 0.000000e+00 0.000000e+00
+39 6.256000e-02 0.000000e+00 0.000000e+00
+40 6.456000e-02 0.000000e+00 0.000000e+00
+41 6.656000e-02 0.000000e+00 0.000000e+00
+42 6.856000e-02 0.000000e+00 0.000000e+00
+43 7.056000e-02 0.000000e+00 0.000000e+00
+44 7.256000e-02 0.000000e+00 0.000000e+00
+45 7.456000e-02 0.000000e+00 0.000000e+00
+46 7.656000e-02 0.000000e+00 0.000000e+00
+47 7.856000e-02 0.000000e+00 0.000000e+00
+48 8.056000e-02 0.000000e+00 0.000000e+00
+49 8.256000e-02 0.000000e+00 0.000000e+00
+50 8.456000e-02 0.000000e+00 0.000000e+00
+51 8.656000e-02 0.000000e+00 0.000000e+00
+52 8.856000e-02 0.000000e+00 0.000000e+00
+53 9.056000e-02 0.000000e+00 0.000000e+00
+54 9.256000e-02 0.000000e+00 0.000000e+00
+
+Index time h1#branch vh1#branch
+--------------------------------------------------------------------------------
+55 9.456000e-02 0.000000e+00 0.000000e+00
+56 9.656000e-02 0.000000e+00 0.000000e+00
+57 9.856000e-02 0.000000e+00 0.000000e+00
+58 1.000000e-01 3.640960e-66 -3.64096e-63
diff --git a/src/SubcircuitLibrary/ujt/plot_data_v.txt b/src/SubcircuitLibrary/ujt/plot_data_v.txt
new file mode 100644
index 00000000..207ce5b7
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/plot_data_v.txt
@@ -0,0 +1,203 @@
+ * /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+ Transient Analysis Sat Jun 15 16:01:36 2019
+--------------------------------------------------------------------------------
+Index time V(1) V(2) V(3)
+--------------------------------------------------------------------------------
+0 0.000000e+00 6.088894e-52 -2.80622e-43 -2.80622e-43
+1 1.000000e-05 -2.51069e-46 -2.80871e-43 -2.80871e-43
+2 2.000000e-05 -2.51068e-46 -2.80868e-43 -2.80868e-43
+3 4.000000e-05 -2.51147e-46 -2.80860e-43 -2.80860e-43
+4 8.000000e-05 1.691803e-50 -2.80589e-43 -2.80589e-43
+5 1.600000e-04 -1.19543e-50 -2.80543e-43 -2.80543e-43
+6 3.200000e-04 -2.36974e-50 -2.80438e-43 -2.80438e-43
+7 6.400000e-04 4.520590e-52 -2.80203e-43 -2.80203e-43
+8 1.280000e-03 -2.71395e-46 -2.79955e-43 -2.79955e-43
+9 2.560000e-03 -3.13629e-46 -2.78870e-43 -2.78870e-43
+10 4.560000e-03 -5.10465e-52 -2.76667e-43 -2.76667e-43
+11 6.560000e-03 -2.20180e-52 -2.74650e-43 -2.74650e-43
+12 8.560000e-03 2.805351e-52 -2.72507e-43 -2.72507e-43
+13 1.056000e-02 -6.11918e-52 -2.70239e-43 -2.70239e-43
+14 1.256000e-02 -1.35091e-52 -2.67846e-43 -2.67846e-43
+15 1.456000e-02 6.127039e-53 -2.65331e-43 -2.65331e-43
+16 1.656000e-02 -6.60318e-52 -2.62693e-43 -2.62693e-43
+17 1.856000e-02 -2.70241e-52 -2.59936e-43 -2.59936e-43
+18 2.056000e-02 6.713684e-53 -2.57059e-43 -2.57059e-43
+19 2.256000e-02 -1.55773e-52 -2.54064e-43 -2.54064e-43
+20 2.456000e-02 3.929090e-53 -2.50953e-43 -2.50953e-43
+21 2.656000e-02 -5.71836e-52 -2.47727e-43 -2.47727e-43
+22 2.856000e-02 -1.42047e-52 -2.44388e-43 -2.44388e-43
+23 3.056000e-02 -4.85310e-52 -2.40937e-43 -2.40937e-43
+24 3.256000e-02 3.962144e-52 -2.37377e-43 -2.37377e-43
+25 3.456000e-02 -7.13895e-52 -2.33707e-43 -2.33707e-43
+26 3.656000e-02 -3.25981e-52 -2.29932e-43 -2.29932e-43
+27 3.856000e-02 -3.11521e-52 -2.26051e-43 -2.26051e-43
+28 4.056000e-02 2.279041e-52 -2.22068e-43 -2.22068e-43
+29 4.256000e-02 -4.09991e-52 -2.17983e-43 -2.17983e-43
+30 4.456000e-02 6.197036e-53 -2.13800e-43 -2.13800e-43
+31 4.656000e-02 -4.88067e-52 -2.09519e-43 -2.09519e-43
+32 4.856000e-02 -5.64247e-52 -2.05144e-43 -2.05144e-43
+33 5.056000e-02 -4.96151e-52 -2.00675e-43 -2.00675e-43
+34 5.256000e-02 -4.23061e-52 -1.96115e-43 -1.96115e-43
+35 5.456000e-02 2.057927e-52 -1.91467e-43 -1.91467e-43
+36 5.656000e-02 -6.33244e-52 -1.86732e-43 -1.86732e-43
+37 5.856000e-02 -3.34770e-52 -1.81913e-43 -1.81913e-43
+38 6.056000e-02 -2.07109e-52 -1.77011e-43 -1.77011e-43
+39 6.256000e-02 1.985474e-52 -1.72030e-43 -1.72030e-43
+40 6.456000e-02 -2.45836e-52 -1.66972e-43 -1.66972e-43
+41 6.656000e-02 -1.04902e-52 -1.61839e-43 -1.61839e-43
+42 6.856000e-02 -2.43454e-52 -1.56633e-43 -1.56633e-43
+43 7.056000e-02 -9.13597e-53 -1.51357e-43 -1.51357e-43
+44 7.256000e-02 -2.89902e-52 -1.46013e-43 -1.46013e-43
+45 7.456000e-02 -1.08625e-52 -1.40604e-43 -1.40604e-43
+46 7.656000e-02 -1.19143e-52 -1.35132e-43 -1.35132e-43
+47 7.856000e-02 -3.87284e-52 -1.29600e-43 -1.29600e-43
+48 8.056000e-02 -1.76399e-52 -1.24011e-43 -1.24011e-43
+49 8.256000e-02 9.167300e-53 -1.18367e-43 -1.18367e-43
+50 8.456000e-02 -1.40774e-52 -1.12671e-43 -1.12671e-43
+51 8.656000e-02 1.945441e-52 -1.06925e-43 -1.06925e-43
+52 8.856000e-02 -7.42845e-53 -1.01132e-43 -1.01132e-43
+53 9.056000e-02 -3.70259e-52 -9.52954e-44 -9.52954e-44
+54 9.256000e-02 -5.23530e-54 -8.94171e-44 -8.94171e-44
+
+Index time V(1) V(2) V(3)
+--------------------------------------------------------------------------------
+55 9.456000e-02 1.749423e-52 -8.35001e-44 -8.35001e-44
+56 9.656000e-02 -1.18682e-52 -7.75471e-44 -7.75471e-44
+57 9.856000e-02 -3.13438e-53 -7.15610e-44 -7.15610e-44
+58 1.000000e-01 6.326077e-47 -6.71639e-44 -6.71639e-44
+
+ * /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+ Transient Analysis Sat Jun 15 16:01:36 2019
+--------------------------------------------------------------------------------
+Index time V(4) V(5) V(6)
+--------------------------------------------------------------------------------
+0 0.000000e+00 -2.80622e-43 -2.80622e-43 -1.93630e-118
+1 1.000000e-05 -2.80871e-43 -2.80871e-43 -1.52261e-59
+2 2.000000e-05 -2.80868e-43 -2.80868e-43 -1.52259e-59
+3 4.000000e-05 -2.80860e-43 -2.80860e-43 -1.52255e-59
+4 8.000000e-05 -2.80589e-43 -2.80589e-43 0.000000e+00
+5 1.600000e-04 -2.80543e-43 -2.80543e-43 0.000000e+00
+6 3.200000e-04 -2.80438e-43 -2.80438e-43 0.000000e+00
+7 6.400000e-04 -2.80203e-43 -2.80203e-43 0.000000e+00
+8 1.280000e-03 -2.79955e-43 -2.79955e-43 -3.03528e-59
+9 2.560000e-03 -2.78870e-43 -2.78870e-43 -1.51176e-59
+10 4.560000e-03 -2.76667e-43 -2.76667e-43 0.000000e+00
+11 6.560000e-03 -2.74650e-43 -2.74650e-43 0.000000e+00
+12 8.560000e-03 -2.72507e-43 -2.72507e-43 0.000000e+00
+13 1.056000e-02 -2.70239e-43 -2.70239e-43 0.000000e+00
+14 1.256000e-02 -2.67846e-43 -2.67846e-43 0.000000e+00
+15 1.456000e-02 -2.65331e-43 -2.65331e-43 0.000000e+00
+16 1.656000e-02 -2.62693e-43 -2.62693e-43 0.000000e+00
+17 1.856000e-02 -2.59936e-43 -2.59936e-43 0.000000e+00
+18 2.056000e-02 -2.57059e-43 -2.57059e-43 0.000000e+00
+19 2.256000e-02 -2.54064e-43 -2.54064e-43 0.000000e+00
+20 2.456000e-02 -2.50953e-43 -2.50953e-43 0.000000e+00
+21 2.656000e-02 -2.47727e-43 -2.47727e-43 0.000000e+00
+22 2.856000e-02 -2.44388e-43 -2.44388e-43 0.000000e+00
+23 3.056000e-02 -2.40937e-43 -2.40937e-43 0.000000e+00
+24 3.256000e-02 -2.37377e-43 -2.37377e-43 0.000000e+00
+25 3.456000e-02 -2.33707e-43 -2.33707e-43 0.000000e+00
+26 3.656000e-02 -2.29932e-43 -2.29932e-43 0.000000e+00
+27 3.856000e-02 -2.26051e-43 -2.26051e-43 0.000000e+00
+28 4.056000e-02 -2.22068e-43 -2.22068e-43 0.000000e+00
+29 4.256000e-02 -2.17983e-43 -2.17983e-43 0.000000e+00
+30 4.456000e-02 -2.13800e-43 -2.13800e-43 0.000000e+00
+31 4.656000e-02 -2.09519e-43 -2.09519e-43 0.000000e+00
+32 4.856000e-02 -2.05144e-43 -2.05144e-43 0.000000e+00
+33 5.056000e-02 -2.00675e-43 -2.00675e-43 0.000000e+00
+34 5.256000e-02 -1.96115e-43 -1.96115e-43 0.000000e+00
+35 5.456000e-02 -1.91467e-43 -1.91467e-43 0.000000e+00
+36 5.656000e-02 -1.86732e-43 -1.86732e-43 0.000000e+00
+37 5.856000e-02 -1.81913e-43 -1.81913e-43 0.000000e+00
+38 6.056000e-02 -1.77011e-43 -1.77011e-43 0.000000e+00
+39 6.256000e-02 -1.72030e-43 -1.72030e-43 0.000000e+00
+40 6.456000e-02 -1.66972e-43 -1.66972e-43 0.000000e+00
+41 6.656000e-02 -1.61839e-43 -1.61839e-43 0.000000e+00
+42 6.856000e-02 -1.56633e-43 -1.56633e-43 0.000000e+00
+43 7.056000e-02 -1.51357e-43 -1.51357e-43 0.000000e+00
+44 7.256000e-02 -1.46013e-43 -1.46013e-43 0.000000e+00
+45 7.456000e-02 -1.40604e-43 -1.40604e-43 0.000000e+00
+46 7.656000e-02 -1.35132e-43 -1.35132e-43 0.000000e+00
+47 7.856000e-02 -1.29600e-43 -1.29600e-43 0.000000e+00
+48 8.056000e-02 -1.24011e-43 -1.24011e-43 0.000000e+00
+49 8.256000e-02 -1.18367e-43 -1.18367e-43 0.000000e+00
+50 8.456000e-02 -1.12671e-43 -1.12671e-43 0.000000e+00
+51 8.656000e-02 -1.06925e-43 -1.06925e-43 0.000000e+00
+52 8.856000e-02 -1.01132e-43 -1.01132e-43 0.000000e+00
+53 9.056000e-02 -9.52954e-44 -9.52954e-44 0.000000e+00
+54 9.256000e-02 -8.94171e-44 -8.94171e-44 0.000000e+00
+
+Index time V(4) V(5) V(6)
+--------------------------------------------------------------------------------
+55 9.456000e-02 -8.35001e-44 -8.35001e-44 0.000000e+00
+56 9.656000e-02 -7.75471e-44 -7.75471e-44 0.000000e+00
+57 9.856000e-02 -7.15610e-44 -7.15610e-44 0.000000e+00
+58 1.000000e-01 -6.71639e-44 -6.71639e-44 -3.64096e-60
+
+ * /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+ Transient Analysis Sat Jun 15 16:01:36 2019
+--------------------------------------------------------------------------------
+Index time V(7)
+--------------------------------------------------------------------------------
+0 0.000000e+00 -2.80622e-43
+1 1.000000e-05 -2.80871e-43
+2 2.000000e-05 -2.80868e-43
+3 4.000000e-05 -2.80860e-43
+4 8.000000e-05 -2.80589e-43
+5 1.600000e-04 -2.80543e-43
+6 3.200000e-04 -2.80438e-43
+7 6.400000e-04 -2.80203e-43
+8 1.280000e-03 -2.79955e-43
+9 2.560000e-03 -2.78870e-43
+10 4.560000e-03 -2.76667e-43
+11 6.560000e-03 -2.74650e-43
+12 8.560000e-03 -2.72507e-43
+13 1.056000e-02 -2.70239e-43
+14 1.256000e-02 -2.67846e-43
+15 1.456000e-02 -2.65331e-43
+16 1.656000e-02 -2.62693e-43
+17 1.856000e-02 -2.59936e-43
+18 2.056000e-02 -2.57059e-43
+19 2.256000e-02 -2.54064e-43
+20 2.456000e-02 -2.50953e-43
+21 2.656000e-02 -2.47727e-43
+22 2.856000e-02 -2.44388e-43
+23 3.056000e-02 -2.40937e-43
+24 3.256000e-02 -2.37377e-43
+25 3.456000e-02 -2.33707e-43
+26 3.656000e-02 -2.29932e-43
+27 3.856000e-02 -2.26051e-43
+28 4.056000e-02 -2.22068e-43
+29 4.256000e-02 -2.17983e-43
+30 4.456000e-02 -2.13800e-43
+31 4.656000e-02 -2.09519e-43
+32 4.856000e-02 -2.05144e-43
+33 5.056000e-02 -2.00675e-43
+34 5.256000e-02 -1.96115e-43
+35 5.456000e-02 -1.91467e-43
+36 5.656000e-02 -1.86732e-43
+37 5.856000e-02 -1.81913e-43
+38 6.056000e-02 -1.77011e-43
+39 6.256000e-02 -1.72030e-43
+40 6.456000e-02 -1.66972e-43
+41 6.656000e-02 -1.61839e-43
+42 6.856000e-02 -1.56633e-43
+43 7.056000e-02 -1.51357e-43
+44 7.256000e-02 -1.46013e-43
+45 7.456000e-02 -1.40604e-43
+46 7.656000e-02 -1.35132e-43
+47 7.856000e-02 -1.29600e-43
+48 8.056000e-02 -1.24011e-43
+49 8.256000e-02 -1.18367e-43
+50 8.456000e-02 -1.12671e-43
+51 8.656000e-02 -1.06925e-43
+52 8.856000e-02 -1.01132e-43
+53 9.056000e-02 -9.52954e-44
+54 9.256000e-02 -8.94171e-44
+
+Index time V(7)
+--------------------------------------------------------------------------------
+55 9.456000e-02 -8.35001e-44
+56 9.656000e-02 -7.75471e-44
+57 9.856000e-02 -7.15610e-44
+58 1.000000e-01 -6.71639e-44
diff --git a/src/SubcircuitLibrary/ujt/ujt-cache.lib b/src/SubcircuitLibrary/ujt/ujt-cache.lib
new file mode 100644
index 00000000..e6fcb32b
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt-cache.lib
@@ -0,0 +1,150 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# CCVS
+#
+DEF CCVS H 0 40 Y Y 1 F N
+F0 "H" 0 150 50 H V C CNN
+F1 "CCVS" -200 -50 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+S -100 100 100 -100 0 1 0 N
+X + 1 -300 50 200 R 35 35 1 1 P
+X - 2 300 50 200 L 35 35 1 1 P
+X +c 3 -50 -200 100 U 35 35 1 1 P
+X -c 4 50 -200 100 U 35 35 1 1 P
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# NLDS
+#
+DEF NLDS B 0 40 Y Y 1 F N
+F0 "B" 0 0 60 H V C CNN
+F1 "NLDS" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 0 141 0 1 0 N
+X 1 1 0 350 200 D 50 50 1 1 B
+X 2 2 0 -350 200 U 50 50 1 1 B
+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
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/src/SubcircuitLibrary/ujt/ujt.cir b/src/SubcircuitLibrary/ujt/ujt.cir
new file mode 100644
index 00000000..017c4845
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt.cir
@@ -0,0 +1,18 @@
+* /home/bhargav/Downloads/eSim-1.1.2/src/SubcircuitLibrary/ujt/ujt.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Sun Jun 16 10:51:40 2019
+
+* 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 GND 6 1000k
+C1 5 7 35p
+R1 7 2 38.15
+R2 3 5 2.518k
+U1 1 2 3 PORT
+B1 5 7 I=0.00028*V(5,7)+0.00575*V(5,7)*V(6)
+D1 1 4 eSim_Diode
+H1 6 GND 4 5 1k
+
+.end
diff --git a/src/SubcircuitLibrary/ujt/ujt.cir.out b/src/SubcircuitLibrary/ujt/ujt.cir.out
new file mode 100644
index 00000000..c3186f1c
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt.cir.out
@@ -0,0 +1,22 @@
+* /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+
+.include emitter.lib
+r3 gnd 6 1000k
+c1 5 7 35p
+r1 7 2 38.15
+r2 3 5 2.518k
+* u1 1 2 3 port
+b1 5 7 i=0.00028*v(5,7)+0.00575*v(5,7)*v(6)
+d1 1 4 emitter
+* h1
+Vh1 4 5 0
+h1 6 gnd Vh1 1k
+.tran 5e-06 100e-03 0e-03
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/src/SubcircuitLibrary/ujt/ujt.pro b/src/SubcircuitLibrary/ujt/ujt.pro
new file mode 100644
index 00000000..24c5e186
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt.pro
@@ -0,0 +1,44 @@
+update=Tue Jun 11 16:36:40 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=../../../kicadSchematicLibrary
+[eeschema/libraries]
+LibName1=power
+LibName2=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_User
+LibName3=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Subckt
+LibName4=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Sources
+LibName5=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Power
+LibName6=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Plot
+LibName7=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Miscellaneous
+LibName8=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Hybrid
+LibName9=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Digital
+LibName10=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Devices
+LibName11=/home/bhargav/Downloads/eSim-1.1.2/kicadSchematicLibrary/eSim_Analog
diff --git a/src/SubcircuitLibrary/ujt/ujt.sch b/src/SubcircuitLibrary/ujt/ujt.sch
new file mode 100644
index 00000000..c1eb98f1
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt.sch
@@ -0,0 +1,205 @@
+EESchema Schematic File Version 2
+LIBS:power
+LIBS:eSim_User
+LIBS:eSim_Subckt
+LIBS:eSim_Sources
+LIBS:eSim_Power
+LIBS:eSim_Plot
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Hybrid
+LIBS:eSim_Digital
+LIBS:eSim_Devices
+LIBS:eSim_Analog
+LIBS:ujt-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 eSim_R R3
+U 1 1 5CF5F733
+P 7400 2850
+F 0 "R3" H 7450 2980 50 0000 C CNN
+F 1 "1000k" H 7450 2900 50 0000 C CNN
+F 2 "" H 7450 2830 30 0000 C CNN
+F 3 "" V 7450 2900 30 0000 C CNN
+ 1 7400 2850
+ 0 1 -1 0
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5CF61B3A
+P 5150 4700
+F 0 "C1" H 5175 4800 50 0000 L CNN
+F 1 "35p" H 5175 4600 50 0000 L CNN
+F 2 "" H 5188 4550 30 0000 C CNN
+F 3 "" H 5150 4700 60 0000 C CNN
+ 1 5150 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_R R1
+U 1 1 5CF6211F
+P 4300 4850
+F 0 "R1" H 4350 4980 50 0000 C CNN
+F 1 "38.15" H 4350 4900 50 0000 C CNN
+F 2 "" H 4350 4830 30 0000 C CNN
+F 3 "" V 4350 4900 30 0000 C CNN
+ 1 4300 4850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_R R2
+U 1 1 5CF6218A
+P 4550 3650
+F 0 "R2" H 4600 3780 50 0000 C CNN
+F 1 "2.518k" H 4600 3700 50 0000 C CNN
+F 2 "" H 4600 3630 30 0000 C CNN
+F 3 "" V 4600 3700 30 0000 C CNN
+ 1 4550 3650
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 5CF6830A
+P 4250 4150
+F 0 "U1" H 4300 4250 30 0000 C CNN
+F 1 "PORT" H 4250 4150 30 0000 C CNN
+F 2 "" H 4250 4150 60 0000 C CNN
+F 3 "" H 4250 4150 60 0000 C CNN
+ 2 4250 4150
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 1 1 5CF689AD
+P 5950 1200
+F 0 "U1" H 6000 1300 30 0000 C CNN
+F 1 "PORT" H 5950 1200 30 0000 C CNN
+F 2 "" H 5950 1200 60 0000 C CNN
+F 3 "" H 5950 1200 60 0000 C CNN
+ 1 5950 1200
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 3 1 5CF69586
+P 4600 3000
+F 0 "U1" H 4650 3100 30 0000 C CNN
+F 1 "PORT" H 4600 3000 30 0000 C CNN
+F 2 "" H 4600 3000 60 0000 C CNN
+F 3 "" H 4600 3000 60 0000 C CNN
+ 3 4600 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L NLDS B1
+U 1 1 5CFD2C88
+P 5950 4800
+F 0 "B1" H 5950 4800 60 0000 C CNN
+F 1 "I=0.00028*V(5,7)+0.00575*V(5,7)*V(6)" H 7050 4900 60 0000 C CNN
+F 2 "" H 5950 4800 60 0000 C CNN
+F 3 "" H 5950 4800 60 0000 C CNN
+ 1 5950 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 5CFF8BB7
+P 5950 1850
+F 0 "D1" H 5950 1950 50 0000 C CNN
+F 1 "eSim_Diode" H 5950 1750 50 0000 C CNN
+F 2 "" H 5950 1850 60 0000 C CNN
+F 3 "" H 5950 1850 60 0000 C CNN
+ 1 5950 1850
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6950 2500 7450 2500
+Wire Wire Line
+ 7450 2500 7450 2650
+Wire Wire Line
+ 6950 3100 7450 3100
+Wire Wire Line
+ 5950 1450 5950 1700
+Wire Wire Line
+ 5950 2000 5950 2750
+Wire Wire Line
+ 5950 2850 5950 4450
+Wire Wire Line
+ 5150 4100 5150 4550
+Wire Wire Line
+ 4600 4100 5950 4100
+Wire Wire Line
+ 5150 4850 5150 5250
+Wire Wire Line
+ 4250 5250 5950 5250
+Wire Wire Line
+ 4250 5250 4250 4950
+Wire Wire Line
+ 4600 4100 4600 3850
+Connection ~ 5150 4100
+Wire Wire Line
+ 4250 4650 4250 4400
+Wire Wire Line
+ 4600 3550 4600 3250
+Wire Wire Line
+ 5950 5250 5950 5150
+Connection ~ 5150 5250
+Wire Wire Line
+ 7450 3100 7450 2950
+Connection ~ 5950 4100
+$Comp
+L CCVS H1
+U 1 1 5D04A7ED
+P 6900 2800
+F 0 "H1" H 6900 2950 50 0000 C CNN
+F 1 "1k" H 6700 2750 50 0000 C CNN
+F 2 "" H 6900 2800 60 0000 C CNN
+F 3 "" H 6900 2800 60 0000 C CNN
+ 1 6900 2800
+ 0 1 1 0
+$EndComp
+$Comp
+L GND #PWR01
+U 1 1 5D04C560
+P 7150 3150
+F 0 "#PWR01" H 7150 2900 50 0001 C CNN
+F 1 "GND" H 7150 3000 50 0000 C CNN
+F 2 "" H 7150 3150 50 0001 C CNN
+F 3 "" H 7150 3150 50 0001 C CNN
+ 1 7150 3150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7150 3150 7150 3100
+Connection ~ 7150 3100
+Wire Wire Line
+ 5950 2750 6700 2750
+Wire Wire Line
+ 6700 2850 5950 2850
+Text GLabel 5950 1550 0 60 Input ~ 0
+1
+Text GLabel 5950 2200 0 60 Input ~ 0
+4
+Text GLabel 5950 3500 0 60 Input ~ 0
+5
+Text GLabel 5700 5250 3 60 Input ~ 0
+7
+Text GLabel 4250 4550 0 60 Input ~ 0
+2
+Text GLabel 4600 3350 0 60 Input ~ 0
+3
+Text GLabel 7200 2500 1 60 Input ~ 0
+6
+$EndSCHEMATC
diff --git a/src/SubcircuitLibrary/ujt/ujt.sub b/src/SubcircuitLibrary/ujt/ujt.sub
new file mode 100644
index 00000000..e86745b5
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt.sub
@@ -0,0 +1,16 @@
+* Subcircuit ujt
+.subckt ujt 1 2 3
+* /home/bhargav/downloads/esim-1.1.2/src/subcircuitlibrary/ujt/ujt.cir
+.include emitter.lib
+r3 gnd 6 1000k
+c1 5 7 35p
+r1 7 2 38.15
+r2 3 5 2.518k
+b1 5 7 i=0.00028*v(5,7)+0.00575*v(5,7)*v(6)
+d1 1 4 emitter
+* h1
+Vh1 4 5 0
+h1 6 gnd Vh1 1k
+* Control Statements
+
+.ends ujt \ No newline at end of file
diff --git a/src/SubcircuitLibrary/ujt/ujt_Previous_Values.xml b/src/SubcircuitLibrary/ujt/ujt_Previous_Values.xml
new file mode 100644
index 00000000..993933d5
--- /dev/null
+++ b/src/SubcircuitLibrary/ujt/ujt_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source><v1 name="Source type">0</v1><ve1 name="Source type">0</ve1><i1 name="Source type">dc<field1 name="Value">0.000001m</field1></i1><v2 name="Source type">0</v2><v1 name="Source type">dc<field1 name="Value">0</field1></v1></source><model /><devicemodel><d1><field>/home/bhargav/Downloads/eSim-1.1.2/src/deviceModelLibrary/Diode/emitter.lib</field></d1></devicemodel><subcircuit /><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">5</field2><field3 name="Stop Time">100</field3><field4 name="Start Combo">ms</field4><field5 name="Step Combo">us</field5><field6 name="Stop Combo">ms</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file