summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkushECE2022-08-24 23:11:02 +0530
committerAnkushECE2022-08-24 23:11:02 +0530
commitec998692f698ceef68d8ccdb97c2132bd5bd1021 (patch)
treee9aa13ea3126cdb72fd58bcf6d820dd0afa2dd5c
parent2ca7e025d9b51c163c35a5eec449eb6243da3d16 (diff)
downloadeSim-ec998692f698ceef68d8ccdb97c2132bd5bd1021.tar.gz
eSim-ec998692f698ceef68d8ccdb97c2132bd5bd1021.tar.bz2
eSim-ec998692f698ceef68d8ccdb97c2132bd5bd1021.zip
CD54HC151 is 8x1 Multiplexer IC.
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib100
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir75
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out78
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch1721
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub72
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib128
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir32
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out36
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro71
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch893
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub30
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/README.md21
-rw-r--r--library/SubcircuitLibrary/CD54_HC_151/analysis1
18 files changed, 3355 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib b/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157-cache.lib
@@ -0,0 +1,100 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir
new file mode 100644
index 00000000..8a833fef
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir
@@ -0,0 +1,75 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157\CD54_157.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/14/22 12:01:36
+
+* 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: /
+M55 Net-_M55-Pad1_ /i0_3 /vcc /vcc eSim_MOS_P
+M60 Net-_M55-Pad1_ Net-_M58-Pad2_ /vcc /vcc eSim_MOS_P
+M65 Net-_M55-Pad1_ Net-_M57-Pad2_ /vcc /vcc eSim_MOS_P
+M56 /y3_bar /i1_3 Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M61 /y3_bar Net-_M58-Pad2_ Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M66 /y3_bar /s Net-_M55-Pad1_ Net-_M55-Pad1_ eSim_MOS_P
+M57 /y3_bar Net-_M57-Pad2_ Net-_M57-Pad3_ Net-_M57-Pad3_ eSim_MOS_N
+M58 Net-_M57-Pad3_ Net-_M58-Pad2_ Net-_M58-Pad3_ Net-_M58-Pad3_ eSim_MOS_N
+M59 Net-_M58-Pad3_ /i0_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M62 /y3_bar /s Net-_M62-Pad3_ Net-_M62-Pad3_ eSim_MOS_N
+M63 Net-_M62-Pad3_ Net-_M58-Pad2_ Net-_M63-Pad3_ Net-_M63-Pad3_ eSim_MOS_N
+M64 Net-_M63-Pad3_ /i1_3 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M68 Net-_M57-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M67 Net-_M57-Pad2_ /s /vcc /vcc eSim_MOS_P
+M71 Net-_M58-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M72 Net-_M58-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M1 Net-_M1-Pad1_ /i0_1 /vcc /vcc eSim_MOS_P
+M11 Net-_M1-Pad1_ Net-_M11-Pad2_ /vcc /vcc eSim_MOS_P
+M18 Net-_M1-Pad1_ Net-_M18-Pad2_ /vcc /vcc eSim_MOS_P
+M2 /y1_bar /i1_1 Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M12 /y1_bar Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M19 /y1_bar /s Net-_M1-Pad1_ Net-_M1-Pad1_ eSim_MOS_P
+M3 /y1_bar Net-_M18-Pad2_ Net-_M3-Pad3_ Net-_M3-Pad3_ eSim_MOS_N
+M4 Net-_M3-Pad3_ Net-_M11-Pad2_ Net-_M4-Pad3_ Net-_M4-Pad3_ eSim_MOS_N
+M5 Net-_M4-Pad3_ /i0_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M15 /y1_bar /s Net-_M15-Pad3_ Net-_M15-Pad3_ eSim_MOS_N
+M16 Net-_M15-Pad3_ Net-_M11-Pad2_ Net-_M16-Pad3_ Net-_M16-Pad3_ eSim_MOS_N
+M17 Net-_M16-Pad3_ /i1_1 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M26 Net-_M18-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M25 Net-_M18-Pad2_ /s /vcc /vcc eSim_MOS_P
+M33 Net-_M11-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M34 Net-_M11-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M6 Net-_M13-Pad1_ /i0_2 /vcc /vcc eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ /vcc /vcc eSim_MOS_P
+M23 Net-_M13-Pad1_ Net-_M23-Pad2_ /vcc /vcc eSim_MOS_P
+M7 /y2_bar /i1_2 Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M14 /y2_bar Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M24 /y2_bar /s Net-_M13-Pad1_ Net-_M13-Pad1_ eSim_MOS_P
+M8 /y2_bar Net-_M23-Pad2_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad3_ Net-_M13-Pad2_ Net-_M10-Pad1_ Net-_M10-Pad1_ eSim_MOS_N
+M10 Net-_M10-Pad1_ /i0_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M20 /y2_bar /s Net-_M20-Pad3_ Net-_M20-Pad3_ eSim_MOS_N
+M21 Net-_M20-Pad3_ Net-_M13-Pad2_ Net-_M21-Pad3_ Net-_M21-Pad3_ eSim_MOS_N
+M22 Net-_M21-Pad3_ /i1_2 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M30 Net-_M23-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M29 Net-_M23-Pad2_ /s /vcc /vcc eSim_MOS_P
+M35 Net-_M13-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M36 Net-_M13-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M37 Net-_M37-Pad1_ /i0_4 /vcc /vcc eSim_MOS_P
+M42 Net-_M37-Pad1_ Net-_M40-Pad2_ /vcc /vcc eSim_MOS_P
+M47 Net-_M37-Pad1_ Net-_M39-Pad2_ /vcc /vcc eSim_MOS_P
+M38 /y4_bar /i1_4 Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M43 /y4_bar Net-_M40-Pad2_ Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M48 /y4_bar /s Net-_M37-Pad1_ Net-_M37-Pad1_ eSim_MOS_P
+M39 /y4_bar Net-_M39-Pad2_ Net-_M39-Pad3_ Net-_M39-Pad3_ eSim_MOS_N
+M40 Net-_M39-Pad3_ Net-_M40-Pad2_ Net-_M40-Pad3_ Net-_M40-Pad3_ eSim_MOS_N
+M41 Net-_M40-Pad3_ /i0_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M44 /y4_bar /s Net-_M44-Pad3_ Net-_M44-Pad3_ eSim_MOS_N
+M45 Net-_M44-Pad3_ Net-_M40-Pad2_ Net-_M45-Pad3_ Net-_M45-Pad3_ eSim_MOS_N
+M46 Net-_M45-Pad3_ /i1_4 Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M50 Net-_M39-Pad2_ /s Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+M49 Net-_M39-Pad2_ /s /vcc /vcc eSim_MOS_P
+M53 Net-_M40-Pad2_ /enable_bar /vcc /vcc eSim_MOS_P
+M54 Net-_M40-Pad2_ /enable_bar Net-_M10-Pad3_ Net-_M10-Pad3_ eSim_MOS_N
+U1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar Net-_M10-Pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out
new file mode 100644
index 00000000..1f4b4837
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.cir.out
@@ -0,0 +1,78 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* u1 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch
new file mode 100644
index 00000000..1e92f660
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sch
@@ -0,0 +1,1721 @@
+EESchema Schematic File Version 2
+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:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54_157-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_MOS_P M55
+U 1 1 62A758F3
+P 6850 1300
+F 0 "M55" H 6800 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 1450 50 0000 R CNN
+F 2 "" H 7100 1400 29 0000 C CNN
+F 3 "" H 6900 1300 60 0000 C CNN
+ 1 6850 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M60
+U 1 1 62A758F4
+P 7700 1300
+F 0 "M60" H 7650 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 1450 50 0000 R CNN
+F 2 "" H 7950 1400 29 0000 C CNN
+F 3 "" H 7750 1300 60 0000 C CNN
+ 1 7700 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M65
+U 1 1 62A758F5
+P 8350 1300
+F 0 "M65" H 8300 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 1450 50 0000 R CNN
+F 2 "" H 8600 1400 29 0000 C CNN
+F 3 "" H 8400 1300 60 0000 C CNN
+ 1 8350 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 62A758F6
+P 6850 1850
+F 0 "M56" H 6800 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6900 2000 50 0000 R CNN
+F 2 "" H 7100 1950 29 0000 C CNN
+F 3 "" H 6900 1850 60 0000 C CNN
+ 1 6850 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 62A758F7
+P 7700 1850
+F 0 "M61" H 7650 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7750 2000 50 0000 R CNN
+F 2 "" H 7950 1950 29 0000 C CNN
+F 3 "" H 7750 1850 60 0000 C CNN
+ 1 7700 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M66
+U 1 1 62A758F8
+P 8350 1850
+F 0 "M66" H 8300 1900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8400 2000 50 0000 R CNN
+F 2 "" H 8600 1950 29 0000 C CNN
+F 3 "" H 8400 1850 60 0000 C CNN
+ 1 8350 1850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M57
+U 1 1 62A758F9
+P 7000 2550
+F 0 "M57" H 7000 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 2500 50 0000 R CNN
+F 2 "" H 7300 2250 29 0000 C CNN
+F 3 "" H 7100 2350 60 0000 C CNN
+ 1 7000 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M58
+U 1 1 62A758FA
+P 7000 3100
+F 0 "M58" H 7000 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3050 50 0000 R CNN
+F 2 "" H 7300 2800 29 0000 C CNN
+F 3 "" H 7100 2900 60 0000 C CNN
+ 1 7000 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 62A758FB
+P 7000 3650
+F 0 "M59" H 7000 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 3600 50 0000 R CNN
+F 2 "" H 7300 3350 29 0000 C CNN
+F 3 "" H 7100 3450 60 0000 C CNN
+ 1 7000 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M62
+U 1 1 62A758FC
+P 8250 2550
+F 0 "M62" H 8250 2400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 2500 50 0000 R CNN
+F 2 "" H 8550 2250 29 0000 C CNN
+F 3 "" H 8350 2350 60 0000 C CNN
+ 1 8250 2550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M63
+U 1 1 62A758FD
+P 8250 3100
+F 0 "M63" H 8250 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3050 50 0000 R CNN
+F 2 "" H 8550 2800 29 0000 C CNN
+F 3 "" H 8350 2900 60 0000 C CNN
+ 1 8250 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M64
+U 1 1 62A758FE
+P 8250 3650
+F 0 "M64" H 8250 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8350 3600 50 0000 R CNN
+F 2 "" H 8550 3350 29 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 1 8250 3650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M68
+U 1 1 62A758FF
+P 9450 1700
+F 0 "M68" H 9450 1550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9550 1650 50 0000 R CNN
+F 2 "" H 9750 1400 29 0000 C CNN
+F 3 "" H 9550 1500 60 0000 C CNN
+ 1 9450 1700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M67
+U 1 1 62A75900
+P 9400 1300
+F 0 "M67" H 9350 1350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 9450 1450 50 0000 R CNN
+F 2 "" H 9650 1400 29 0000 C CNN
+F 3 "" H 9450 1300 60 0000 C CNN
+ 1 9400 1300
+ -1 0 0 1
+$EndComp
+Text Label 6550 1300 0 60 ~ 0
+i0_3
+Text Label 6450 1850 0 60 ~ 0
+i1_3
+Text Label 11550 1100 0 60 ~ 0
+sel
+Text Label 9050 2300 0 60 ~ 0
+y3_bar
+$Comp
+L eSim_MOS_P M71
+U 1 1 62A7D356
+P 10250 2800
+F 0 "M71" H 10200 2850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10300 2950 50 0000 R CNN
+F 2 "" H 10500 2900 29 0000 C CNN
+F 3 "" H 10300 2800 60 0000 C CNN
+ 1 10250 2800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M72
+U 1 1 62A7D35C
+P 10300 3150
+F 0 "M72" H 10300 3000 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 3100 50 0000 R CNN
+F 2 "" H 10600 2850 29 0000 C CNN
+F 3 "" H 10400 2950 60 0000 C CNN
+ 1 10300 3150
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 62A8A1B2
+P -5350 -50
+F 0 "M1" H -5400 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 100 50 0000 R CNN
+F 2 "" H -5100 50 29 0000 C CNN
+F 3 "" H -5300 -50 60 0000 C CNN
+ 1 -5350 -50
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62A8A1B8
+P -4500 -50
+F 0 "M11" H -4550 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 100 50 0000 R CNN
+F 2 "" H -4250 50 29 0000 C CNN
+F 3 "" H -4450 -50 60 0000 C CNN
+ 1 -4500 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 62A8A1BE
+P -3850 -50
+F 0 "M18" H -3900 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 100 50 0000 R CNN
+F 2 "" H -3600 50 29 0000 C CNN
+F 3 "" H -3800 -50 60 0000 C CNN
+ 1 -3850 -50
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 62A8A1C4
+P -5350 500
+F 0 "M2" H -5400 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5300 650 50 0000 R CNN
+F 2 "" H -5100 600 29 0000 C CNN
+F 3 "" H -5300 500 60 0000 C CNN
+ 1 -5350 500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62A8A1CA
+P -4500 500
+F 0 "M12" H -4550 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4450 650 50 0000 R CNN
+F 2 "" H -4250 600 29 0000 C CNN
+F 3 "" H -4450 500 60 0000 C CNN
+ 1 -4500 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M19
+U 1 1 62A8A1D0
+P -3850 500
+F 0 "M19" H -3900 550 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3800 650 50 0000 R CNN
+F 2 "" H -3600 600 29 0000 C CNN
+F 3 "" H -3800 500 60 0000 C CNN
+ 1 -3850 500
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62A8A1D6
+P -5200 1200
+F 0 "M3" H -5200 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1150 50 0000 R CNN
+F 2 "" H -4900 900 29 0000 C CNN
+F 3 "" H -5100 1000 60 0000 C CNN
+ 1 -5200 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62A8A1DC
+P -5200 1750
+F 0 "M4" H -5200 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 1700 50 0000 R CNN
+F 2 "" H -4900 1450 29 0000 C CNN
+F 3 "" H -5100 1550 60 0000 C CNN
+ 1 -5200 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 62A8A1E2
+P -5200 2300
+F 0 "M5" H -5200 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -5100 2250 50 0000 R CNN
+F 2 "" H -4900 2000 29 0000 C CNN
+F 3 "" H -5100 2100 60 0000 C CNN
+ 1 -5200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M15
+U 1 1 62A8A1E8
+P -3950 1200
+F 0 "M15" H -3950 1050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1150 50 0000 R CNN
+F 2 "" H -3650 900 29 0000 C CNN
+F 3 "" H -3850 1000 60 0000 C CNN
+ 1 -3950 1200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M16
+U 1 1 62A8A1EE
+P -3950 1750
+F 0 "M16" H -3950 1600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 1700 50 0000 R CNN
+F 2 "" H -3650 1450 29 0000 C CNN
+F 3 "" H -3850 1550 60 0000 C CNN
+ 1 -3950 1750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 62A8A1F4
+P -3950 2300
+F 0 "M17" H -3950 2150 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3850 2250 50 0000 R CNN
+F 2 "" H -3650 2000 29 0000 C CNN
+F 3 "" H -3850 2100 60 0000 C CNN
+ 1 -3950 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 62A8A1FA
+P -2750 350
+F 0 "M26" H -2750 200 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2650 300 50 0000 R CNN
+F 2 "" H -2450 50 29 0000 C CNN
+F 3 "" H -2650 150 60 0000 C CNN
+ 1 -2750 350
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M25
+U 1 1 62A8A200
+P -2800 -50
+F 0 "M25" H -2850 0 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2750 100 50 0000 R CNN
+F 2 "" H -2550 50 29 0000 C CNN
+F 3 "" H -2750 -50 60 0000 C CNN
+ 1 -2800 -50
+ -1 0 0 1
+$EndComp
+Text Label -5650 -50 0 60 ~ 0
+i0_1
+Text Label -5750 500 0 60 ~ 0
+i1_1
+Text Label -2350 250 0 60 ~ 0
+s
+Text Label -8300 100 0 60 ~ 0
+vcc
+Text Label -3000 950 2 60 ~ 0
+y1_bar
+$Comp
+L eSim_MOS_P M33
+U 1 1 62A8A287
+P -1950 1450
+F 0 "M33" H -2000 1500 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1900 1600 50 0000 R CNN
+F 2 "" H -1700 1550 29 0000 C CNN
+F 3 "" H -1900 1450 60 0000 C CNN
+ 1 -1950 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 62A8A28D
+P -1900 1800
+F 0 "M34" H -1900 1650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1800 1750 50 0000 R CNN
+F 2 "" H -1600 1500 29 0000 C CNN
+F 3 "" H -1800 1600 60 0000 C CNN
+ 1 -1900 1800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62A8A727
+P -5200 4400
+F 0 "M6" H -5250 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 4550 50 0000 R CNN
+F 2 "" H -4950 4500 29 0000 C CNN
+F 3 "" H -5150 4400 60 0000 C CNN
+ 1 -5200 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 62A8A72D
+P -4350 4400
+F 0 "M13" H -4400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 4550 50 0000 R CNN
+F 2 "" H -4100 4500 29 0000 C CNN
+F 3 "" H -4300 4400 60 0000 C CNN
+ 1 -4350 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M23
+U 1 1 62A8A733
+P -3700 4400
+F 0 "M23" H -3750 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 4550 50 0000 R CNN
+F 2 "" H -3450 4500 29 0000 C CNN
+F 3 "" H -3650 4400 60 0000 C CNN
+ 1 -3700 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62A8A739
+P -5200 4950
+F 0 "M7" H -5250 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -5150 5100 50 0000 R CNN
+F 2 "" H -4950 5050 29 0000 C CNN
+F 3 "" H -5150 4950 60 0000 C CNN
+ 1 -5200 4950
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62A8A73F
+P -4350 4950
+F 0 "M14" H -4400 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -4300 5100 50 0000 R CNN
+F 2 "" H -4100 5050 29 0000 C CNN
+F 3 "" H -4300 4950 60 0000 C CNN
+ 1 -4350 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M24
+U 1 1 62A8A745
+P -3700 4950
+F 0 "M24" H -3750 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H -3650 5100 50 0000 R CNN
+F 2 "" H -3450 5050 29 0000 C CNN
+F 3 "" H -3650 4950 60 0000 C CNN
+ 1 -3700 4950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 62A8A74B
+P -5050 5650
+F 0 "M8" H -5050 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 5600 50 0000 R CNN
+F 2 "" H -4750 5350 29 0000 C CNN
+F 3 "" H -4950 5450 60 0000 C CNN
+ 1 -5050 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62A8A751
+P -5050 6200
+F 0 "M9" H -5050 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6150 50 0000 R CNN
+F 2 "" H -4750 5900 29 0000 C CNN
+F 3 "" H -4950 6000 60 0000 C CNN
+ 1 -5050 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62A8A757
+P -5050 6750
+F 0 "M10" H -5050 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -4950 6700 50 0000 R CNN
+F 2 "" H -4750 6450 29 0000 C CNN
+F 3 "" H -4950 6550 60 0000 C CNN
+ 1 -5050 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 62A8A75D
+P -3800 5650
+F 0 "M20" H -3800 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 5600 50 0000 R CNN
+F 2 "" H -3500 5350 29 0000 C CNN
+F 3 "" H -3700 5450 60 0000 C CNN
+ 1 -3800 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M21
+U 1 1 62A8A763
+P -3800 6200
+F 0 "M21" H -3800 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6150 50 0000 R CNN
+F 2 "" H -3500 5900 29 0000 C CNN
+F 3 "" H -3700 6000 60 0000 C CNN
+ 1 -3800 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M22
+U 1 1 62A8A769
+P -3800 6750
+F 0 "M22" H -3800 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H -3700 6700 50 0000 R CNN
+F 2 "" H -3500 6450 29 0000 C CNN
+F 3 "" H -3700 6550 60 0000 C CNN
+ 1 -3800 6750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M30
+U 1 1 62A8A76F
+P -2600 4800
+F 0 "M30" H -2600 4650 50 0000 R CNN
+F 1 "eSim_MOS_N" H -2500 4750 50 0000 R CNN
+F 2 "" H -2300 4500 29 0000 C CNN
+F 3 "" H -2500 4600 60 0000 C CNN
+ 1 -2600 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 62A8A775
+P -2650 4400
+F 0 "M29" H -2700 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H -2600 4550 50 0000 R CNN
+F 2 "" H -2400 4500 29 0000 C CNN
+F 3 "" H -2600 4400 60 0000 C CNN
+ 1 -2650 4400
+ -1 0 0 1
+$EndComp
+Text Label -5500 4400 0 60 ~ 0
+i0_2
+Text Label -5600 4950 0 60 ~ 0
+i1_2
+Text Label -2200 4700 0 60 ~ 0
+s
+Text Label -3050 5400 0 60 ~ 0
+y2_bar
+Text Label 11500 4450 0 60 ~ 0
+enable_bar
+$Comp
+L eSim_MOS_P M35
+U 1 1 62A8A7FC
+P -1800 5900
+F 0 "M35" H -1850 5950 50 0000 R CNN
+F 1 "eSim_MOS_P" H -1750 6050 50 0000 R CNN
+F 2 "" H -1550 6000 29 0000 C CNN
+F 3 "" H -1750 5900 60 0000 C CNN
+ 1 -1800 5900
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M36
+U 1 1 62A8A802
+P -1750 6250
+F 0 "M36" H -1750 6100 50 0000 R CNN
+F 1 "eSim_MOS_N" H -1650 6200 50 0000 R CNN
+F 2 "" H -1450 5950 29 0000 C CNN
+F 3 "" H -1650 6050 60 0000 C CNN
+ 1 -1750 6250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M37
+U 1 1 62A8AFEC
+P 2600 3850
+F 0 "M37" H 2550 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4000 50 0000 R CNN
+F 2 "" H 2850 3950 29 0000 C CNN
+F 3 "" H 2650 3850 60 0000 C CNN
+ 1 2600 3850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M42
+U 1 1 62A8AFF2
+P 3450 3850
+F 0 "M42" H 3400 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4000 50 0000 R CNN
+F 2 "" H 3700 3950 29 0000 C CNN
+F 3 "" H 3500 3850 60 0000 C CNN
+ 1 3450 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M47
+U 1 1 62A8AFF8
+P 4100 3850
+F 0 "M47" H 4050 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4000 50 0000 R CNN
+F 2 "" H 4350 3950 29 0000 C CNN
+F 3 "" H 4150 3850 60 0000 C CNN
+ 1 4100 3850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 62A8AFFE
+P 2600 4400
+F 0 "M38" H 2550 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2650 4550 50 0000 R CNN
+F 2 "" H 2850 4500 29 0000 C CNN
+F 3 "" H 2650 4400 60 0000 C CNN
+ 1 2600 4400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M43
+U 1 1 62A8B004
+P 3450 4400
+F 0 "M43" H 3400 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3500 4550 50 0000 R CNN
+F 2 "" H 3700 4500 29 0000 C CNN
+F 3 "" H 3500 4400 60 0000 C CNN
+ 1 3450 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M48
+U 1 1 62A8B00A
+P 4100 4400
+F 0 "M48" H 4050 4450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4150 4550 50 0000 R CNN
+F 2 "" H 4350 4500 29 0000 C CNN
+F 3 "" H 4150 4400 60 0000 C CNN
+ 1 4100 4400
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 62A8B010
+P 2750 5100
+F 0 "M39" H 2750 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5050 50 0000 R CNN
+F 2 "" H 3050 4800 29 0000 C CNN
+F 3 "" H 2850 4900 60 0000 C CNN
+ 1 2750 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M40
+U 1 1 62A8B016
+P 2750 5650
+F 0 "M40" H 2750 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 5600 50 0000 R CNN
+F 2 "" H 3050 5350 29 0000 C CNN
+F 3 "" H 2850 5450 60 0000 C CNN
+ 1 2750 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 62A8B01C
+P 2750 6200
+F 0 "M41" H 2750 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 6150 50 0000 R CNN
+F 2 "" H 3050 5900 29 0000 C CNN
+F 3 "" H 2850 6000 60 0000 C CNN
+ 1 2750 6200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M44
+U 1 1 62A8B022
+P 4000 5100
+F 0 "M44" H 4000 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5050 50 0000 R CNN
+F 2 "" H 4300 4800 29 0000 C CNN
+F 3 "" H 4100 4900 60 0000 C CNN
+ 1 4000 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 62A8B028
+P 4000 5650
+F 0 "M45" H 4000 5500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 5600 50 0000 R CNN
+F 2 "" H 4300 5350 29 0000 C CNN
+F 3 "" H 4100 5450 60 0000 C CNN
+ 1 4000 5650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 62A8B02E
+P 4000 6200
+F 0 "M46" H 4000 6050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4100 6150 50 0000 R CNN
+F 2 "" H 4300 5900 29 0000 C CNN
+F 3 "" H 4100 6000 60 0000 C CNN
+ 1 4000 6200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M50
+U 1 1 62A8B034
+P 5200 4250
+F 0 "M50" H 5200 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5300 4200 50 0000 R CNN
+F 2 "" H 5500 3950 29 0000 C CNN
+F 3 "" H 5300 4050 60 0000 C CNN
+ 1 5200 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M49
+U 1 1 62A8B03A
+P 5150 3850
+F 0 "M49" H 5100 3900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5200 4000 50 0000 R CNN
+F 2 "" H 5400 3950 29 0000 C CNN
+F 3 "" H 5200 3850 60 0000 C CNN
+ 1 5150 3850
+ -1 0 0 1
+$EndComp
+Text Label 2300 3850 0 60 ~ 0
+i0_4
+Text Label 2200 4400 0 60 ~ 0
+i1_4
+Text Label 4750 4850 0 60 ~ 0
+y4_bar
+$Comp
+L eSim_MOS_P M53
+U 1 1 62A8B0C1
+P 6000 5350
+F 0 "M53" H 5950 5400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6050 5500 50 0000 R CNN
+F 2 "" H 6250 5450 29 0000 C CNN
+F 3 "" H 6050 5350 60 0000 C CNN
+ 1 6000 5350
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 62A8B0C7
+P 6050 5700
+F 0 "M54" H 6050 5550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6150 5650 50 0000 R CNN
+F 2 "" H 6350 5400 29 0000 C CNN
+F 3 "" H 6150 5500 60 0000 C CNN
+ 1 6050 5700
+ -1 0 0 -1
+$EndComp
+Connection ~ 9250 1100
+Connection ~ 7900 3050
+Wire Wire Line
+ 7900 3050 10100 3050
+Connection ~ 7850 1750
+Connection ~ 7900 3150
+Wire Wire Line
+ 7900 1750 7900 3150
+Wire Wire Line
+ 7850 1750 7900 1750
+Connection ~ 9250 4050
+Connection ~ 6250 1300
+Wire Wire Line
+ 6250 1300 6250 3850
+Connection ~ 6350 1850
+Wire Wire Line
+ 6350 3600 6350 1850
+Connection ~ 7550 2300
+Wire Wire Line
+ 7550 2300 9400 2300
+Wire Wire Line
+ 3850 1850 6700 1850
+Wire Wire Line
+ 3850 1300 6700 1300
+Wire Wire Line
+ 6250 3850 6900 3850
+Wire Wire Line
+ 8350 3600 6350 3600
+Wire Wire Line
+ 8350 3850 8350 3600
+Connection ~ 8950 1850
+Wire Wire Line
+ 8950 2750 8350 2750
+Connection ~ 8950 1600
+Wire Wire Line
+ 6600 2750 6900 2750
+Wire Wire Line
+ 6600 1600 6600 2750
+Connection ~ 9650 1600
+Wire Wire Line
+ 8950 1850 8500 1850
+Wire Wire Line
+ 8950 1700 8950 2750
+Wire Wire Line
+ 9650 1700 8950 1700
+Wire Wire Line
+ 9650 1600 9650 1700
+Connection ~ 8050 4050
+Wire Wire Line
+ 9250 4050 9250 2100
+Connection ~ 8200 1100
+Connection ~ 9150 1100
+Connection ~ 9250 1600
+Wire Wire Line
+ 8950 1300 8500 1300
+Wire Wire Line
+ 8950 1600 8950 1300
+Wire Wire Line
+ 6600 1600 9250 1600
+Connection ~ 9550 1600
+Wire Wire Line
+ 10750 1600 9550 1600
+Wire Wire Line
+ 9550 1300 9550 1900
+Wire Wire Line
+ 9250 2100 9150 2100
+Wire Wire Line
+ 9150 2100 9150 2050
+Wire Wire Line
+ 9150 1100 9150 1150
+Wire Wire Line
+ 9250 1500 9250 1700
+Wire Wire Line
+ 1450 850 7550 850
+Wire Wire Line
+ 7550 850 7550 1100
+Wire Wire Line
+ 6900 3150 6900 3300
+Wire Wire Line
+ 6900 3150 8350 3150
+Wire Wire Line
+ 8350 3150 8350 3300
+Wire Wire Line
+ 7850 1300 7850 1850
+Wire Wire Line
+ 7550 1650 7550 1500
+Connection ~ 7600 4050
+Wire Wire Line
+ 7600 7400 7600 4050
+Connection ~ 7550 2550
+Wire Wire Line
+ 7550 2050 7550 2550
+Connection ~ 7950 4050
+Wire Wire Line
+ 7950 4050 7950 4000
+Connection ~ 7300 4050
+Wire Wire Line
+ 7300 4000 7300 4050
+Wire Wire Line
+ 7950 3500 8050 3500
+Wire Wire Line
+ 7950 3450 7950 3500
+Wire Wire Line
+ 7300 3500 7200 3500
+Wire Wire Line
+ 7300 3450 7300 3500
+Wire Wire Line
+ 7950 2950 8050 2950
+Wire Wire Line
+ 7950 2900 7950 2950
+Wire Wire Line
+ 7300 2950 7200 2950
+Wire Wire Line
+ 7300 2900 7300 2950
+Wire Wire Line
+ 7200 4050 10050 4050
+Wire Wire Line
+ 8050 3500 8050 3650
+Wire Wire Line
+ 7200 3500 7200 3650
+Wire Wire Line
+ 8050 2950 8050 3100
+Wire Wire Line
+ 7200 2950 7200 3100
+Wire Wire Line
+ 7200 2550 8050 2550
+Connection ~ 8100 1100
+Wire Wire Line
+ 8100 1100 8100 1150
+Connection ~ 7450 1100
+Wire Wire Line
+ 7450 1100 7450 1150
+Connection ~ 7100 1100
+Wire Wire Line
+ 7100 1150 7100 1100
+Connection ~ 8100 1650
+Wire Wire Line
+ 8100 1650 8100 1700
+Connection ~ 7450 1650
+Wire Wire Line
+ 7450 1650 7450 1700
+Connection ~ 7100 1650
+Wire Wire Line
+ 7100 1700 7100 1650
+Connection ~ 7550 2050
+Wire Wire Line
+ 7000 2050 8200 2050
+Connection ~ 7550 1650
+Wire Wire Line
+ 7000 1650 8200 1650
+Connection ~ 7550 1500
+Wire Wire Line
+ 7000 1500 8200 1500
+Connection ~ 7550 1100
+Wire Wire Line
+ 7000 1100 10000 1100
+Connection ~ 10100 3050
+Wire Wire Line
+ 10000 3550 10100 3550
+Wire Wire Line
+ 10400 2800 10400 3350
+Wire Wire Line
+ 10100 3000 10100 3150
+Wire Wire Line
+ 10100 2600 10000 2600
+Wire Wire Line
+ 10000 1100 10000 2650
+Wire Wire Line
+ 10000 3550 10000 3500
+Wire Wire Line
+ 10050 4050 10050 3550
+Connection ~ 10050 3550
+Connection ~ 10000 2600
+Wire Wire Line
+ 10400 3050 11050 3050
+Connection ~ 10400 3050
+Connection ~ -2950 -250
+Connection ~ -4350 400
+Connection ~ -4300 1800
+Wire Wire Line
+ -4300 400 -4300 1800
+Wire Wire Line
+ -4350 400 -4300 400
+Connection ~ -2950 2700
+Connection ~ -5950 -50
+Wire Wire Line
+ -5950 -50 -5950 2500
+Connection ~ -5850 500
+Wire Wire Line
+ -5850 2250 -5850 500
+Connection ~ -4650 950
+Wire Wire Line
+ -4650 950 -2800 950
+Wire Wire Line
+ -7450 500 -5500 500
+Wire Wire Line
+ -7450 -50 -5500 -50
+Wire Wire Line
+ -5950 2500 -5300 2500
+Wire Wire Line
+ -3850 2250 -5850 2250
+Wire Wire Line
+ -3850 2500 -3850 2250
+Connection ~ -3250 500
+Wire Wire Line
+ -3250 1400 -3850 1400
+Connection ~ -3250 250
+Wire Wire Line
+ -5600 1400 -5300 1400
+Wire Wire Line
+ -5600 250 -5600 1400
+Connection ~ -2550 250
+Wire Wire Line
+ -3250 500 -3700 500
+Wire Wire Line
+ -3250 350 -3250 1400
+Wire Wire Line
+ -2550 350 -3250 350
+Wire Wire Line
+ -2550 250 -2550 350
+Connection ~ -4150 2700
+Wire Wire Line
+ -2950 2700 -2950 750
+Connection ~ -4000 -250
+Connection ~ -3050 -250
+Connection ~ -2950 250
+Wire Wire Line
+ -3250 -50 -3700 -50
+Wire Wire Line
+ -3250 250 -3250 -50
+Wire Wire Line
+ -5600 250 -2950 250
+Connection ~ -2650 250
+Wire Wire Line
+ -2650 250 10750 250
+Wire Wire Line
+ -2650 -50 -2650 550
+Wire Wire Line
+ -2950 750 -3050 750
+Wire Wire Line
+ -3050 750 -3050 700
+Wire Wire Line
+ -3050 -250 -3050 -200
+Wire Wire Line
+ -2950 150 -2950 350
+Wire Wire Line
+ -8000 -500 1450 -500
+Wire Wire Line
+ -4650 -250 -4650 -500
+Wire Wire Line
+ -5300 1800 -5300 1950
+Wire Wire Line
+ -5300 1800 -3850 1800
+Wire Wire Line
+ -3850 1800 -3850 1950
+Wire Wire Line
+ -4350 -50 -4350 500
+Wire Wire Line
+ -4650 300 -4650 150
+Connection ~ -4600 2700
+Wire Wire Line
+ -4600 2700 -4600 3450
+Connection ~ -4650 1200
+Wire Wire Line
+ -4650 700 -4650 1200
+Connection ~ -4250 2700
+Wire Wire Line
+ -4250 2700 -4250 2650
+Connection ~ -4900 2700
+Wire Wire Line
+ -4900 2650 -4900 2700
+Wire Wire Line
+ -4250 2150 -4150 2150
+Wire Wire Line
+ -4250 2100 -4250 2150
+Wire Wire Line
+ -4900 2150 -5000 2150
+Wire Wire Line
+ -4900 2100 -4900 2150
+Wire Wire Line
+ -4250 1600 -4150 1600
+Wire Wire Line
+ -4250 1550 -4250 1600
+Wire Wire Line
+ -4900 1600 -5000 1600
+Wire Wire Line
+ -4900 1550 -4900 1600
+Wire Wire Line
+ -5000 2700 -2150 2700
+Wire Wire Line
+ -4150 2150 -4150 2300
+Wire Wire Line
+ -5000 2150 -5000 2300
+Wire Wire Line
+ -4150 1600 -4150 1750
+Wire Wire Line
+ -5000 1600 -5000 1750
+Wire Wire Line
+ -5000 1200 -4150 1200
+Connection ~ -4100 -250
+Wire Wire Line
+ -4100 -250 -4100 -200
+Connection ~ -4750 -250
+Wire Wire Line
+ -4750 -250 -4750 -200
+Connection ~ -5100 -250
+Wire Wire Line
+ -5100 -200 -5100 -250
+Connection ~ -4100 300
+Wire Wire Line
+ -4100 300 -4100 350
+Connection ~ -4750 300
+Wire Wire Line
+ -4750 300 -4750 350
+Connection ~ -5100 300
+Wire Wire Line
+ -5100 350 -5100 300
+Connection ~ -4650 700
+Wire Wire Line
+ -5200 700 -4000 700
+Connection ~ -4650 300
+Wire Wire Line
+ -5200 300 -4000 300
+Connection ~ -4650 150
+Wire Wire Line
+ -5200 150 -4000 150
+Connection ~ -4650 -250
+Wire Wire Line
+ -5200 -250 -2200 -250
+Wire Wire Line
+ -2200 2200 -2100 2200
+Wire Wire Line
+ -1800 1450 -1800 2000
+Wire Wire Line
+ -2100 1650 -2100 1800
+Wire Wire Line
+ -2100 1250 -2200 1250
+Wire Wire Line
+ -2200 -250 -2200 1300
+Wire Wire Line
+ -2200 2200 -2200 2150
+Wire Wire Line
+ -2150 2700 -2150 2200
+Connection ~ -2150 2200
+Connection ~ -2200 1250
+Wire Wire Line
+ -1800 1700 -1000 1700
+Connection ~ -1800 1700
+Connection ~ -2800 4200
+Connection ~ -4150 6150
+Wire Wire Line
+ -4150 6150 -1950 6150
+Connection ~ -4200 4850
+Connection ~ -4150 6250
+Wire Wire Line
+ -4150 4850 -4150 6250
+Wire Wire Line
+ -4200 4850 -4150 4850
+Connection ~ -2800 7150
+Wire Wire Line
+ -5800 4400 -5800 6950
+Connection ~ -5700 4950
+Wire Wire Line
+ -5700 6700 -5700 4950
+Connection ~ -4500 5400
+Wire Wire Line
+ -4500 5400 -2650 5400
+Wire Wire Line
+ -7800 4950 -5350 4950
+Wire Wire Line
+ -7850 4400 -5350 4400
+Wire Wire Line
+ -5800 6950 -5150 6950
+Wire Wire Line
+ -3700 6700 -5700 6700
+Wire Wire Line
+ -3700 6950 -3700 6700
+Connection ~ -3100 4950
+Wire Wire Line
+ -3100 5850 -3700 5850
+Connection ~ -3100 4700
+Wire Wire Line
+ -5450 5850 -5150 5850
+Wire Wire Line
+ -5450 4700 -5450 5850
+Connection ~ -2400 4700
+Wire Wire Line
+ -3100 4950 -3550 4950
+Wire Wire Line
+ -3100 4800 -3100 5850
+Wire Wire Line
+ -2400 4800 -3100 4800
+Wire Wire Line
+ -2400 4700 -2400 4800
+Connection ~ -4000 7150
+Wire Wire Line
+ -2800 7150 -2800 5200
+Connection ~ -3850 4200
+Connection ~ -2900 4200
+Connection ~ -2800 4700
+Wire Wire Line
+ -3100 4400 -3550 4400
+Wire Wire Line
+ -3100 4700 -3100 4400
+Wire Wire Line
+ -5450 4700 -2800 4700
+Connection ~ -2500 4700
+Wire Wire Line
+ -500 4700 -2500 4700
+Wire Wire Line
+ -2500 4400 -2500 5000
+Wire Wire Line
+ -2800 5200 -2900 5200
+Wire Wire Line
+ -2900 5200 -2900 5150
+Wire Wire Line
+ -2900 4200 -2900 4250
+Wire Wire Line
+ -2800 4600 -2800 4800
+Wire Wire Line
+ -8000 3950 -4500 3950
+Wire Wire Line
+ -4500 3950 -4500 4200
+Wire Wire Line
+ -5150 6250 -5150 6400
+Wire Wire Line
+ -5150 6250 -3700 6250
+Wire Wire Line
+ -3700 6250 -3700 6400
+Wire Wire Line
+ -4200 4400 -4200 4950
+Wire Wire Line
+ -4500 4750 -4500 4600
+Connection ~ -4450 7150
+Wire Wire Line
+ -4450 7150 -4450 7400
+Connection ~ -4500 5650
+Wire Wire Line
+ -4500 5150 -4500 5650
+Connection ~ -4100 7150
+Wire Wire Line
+ -4100 7150 -4100 7100
+Connection ~ -4750 7150
+Wire Wire Line
+ -4750 7100 -4750 7150
+Wire Wire Line
+ -4100 6600 -4000 6600
+Wire Wire Line
+ -4100 6550 -4100 6600
+Wire Wire Line
+ -4750 6600 -4850 6600
+Wire Wire Line
+ -4750 6550 -4750 6600
+Wire Wire Line
+ -4100 6050 -4000 6050
+Wire Wire Line
+ -4100 6000 -4100 6050
+Wire Wire Line
+ -4750 6050 -4850 6050
+Wire Wire Line
+ -4750 6000 -4750 6050
+Wire Wire Line
+ -4850 7150 -2000 7150
+Wire Wire Line
+ -4000 6600 -4000 6750
+Wire Wire Line
+ -4850 6600 -4850 6750
+Wire Wire Line
+ -4000 6050 -4000 6200
+Wire Wire Line
+ -4850 6050 -4850 6200
+Wire Wire Line
+ -4850 5650 -4000 5650
+Connection ~ -3950 4200
+Wire Wire Line
+ -3950 4200 -3950 4250
+Connection ~ -4600 4200
+Wire Wire Line
+ -4600 4200 -4600 4250
+Connection ~ -4950 4200
+Wire Wire Line
+ -4950 4250 -4950 4200
+Connection ~ -3950 4750
+Wire Wire Line
+ -3950 4750 -3950 4800
+Connection ~ -4600 4750
+Wire Wire Line
+ -4600 4750 -4600 4800
+Connection ~ -4950 4750
+Wire Wire Line
+ -4950 4800 -4950 4750
+Connection ~ -4500 5150
+Wire Wire Line
+ -5050 5150 -3850 5150
+Connection ~ -4500 4750
+Wire Wire Line
+ -5050 4750 -3850 4750
+Connection ~ -4500 4600
+Wire Wire Line
+ -5050 4600 -3850 4600
+Connection ~ -4500 4200
+Wire Wire Line
+ -5050 4200 -2050 4200
+Connection ~ -1950 6150
+Wire Wire Line
+ -2050 6650 -1950 6650
+Wire Wire Line
+ -1650 5900 -1650 6450
+Wire Wire Line
+ -1950 6100 -1950 6250
+Wire Wire Line
+ -1950 5700 -2050 5700
+Wire Wire Line
+ -2050 4200 -2050 5750
+Wire Wire Line
+ -2050 6650 -2050 6600
+Wire Wire Line
+ -2000 7150 -2000 6650
+Connection ~ -2000 6650
+Connection ~ -2050 5700
+Wire Wire Line
+ -1650 6150 -1000 6150
+Connection ~ -1650 6150
+Connection ~ 5000 3650
+Connection ~ 3650 5600
+Wire Wire Line
+ 3650 5600 5850 5600
+Connection ~ 3600 4300
+Connection ~ 3650 5700
+Wire Wire Line
+ 3650 4300 3650 5700
+Wire Wire Line
+ 3600 4300 3650 4300
+Connection ~ 5000 6600
+Connection ~ 2000 3850
+Wire Wire Line
+ 2000 3850 2000 6400
+Connection ~ 2100 4400
+Wire Wire Line
+ 2100 6150 2100 4400
+Connection ~ 3300 4850
+Wire Wire Line
+ 3300 4850 5150 4850
+Wire Wire Line
+ 1350 4400 2450 4400
+Wire Wire Line
+ 1350 3850 2450 3850
+Wire Wire Line
+ 2000 6400 2650 6400
+Wire Wire Line
+ 4100 6150 2100 6150
+Wire Wire Line
+ 4100 6400 4100 6150
+Connection ~ 4700 4400
+Wire Wire Line
+ 4700 5300 4100 5300
+Connection ~ 4700 4150
+Wire Wire Line
+ 2350 5300 2650 5300
+Wire Wire Line
+ 2350 4150 2350 5300
+Connection ~ 5400 4150
+Wire Wire Line
+ 4700 4400 4250 4400
+Wire Wire Line
+ 4700 4250 4700 5300
+Wire Wire Line
+ 5400 4250 4700 4250
+Wire Wire Line
+ 5400 4150 5400 4250
+Connection ~ 3800 6600
+Wire Wire Line
+ 5000 6600 5000 4650
+Connection ~ 3950 3650
+Connection ~ 4900 3650
+Connection ~ 5000 4150
+Wire Wire Line
+ 4700 3850 4250 3850
+Wire Wire Line
+ 4700 4150 4700 3850
+Wire Wire Line
+ 2350 4150 5000 4150
+Connection ~ 5300 4150
+Wire Wire Line
+ 5300 4150 6500 4150
+Wire Wire Line
+ 5300 3850 5300 4450
+Wire Wire Line
+ 5000 4650 4900 4650
+Wire Wire Line
+ 4900 4650 4900 4600
+Wire Wire Line
+ 4900 3650 4900 3700
+Wire Wire Line
+ 5000 4050 5000 4250
+Wire Wire Line
+ 1450 3400 3300 3400
+Wire Wire Line
+ 3300 3400 3300 3650
+Wire Wire Line
+ 2650 5700 2650 5850
+Wire Wire Line
+ 2650 5700 4100 5700
+Wire Wire Line
+ 4100 5700 4100 5850
+Wire Wire Line
+ 3600 3850 3600 4400
+Wire Wire Line
+ 3300 4200 3300 4050
+Connection ~ 3350 6600
+Wire Wire Line
+ 3350 7400 3350 6600
+Connection ~ 3300 5100
+Wire Wire Line
+ 3300 4600 3300 5100
+Connection ~ 3700 6600
+Wire Wire Line
+ 3700 6600 3700 6550
+Connection ~ 3050 6600
+Wire Wire Line
+ 3050 6550 3050 6600
+Wire Wire Line
+ 3700 6050 3800 6050
+Wire Wire Line
+ 3700 6000 3700 6050
+Wire Wire Line
+ 3050 6050 2950 6050
+Wire Wire Line
+ 3050 6000 3050 6050
+Wire Wire Line
+ 3700 5500 3800 5500
+Wire Wire Line
+ 3700 5450 3700 5500
+Wire Wire Line
+ 3050 5500 2950 5500
+Wire Wire Line
+ 3050 5450 3050 5500
+Wire Wire Line
+ 2950 6600 5800 6600
+Wire Wire Line
+ 3800 6050 3800 6200
+Wire Wire Line
+ 2950 6050 2950 6200
+Wire Wire Line
+ 3800 5500 3800 5650
+Wire Wire Line
+ 2950 5500 2950 5650
+Wire Wire Line
+ 2950 5100 3800 5100
+Connection ~ 3850 3650
+Wire Wire Line
+ 3850 3650 3850 3700
+Connection ~ 3200 3650
+Wire Wire Line
+ 3200 3650 3200 3700
+Connection ~ 2850 3650
+Wire Wire Line
+ 2850 3700 2850 3650
+Connection ~ 3850 4200
+Wire Wire Line
+ 3850 4200 3850 4250
+Connection ~ 3200 4200
+Wire Wire Line
+ 3200 4200 3200 4250
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4250 2850 4200
+Connection ~ 3300 4600
+Wire Wire Line
+ 2750 4600 3950 4600
+Connection ~ 3300 4200
+Wire Wire Line
+ 2750 4200 3950 4200
+Connection ~ 3300 4050
+Wire Wire Line
+ 2750 4050 3950 4050
+Connection ~ 3300 3650
+Connection ~ 5850 5600
+Wire Wire Line
+ 5750 6100 5850 6100
+Wire Wire Line
+ 6150 5350 6150 5900
+Wire Wire Line
+ 5850 5550 5850 5700
+Wire Wire Line
+ 5850 5150 5750 5150
+Wire Wire Line
+ 5750 3650 5750 5200
+Wire Wire Line
+ 5750 6100 5750 6050
+Wire Wire Line
+ 5800 6600 5800 6100
+Connection ~ 5800 6100
+Connection ~ 5750 5150
+Wire Wire Line
+ 11050 5600 6150 5600
+Connection ~ 6150 5600
+Wire Wire Line
+ 10750 250 10750 1600
+Wire Wire Line
+ -500 250 -500 4700
+Connection ~ -500 250
+Wire Wire Line
+ 6500 4150 6500 3050
+Wire Wire Line
+ 6500 3050 -500 3050
+Wire Wire Line
+ -1000 1700 -1000 7150
+Wire Wire Line
+ 11050 3050 11050 5600
+Wire Wire Line
+ 7250 5600 7250 7150
+Wire Wire Line
+ 7250 7150 -1000 7150
+Connection ~ -1000 6150
+Connection ~ 7250 5600
+Wire Wire Line
+ 11050 4450 12050 4450
+Connection ~ 11050 4450
+Wire Wire Line
+ 10750 1100 12050 1100
+Connection ~ 10750 1100
+Wire Wire Line
+ -8000 -500 -8000 3950
+Wire Wire Line
+ -8000 100 -8600 100
+Connection ~ -8000 100
+Wire Wire Line
+ 1450 -500 1450 3400
+Connection ~ -4650 -500
+Connection ~ 1450 850
+Wire Wire Line
+ -4600 3450 -200 3450
+Wire Wire Line
+ -200 3450 -200 7400
+Wire Wire Line
+ -4450 7400 7600 7400
+Connection ~ -200 7400
+Connection ~ 3350 7400
+Wire Wire Line
+ -1250 7400 -1250 7750
+Wire Wire Line
+ -1250 7750 -1700 7750
+Connection ~ -1250 7400
+Connection ~ -5800 4400
+Wire Wire Line
+ 2750 3650 5750 3650
+$Comp
+L PORT U1
+U 1 1 62AB0EBE
+P 12300 1100
+F 0 "U1" H 12350 1200 30 0000 C CNN
+F 1 "PORT" H 12300 1100 30 0000 C CNN
+F 2 "" H 12300 1100 60 0000 C CNN
+F 3 "" H 12300 1100 60 0000 C CNN
+ 1 12300 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62AB2486
+P -7700 -50
+F 0 "U1" H -7650 50 30 0000 C CNN
+F 1 "PORT" H -7700 -50 30 0000 C CNN
+F 2 "" H -7700 -50 60 0000 C CNN
+F 3 "" H -7700 -50 60 0000 C CNN
+ 2 -7700 -50
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62AB255B
+P -7700 500
+F 0 "U1" H -7650 600 30 0000 C CNN
+F 1 "PORT" H -7700 500 30 0000 C CNN
+F 2 "" H -7700 500 60 0000 C CNN
+F 3 "" H -7700 500 60 0000 C CNN
+ 3 -7700 500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62AB264C
+P -2550 950
+F 0 "U1" H -2500 1050 30 0000 C CNN
+F 1 "PORT" H -2550 950 30 0000 C CNN
+F 2 "" H -2550 950 60 0000 C CNN
+F 3 "" H -2550 950 60 0000 C CNN
+ 4 -2550 950
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62AB4A22
+P -8100 4400
+F 0 "U1" H -8050 4500 30 0000 C CNN
+F 1 "PORT" H -8100 4400 30 0000 C CNN
+F 2 "" H -8100 4400 60 0000 C CNN
+F 3 "" H -8100 4400 60 0000 C CNN
+ 5 -8100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62AB4AFB
+P -8050 4950
+F 0 "U1" H -8000 5050 30 0000 C CNN
+F 1 "PORT" H -8050 4950 30 0000 C CNN
+F 2 "" H -8050 4950 60 0000 C CNN
+F 3 "" H -8050 4950 60 0000 C CNN
+ 6 -8050 4950
+ 1 0 0 -1
+$EndComp
+Connection ~ -500 3050
+$Comp
+L PORT U1
+U 7 1 62ABA04F
+P -2400 5400
+F 0 "U1" H -2350 5500 30 0000 C CNN
+F 1 "PORT" H -2400 5400 30 0000 C CNN
+F 2 "" H -2400 5400 60 0000 C CNN
+F 3 "" H -2400 5400 60 0000 C CNN
+ 7 -2400 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 62ABD427
+P -1950 7750
+F 0 "U1" H -1900 7850 30 0000 C CNN
+F 1 "PORT" H -1950 7750 30 0000 C CNN
+F 2 "" H -1950 7750 60 0000 C CNN
+F 3 "" H -1950 7750 60 0000 C CNN
+ 8 -1950 7750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62AC19FC
+P 5400 4850
+F 0 "U1" H 5450 4950 30 0000 C CNN
+F 1 "PORT" H 5400 4850 30 0000 C CNN
+F 2 "" H 5400 4850 60 0000 C CNN
+F 3 "" H 5400 4850 60 0000 C CNN
+ 9 5400 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62AC2D09
+P 1100 4400
+F 0 "U1" H 1150 4500 30 0000 C CNN
+F 1 "PORT" H 1100 4400 30 0000 C CNN
+F 2 "" H 1100 4400 60 0000 C CNN
+F 3 "" H 1100 4400 60 0000 C CNN
+ 10 1100 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62AC2E02
+P 1100 3850
+F 0 "U1" H 1150 3950 30 0000 C CNN
+F 1 "PORT" H 1100 3850 30 0000 C CNN
+F 2 "" H 1100 3850 60 0000 C CNN
+F 3 "" H 1100 3850 60 0000 C CNN
+ 11 1100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62AC91B4
+P 9650 2300
+F 0 "U1" H 9700 2400 30 0000 C CNN
+F 1 "PORT" H 9650 2300 30 0000 C CNN
+F 2 "" H 9650 2300 60 0000 C CNN
+F 3 "" H 9650 2300 60 0000 C CNN
+ 12 9650 2300
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62ACABE8
+P 3600 1850
+F 0 "U1" H 3650 1950 30 0000 C CNN
+F 1 "PORT" H 3600 1850 30 0000 C CNN
+F 2 "" H 3600 1850 60 0000 C CNN
+F 3 "" H 3600 1850 60 0000 C CNN
+ 13 3600 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62ACACE3
+P 3600 1300
+F 0 "U1" H 3650 1400 30 0000 C CNN
+F 1 "PORT" H 3600 1300 30 0000 C CNN
+F 2 "" H 3600 1300 60 0000 C CNN
+F 3 "" H 3600 1300 60 0000 C CNN
+ 14 3600 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62ACADBC
+P 12300 4450
+F 0 "U1" H 12350 4550 30 0000 C CNN
+F 1 "PORT" H 12300 4450 30 0000 C CNN
+F 2 "" H 12300 4450 60 0000 C CNN
+F 3 "" H 12300 4450 60 0000 C CNN
+ 15 12300 4450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62AD09D5
+P -8850 100
+F 0 "U1" H -8800 200 30 0000 C CNN
+F 1 "PORT" H -8850 100 30 0000 C CNN
+F 2 "" H -8850 100 60 0000 C CNN
+F 3 "" H -8850 100 60 0000 C CNN
+ 16 -8850 100
+ 1 0 0 -1
+$EndComp
+Connection ~ -2100 1700
+Connection ~ -4300 1700
+Wire Wire Line
+ -4300 1700 -2100 1700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub
new file mode 100644
index 00000000..9d85337b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157.sub
@@ -0,0 +1,72 @@
+* Subcircuit CD54_157
+.subckt CD54_157 /s /i0_1 /i1_1 /y1_bar /i0_2 /i1_2 /y2_bar net-_m10-pad3_ /y4_bar /i1_4 /i0_4 /y3_bar /i1_3 /i0_3 /enable_bar /vcc
+* c:\fossee\esim\library\subcircuitlibrary\cd54_157\cd54_157.cir
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m55 net-_m55-pad1_ /i0_3 /vcc /vcc CMOSP W=100u L=100u M=1
+m60 net-_m55-pad1_ net-_m58-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m65 net-_m55-pad1_ net-_m57-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m56 /y3_bar /i1_3 net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m61 /y3_bar net-_m58-pad2_ net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m66 /y3_bar /s net-_m55-pad1_ net-_m55-pad1_ CMOSP W=100u L=100u M=1
+m57 /y3_bar net-_m57-pad2_ net-_m57-pad3_ net-_m57-pad3_ CMOSN W=100u L=100u M=1
+m58 net-_m57-pad3_ net-_m58-pad2_ net-_m58-pad3_ net-_m58-pad3_ CMOSN W=100u L=100u M=1
+m59 net-_m58-pad3_ /i0_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m62 /y3_bar /s net-_m62-pad3_ net-_m62-pad3_ CMOSN W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m58-pad2_ net-_m63-pad3_ net-_m63-pad3_ CMOSN W=100u L=100u M=1
+m64 net-_m63-pad3_ /i1_3 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m68 net-_m57-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m67 net-_m57-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m71 net-_m58-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m72 net-_m58-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ /i0_1 /vcc /vcc CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m18-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m2 /y1_bar /i1_1 net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 /y1_bar net-_m11-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 /y1_bar /s net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 /y1_bar net-_m18-pad2_ net-_m3-pad3_ net-_m3-pad3_ CMOSN W=100u L=100u M=1
+m4 net-_m3-pad3_ net-_m11-pad2_ net-_m4-pad3_ net-_m4-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m4-pad3_ /i0_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m15 /y1_bar /s net-_m15-pad3_ net-_m15-pad3_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m11-pad2_ net-_m16-pad3_ net-_m16-pad3_ CMOSN W=100u L=100u M=1
+m17 net-_m16-pad3_ /i1_1 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m26 net-_m18-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m25 net-_m18-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m33 net-_m11-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m34 net-_m11-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m13-pad1_ /i0_2 /vcc /vcc CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m23 net-_m13-pad1_ net-_m23-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m7 /y2_bar /i1_2 net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m14 /y2_bar net-_m13-pad2_ net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m24 /y2_bar /s net-_m13-pad1_ net-_m13-pad1_ CMOSP W=100u L=100u M=1
+m8 /y2_bar net-_m23-pad2_ net-_m8-pad3_ net-_m8-pad3_ CMOSN W=100u L=100u M=1
+m9 net-_m8-pad3_ net-_m13-pad2_ net-_m10-pad1_ net-_m10-pad1_ CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ /i0_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m20 /y2_bar /s net-_m20-pad3_ net-_m20-pad3_ CMOSN W=100u L=100u M=1
+m21 net-_m20-pad3_ net-_m13-pad2_ net-_m21-pad3_ net-_m21-pad3_ CMOSN W=100u L=100u M=1
+m22 net-_m21-pad3_ /i1_2 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m30 net-_m23-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m29 net-_m23-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m35 net-_m13-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m36 net-_m13-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m37 net-_m37-pad1_ /i0_4 /vcc /vcc CMOSP W=100u L=100u M=1
+m42 net-_m37-pad1_ net-_m40-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m47 net-_m37-pad1_ net-_m39-pad2_ /vcc /vcc CMOSP W=100u L=100u M=1
+m38 /y4_bar /i1_4 net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m43 /y4_bar net-_m40-pad2_ net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m48 /y4_bar /s net-_m37-pad1_ net-_m37-pad1_ CMOSP W=100u L=100u M=1
+m39 /y4_bar net-_m39-pad2_ net-_m39-pad3_ net-_m39-pad3_ CMOSN W=100u L=100u M=1
+m40 net-_m39-pad3_ net-_m40-pad2_ net-_m40-pad3_ net-_m40-pad3_ CMOSN W=100u L=100u M=1
+m41 net-_m40-pad3_ /i0_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m44 /y4_bar /s net-_m44-pad3_ net-_m44-pad3_ CMOSN W=100u L=100u M=1
+m45 net-_m44-pad3_ net-_m40-pad2_ net-_m45-pad3_ net-_m45-pad3_ CMOSN W=100u L=100u M=1
+m46 net-_m45-pad3_ /i1_4 net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m50 net-_m39-pad2_ /s net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+m49 net-_m39-pad2_ /s /vcc /vcc CMOSP W=100u L=100u M=1
+m53 net-_m40-pad2_ /enable_bar /vcc /vcc CMOSP W=100u L=100u M=1
+m54 net-_m40-pad2_ /enable_bar net-_m10-pad3_ net-_m10-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_157 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml
new file mode 100644
index 00000000..850ea0ff
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_157_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m60><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m65><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m66><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m57><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m58><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m62><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m63><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m64><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m68><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m67><m71><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m71><m72><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m72><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m1><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m19><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m16><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m25><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m23><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m24><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m21><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m22><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m30><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m36><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m37><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m42><m47><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m47><m38><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m38><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m48><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m40><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m44><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m50><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m49><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m53><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54></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" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib
new file mode 100644
index 00000000..645582cd
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151-cache.lib
@@ -0,0 +1,128 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# CD_54157
+#
+DEF CD_54157 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "CD_54157" 0 -250 60 V V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -600 0 1 0 N
+X Sel 1 -550 150 200 R 50 50 1 1 I
+X I0_1 2 -550 50 200 R 50 50 1 1 I
+X I1_1 3 -550 -50 200 R 50 50 1 1 I
+X Y1_bar 4 -550 -150 200 R 50 50 1 1 O
+X I0_2 5 -550 -250 200 R 50 50 1 1 I
+X I1_2 6 -550 -350 200 R 50 50 1 1 I
+X Y2_bar 7 -550 -450 200 R 50 50 1 1 O
+X GND 8 -550 -550 200 R 50 50 1 1 I
+X Y3_bar 9 550 -550 200 L 50 50 1 1 O
+X I1_3 10 550 -450 200 L 50 50 1 1 I
+X I0_3 11 550 -350 200 L 50 50 1 1 I
+X Y4_bar 12 550 -250 200 L 50 50 1 1 O
+X I1_4 13 550 -150 200 L 50 50 1 1 I
+X I0_4 14 550 -50 200 L 50 50 1 1 I
+X E_bar 15 550 50 200 L 50 50 1 1 I
+X VCC 16 550 150 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_N
+#
+DEF eSim_MOS_N M 0 0 Y N 1 F N
+F0 "M" 0 -150 50 H V R CNN
+F1 "eSim_MOS_N" 100 -50 50 H V R CNN
+F2 "" 300 -300 29 H V C CNN
+F3 "" 100 -200 60 H V C CNN
+ALIAS mosfet_n
+DRAW
+C 150 -200 111 0 1 10 N
+P 2 0 1 10 130 -290 130 -250 N
+P 2 0 1 0 130 -270 200 -270 N
+P 2 0 1 10 130 -220 130 -180 N
+P 2 0 1 0 130 -200 200 -200 N
+P 2 0 1 10 130 -150 130 -110 N
+P 2 0 1 0 130 -130 200 -130 N
+P 2 0 1 0 200 -300 200 -270 N
+P 2 0 1 0 200 -130 200 -100 N
+P 3 0 1 10 110 -275 110 -125 110 -125 N
+P 3 0 1 0 200 -200 300 -200 300 -250 N
+P 4 0 1 0 140 -200 180 -215 180 -185 140 -200 F
+X D 1 200 0 100 D 50 50 1 1 P
+X G 2 -100 -200 210 R 50 50 1 1 P
+X S 3 200 -400 100 U 50 50 1 1 P
+X B 4 300 -350 98 U 47 47 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_MOS_P
+#
+DEF eSim_MOS_P M 0 0 Y N 1 F N
+F0 "M" -50 50 50 H V R CNN
+F1 "eSim_MOS_P" 50 150 50 H V R CNN
+F2 "" 250 100 29 H V C CNN
+F3 "" 50 0 60 H V C CNN
+ALIAS mosfet_p
+DRAW
+C 100 0 111 0 1 10 N
+P 2 0 1 0 80 -70 150 -70 N
+P 2 0 1 10 80 -50 80 -90 N
+P 2 0 1 0 80 0 150 0 N
+P 2 0 1 10 80 20 80 -20 N
+P 2 0 1 0 80 70 150 70 N
+P 2 0 1 10 80 90 80 50 N
+P 2 0 1 0 150 -70 150 -100 N
+P 2 0 1 0 150 100 150 70 N
+P 3 0 1 10 60 75 60 -75 60 -75 N
+P 3 0 1 0 150 0 250 0 250 -50 N
+P 4 0 1 0 140 0 100 -15 100 15 140 0 F
+X D 1 150 200 100 D 50 50 1 1 P
+X G 2 -150 0 210 R 50 50 1 1 P
+X S 3 150 -200 100 U 50 50 1 1 P
+X B 4 250 -150 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir
new file mode 100644
index 00000000..11a9f3b9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir
@@ -0,0 +1,32 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_HC_151\CD54_HC_151.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/28/22 12:24:35
+
+* 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: /
+X2 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M1-Pad2_ Net-_U1-Pad1_ Net-_U1-Pad2_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X1 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M4-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X3 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M2-Pad2_ Net-_U1-Pad14_ Net-_U1-Pad15_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X4 Net-_U1-Pad11_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M3-Pad2_ Net-_U1-Pad12_ Net-_U1-Pad13_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X6 Net-_U1-Pad10_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M10-Pad2_ Net-_M3-Pad1_ Net-_M2-Pad1_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X5 Net-_U1-Pad10_ ? ? ? ? ? ? Net-_M1-Pad3_ Net-_M11-Pad2_ Net-_M1-Pad1_ Net-_M4-Pad1_ ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+X7 Net-_U1-Pad9_ ? ? ? Net-_M11-Pad1_ Net-_M10-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ ? ? ? ? ? ? Net-_U1-Pad7_ Net-_M11-Pad3_ CD_54157
+M8 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M4 Net-_M4-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M5 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M6 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M7 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M9 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M12 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+M14 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ eSim_MOS_P
+M13 Net-_M13-Pad1_ Net-_M13-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_N
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_M13-Pad2_ Net-_M13-Pad1_ Net-_U1-Pad7_ Net-_M1-Pad3_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ Net-_U1-Pad15_ Net-_M11-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out
new file mode 100644
index 00000000..e598a9f9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.cir.out
@@ -0,0 +1,36 @@
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc_151\cd54_hc_151.cir
+
+.include CD54_157.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+x2 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m1-pad2_ net-_u1-pad1_ net-_u1-pad2_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x1 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m4-pad2_ net-_u1-pad3_ net-_u1-pad4_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x3 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m2-pad2_ net-_u1-pad14_ net-_u1-pad15_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x4 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m3-pad2_ net-_u1-pad12_ net-_u1-pad13_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x6 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m10-pad2_ net-_m3-pad1_ net-_m2-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x5 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m11-pad2_ net-_m1-pad1_ net-_m4-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x7 net-_u1-pad9_ ? ? ? net-_m11-pad1_ net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ ? ? ? ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_m13-pad2_ net-_m13-pad1_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_m11-pad3_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro
new file mode 100644
index 00000000..d7f78c3b
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.pro
@@ -0,0 +1,71 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]
+LibName1=adc-dac
+LibName2=memory
+LibName3=xilinx
+LibName4=microcontrollers
+LibName5=dsp
+LibName6=microchip
+LibName7=analog_switches
+LibName8=motorola
+LibName9=texas
+LibName10=intel
+LibName11=audio
+LibName12=interface
+LibName13=digital-audio
+LibName14=philips
+LibName15=display
+LibName16=cypress
+LibName17=siliconi
+LibName18=opto
+LibName19=atmel
+LibName20=contrib
+LibName21=power
+LibName22=eSim_Plot
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_User
+LibName26=regul
+LibName27=74xx
+LibName28=cmos4000
+LibName29=eSim_Analog
+LibName30=eSim_Devices
+LibName31=eSim_Digital
+LibName32=eSim_Hybrid
+LibName33=eSim_Miscellaneous
+LibName34=eSim_Power
+LibName35=eSim_Sources
+LibName36=eSim_Subckt
+LibName37=eSim_Nghdl
+LibName38=eSim_Ngveri
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch
new file mode 100644
index 00000000..15f83455
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sch
@@ -0,0 +1,893 @@
+EESchema Schematic File Version 2
+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:power
+LIBS:eSim_Plot
+LIBS:transistors
+LIBS:conn
+LIBS:eSim_User
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:eSim_Analog
+LIBS:eSim_Devices
+LIBS:eSim_Digital
+LIBS:eSim_Hybrid
+LIBS:eSim_Miscellaneous
+LIBS:eSim_Power
+LIBS:eSim_Sources
+LIBS:eSim_Subckt
+LIBS:eSim_Nghdl
+LIBS:eSim_Ngveri
+LIBS:CD54HC151-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 CD_54157 X2
+U 1 1 62BAA15B
+P 3200 3150
+F 0 "X2" H 3200 3200 60 0000 C CNN
+F 1 "CD_54157" V 3200 2900 60 0000 C CNN
+F 2 "" H 3200 3150 60 0001 C CNN
+F 3 "" H 3200 3150 60 0001 C CNN
+ 1 3200 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X1
+U 1 1 62BAA15C
+P 3200 1900
+F 0 "X1" H 3200 1950 60 0000 C CNN
+F 1 "CD_54157" V 3200 1650 60 0000 C CNN
+F 2 "" H 3200 1900 60 0001 C CNN
+F 3 "" H 3200 1900 60 0001 C CNN
+ 1 3200 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X3
+U 1 1 62BAA15D
+P 3200 4450
+F 0 "X3" H 3200 4500 60 0000 C CNN
+F 1 "CD_54157" V 3200 4200 60 0000 C CNN
+F 2 "" H 3200 4450 60 0001 C CNN
+F 3 "" H 3200 4450 60 0001 C CNN
+ 1 3200 4450
+ 1 0 0 -1
+$EndComp
+NoConn ~ 2650 4400
+NoConn ~ 2650 4500
+NoConn ~ 2650 4600
+$Comp
+L CD_54157 X4
+U 1 1 62BAA15E
+P 3200 5750
+F 0 "X4" H 3200 5800 60 0000 C CNN
+F 1 "CD_54157" V 3200 5500 60 0000 C CNN
+F 2 "" H 3200 5750 60 0001 C CNN
+F 3 "" H 3200 5750 60 0001 C CNN
+ 1 3200 5750
+ 1 0 0 -1
+$EndComp
+NoConn ~ 2650 5800
+NoConn ~ 2650 5900
+NoConn ~ 2650 6000
+NoConn ~ 3750 6000
+$Comp
+L CD_54157 X6
+U 1 1 62BAA15F
+P 5750 4550
+F 0 "X6" H 5750 4600 60 0000 C CNN
+F 1 "CD_54157" V 5750 4300 60 0000 C CNN
+F 2 "" H 5750 4550 60 0001 C CNN
+F 3 "" H 5750 4550 60 0001 C CNN
+ 1 5750 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X5
+U 1 1 62BAA160
+P 5750 3300
+F 0 "X5" H 5750 3350 60 0000 C CNN
+F 1 "CD_54157" V 5750 3050 60 0000 C CNN
+F 2 "" H 5750 3300 60 0001 C CNN
+F 3 "" H 5750 3300 60 0001 C CNN
+ 1 5750 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L CD_54157 X7
+U 1 1 62BAA161
+P 8550 3900
+F 0 "X7" H 8550 3950 60 0000 C CNN
+F 1 "CD_54157" V 8550 3650 60 0000 C CNN
+F 2 "" H 8550 3900 60 0001 C CNN
+F 3 "" H 8550 3900 60 0001 C CNN
+ 1 8550 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M8
+U 1 1 62BAA162
+P 4550 2450
+F 0 "M8" H 4500 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4600 2600 50 0000 R CNN
+F 2 "" H 4800 2550 29 0000 C CNN
+F 3 "" H 4600 2450 60 0000 C CNN
+ 1 4550 2450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M4
+U 1 1 62BAA163
+P 4500 2750
+F 0 "M4" H 4500 2600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4600 2700 50 0000 R CNN
+F 2 "" H 4800 2450 29 0000 C CNN
+F 3 "" H 4600 2550 60 0000 C CNN
+ 1 4500 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 62BAA164
+P 4500 3550
+F 0 "M5" H 4450 3600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 3700 50 0000 R CNN
+F 2 "" H 4750 3650 29 0000 C CNN
+F 3 "" H 4550 3550 60 0000 C CNN
+ 1 4500 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 62BAA165
+P 4450 3850
+F 0 "M1" H 4450 3700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 3800 50 0000 R CNN
+F 2 "" H 4750 3550 29 0000 C CNN
+F 3 "" H 4550 3650 60 0000 C CNN
+ 1 4450 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 62BAA166
+P 4500 4900
+F 0 "M6" H 4450 4950 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 5050 50 0000 R CNN
+F 2 "" H 4750 5000 29 0000 C CNN
+F 3 "" H 4550 4900 60 0000 C CNN
+ 1 4500 4900
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M2
+U 1 1 62BAA167
+P 4450 5200
+F 0 "M2" H 4450 5050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 5150 50 0000 R CNN
+F 2 "" H 4750 4900 29 0000 C CNN
+F 3 "" H 4550 5000 60 0000 C CNN
+ 1 4450 5200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 62BAA168
+P 4500 6000
+F 0 "M7" H 4450 6050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 4550 6150 50 0000 R CNN
+F 2 "" H 4750 6100 29 0000 C CNN
+F 3 "" H 4550 6000 60 0000 C CNN
+ 1 4500 6000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 62BAA169
+P 4450 6300
+F 0 "M3" H 4450 6150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 4550 6250 50 0000 R CNN
+F 2 "" H 4750 6000 29 0000 C CNN
+F 3 "" H 4550 6100 60 0000 C CNN
+ 1 4450 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M11
+U 1 1 62BAA16A
+P 7050 3750
+F 0 "M11" H 7000 3800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7100 3900 50 0000 R CNN
+F 2 "" H 7300 3850 29 0000 C CNN
+F 3 "" H 7100 3750 60 0000 C CNN
+ 1 7050 3750
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M9
+U 1 1 62BAA16B
+P 7000 4050
+F 0 "M9" H 7000 3900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 4000 50 0000 R CNN
+F 2 "" H 7300 3750 29 0000 C CNN
+F 3 "" H 7100 3850 60 0000 C CNN
+ 1 7000 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M12
+U 1 1 62BAA16C
+P 7050 5000
+F 0 "M12" H 7000 5050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7100 5150 50 0000 R CNN
+F 2 "" H 7300 5100 29 0000 C CNN
+F 3 "" H 7100 5000 60 0000 C CNN
+ 1 7050 5000
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M10
+U 1 1 62BAA16D
+P 7000 5300
+F 0 "M10" H 7000 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7100 5250 50 0000 R CNN
+F 2 "" H 7300 5000 29 0000 C CNN
+F 3 "" H 7100 5100 60 0000 C CNN
+ 1 7000 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M14
+U 1 1 62BAA16E
+P 8750 5150
+F 0 "M14" H 8700 5200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8800 5300 50 0000 R CNN
+F 2 "" H 9000 5250 29 0000 C CNN
+F 3 "" H 8800 5150 60 0000 C CNN
+ 1 8750 5150
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_N M13
+U 1 1 62BAA16F
+P 8700 5450
+F 0 "M13" H 8700 5300 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8800 5400 50 0000 R CNN
+F 2 "" H 9000 5150 29 0000 C CNN
+F 3 "" H 8800 5250 60 0000 C CNN
+ 1 8700 5450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4400 2450 4400 2950
+Wire Wire Line
+ 4700 2250 9100 2250
+Wire Wire Line
+ 4800 2250 4800 2300
+Wire Wire Line
+ 4800 3150 4800 3100
+Wire Wire Line
+ 4700 3150 4800 3150
+Wire Wire Line
+ 4700 2650 4700 2750
+Wire Wire Line
+ 4350 3550 4350 4050
+Wire Wire Line
+ 5000 3350 4650 3350
+Wire Wire Line
+ 4750 3350 4750 3400
+Wire Wire Line
+ 4750 4200 4750 4250
+Wire Wire Line
+ 4650 4250 4850 4250
+Wire Wire Line
+ 4650 3750 4650 3850
+Wire Wire Line
+ 4350 4900 4350 5400
+Wire Wire Line
+ 5000 4700 4650 4700
+Wire Wire Line
+ 4750 4700 4750 4750
+Wire Wire Line
+ 4750 5550 4750 5600
+Wire Wire Line
+ 4850 5600 4650 5600
+Wire Wire Line
+ 4650 5100 4650 5200
+Wire Wire Line
+ 4350 6000 4350 6500
+Wire Wire Line
+ 5000 5800 4650 5800
+Wire Wire Line
+ 4750 5800 4750 5850
+Wire Wire Line
+ 4750 6650 4750 6700
+Wire Wire Line
+ 2550 6700 8950 6700
+Wire Wire Line
+ 4650 6200 4650 6300
+Wire Wire Line
+ 3750 2450 4050 2450
+Wire Wire Line
+ 4050 2450 4050 2650
+Wire Wire Line
+ 4050 2650 4400 2650
+Connection ~ 4400 2650
+Wire Wire Line
+ 3750 3700 4350 3700
+Connection ~ 4350 3700
+Wire Wire Line
+ 4700 2700 6450 2700
+Wire Wire Line
+ 6450 2700 6450 3650
+Wire Wire Line
+ 6450 3650 6300 3650
+Connection ~ 4700 2700
+Wire Wire Line
+ 4650 3800 4950 3800
+Wire Wire Line
+ 4950 3800 4950 2750
+Wire Wire Line
+ 4950 2750 6500 2750
+Wire Wire Line
+ 6500 2750 6500 3750
+Wire Wire Line
+ 6500 3750 6300 3750
+Connection ~ 4650 3800
+Wire Wire Line
+ 3750 5000 4350 5000
+Connection ~ 4350 5000
+Wire Wire Line
+ 4650 5150 4900 5150
+Wire Wire Line
+ 4900 5150 4900 4250
+Wire Wire Line
+ 4900 4250 6500 4250
+Wire Wire Line
+ 6500 4250 6500 4900
+Wire Wire Line
+ 6500 4900 6300 4900
+Connection ~ 4650 5150
+Wire Wire Line
+ 3750 6300 4350 6300
+Connection ~ 4350 6300
+Wire Wire Line
+ 4650 6250 6550 6250
+Wire Wire Line
+ 6550 6250 6550 5000
+Wire Wire Line
+ 6550 5000 6300 5000
+Connection ~ 4650 6250
+Wire Wire Line
+ 6900 3750 6900 4250
+Wire Wire Line
+ 7200 3550 7300 3550
+Wire Wire Line
+ 7300 3550 7300 3600
+Wire Wire Line
+ 7300 4400 7300 4450
+Wire Wire Line
+ 7200 4450 7450 4450
+Wire Wire Line
+ 7200 3950 7200 4050
+Wire Wire Line
+ 6300 3850 6900 3850
+Connection ~ 6900 3850
+Wire Wire Line
+ 7200 4000 7600 4000
+Connection ~ 7200 4000
+Wire Wire Line
+ 6900 5000 6900 5500
+Wire Wire Line
+ 7500 4800 7200 4800
+Wire Wire Line
+ 7300 4800 7300 4850
+Wire Wire Line
+ 7300 5650 7300 5700
+Wire Wire Line
+ 7200 5700 7450 5700
+Wire Wire Line
+ 7200 5200 7200 5300
+Wire Wire Line
+ 6300 5100 6900 5100
+Connection ~ 6900 5100
+Wire Wire Line
+ 7200 5250 7600 5250
+Connection ~ 7200 5250
+Wire Wire Line
+ 7600 4000 7600 4150
+Wire Wire Line
+ 7600 4150 8000 4150
+Wire Wire Line
+ 7600 5250 7600 4250
+Wire Wire Line
+ 7600 4250 8000 4250
+Wire Wire Line
+ 8000 4350 7700 4350
+Wire Wire Line
+ 7700 4350 7700 5250
+Wire Wire Line
+ 7700 4800 9550 4800
+Wire Wire Line
+ 4750 3150 4750 3250
+Wire Wire Line
+ 4750 3250 4850 3250
+Wire Wire Line
+ 4850 3250 4850 6700
+Connection ~ 4750 4250
+Connection ~ 4750 3150
+Connection ~ 4750 5600
+Connection ~ 4850 4250
+Connection ~ 4750 6700
+Connection ~ 4850 5600
+Wire Wire Line
+ 7450 5700 7450 4450
+Connection ~ 7300 5700
+Connection ~ 7300 4450
+Wire Wire Line
+ 7350 6700 7350 5700
+Connection ~ 4850 6700
+Connection ~ 7350 5700
+Wire Wire Line
+ 7250 3550 7250 3450
+Wire Wire Line
+ 7250 3450 7500 3450
+Wire Wire Line
+ 7500 2250 7500 4850
+Connection ~ 7300 4800
+Connection ~ 7250 3550
+Wire Wire Line
+ 5000 1750 5000 5800
+Connection ~ 4750 3350
+Connection ~ 4750 4700
+Connection ~ 4750 5800
+Connection ~ 5000 4700
+Connection ~ 4800 2250
+Connection ~ 5000 3350
+Connection ~ 5000 2250
+Connection ~ 7500 3450
+Wire Wire Line
+ 3750 3000 3950 3000
+Wire Wire Line
+ 3950 1750 3950 5600
+Wire Wire Line
+ 3750 1750 6300 1750
+Wire Wire Line
+ 3950 4300 3750 4300
+Connection ~ 3950 3000
+Wire Wire Line
+ 3950 5600 3750 5600
+Connection ~ 3950 4300
+Wire Wire Line
+ 6300 900 6300 3150
+Connection ~ 3950 1750
+Wire Wire Line
+ 6300 4400 6600 4400
+Wire Wire Line
+ 6600 4400 6600 3150
+Wire Wire Line
+ 6600 3150 6300 3150
+Connection ~ 5000 1750
+Wire Wire Line
+ 3750 3100 3850 3100
+Wire Wire Line
+ 3850 1850 3850 5700
+Wire Wire Line
+ 3750 1850 6700 1850
+Wire Wire Line
+ 3850 4400 3750 4400
+Connection ~ 3850 3100
+Wire Wire Line
+ 3850 5700 3750 5700
+Connection ~ 3850 4400
+Wire Wire Line
+ 6700 1150 6700 4500
+Wire Wire Line
+ 6300 3250 9200 3250
+Connection ~ 3850 1850
+Wire Wire Line
+ 6700 4500 6300 4500
+Connection ~ 6700 3250
+Wire Wire Line
+ 9100 2250 9100 3750
+Connection ~ 7500 2250
+Wire Wire Line
+ 9100 3850 9200 3850
+Wire Wire Line
+ 9200 3850 9200 3250
+Wire Wire Line
+ 2650 3000 2500 3000
+Wire Wire Line
+ 2500 1750 2500 5600
+Wire Wire Line
+ 2050 1750 2650 1750
+Wire Wire Line
+ 2500 4300 2650 4300
+Connection ~ 2500 3000
+Wire Wire Line
+ 2500 5600 2650 5600
+Connection ~ 2500 4300
+Wire Wire Line
+ 3750 2250 3800 2250
+Wire Wire Line
+ 3800 2250 3800 2550
+Wire Wire Line
+ 3800 2550 2050 2550
+Wire Wire Line
+ 3750 2350 3750 2800
+Wire Wire Line
+ 3750 2800 2050 2800
+Wire Wire Line
+ 3750 3500 3800 3500
+Wire Wire Line
+ 3800 3500 3800 3900
+Wire Wire Line
+ 3800 3900 2100 3900
+Wire Wire Line
+ 3750 3600 3750 4100
+Wire Wire Line
+ 3750 4100 2100 4100
+Wire Wire Line
+ 3750 4800 3800 4800
+Wire Wire Line
+ 3800 4800 3800 5100
+Wire Wire Line
+ 3800 5100 2150 5100
+Wire Wire Line
+ 3750 4900 3750 5300
+Wire Wire Line
+ 3750 5300 2150 5300
+Wire Wire Line
+ 3750 6100 3900 6100
+Wire Wire Line
+ 3900 6100 3900 6450
+Wire Wire Line
+ 3900 6450 2200 6450
+Wire Wire Line
+ 3750 6200 3750 6650
+Wire Wire Line
+ 3750 6650 2200 6650
+Wire Wire Line
+ 7700 5250 8600 5250
+Connection ~ 7700 4800
+Wire Wire Line
+ 8600 5150 8600 5650
+Wire Wire Line
+ 8900 4950 9000 4950
+Wire Wire Line
+ 9000 4950 9000 5000
+Wire Wire Line
+ 9000 5800 9000 5850
+Wire Wire Line
+ 9000 5850 8900 5850
+Wire Wire Line
+ 8900 5350 8900 5450
+Connection ~ 8600 5250
+Wire Wire Line
+ 8900 5400 9550 5400
+Connection ~ 8900 5400
+Wire Wire Line
+ 8950 4950 8950 4850
+Connection ~ 8950 4950
+Wire Wire Line
+ 8950 4850 7500 4850
+Connection ~ 7500 4800
+Wire Wire Line
+ 8950 6700 8950 5850
+Connection ~ 7350 6700
+Connection ~ 8950 5850
+Wire Wire Line
+ 5100 4400 5200 4400
+Wire Wire Line
+ 5100 1550 5100 4400
+Wire Wire Line
+ 5100 3150 5200 3150
+Wire Wire Line
+ 8000 3750 8000 1350
+Wire Wire Line
+ 8000 1350 2050 1350
+Connection ~ 2500 1750
+Wire Wire Line
+ 5100 1550 2050 1550
+Connection ~ 5100 3150
+NoConn ~ 2650 1850
+NoConn ~ 2650 1950
+NoConn ~ 2650 2050
+NoConn ~ 2650 2150
+NoConn ~ 2650 2250
+NoConn ~ 2650 2350
+NoConn ~ 3750 1950
+NoConn ~ 3750 2050
+NoConn ~ 3750 2150
+NoConn ~ 6300 3350
+NoConn ~ 6300 3450
+NoConn ~ 6300 3550
+NoConn ~ 5200 3250
+NoConn ~ 5200 3350
+NoConn ~ 5200 3450
+NoConn ~ 5200 3550
+NoConn ~ 5200 3650
+NoConn ~ 5200 3750
+NoConn ~ 5200 4500
+NoConn ~ 5200 4600
+NoConn ~ 5200 4700
+NoConn ~ 5200 4800
+NoConn ~ 5200 4900
+NoConn ~ 5200 5000
+NoConn ~ 2650 4700
+NoConn ~ 2650 4800
+NoConn ~ 2650 4900
+NoConn ~ 2650 3600
+NoConn ~ 2650 3500
+NoConn ~ 2650 3400
+NoConn ~ 2650 3300
+NoConn ~ 2650 3200
+NoConn ~ 2650 3100
+NoConn ~ 2650 6100
+NoConn ~ 2650 6200
+NoConn ~ 2650 5700
+NoConn ~ 8000 3850
+NoConn ~ 8000 3950
+NoConn ~ 8000 4050
+NoConn ~ 9100 3950
+NoConn ~ 9100 4050
+NoConn ~ 9100 4150
+NoConn ~ 9100 4250
+NoConn ~ 9100 4350
+NoConn ~ 9100 4450
+Wire Wire Line
+ 2650 2450 2550 2450
+Wire Wire Line
+ 2550 2450 2550 6950
+Wire Wire Line
+ 2550 3700 2650 3700
+Wire Wire Line
+ 2550 5000 2650 5000
+Connection ~ 2550 3700
+Wire Wire Line
+ 2550 6300 2650 6300
+Connection ~ 2550 5000
+Connection ~ 4650 6700
+Connection ~ 2550 6300
+Wire Wire Line
+ 5200 3850 5150 3850
+Wire Wire Line
+ 5150 3850 5150 6700
+Wire Wire Line
+ 5150 5100 5200 5100
+Connection ~ 5150 6700
+Connection ~ 5150 5100
+Wire Wire Line
+ 8000 4450 7950 4450
+Wire Wire Line
+ 7950 4450 7950 6700
+Connection ~ 7950 6700
+Wire Wire Line
+ 2550 6950 2200 6950
+Connection ~ 2550 6700
+Wire Wire Line
+ 6300 900 2050 900
+Connection ~ 6300 1750
+$Comp
+L PORT U1
+U 1 1 62BAA683
+P 1850 4100
+F 0 "U1" H 1900 4200 30 0000 C CNN
+F 1 "PORT" H 1850 4100 30 0000 C CNN
+F 2 "" H 1850 4100 60 0000 C CNN
+F 3 "" H 1850 4100 60 0000 C CNN
+ 1 1850 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 62BAB5C7
+P 1850 3900
+F 0 "U1" H 1900 4000 30 0000 C CNN
+F 1 "PORT" H 1850 3900 30 0000 C CNN
+F 2 "" H 1850 3900 60 0000 C CNN
+F 3 "" H 1850 3900 60 0000 C CNN
+ 2 1850 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 62BAB6FC
+P 1800 2800
+F 0 "U1" H 1850 2900 30 0000 C CNN
+F 1 "PORT" H 1800 2800 30 0000 C CNN
+F 2 "" H 1800 2800 60 0000 C CNN
+F 3 "" H 1800 2800 60 0000 C CNN
+ 3 1800 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 62BAB81F
+P 1800 2550
+F 0 "U1" H 1850 2650 30 0000 C CNN
+F 1 "PORT" H 1800 2550 30 0000 C CNN
+F 2 "" H 1800 2550 60 0000 C CNN
+F 3 "" H 1800 2550 60 0000 C CNN
+ 4 1800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 62BAB9C0
+P 9800 4800
+F 0 "U1" H 9850 4900 30 0000 C CNN
+F 1 "PORT" H 9800 4800 30 0000 C CNN
+F 2 "" H 9800 4800 60 0000 C CNN
+F 3 "" H 9800 4800 60 0000 C CNN
+ 5 9800 4800
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 62BABAEF
+P 9800 5400
+F 0 "U1" H 9850 5500 30 0000 C CNN
+F 1 "PORT" H 9800 5400 30 0000 C CNN
+F 2 "" H 9800 5400 60 0000 C CNN
+F 3 "" H 9800 5400 60 0000 C CNN
+ 6 9800 5400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 62BABD56
+P 1650 1150
+F 0 "U1" H 1700 1250 30 0000 C CNN
+F 1 "PORT" H 1650 1150 30 0000 C CNN
+F 2 "" H 1650 1150 60 0000 C CNN
+F 3 "" H 1650 1150 60 0000 C CNN
+ 7 1650 1150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6700 1150 1900 1150
+Connection ~ 6700 1850
+$Comp
+L PORT U1
+U 8 1 62BAC0A7
+P 1950 6950
+F 0 "U1" H 2000 7050 30 0000 C CNN
+F 1 "PORT" H 1950 6950 30 0000 C CNN
+F 2 "" H 1950 6950 60 0000 C CNN
+F 3 "" H 1950 6950 60 0000 C CNN
+ 8 1950 6950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 62BAC3B0
+P 1800 1350
+F 0 "U1" H 1850 1450 30 0000 C CNN
+F 1 "PORT" H 1800 1350 30 0000 C CNN
+F 2 "" H 1800 1350 60 0000 C CNN
+F 3 "" H 1800 1350 60 0000 C CNN
+ 9 1800 1350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 62BAC4A9
+P 1800 1550
+F 0 "U1" H 1850 1650 30 0000 C CNN
+F 1 "PORT" H 1800 1550 30 0000 C CNN
+F 2 "" H 1800 1550 60 0000 C CNN
+F 3 "" H 1800 1550 60 0000 C CNN
+ 10 1800 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 62BAC516
+P 1800 1750
+F 0 "U1" H 1850 1850 30 0000 C CNN
+F 1 "PORT" H 1800 1750 30 0000 C CNN
+F 2 "" H 1800 1750 60 0000 C CNN
+F 3 "" H 1800 1750 60 0000 C CNN
+ 11 1800 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 62BAC7C5
+P 1950 6650
+F 0 "U1" H 2000 6750 30 0000 C CNN
+F 1 "PORT" H 1950 6650 30 0000 C CNN
+F 2 "" H 1950 6650 60 0000 C CNN
+F 3 "" H 1950 6650 60 0000 C CNN
+ 12 1950 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 62BAC8FA
+P 1950 6450
+F 0 "U1" H 2000 6550 30 0000 C CNN
+F 1 "PORT" H 1950 6450 30 0000 C CNN
+F 2 "" H 1950 6450 60 0000 C CNN
+F 3 "" H 1950 6450 60 0000 C CNN
+ 13 1950 6450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 62BACA31
+P 1900 5300
+F 0 "U1" H 1950 5400 30 0000 C CNN
+F 1 "PORT" H 1900 5300 30 0000 C CNN
+F 2 "" H 1900 5300 60 0000 C CNN
+F 3 "" H 1900 5300 60 0000 C CNN
+ 14 1900 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 62BACB72
+P 1900 5100
+F 0 "U1" H 1950 5200 30 0000 C CNN
+F 1 "PORT" H 1900 5100 30 0000 C CNN
+F 2 "" H 1900 5100 60 0000 C CNN
+F 3 "" H 1900 5100 60 0000 C CNN
+ 15 1900 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 62BACE4B
+P 1800 900
+F 0 "U1" H 1850 1000 30 0000 C CNN
+F 1 "PORT" H 1800 900 30 0000 C CNN
+F 2 "" H 1800 900 60 0000 C CNN
+F 3 "" H 1800 900 60 0000 C CNN
+ 16 1800 900
+ 1 0 0 -1
+$EndComp
+NoConn ~ 3750 3200
+NoConn ~ 3750 3300
+NoConn ~ 3750 3400
+NoConn ~ 3750 4500
+NoConn ~ 3750 4600
+NoConn ~ 3750 4700
+NoConn ~ 3750 5800
+NoConn ~ 3750 5900
+NoConn ~ 6300 4600
+NoConn ~ 6300 4700
+NoConn ~ 6300 4800
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub
new file mode 100644
index 00000000..22b9bf48
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151.sub
@@ -0,0 +1,30 @@
+* Subcircuit CD54_HC_151
+.subckt CD54_HC_151 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_m13-pad2_ net-_m13-pad1_ net-_u1-pad7_ net-_m1-pad3_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ net-_u1-pad15_ net-_m11-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\cd54_hc_151\cd54_hc_151.cir
+.include CD54_157.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+x2 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m1-pad2_ net-_u1-pad1_ net-_u1-pad2_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x1 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m4-pad2_ net-_u1-pad3_ net-_u1-pad4_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x3 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m2-pad2_ net-_u1-pad14_ net-_u1-pad15_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x4 net-_u1-pad11_ ? ? ? ? ? ? net-_m1-pad3_ net-_m3-pad2_ net-_u1-pad12_ net-_u1-pad13_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x6 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m10-pad2_ net-_m3-pad1_ net-_m2-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x5 net-_u1-pad10_ ? ? ? ? ? ? net-_m1-pad3_ net-_m11-pad2_ net-_m1-pad1_ net-_m4-pad1_ ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+x7 net-_u1-pad9_ ? ? ? net-_m11-pad1_ net-_m10-pad1_ net-_m13-pad2_ net-_m1-pad3_ ? ? ? ? ? ? net-_u1-pad7_ net-_m11-pad3_ CD54_157
+m8 net-_m4-pad1_ net-_m4-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m4 net-_m4-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m5 net-_m1-pad1_ net-_m1-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m6 net-_m2-pad1_ net-_m2-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m7 net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad1_ net-_m11-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m12 net-_m10-pad1_ net-_m10-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad1_ net-_m13-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSP W=100u L=100u M=1
+m13 net-_m13-pad1_ net-_m13-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends CD54_HC_151 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml
new file mode 100644
index 00000000..df20a2c2
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/CD54_HC_151_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">Sec</field4><field5 name="Step Combo">Sec</field5><field6 name="Stop Combo">Sec</field6></tran></analysis><source /><model /><devicemodel><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m8><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m4><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m5><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m2><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m7><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m11><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m9><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m12><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m10><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m14><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m13></devicemodel><subcircuit><x2><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x2><x1><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x1><x3><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x3><x4><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x4><x6><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x6><x5><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x5><x7><field>C:\FOSSEE\eSim\library\SubcircuitLibrary\CD54_157</field></x7></subcircuit></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/NMOS-180nm.lib
@@ -0,0 +1,13 @@
+.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
++ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
++ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
++ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
++ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
++ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
++ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
++ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
++ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
++ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
++ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
++ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
++ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib b/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/PMOS-180nm.lib
@@ -0,0 +1,11 @@
+.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
++ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
++ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
++ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
++ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
++ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
++ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
++ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
++ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
++ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
++ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/library/SubcircuitLibrary/CD54_HC_151/README.md b/library/SubcircuitLibrary/CD54_HC_151/README.md
new file mode 100644
index 00000000..cc739100
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/README.md
@@ -0,0 +1,21 @@
+
+# CD54HC151 IC
+
+It is 8:1 Multiplexer IC. CD54151 IC is designed with 180nm CMOS technology in eSim. It is 16 pin IC. The output depends on the select lines.
+## Usage/Examples
+
+Multiplexers
+## Documentation
+
+To know the details of CD54HC151 IC please go through with the documentation : [CD54HC151_datasheet](https://www.ti.com/lit/gpn/cd54hc151)
+
+## Comments/Notes
+
+Please note this is a complete digital IC. It works fine at the time of simulation.
+
+## Contributer
+
+Name: Ankush Mondal
+Email: mondalankush369@gmail.com
+Year: 2022
+Position: FOSSEE Summer Fellow 2022 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CD54_HC_151/analysis b/library/SubcircuitLibrary/CD54_HC_151/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CD54_HC_151/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file