summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/SUB_CD4013BC
diff options
context:
space:
mode:
Diffstat (limited to 'library/SubcircuitLibrary/SUB_CD4013BC')
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/NMOS-180nm.lib13
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/PMOS-180nm.lib11
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC-cache.lib100
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir79
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir.out82
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.dcm7
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.lib802
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.pro73
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sch2183
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sub76
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/SUB_CD4013BC/analysis1
12 files changed, 3428 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/NMOS-180nm.lib b/library/SubcircuitLibrary/SUB_CD4013BC/NMOS-180nm.lib
new file mode 100644
index 00000000..51e9b119
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/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/SUB_CD4013BC/PMOS-180nm.lib b/library/SubcircuitLibrary/SUB_CD4013BC/PMOS-180nm.lib
new file mode 100644
index 00000000..032b5b95
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/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/SUB_CD4013BC/SUB_CD4013BC-cache.lib b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC-cache.lib
new file mode 100644
index 00000000..6c512720
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC-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/SUB_CD4013BC/SUB_CD4013BC.cir b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir
new file mode 100644
index 00000000..ed4a8772
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir
@@ -0,0 +1,79 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\SUB_CD4013BC\SUB_CD4013BC.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/05/25 12:38:01
+
+* 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: /
+M9 VDD Net-_M23-Pad2_ Net-_M10-Pad1_ VDD eSim_MOS_P
+M8 Net-_M10-Pad3_ Net-_M1-Pad3_ VSS VSS eSim_MOS_N
+M10 Net-_M10-Pad1_ Net-_M1-Pad3_ Net-_M10-Pad3_ VDD eSim_MOS_P
+M7 Net-_M10-Pad3_ Net-_M23-Pad2_ VSS VSS eSim_MOS_N
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ VSS eSim_MOS_N
+M2 Net-_M1-Pad3_ VDD Net-_M1-Pad1_ VDD eSim_MOS_P
+M15 VDD Net-_M11-Pad2_ Net-_M15-Pad3_ VDD eSim_MOS_P
+M16 Net-_M15-Pad3_ Net-_M10-Pad3_ Net-_M11-Pad1_ VDD eSim_MOS_P
+M14 Net-_M11-Pad1_ Net-_M10-Pad3_ VSS VSS eSim_MOS_N
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ VSS VSS eSim_MOS_N
+M17 Net-_M10-Pad3_ VDD Net-_M17-Pad3_ VSS eSim_MOS_N
+M18 Net-_M17-Pad3_ Net-_M1-Pad2_ Net-_M10-Pad3_ VDD eSim_MOS_P
+M21 VDD Net-_M11-Pad2_ Net-_M21-Pad3_ VDD eSim_MOS_P
+M22 Net-_M21-Pad3_ Net-_M17-Pad3_ Net-_M19-Pad1_ VDD eSim_MOS_P
+M20 Net-_M19-Pad1_ Net-_M17-Pad3_ VSS VSS eSim_MOS_N
+M19 Net-_M19-Pad1_ Net-_M11-Pad2_ VSS VSS eSim_MOS_N
+M28 VDD Net-_M23-Pad2_ Net-_M28-Pad3_ VDD eSim_MOS_P
+M29 Net-_M28-Pad3_ Net-_M19-Pad1_ Net-_M23-Pad1_ VDD eSim_MOS_P
+M25 Net-_M23-Pad1_ Net-_M19-Pad1_ VSS VSS eSim_MOS_N
+M23 Net-_M23-Pad1_ Net-_M23-Pad2_ VSS VSS eSim_MOS_N
+M26 Net-_M17-Pad3_ Net-_M1-Pad2_ Net-_M23-Pad1_ VSS eSim_MOS_N
+M30 Net-_M23-Pad1_ VDD Net-_M17-Pad3_ VDD eSim_MOS_P
+M32 VDD Net-_M19-Pad1_ Net-_M31-Pad1_ VDD eSim_MOS_P
+M31 Net-_M31-Pad1_ Net-_M19-Pad1_ VSS VSS eSim_MOS_N
+M27 VDD Net-_M17-Pad3_ Net-_M24-Pad1_ VDD eSim_MOS_P
+M24 Net-_M24-Pad1_ Net-_M17-Pad3_ VSS VSS eSim_MOS_N
+M12 Net-_M1-Pad3_ VDD Net-_M11-Pad1_ VSS eSim_MOS_N
+M13 Net-_M11-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ VDD eSim_MOS_P
+M4 VDD Net-_M3-Pad2_ Net-_M1-Pad2_ VDD eSim_MOS_P
+M3 Net-_M1-Pad2_ Net-_M3-Pad2_ VSS VSS eSim_MOS_N
+M6 VDD Net-_M1-Pad2_ VDD VDD eSim_MOS_P
+M5 VDD Net-_M1-Pad2_ VSS VSS eSim_MOS_N
+M34 Net-_M33-Pad3_ Net-_M24-Pad1_ VSS VSS eSim_MOS_N
+M33 VDD Net-_M24-Pad1_ Net-_M33-Pad3_ VDD eSim_MOS_P
+U1 VDD VSS Net-_M23-Pad2_ Net-_M11-Pad2_ Net-_M3-Pad2_ Net-_M1-Pad1_ Net-_M33-Pad3_ Net-_M24-Pad1_ Net-_M41-Pad2_ Net-_M45-Pad2_ Net-_M37-Pad2_ Net-_M35-Pad1_ Net-_M67-Pad1_ Net-_M58-Pad1_ PORT
+M43 VDD Net-_M41-Pad2_ Net-_M43-Pad3_ VDD eSim_MOS_P
+M42 Net-_M41-Pad1_ Net-_M35-Pad3_ VSS VSS eSim_MOS_N
+M44 Net-_M43-Pad3_ Net-_M35-Pad3_ Net-_M41-Pad1_ VDD eSim_MOS_P
+M41 Net-_M41-Pad1_ Net-_M41-Pad2_ VSS VSS eSim_MOS_N
+M35 Net-_M35-Pad1_ Net-_M35-Pad2_ Net-_M35-Pad3_ VSS eSim_MOS_N
+M36 Net-_M35-Pad3_ VDD Net-_M35-Pad1_ VDD eSim_MOS_P
+M49 VDD Net-_M45-Pad2_ Net-_M49-Pad3_ VDD eSim_MOS_P
+M50 Net-_M49-Pad3_ Net-_M41-Pad1_ Net-_M45-Pad1_ VDD eSim_MOS_P
+M48 Net-_M45-Pad1_ Net-_M41-Pad1_ VSS VSS eSim_MOS_N
+M45 Net-_M45-Pad1_ Net-_M45-Pad2_ VSS VSS eSim_MOS_N
+M51 Net-_M41-Pad1_ VDD Net-_M51-Pad3_ VSS eSim_MOS_N
+M52 Net-_M51-Pad3_ Net-_M35-Pad2_ Net-_M41-Pad1_ VDD eSim_MOS_P
+M55 VDD Net-_M45-Pad2_ Net-_M55-Pad3_ VDD eSim_MOS_P
+M56 Net-_M55-Pad3_ Net-_M51-Pad3_ Net-_M53-Pad1_ VDD eSim_MOS_P
+M54 Net-_M53-Pad1_ Net-_M51-Pad3_ VSS VSS eSim_MOS_N
+M53 Net-_M53-Pad1_ Net-_M45-Pad2_ VSS VSS eSim_MOS_N
+M62 VDD Net-_M41-Pad2_ Net-_M62-Pad3_ VDD eSim_MOS_P
+M63 Net-_M62-Pad3_ Net-_M53-Pad1_ Net-_M57-Pad1_ VDD eSim_MOS_P
+M59 Net-_M57-Pad1_ Net-_M53-Pad1_ VSS VSS eSim_MOS_N
+M57 Net-_M57-Pad1_ Net-_M41-Pad2_ VSS VSS eSim_MOS_N
+M60 Net-_M51-Pad3_ Net-_M35-Pad2_ Net-_M57-Pad1_ VSS eSim_MOS_N
+M64 Net-_M57-Pad1_ VDD Net-_M51-Pad3_ VDD eSim_MOS_P
+M66 VDD Net-_M53-Pad1_ Net-_M65-Pad1_ VDD eSim_MOS_P
+M65 Net-_M65-Pad1_ Net-_M53-Pad1_ VSS VSS eSim_MOS_N
+M61 VDD Net-_M51-Pad3_ Net-_M58-Pad1_ VDD eSim_MOS_P
+M58 Net-_M58-Pad1_ Net-_M51-Pad3_ VSS VSS eSim_MOS_N
+M46 Net-_M35-Pad3_ VDD Net-_M45-Pad1_ VSS eSim_MOS_N
+M47 Net-_M45-Pad1_ Net-_M35-Pad2_ Net-_M35-Pad3_ VDD eSim_MOS_P
+M38 VDD Net-_M37-Pad2_ Net-_M35-Pad2_ VDD eSim_MOS_P
+M37 Net-_M35-Pad2_ Net-_M37-Pad2_ VSS VSS eSim_MOS_N
+M40 VDD Net-_M35-Pad2_ VDD VDD eSim_MOS_P
+M39 VDD Net-_M35-Pad2_ VSS VSS eSim_MOS_N
+M67 Net-_M67-Pad1_ Net-_M58-Pad1_ VSS VSS eSim_MOS_N
+M68 VDD Net-_M58-Pad1_ Net-_M67-Pad1_ VDD eSim_MOS_P
+
+.end
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir.out b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir.out
new file mode 100644
index 00000000..b8d00323
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.cir.out
@@ -0,0 +1,82 @@
+* c:\fossee\esim\library\subcircuitlibrary\sub_cd4013bc\sub_cd4013bc.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 vdd net-_m23-pad2_ net-_m10-pad1_ vdd CMOSP W=100u L=100u M=1
+m8 net-_m10-pad3_ net-_m1-pad3_ vss vss CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad3_ net-_m10-pad3_ vdd CMOSP W=100u L=100u M=1
+m7 net-_m10-pad3_ net-_m23-pad2_ vss vss CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ vss CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ vdd net-_m1-pad1_ vdd CMOSP W=100u L=100u M=1
+m15 vdd net-_m11-pad2_ net-_m15-pad3_ vdd CMOSP W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m10-pad3_ net-_m11-pad1_ vdd CMOSP W=100u L=100u M=1
+m14 net-_m11-pad1_ net-_m10-pad3_ vss vss CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ vss vss CMOSN W=100u L=100u M=1
+m17 net-_m10-pad3_ vdd net-_m17-pad3_ vss CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m1-pad2_ net-_m10-pad3_ vdd CMOSP W=100u L=100u M=1
+m21 vdd net-_m11-pad2_ net-_m21-pad3_ vdd CMOSP W=100u L=100u M=1
+m22 net-_m21-pad3_ net-_m17-pad3_ net-_m19-pad1_ vdd CMOSP W=100u L=100u M=1
+m20 net-_m19-pad1_ net-_m17-pad3_ vss vss CMOSN W=100u L=100u M=1
+m19 net-_m19-pad1_ net-_m11-pad2_ vss vss CMOSN W=100u L=100u M=1
+m28 vdd net-_m23-pad2_ net-_m28-pad3_ vdd CMOSP W=100u L=100u M=1
+m29 net-_m28-pad3_ net-_m19-pad1_ net-_m23-pad1_ vdd CMOSP W=100u L=100u M=1
+m25 net-_m23-pad1_ net-_m19-pad1_ vss vss CMOSN W=100u L=100u M=1
+m23 net-_m23-pad1_ net-_m23-pad2_ vss vss CMOSN W=100u L=100u M=1
+m26 net-_m17-pad3_ net-_m1-pad2_ net-_m23-pad1_ vss CMOSN W=100u L=100u M=1
+m30 net-_m23-pad1_ vdd net-_m17-pad3_ vdd CMOSP W=100u L=100u M=1
+m32 vdd net-_m19-pad1_ net-_m31-pad1_ vdd CMOSP W=100u L=100u M=1
+m31 net-_m31-pad1_ net-_m19-pad1_ vss vss CMOSN W=100u L=100u M=1
+m27 vdd net-_m17-pad3_ net-_m24-pad1_ vdd CMOSP W=100u L=100u M=1
+m24 net-_m24-pad1_ net-_m17-pad3_ vss vss CMOSN W=100u L=100u M=1
+m12 net-_m1-pad3_ vdd net-_m11-pad1_ vss CMOSN W=100u L=100u M=1
+m13 net-_m11-pad1_ net-_m1-pad2_ net-_m1-pad3_ vdd CMOSP W=100u L=100u M=1
+m4 vdd net-_m3-pad2_ net-_m1-pad2_ vdd CMOSP W=100u L=100u M=1
+m3 net-_m1-pad2_ net-_m3-pad2_ vss vss CMOSN W=100u L=100u M=1
+m6 vdd net-_m1-pad2_ vdd vdd CMOSP W=100u L=100u M=1
+m5 vdd net-_m1-pad2_ vss vss CMOSN W=100u L=100u M=1
+m34 net-_m33-pad3_ net-_m24-pad1_ vss vss CMOSN W=100u L=100u M=1
+m33 vdd net-_m24-pad1_ net-_m33-pad3_ vdd CMOSP W=100u L=100u M=1
+* u1 vdd vss net-_m23-pad2_ net-_m11-pad2_ net-_m3-pad2_ net-_m1-pad1_ net-_m33-pad3_ net-_m24-pad1_ net-_m41-pad2_ net-_m45-pad2_ net-_m37-pad2_ net-_m35-pad1_ net-_m67-pad1_ net-_m58-pad1_ port
+m43 vdd net-_m41-pad2_ net-_m43-pad3_ vdd CMOSP W=100u L=100u M=1
+m42 net-_m41-pad1_ net-_m35-pad3_ vss vss CMOSN W=100u L=100u M=1
+m44 net-_m43-pad3_ net-_m35-pad3_ net-_m41-pad1_ vdd CMOSP W=100u L=100u M=1
+m41 net-_m41-pad1_ net-_m41-pad2_ vss vss CMOSN W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m35-pad2_ net-_m35-pad3_ vss CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ vdd net-_m35-pad1_ vdd CMOSP W=100u L=100u M=1
+m49 vdd net-_m45-pad2_ net-_m49-pad3_ vdd CMOSP W=100u L=100u M=1
+m50 net-_m49-pad3_ net-_m41-pad1_ net-_m45-pad1_ vdd CMOSP W=100u L=100u M=1
+m48 net-_m45-pad1_ net-_m41-pad1_ vss vss CMOSN W=100u L=100u M=1
+m45 net-_m45-pad1_ net-_m45-pad2_ vss vss CMOSN W=100u L=100u M=1
+m51 net-_m41-pad1_ vdd net-_m51-pad3_ vss CMOSN W=100u L=100u M=1
+m52 net-_m51-pad3_ net-_m35-pad2_ net-_m41-pad1_ vdd CMOSP W=100u L=100u M=1
+m55 vdd net-_m45-pad2_ net-_m55-pad3_ vdd CMOSP W=100u L=100u M=1
+m56 net-_m55-pad3_ net-_m51-pad3_ net-_m53-pad1_ vdd CMOSP W=100u L=100u M=1
+m54 net-_m53-pad1_ net-_m51-pad3_ vss vss CMOSN W=100u L=100u M=1
+m53 net-_m53-pad1_ net-_m45-pad2_ vss vss CMOSN W=100u L=100u M=1
+m62 vdd net-_m41-pad2_ net-_m62-pad3_ vdd CMOSP W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m53-pad1_ net-_m57-pad1_ vdd CMOSP W=100u L=100u M=1
+m59 net-_m57-pad1_ net-_m53-pad1_ vss vss CMOSN W=100u L=100u M=1
+m57 net-_m57-pad1_ net-_m41-pad2_ vss vss CMOSN W=100u L=100u M=1
+m60 net-_m51-pad3_ net-_m35-pad2_ net-_m57-pad1_ vss CMOSN W=100u L=100u M=1
+m64 net-_m57-pad1_ vdd net-_m51-pad3_ vdd CMOSP W=100u L=100u M=1
+m66 vdd net-_m53-pad1_ net-_m65-pad1_ vdd CMOSP W=100u L=100u M=1
+m65 net-_m65-pad1_ net-_m53-pad1_ vss vss CMOSN W=100u L=100u M=1
+m61 vdd net-_m51-pad3_ net-_m58-pad1_ vdd CMOSP W=100u L=100u M=1
+m58 net-_m58-pad1_ net-_m51-pad3_ vss vss CMOSN W=100u L=100u M=1
+m46 net-_m35-pad3_ vdd net-_m45-pad1_ vss CMOSN W=100u L=100u M=1
+m47 net-_m45-pad1_ net-_m35-pad2_ net-_m35-pad3_ vdd CMOSP W=100u L=100u M=1
+m38 vdd net-_m37-pad2_ net-_m35-pad2_ vdd CMOSP W=100u L=100u M=1
+m37 net-_m35-pad2_ net-_m37-pad2_ vss vss CMOSN W=100u L=100u M=1
+m40 vdd net-_m35-pad2_ vdd vdd CMOSP W=100u L=100u M=1
+m39 vdd net-_m35-pad2_ vss vss CMOSN W=100u L=100u M=1
+m67 net-_m67-pad1_ net-_m58-pad1_ vss vss CMOSN W=100u L=100u M=1
+m68 vdd net-_m58-pad1_ net-_m67-pad1_ vdd CMOSP W=100u L=100u M=1
+.tran 5e-12 200e-06 1e-06
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.dcm b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.dcm
new file mode 100644
index 00000000..1980d0d1
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.dcm
@@ -0,0 +1,7 @@
+EESchema-DOCLIB Version 2.0
+#
+$CMP SCR
+D Thyristor
+$ENDCMP
+#
+#End Doc Library
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.lib b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.lib
new file mode 100644
index 00000000..48d859bd
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.lib
@@ -0,0 +1,802 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# 10bitDAC
+#
+DEF 10bitDAC X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "10bitDAC" -50 -50 60 H V C CNN
+F2 "" 0 50 60 H I C CNN
+F3 "" 0 50 60 H I C CNN
+DRAW
+S -500 500 400 -600 0 1 0 N
+X D0 1 -700 -500 200 R 50 50 1 1 I
+X D1 2 -700 -400 200 R 50 50 1 1 I
+X D2 3 -700 -300 200 R 50 50 1 1 I
+X D3 4 -700 -200 200 R 50 50 1 1 I
+X D4 5 -700 -100 200 R 50 50 1 1 I
+X D5 6 -700 0 200 R 50 50 1 1 I
+X D6 7 -700 100 200 R 50 50 1 1 I
+X D7 8 -700 200 200 R 50 50 1 1 I
+X D8 9 -700 300 200 R 50 50 1 1 I
+X D9 10 -700 400 200 R 50 50 1 1 I
+X AnalogOut 11 600 350 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 2BITMUL
+#
+DEF 2BITMUL X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "2BITMUL" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -300 400 300 -400 0 1 0 N
+X A0 1 -500 300 200 R 50 50 1 1 I
+X A1 2 -500 150 200 R 50 50 1 1 I
+X B0 3 -500 -50 200 R 50 50 1 1 I
+X B1 4 -500 -250 200 R 50 50 1 1 I
+X M0 5 500 250 200 L 50 50 1 1 O
+X M1 6 500 100 200 L 50 50 1 1 O
+X M2 7 500 -50 200 L 50 50 1 1 O
+X M3 8 500 -250 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 3_and
+#
+DEF 3_and X 0 40 Y Y 1 F N
+F0 "X" 100 -50 60 H V C CNN
+F1 "3_and" 150 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 150 50 158 716 -716 0 1 0 N 200 200 200 -100
+P 2 0 1 0 -150 200 200 200 N
+P 3 0 1 0 -150 200 -150 -100 200 -100 N
+X in1 1 -350 150 200 R 50 50 1 1 I
+X in2 2 -350 50 200 R 50 50 1 1 I
+X in3 3 -350 -50 200 R 50 50 1 1 I
+X out 4 500 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 4_OR
+#
+DEF 4_OR X 0 40 Y Y 1 F N
+F0 "X" 150 -100 60 H V C CNN
+F1 "4_OR" 150 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -800 0 650 226 -226 0 1 0 N -200 250 -200 -250
+A -73 134 444 -599 -176 0 1 0 N 150 -250 350 0
+A -30 -99 393 627 146 0 1 0 N 150 250 350 0
+P 2 0 1 0 -200 -250 150 -250 N
+P 2 0 1 0 -200 250 150 250 N
+X in1 1 -350 150 200 R 50 50 1 1 I
+X in2 2 -350 50 200 R 50 50 1 1 I
+X in3 3 -350 -50 200 R 50 50 1 1 I
+X in4 4 -350 -150 200 R 50 50 1 1 I
+X out 5 550 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 4_and
+#
+DEF 4_and X 0 40 Y Y 1 F N
+F0 "X" 50 -50 60 H V C CNN
+F1 "4_and" 100 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 100 0 206 760 -760 0 1 0 N 150 200 150 -200
+P 2 0 1 0 -200 200 150 200 N
+P 4 0 1 0 -200 200 -200 -200 50 -200 150 -200 N
+X in1 1 -400 150 200 R 50 50 1 1 I
+X in2 2 -400 50 200 R 50 50 1 1 I
+X in3 3 -400 -50 200 R 50 50 1 1 I
+X in4 4 -400 -150 200 R 50 50 1 1 I
+X out 5 500 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# 556
+#
+DEF 556 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "556" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 250 -550 0 1 0 N
+X dis1 1 -500 150 200 R 50 50 1 1 I
+X thr1 2 -500 -150 200 R 50 50 1 1 I
+X cv1 3 -150 -750 200 U 50 50 1 1 I
+X rst1 4 -200 600 200 D 50 50 1 1 I
+X out1 5 -500 0 200 R 50 50 1 1 O
+X trig1 6 -500 -300 200 R 50 50 1 1 I
+X gnd 7 0 -750 200 U 50 50 1 1 I
+X trig2 8 450 -300 200 L 50 50 1 1 I
+X out2 9 450 0 200 L 50 50 1 1 O
+X rst2 10 100 600 200 D 50 50 1 1 I
+X cv2 11 150 -750 200 U 50 50 1 1 I
+X thr2 12 450 -150 200 L 50 50 1 1 I
+X dis2 13 450 150 200 L 50 50 1 1 I
+X vcc 14 -50 600 200 D 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# 5_and
+#
+DEF 5_and X 0 40 Y Y 1 F N
+F0 "X" 50 -100 60 H V C CNN
+F1 "5_and" 100 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 100 0 255 787 -787 0 1 0 N 150 250 150 -250
+P 2 0 1 0 -250 250 150 250 N
+P 3 0 1 0 -250 250 -250 -250 150 -250 N
+X in1 1 -450 200 200 R 50 50 1 1 I
+X in2 2 -450 100 200 R 50 50 1 1 I
+X in3 3 -450 0 200 R 50 50 1 1 I
+X in4 4 -450 -100 200 R 50 50 1 1 I
+X in5 5 -450 -200 200 R 50 50 1 1 I
+X out 6 550 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# CD4013BC
+#
+DEF CD4013BC X 0 40 Y Y 1 F N
+F0 "X" 1100 -350 60 H V C CNN
+F1 "CD4013BC" -50 500 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S 1000 -450 -800 400 0 1 0 N
+X VDD 1 -700 600 200 D 50 50 1 1 I
+X VSS 2 850 -650 200 U 50 50 1 1 I
+X SET 3 550 -650 200 U 50 50 1 1 I
+X RESET 4 0 -650 200 U 50 50 1 1 I
+X CLK 5 -250 -650 200 U 50 50 1 1 I
+X CL_BAR 6 800 600 200 D 50 50 1 1 I
+X CL 7 400 600 200 D 50 50 1 1 I
+X Q 8 -700 -650 200 U 50 50 1 1 I
+X DATA 9 200 -650 200 U 50 50 1 1 I
+X Q_BAR 10 -500 -650 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CMOS_NAND
+#
+DEF CMOS_NAND X 0 40 Y Y 1 F N
+F0 "X" -100 -150 60 H V C CNN
+F1 "CMOS_NAND" 0 -50 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+A 150 -50 381 668 -668 0 1 0 N 300 300 300 -400
+C 550 0 50 0 1 0 N
+P 2 0 1 0 -350 300 300 300 N
+P 3 0 1 0 -350 300 -350 -400 300 -400 N
+X in1 1 -550 250 200 R 50 50 1 1 I
+X in2 2 -550 -300 200 R 50 50 1 1 I
+X out 3 800 0 279 L 79 79 1 1 I
+ENDDRAW
+ENDDEF
+#
+# Clock_pulse_generator
+#
+DEF Clock_pulse_generator X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Clock_pulse_generator" 0 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -550 200 600 -300 0 1 0 N
+X Vdd 1 -750 100 200 R 50 50 1 1 I
+X R 2 -750 -50 200 R 50 50 1 1 I
+X C 3 -750 -200 200 R 50 50 1 1 I
+X Clkout 4 800 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# FA
+#
+DEF FA X 0 40 Y Y 1 F N
+F0 "X" -150 -100 60 H V C CNN
+F1 "FA" -50 100 27 H V C CNB
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -200 150 -200 150 0 1 0 N
+S -200 150 -200 150 0 1 0 N
+S -150 150 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+S 100 -50 100 -50 0 1 0 N
+X A 1 50 350 200 D 29 29 1 1 I
+X B 2 -100 350 200 D 29 29 1 1 I
+X C 3 300 50 200 L 29 29 1 1 I
+X S 4 0 -250 200 U 24 28 1 1 O
+X COUT 5 -350 50 200 R 23 21 1 1 O
+ENDDRAW
+ENDDEF
+#
+# FA_A
+#
+DEF FA_A X 0 40 Y Y 1 F N
+F0 "X" 300 -250 60 H V C CNN
+F1 "FA_A" 50 0 44 H V C CNN
+F2 "" 50 0 60 H I C CNN
+F3 "" 50 0 60 H I C CNN
+DRAW
+S -250 150 350 -150 0 1 0 N
+X A 1 200 350 200 D 50 50 1 1 I
+X B 2 0 350 200 D 50 50 1 1 I
+X Cin 3 550 0 200 L 50 50 1 1 I
+X VDD 6 -150 350 200 D 50 26 1 1 I
+X Cout 7 -450 0 200 R 50 39 1 1 I
+X 5 GND -200 -350 200 U 50 50 1 1 I
+X 4 Sum 100 -350 200 U 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# FA_L
+#
+DEF FA_L X 0 40 Y Y 1 F N
+F0 "X" 800 -1100 60 H V C CNN
+F1 "FA_L" 1100 0 276 H V C CNN
+F2 "" 800 -1100 60 H I C CNN
+F3 "" 800 -1100 60 H I C CNN
+DRAW
+S 1450 -450 1450 -450 0 1 0 N
+S 2950 -1000 -600 900 0 1 0 N
+X A 1 2000 1100 200 D 50 197 1 1 I
+X B 2 550 1100 200 D 50 197 1 1 I
+X Cin 3 3150 0 200 L 50 197 1 1 I
+X Sum 4 1200 -1200 200 U 50 197 1 1 I
+X Cout 5 -800 0 200 R 50 197 1 1 I
+ENDDRAW
+ENDDEF
+#
+# FA_SUB
+#
+DEF FA_SUB X 0 40 Y Y 1 F N
+F0 "X" 300 -300 60 H V C CNN
+F1 "FA_SUB" 0 0 39 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S 350 -200 -400 200 0 1 0 N
+X A 1 200 400 200 D 50 50 1 1 I
+X B 2 -100 400 200 D 50 50 1 1 I
+X Cin 3 550 0 200 L 50 50 1 1 I
+X GND 4 -350 -400 200 U 50 41 1 1 I
+X Sum 5 100 -400 200 U 50 41 1 1 I
+X Cout 6 -600 0 200 R 50 46 1 1 I
+ENDDRAW
+ENDDEF
+#
+# FullAdder
+#
+DEF FullAdder X 0 40 Y Y 1 F N
+F0 "X" -200 -500 60 H V C CNN
+F1 "FullAdder" 0 -100 60 H V C CNN
+F2 "" 0 -100 60 H I C CNN
+F3 "" 0 -100 60 H I C CNN
+DRAW
+T 0 -1050 850 60 0 0 0 ".include ''RCA.cir''" Normal 0 C C
+S 750 -400 -750 300 0 1 0 N
+X A 1 400 500 200 D 50 50 1 1 I
+X B 2 -150 500 200 D 50 50 1 1 I
+X Cin 3 950 0 200 L 50 50 1 1 I
+X Sum 4 0 -600 200 U 50 50 1 1 I
+X Cout 5 -950 0 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4002
+#
+DEF IC_4002 X 0 40 Y Y 1 F N
+F0 "X" 0 150 60 H V C CNN
+F1 "IC_4002" 0 0 60 H V C CNN
+F2 "" 50 -150 60 H V C CNN
+F3 "" 50 -150 60 H V C CNN
+DRAW
+S -250 350 250 -400 0 1 0 N
+X 1Y 1 -450 250 200 R 50 50 1 1 O
+X 1A 2 -450 150 200 R 50 50 1 1 I
+X 1B 3 -450 50 200 R 50 50 1 1 I
+X 1C 4 -450 -50 200 R 50 50 1 1 I
+X 1D 5 -450 -150 200 R 50 50 1 1 I
+X NC 6 -450 -250 200 R 50 50 1 1 I
+X GND 7 -450 -350 200 R 50 50 1 1 I
+X NC 8 450 -350 200 L 50 50 1 1 I
+X 2A 9 450 -250 200 L 50 50 1 1 I
+X 2B 10 450 -150 200 L 50 50 1 1 I
+X 2C 11 450 -50 200 L 50 50 1 1 I
+X 2D 12 450 50 200 L 50 50 1 1 I
+X 2Y 13 450 150 200 L 50 50 1 1 O
+X VCC 14 450 250 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4012
+#
+DEF IC_4012 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "IC_4012" 0 200 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 350 -400 0 1 0 N
+X Q1 1 -500 300 200 R 50 50 1 1 O
+X A1 2 -500 200 200 R 50 50 1 1 I
+X B1 3 -500 100 200 R 50 50 1 1 I
+X C1 4 -500 0 200 R 50 50 1 1 I
+X D1 5 -500 -100 200 R 50 50 1 1 I
+X NC 6 -500 -200 200 R 50 50 1 1 N
+X VSS 7 -500 -300 200 R 50 50 1 1 I
+X NC 8 550 -300 200 L 50 50 1 1 N
+X A2 9 550 -200 200 L 50 50 1 1 I
+X B2 10 550 -100 200 L 50 50 1 1 I
+X C2 11 550 0 200 L 50 50 1 1 I
+X D2 12 550 100 200 L 50 50 1 1 I
+X Q2 13 550 200 200 L 50 50 1 1 O
+X VDD 14 550 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4017
+#
+DEF IC_4017 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "IC_4017" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -350 850 400 -850 0 1 0 N
+X 1 1 600 650 200 L 50 50 1 1 O
+X 2 2 600 500 200 L 50 50 1 1 O
+X 3 3 600 350 200 L 50 50 1 1 O
+X 4 4 600 200 200 L 50 50 1 1 O
+X 5 5 600 50 200 L 50 50 1 1 O
+X 6 6 600 -100 200 L 50 50 1 1 O
+X 7 7 600 -250 200 L 50 50 1 1 O
+X 8 8 600 -400 200 L 50 50 1 1 O
+X 9 9 600 -600 200 L 50 50 1 1 O
+X 10 10 600 -750 200 L 50 50 1 1 O
+X RST 11 -550 -400 200 R 50 50 1 1 I
+X CLK 12 -550 350 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4023
+#
+DEF IC_4023 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4023" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 450 300 -450 0 1 0 N
+X A1 1 -500 300 200 R 50 50 1 1 I
+X B1 2 -500 200 200 R 50 50 1 1 I
+X A2 3 -500 100 200 R 50 50 1 1 I
+X B2 4 -500 0 200 R 50 50 1 1 I
+X C2 5 -500 -100 200 R 50 50 1 1 I
+X Q2 6 -500 -200 200 R 50 50 1 1 O
+X Vss 7 -500 -300 200 R 50 50 1 1 I
+X C1 8 500 -300 200 L 50 50 1 1 I
+X Q1 9 500 -200 200 L 50 50 1 1 O
+X Q3 10 500 -100 200 L 50 50 1 1 O
+X C3 11 500 0 200 L 50 50 1 1 I
+X B3 12 500 100 200 L 50 50 1 1 I
+X A3 13 500 200 200 L 50 50 1 1 I
+X Vdd 14 500 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_4028
+#
+DEF IC_4028 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4028" 0 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 450 300 -450 0 1 0 N
+X Q4 1 -500 350 200 R 50 50 1 1 O
+X Q2 2 -500 250 200 R 50 50 1 1 O
+X Q0 3 -500 150 200 R 50 50 1 1 O
+X Q7 4 -500 50 200 R 50 50 1 1 O
+X Q9 5 -500 -50 200 R 50 50 1 1 O
+X Q5 6 -500 -150 200 R 50 50 1 1 O
+X Q6 7 -500 -250 200 R 50 50 1 1 O
+X Vss 8 -500 -350 200 R 50 50 1 1 I
+X Q8 9 500 -350 200 L 50 50 1 1 O
+X A0 10 500 -250 200 L 50 50 1 1 I
+X A3 11 500 -150 200 L 50 50 1 1 I
+X A2 12 500 -50 200 L 50 50 1 1 I
+X A1 13 500 50 200 L 50 50 1 1 I
+X Q1 14 500 150 200 L 50 50 1 1 O
+X Q3 15 500 250 200 L 50 50 1 1 O
+X Vdd 16 500 350 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_4073
+#
+DEF IC_4073 X 0 40 Y Y 1 F N
+F0 "X" 0 -100 60 H V C CNN
+F1 "IC_4073" 0 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -300 400 300 -400 0 1 0 N
+X A1 1 -500 300 200 R 50 50 1 1 I
+X B1 2 -500 200 200 R 50 50 1 1 I
+X A2 3 -500 100 200 R 50 50 1 1 I
+X B2 4 -500 0 200 R 50 50 1 1 I
+X C2 5 -500 -100 200 R 50 50 1 1 I
+X Q2 6 -500 -200 200 R 50 50 1 1 O
+X Vss 7 -500 -300 200 R 50 50 1 1 I
+X C1 8 500 -300 200 L 50 50 1 1 I
+X Q1 9 500 -200 200 L 50 50 1 1 O
+X Q3 10 500 -100 200 L 50 50 1 1 O
+X A3 11 500 0 200 L 50 50 1 1 I
+X B3 12 500 100 200 L 50 50 1 1 I
+X C3 13 500 200 200 L 50 50 1 1 I
+X Vdd 14 500 300 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# IC_74153
+#
+DEF IC_74153 X 0 40 Y Y 1 F N
+F0 "X" 100 50 60 H V C CNN
+F1 "IC_74153" 100 150 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 100 -200 60 0 0 0 4:1 Normal 0 C C
+T 0 100 -100 60 0 0 0 DUAL Normal 0 C C
+T 0 100 -300 60 0 0 0 MUX Normal 0 C C
+S -200 500 350 -550 0 1 0 N
+X a0 1 -400 350 200 R 50 50 1 1 I
+X a1 2 -400 250 200 R 50 50 1 1 I
+X a2 3 -400 150 200 R 50 50 1 1 I
+X a3 4 -400 50 200 R 50 50 1 1 I
+X EA 5 0 700 200 D 50 50 1 1 I I
+X b0 6 -400 -150 200 R 50 50 1 1 I
+X b1 7 -400 -250 200 R 50 50 1 1 I
+X b2 8 -400 -350 200 R 50 50 1 1 I
+X b3 9 -400 -450 200 R 50 50 1 1 I
+X EB 10 200 700 200 D 50 50 1 1 I I
+X s1 11 50 -750 200 U 50 50 1 1 I
+X s0 12 150 -750 200 U 50 50 1 1 I
+X ya 13 550 250 200 L 50 50 1 1 O
+X yb 14 550 -300 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_74154
+#
+DEF IC_74154 X 0 40 Y Y 1 F N
+F0 "X" 0 -200 60 H V C CNN
+F1 "IC_74154" 50 -50 60 H V C CNN
+F2 "" 0 50 60 H V C CNN
+F3 "" 0 50 60 H V C CNN
+DRAW
+T 0 0 400 60 0 0 0 4:16~ Normal 0 C C
+T 0 0 250 60 0 0 0 decoder Normal 0 C C
+S -350 700 400 -700 0 0 0 N
+X ~Y0 1 -550 550 200 R 50 50 1 1 O I
+X ~Y1 2 -550 450 200 R 50 50 1 1 O I
+X ~Y2 3 -550 350 200 R 50 50 1 1 O I
+X ~Y3 4 -550 250 200 R 50 50 1 1 O I
+X ~Y4 5 -550 150 200 R 50 50 1 1 O I
+X ~Y5 6 -550 50 200 R 50 50 1 1 O I
+X ~Y6 7 -550 -50 200 R 50 50 1 1 O I
+X ~Y7 8 -550 -150 200 R 50 50 1 1 O I
+X ~Y8 9 -550 -250 200 R 50 50 1 1 O I
+X ~Y9 10 -550 -350 200 R 50 50 1 1 O I
+X A3 20 600 150 200 L 50 50 1 1 I
+X ~Y10 11 -550 -450 200 R 50 50 1 1 O I
+X A2 21 600 250 200 L 50 50 1 1 I
+X GND 12 -550 -550 200 R 50 50 1 1 I
+X A1 22 600 350 200 L 50 50 1 1 I
+X ~Y11 13 600 -550 200 L 50 50 1 1 O I
+X A0 23 600 450 200 L 50 50 1 1 I
+X ~Y12 14 600 -450 200 L 50 50 1 1 O I
+X Vcc 24 600 550 200 L 50 50 1 1 I
+X ~Y13 15 600 -350 200 L 50 50 1 1 O I
+X ~Y14 16 600 -250 200 L 50 50 1 1 O I
+X ~Y15 17 600 -150 200 L 50 50 1 1 O I
+X ~E0 18 600 -50 200 L 50 50 1 1 I I
+X ~E1 19 600 50 200 L 50 50 1 1 I I
+ENDDRAW
+ENDDEF
+#
+# IC_74157
+#
+DEF IC_74157 X 0 40 Y Y 1 F N
+F0 "X" 50 -50 60 H V C CNN
+F1 "IC_74157" 50 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 50 -300 60 0 0 0 2:1 Normal 0 C C
+T 0 50 -400 60 0 0 0 MUX Normal 0 C C
+T 0 50 -200 60 0 0 0 QUAD Normal 0 C C
+S -350 550 400 -650 0 1 0 N
+X a0 1 -550 450 200 R 50 50 1 1 I
+X a1 2 -550 300 200 R 50 50 1 1 I
+X b0 3 -550 200 200 R 50 50 1 1 I
+X b1 4 -550 100 200 R 50 50 1 1 I
+X c0 5 -550 0 200 R 50 50 1 1 I
+X c1 6 -550 -100 200 R 50 50 1 1 I
+X d0 7 -550 -200 200 R 50 50 1 1 I
+X d1 8 -550 -300 200 R 50 50 1 1 I
+X EN 9 -550 -550 200 R 50 50 1 1 I I
+X S 10 -550 -450 200 R 50 50 1 1 I
+X Yd 11 600 0 200 L 50 50 1 1 O
+X Ya 12 600 300 200 L 50 50 1 1 O
+X Yb 13 600 200 200 L 50 50 1 1 O
+X Yc 14 600 100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# IC_7485
+#
+DEF IC_7485 X 0 40 Y Y 1 F N
+F0 "X" -50 -100 60 H V C CNN
+F1 "IC_7485" -50 50 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+T 0 0 550 60 0 0 0 4~BIT~comparator Normal 0 C C
+S -350 450 400 -400 0 1 0 N
+X A<B(in) 1 600 -100 200 L 50 50 1 1 I
+X A=B(in) 2 600 -200 200 L 50 50 1 1 I
+X A>B(in) 3 600 -300 200 L 50 50 1 1 I
+X A3 4 -550 100 200 R 50 50 1 1 I
+X B3 5 -550 -350 200 R 50 50 1 1 I
+X A2 6 -550 200 200 R 50 50 1 1 I
+X B2 7 -550 -250 200 R 50 50 1 1 I
+X A1 8 -550 300 200 R 50 50 1 1 I
+X B1 9 -550 -150 200 R 50 50 1 1 I
+X A0 10 -550 400 200 R 50 50 1 1 I
+X B0 11 -550 -50 200 R 50 50 1 1 I
+X A>B(out) 12 600 350 200 L 50 50 1 1 O
+X A=B(out) 13 600 250 200 L 50 50 1 1 O
+X A<B(out) 14 600 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# INVCMOS
+#
+DEF INVCMOS X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "INVCMOS" -450 150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+C 400 0 112 0 1 0 N
+S -250 200 -250 -200 0 1 0 N
+P 3 0 1 0 -250 200 300 0 -250 -200 N
+X in 1 -450 0 200 R 50 50 1 1 P
+X out 2 700 0 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# LM555N
+#
+DEF LM555N X 0 40 Y Y 1 F N
+F0 "X" 0 -50 60 H V C CNN
+F1 "LM555N" 0 100 60 H V C CNN
+F2 "" -50 0 60 H V C CNN
+F3 "" -50 0 60 H V C CNN
+DRAW
+S 350 -400 -350 400 0 1 0 N
+X GND 1 0 -600 200 U 50 50 1 1 W
+X TR 2 -550 250 200 R 50 50 1 1 I
+X Q 3 550 250 200 L 50 50 1 1 O
+X R 4 -550 -250 200 R 50 50 1 1 I I
+X CV 5 -550 0 200 R 50 50 1 1 I
+X THR 6 550 -250 200 L 50 50 1 1 I
+X DIS 7 550 0 200 L 50 50 1 1 I
+X VCC 8 0 600 200 D 50 50 1 1 W
+ENDDRAW
+ENDDEF
+#
+# LM_7812
+#
+DEF LM_7812 X 0 40 Y Y 1 F N
+F0 "X" 0 50 60 H V C CNN
+F1 "LM_7812" 0 150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 200 350 -200 0 1 0 N
+X IN 1 -550 0 200 R 50 50 1 1 I
+X GND 2 0 -400 200 U 50 50 1 1 I
+X OUT 3 550 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# Lm_7805
+#
+DEF Lm_7805 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "Lm_7805" 50 150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -350 100 350 -200 0 1 0 N
+X Vin 1 -550 0 200 R 50 50 1 1 P
+X GND 2 0 -400 200 U 50 50 1 1 P
+X Vout 3 550 0 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# SCR
+#
+DEF SCR X 0 10 Y N 1 F N
+F0 "X" 150 200 50 H V C CNN
+F1 "SCR" 150 -350 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 2 0 0 0 -200 -150 200 -150 N
+P 2 0 1 0 0 -150 -200 -400 N
+P 3 0 1 0 -150 100 150 100 0 -150 F
+X A 1 0 400 300 D 60 60 1 1 I
+X K 2 0 -550 400 U 60 70 1 1 I
+X G 3 -350 -400 150 R 60 60 1 1 I
+ENDDRAW
+ENDDEF
+#
+# UJT
+#
+DEF UJT X 0 40 Y Y 1 F N
+F0 "X" -50 -50 60 H V C CNN
+F1 "UJT" 50 -50 60 H V C CNN
+F2 "" -50 -50 60 H I C CNN
+F3 "" -50 -50 60 H I C CNN
+DRAW
+C -50 -50 206 0 1 0 N
+P 2 0 1 0 -100 100 -100 -200 N
+P 3 0 1 0 -250 0 -200 0 -100 -100 N
+P 3 0 1 0 -200 -50 -150 -50 -150 0 N
+P 3 0 1 0 -100 -150 0 -150 0 -250 N
+P 3 0 1 0 -100 50 0 50 0 150 N
+X E 1 -450 0 200 R 50 50 1 1 I
+X B1 2 0 -450 200 U 50 50 1 1 B
+X B2 3 0 350 200 D 50 50 1 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_74LS04
+#
+DEF eSim_74LS04 X 0 40 Y Y 1 F N
+F0 "X" 0 100 60 H V C CNN
+F1 "eSim_74LS04" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S 350 500 -350 -500 0 1 0 N
+X ~ 1 -550 450 200 R 50 50 1 1 P
+X ~ 2 -550 300 200 R 50 50 1 1 P I
+X ~ 3 -550 150 200 R 50 50 1 1 P
+X ~ 4 -550 0 200 R 50 50 1 1 P I
+X ~ 5 -550 -150 200 R 50 50 1 1 P
+X ~ 6 -550 -300 200 R 50 50 1 1 P I
+X GND 7 -550 -450 200 R 50 50 1 1 P
+X ~ 8 550 -450 200 L 50 50 1 1 P I
+X ~ 9 550 -300 200 L 50 50 1 1 P
+X ~ 10 550 -150 200 L 50 50 1 1 P I
+X ~ 11 550 0 200 L 50 50 1 1 P
+X ~ 12 550 150 200 L 50 50 1 1 P I
+X ~ 13 550 300 200 L 50 50 1 1 P
+X VCC 14 550 450 200 L 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# full_adder
+#
+DEF full_adder X 0 40 Y Y 1 F N
+F0 "X" 1400 700 60 H V C CNN
+F1 "full_adder" 1400 600 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S 800 1150 1950 0 0 1 0 N
+X IN1 1 600 950 200 R 50 50 1 1 I
+X IN2 2 600 550 200 R 50 50 1 1 I
+X CIN 3 600 150 200 R 50 50 1 1 I
+X SUM 4 2150 950 200 L 50 50 1 1 O
+X COUT 5 2150 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# full_sub
+#
+DEF full_sub X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "full_sub" 0 0 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -550 650 450 -600 0 1 0 N
+X A 1 -750 400 200 R 50 50 1 1 I
+X B 2 -750 200 200 R 50 50 1 1 I
+X BIN 3 -750 -200 200 R 50 50 1 1 I
+X DIFF 4 650 450 200 L 50 50 1 1 O
+X BORROW 5 650 150 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# half_adder
+#
+DEF half_adder X 0 40 Y Y 1 F N
+F0 "X" 900 500 60 H V C CNN
+F1 "half_adder" 900 400 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S 500 800 1250 0 0 1 0 N
+X IN1 1 300 700 200 R 50 50 1 1 I
+X IN2 2 300 100 200 R 50 50 1 1 I
+X SUM 3 1450 700 200 L 50 50 1 1 O
+X COUT 4 1450 100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# half_sub
+#
+DEF half_sub X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "half_sub" 0 0 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -300 300 300 -300 0 1 0 N
+X A 1 -500 200 200 R 50 50 1 1 I
+X B 2 -500 -100 200 R 50 50 1 1 I
+X D 3 500 150 200 L 50 50 1 1 O
+X BORROW 4 500 -100 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# lm_741
+#
+DEF lm_741 X 0 40 Y Y 1 F N
+F0 "X" -200 0 60 H V C CNN
+F1 "lm_741" -100 -250 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -350 350 350 0 -350 -350 -350 350 N
+X off_null 1 -50 400 200 D 50 38 1 1 I
+X inv 2 -550 150 200 R 50 38 1 1 I
+X non_inv 3 -550 -100 200 R 50 38 1 1 I
+X v_neg 4 -150 -450 200 U 50 38 1 1 I
+X off_null 5 50 350 200 D 50 38 1 1 I
+X out 6 550 0 200 L 50 38 1 1 O
+X v_pos 7 -150 450 200 D 50 38 1 1 I
+X NC 8 150 -300 200 U 50 38 1 1 N
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.pro b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.pro
@@ -0,0 +1,73 @@
+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
+LibName39=eSim_SKY130
+LibName40=eSim_SKY130_Subckts
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sch b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sch
new file mode 100644
index 00000000..2f9b7866
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sch
@@ -0,0 +1,2183 @@
+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:eSim_SKY130
+LIBS:eSim_SKY130_Subckts
+LIBS:SUB_CD4013BC-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 M9
+U 1 1 68403658
+P 3900 2350
+F 0 "M9" H 3850 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3950 2500 50 0000 R CNN
+F 2 "" H 4150 2450 29 0000 C CNN
+F 3 "" H 3950 2350 60 0000 C CNN
+ 1 3900 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 68403659
+P 3850 3300
+F 0 "M8" H 3850 3150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3950 3250 50 0000 R CNN
+F 2 "" H 4150 3000 29 0000 C CNN
+F 3 "" H 3950 3100 60 0000 C CNN
+ 1 3850 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M10
+U 1 1 6840365A
+P 3900 2950
+F 0 "M10" H 3850 3000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 3950 3100 50 0000 R CNN
+F 2 "" H 4150 3050 29 0000 C CNN
+F 3 "" H 3950 2950 60 0000 C CNN
+ 1 3900 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M7
+U 1 1 6840365B
+P 3050 3300
+F 0 "M7" H 3050 3150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 3150 3250 50 0000 R CNN
+F 2 "" H 3350 3000 29 0000 C CNN
+F 3 "" H 3150 3100 60 0000 C CNN
+ 1 3050 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M1
+U 1 1 6840365C
+P 1200 3200
+F 0 "M1" H 1200 3050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 1300 3150 50 0000 R CNN
+F 2 "" H 1500 2900 29 0000 C CNN
+F 3 "" H 1300 3000 60 0000 C CNN
+ 1 1200 3200
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 6840365D
+P 1350 2450
+F 0 "M2" H 1300 2500 50 0000 R CNN
+F 1 "eSim_MOS_P" H 1400 2600 50 0000 R CNN
+F 2 "" H 1600 2550 29 0000 C CNN
+F 3 "" H 1400 2450 60 0000 C CNN
+ 1 1350 2450
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M15
+U 1 1 6840365E
+P 6150 2300
+F 0 "M15" H 6100 2350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6200 2450 50 0000 R CNN
+F 2 "" H 6400 2400 29 0000 C CNN
+F 3 "" H 6200 2300 60 0000 C CNN
+ 1 6150 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M16
+U 1 1 6840365F
+P 6150 2850
+F 0 "M16" H 6100 2900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6200 3000 50 0000 R CNN
+F 2 "" H 6400 2950 29 0000 C CNN
+F 3 "" H 6200 2850 60 0000 C CNN
+ 1 6150 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M14
+U 1 1 68403660
+P 6100 3200
+F 0 "M14" H 6100 3050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6200 3150 50 0000 R CNN
+F 2 "" H 6400 2900 29 0000 C CNN
+F 3 "" H 6200 3000 60 0000 C CNN
+ 1 6100 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M11
+U 1 1 68403661
+P 5450 3200
+F 0 "M11" H 5450 3050 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5550 3150 50 0000 R CNN
+F 2 "" H 5750 2900 29 0000 C CNN
+F 3 "" H 5550 3000 60 0000 C CNN
+ 1 5450 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M17
+U 1 1 68403662
+P 7300 3000
+F 0 "M17" H 7300 2850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 7400 2950 50 0000 R CNN
+F 2 "" H 7600 2700 29 0000 C CNN
+F 3 "" H 7400 2800 60 0000 C CNN
+ 1 7300 3000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M18
+U 1 1 68403663
+P 7450 2250
+F 0 "M18" H 7400 2300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 7500 2400 50 0000 R CNN
+F 2 "" H 7700 2350 29 0000 C CNN
+F 3 "" H 7500 2250 60 0000 C CNN
+ 1 7450 2250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M21
+U 1 1 68403664
+P 8700 2250
+F 0 "M21" H 8650 2300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8750 2400 50 0000 R CNN
+F 2 "" H 8950 2350 29 0000 C CNN
+F 3 "" H 8750 2250 60 0000 C CNN
+ 1 8700 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M22
+U 1 1 68403665
+P 8700 2750
+F 0 "M22" H 8650 2800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8750 2900 50 0000 R CNN
+F 2 "" H 8950 2850 29 0000 C CNN
+F 3 "" H 8750 2750 60 0000 C CNN
+ 1 8700 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M20
+U 1 1 68403666
+P 8650 3050
+F 0 "M20" H 8650 2900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8750 3000 50 0000 R CNN
+F 2 "" H 8950 2750 29 0000 C CNN
+F 3 "" H 8750 2850 60 0000 C CNN
+ 1 8650 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M19
+U 1 1 68403667
+P 8000 3250
+F 0 "M19" H 8000 3100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 8100 3200 50 0000 R CNN
+F 2 "" H 8300 2950 29 0000 C CNN
+F 3 "" H 8100 3050 60 0000 C CNN
+ 1 8000 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M28
+U 1 1 68403668
+P 10350 1800
+F 0 "M28" H 10300 1850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10400 1950 50 0000 R CNN
+F 2 "" H 10600 1900 29 0000 C CNN
+F 3 "" H 10400 1800 60 0000 C CNN
+ 1 10350 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M29
+U 1 1 68403669
+P 10350 2350
+F 0 "M29" H 10300 2400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10400 2500 50 0000 R CNN
+F 2 "" H 10600 2450 29 0000 C CNN
+F 3 "" H 10400 2350 60 0000 C CNN
+ 1 10350 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M25
+U 1 1 6840366A
+P 10300 2700
+F 0 "M25" H 10300 2550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 2650 50 0000 R CNN
+F 2 "" H 10600 2400 29 0000 C CNN
+F 3 "" H 10400 2500 60 0000 C CNN
+ 1 10300 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M23
+U 1 1 6840366B
+P 9550 2700
+F 0 "M23" H 9550 2550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 9650 2650 50 0000 R CNN
+F 2 "" H 9850 2400 29 0000 C CNN
+F 3 "" H 9650 2500 60 0000 C CNN
+ 1 9550 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M26
+U 1 1 6840366C
+P 10300 4450
+F 0 "M26" H 10300 4300 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10400 4400 50 0000 R CNN
+F 2 "" H 10600 4150 29 0000 C CNN
+F 3 "" H 10400 4250 60 0000 C CNN
+ 1 10300 4450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M30
+U 1 1 6840366D
+P 10450 3700
+F 0 "M30" H 10400 3750 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10500 3850 50 0000 R CNN
+F 2 "" H 10700 3800 29 0000 C CNN
+F 3 "" H 10500 3700 60 0000 C CNN
+ 1 10450 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M32
+U 1 1 6840366E
+P 10650 4950
+F 0 "M32" H 10600 5000 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10700 5100 50 0000 R CNN
+F 2 "" H 10900 5050 29 0000 C CNN
+F 3 "" H 10700 4950 60 0000 C CNN
+ 1 10650 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M31
+U 1 1 6840366F
+P 10600 5300
+F 0 "M31" H 10600 5150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10700 5250 50 0000 R CNN
+F 2 "" H 10900 5000 29 0000 C CNN
+F 3 "" H 10700 5100 60 0000 C CNN
+ 1 10600 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M27
+U 1 1 68403670
+P 10300 5850
+F 0 "M27" H 10250 5900 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10350 6000 50 0000 R CNN
+F 2 "" H 10550 5950 29 0000 C CNN
+F 3 "" H 10350 5850 60 0000 C CNN
+ 1 10300 5850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M24
+U 1 1 68403671
+P 10250 6100
+F 0 "M24" H 10250 5950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10350 6050 50 0000 R CNN
+F 2 "" H 10550 5800 29 0000 C CNN
+F 3 "" H 10350 5900 60 0000 C CNN
+ 1 10250 6100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M12
+U 1 1 68403672
+P 5900 5100
+F 0 "M12" H 5900 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 6000 5050 50 0000 R CNN
+F 2 "" H 6200 4800 29 0000 C CNN
+F 3 "" H 6000 4900 60 0000 C CNN
+ 1 5900 5100
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M13
+U 1 1 68403673
+P 6050 4350
+F 0 "M13" H 6000 4400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6100 4500 50 0000 R CNN
+F 2 "" H 6300 4450 29 0000 C CNN
+F 3 "" H 6100 4350 60 0000 C CNN
+ 1 6050 4350
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 68403674
+P 1950 6300
+F 0 "M4" H 1900 6350 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2000 6450 50 0000 R CNN
+F 2 "" H 2200 6400 29 0000 C CNN
+F 3 "" H 2000 6300 60 0000 C CNN
+ 1 1950 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M3
+U 1 1 68403675
+P 1900 6700
+F 0 "M3" H 1900 6550 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2000 6650 50 0000 R CNN
+F 2 "" H 2200 6400 29 0000 C CNN
+F 3 "" H 2000 6500 60 0000 C CNN
+ 1 1900 6700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 68403676
+P 2800 6350
+F 0 "M6" H 2750 6400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 2850 6500 50 0000 R CNN
+F 2 "" H 3050 6450 29 0000 C CNN
+F 3 "" H 2850 6350 60 0000 C CNN
+ 1 2800 6350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M5
+U 1 1 68403677
+P 2750 6750
+F 0 "M5" H 2750 6600 50 0000 R CNN
+F 1 "eSim_MOS_N" H 2850 6700 50 0000 R CNN
+F 2 "" H 3050 6450 29 0000 C CNN
+F 3 "" H 2850 6550 60 0000 C CNN
+ 1 2750 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M34
+U 1 1 68412262
+P 10850 6300
+F 0 "M34" H 10850 6150 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10950 6250 50 0000 R CNN
+F 2 "" H 11150 6000 29 0000 C CNN
+F 3 "" H 10950 6100 60 0000 C CNN
+ 1 10850 6300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M33
+U 1 1 68412309
+P 10900 6000
+F 0 "M33" H 10850 6050 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10950 6150 50 0000 R CNN
+F 2 "" H 11150 6100 29 0000 C CNN
+F 3 "" H 10950 6000 60 0000 C CNN
+ 1 10900 6000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6842B825
+P 1400 1150
+F 0 "U1" H 1450 1250 30 0000 C CNN
+F 1 "PORT" H 1400 1150 30 0000 C CNN
+F 2 "" H 1400 1150 60 0000 C CNN
+F 3 "" H 1400 1150 60 0000 C CNN
+ 3 1400 1150
+ 1 0 0 -1
+$EndComp
+Text GLabel 1450 750 2 60 Input ~ 0
+VDD
+Text GLabel 1950 2650 2 60 Input ~ 0
+VDD
+Text GLabel 4050 2000 1 60 Input ~ 0
+VDD
+Text GLabel 6150 1400 0 60 Input ~ 0
+VDD
+Text GLabel 9000 1850 1 60 Input ~ 0
+VDD
+Text GLabel 10700 1100 1 60 Input ~ 0
+VDD
+Text GLabel 10150 5550 0 60 Input ~ 0
+VDD
+Text GLabel 10050 4700 0 60 Input ~ 0
+VDD
+Text GLabel 2150 5850 2 60 Input ~ 0
+VDD
+$Comp
+L PORT U1
+U 6 1 6842D7D0
+P 700 2800
+F 0 "U1" H 750 2900 30 0000 C CNN
+F 1 "PORT" H 700 2800 30 0000 C CNN
+F 2 "" H 700 2800 60 0000 C CNN
+F 3 "" H 700 2800 60 0000 C CNN
+ 6 700 2800
+ 1 0 0 -1
+$EndComp
+Text GLabel 2750 700 2 60 Input ~ 0
+VSS
+Text GLabel 1650 3100 3 60 Input ~ 0
+VSS
+Text GLabel 4150 3900 3 60 Input ~ 0
+VSS
+Text GLabel 7800 2250 1 60 Input ~ 0
+VSS
+Text GLabel 3100 7600 2 60 Input ~ 0
+VSS
+Text GLabel 6400 4950 3 60 Input ~ 0
+VSS
+Text GLabel 8650 3850 2 60 Input ~ 0
+VSS
+Text GLabel 10950 4150 2 60 Input ~ 0
+VSS
+Text GLabel 10300 6700 3 60 Input ~ 0
+VSS
+Text GLabel 5650 4400 0 60 Input ~ 0
+VDD
+$Comp
+L PORT U1
+U 4 1 68430D43
+P 1500 5000
+F 0 "U1" H 1550 5100 30 0000 C CNN
+F 1 "PORT" H 1500 5000 30 0000 C CNN
+F 2 "" H 1500 5000 60 0000 C CNN
+F 3 "" H 1500 5000 60 0000 C CNN
+ 4 1500 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 684313C6
+P 750 6650
+F 0 "U1" H 800 6750 30 0000 C CNN
+F 1 "PORT" H 750 6650 30 0000 C CNN
+F 2 "" H 750 6650 60 0000 C CNN
+F 3 "" H 750 6650 60 0000 C CNN
+ 5 750 6650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 68432001
+P 2300 700
+F 0 "U1" H 2350 800 30 0000 C CNN
+F 1 "PORT" H 2300 700 30 0000 C CNN
+F 2 "" H 2300 700 60 0000 C CNN
+F 3 "" H 2300 700 60 0000 C CNN
+ 2 2300 700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 684326B6
+P 11150 7000
+F 0 "U1" H 11200 7100 30 0000 C CNN
+F 1 "PORT" H 11150 7000 30 0000 C CNN
+F 2 "" H 11150 7000 60 0000 C CNN
+F 3 "" H 11150 7000 60 0000 C CNN
+ 7 11150 7000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 8 1 68434094
+P 10650 7000
+F 0 "U1" H 10700 7100 30 0000 C CNN
+F 1 "PORT" H 10650 7000 30 0000 C CNN
+F 2 "" H 10650 7000 60 0000 C CNN
+F 3 "" H 10650 7000 60 0000 C CNN
+ 8 10650 7000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 1 1 684368E7
+P 850 750
+F 0 "U1" H 900 850 30 0000 C CNN
+F 1 "PORT" H 850 750 30 0000 C CNN
+F 2 "" H 850 750 60 0000 C CNN
+F 3 "" H 850 750 60 0000 C CNN
+ 1 850 750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3750 3500 3750 2950
+Wire Wire Line
+ 2850 2350 3750 2350
+Wire Wire Line
+ 2850 1150 2850 3500
+Wire Wire Line
+ 2850 3500 2950 3500
+Wire Wire Line
+ 4050 2750 4050 2550
+Wire Wire Line
+ 4050 3300 4050 3150
+Wire Wire Line
+ 3250 3700 4300 3700
+Wire Wire Line
+ 3250 3300 3250 3200
+Wire Wire Line
+ 3250 3200 4850 3200
+Connection ~ 4050 3200
+Wire Wire Line
+ 1150 2600 1100 2600
+Wire Wire Line
+ 1100 2600 1100 3000
+Wire Wire Line
+ 1100 3000 1200 3000
+Wire Wire Line
+ 1600 3000 1750 3000
+Wire Wire Line
+ 1750 3000 1750 2600
+Wire Wire Line
+ 1750 2600 1550 2600
+Wire Wire Line
+ 3500 2850 3500 2950
+Wire Wire Line
+ 3500 2950 3750 2950
+Connection ~ 1750 2850
+Wire Wire Line
+ 6300 3200 6300 3050
+Wire Wire Line
+ 6300 2650 6300 2500
+Wire Wire Line
+ 6400 3750 6400 3550
+Wire Wire Line
+ 6300 3750 6300 3600
+Connection ~ 6300 3750
+Wire Wire Line
+ 5750 3550 5750 3750
+Connection ~ 5750 3750
+Wire Wire Line
+ 5650 3200 5650 3150
+Wire Wire Line
+ 5650 3150 6800 3150
+Connection ~ 6300 3150
+Wire Wire Line
+ 4150 2500 4350 2500
+Wire Wire Line
+ 4350 2500 4350 2150
+Wire Wire Line
+ 4350 2150 4050 2150
+Wire Wire Line
+ 4050 2150 4050 2000
+Connection ~ 4050 2100
+Wire Wire Line
+ 6000 2300 5250 2300
+Wire Wire Line
+ 5250 2300 5250 5750
+Wire Wire Line
+ 5250 3400 5350 3400
+Wire Wire Line
+ 4850 3200 4850 1500
+Wire Wire Line
+ 4850 2750 5700 2750
+Wire Wire Line
+ 5700 2750 5700 2850
+Wire Wire Line
+ 5700 2850 6000 2850
+Wire Wire Line
+ 6000 2850 6000 3400
+Wire Wire Line
+ 6400 2450 6400 2600
+Wire Wire Line
+ 6400 2600 6650 2600
+Wire Wire Line
+ 6650 1300 6650 3000
+Connection ~ 6300 2100
+Wire Wire Line
+ 6650 3000 6400 3000
+Connection ~ 6650 2600
+Wire Wire Line
+ 7250 2400 7200 2400
+Wire Wire Line
+ 7200 2400 7200 2800
+Wire Wire Line
+ 7200 2800 7300 2800
+Wire Wire Line
+ 7700 2800 7850 2800
+Wire Wire Line
+ 7850 2800 7850 2400
+Wire Wire Line
+ 7850 2400 7650 2400
+Connection ~ 7850 2650
+Wire Wire Line
+ 7850 2650 8550 2650
+Wire Wire Line
+ 6800 3150 6800 4750
+Wire Wire Line
+ 2050 2850 2050 4650
+Connection ~ 7200 2600
+Connection ~ 2050 2850
+Wire Wire Line
+ 4850 1500 7000 1500
+Wire Wire Line
+ 7000 1500 7000 2600
+Wire Wire Line
+ 7000 2600 7200 2600
+Connection ~ 4850 2750
+Wire Wire Line
+ 1750 2850 3500 2850
+Wire Wire Line
+ 8850 2450 8850 2550
+Wire Wire Line
+ 8850 3050 8850 2950
+Wire Wire Line
+ 8950 3400 8950 3550
+Wire Wire Line
+ 8950 3550 8850 3550
+Wire Wire Line
+ 8850 3450 8850 3650
+Wire Wire Line
+ 8550 2650 8550 3250
+Wire Wire Line
+ 8200 3000 8200 3250
+Wire Wire Line
+ 8200 3000 9300 3000
+Connection ~ 8850 3000
+Wire Wire Line
+ 8200 3650 9850 3650
+Connection ~ 8850 3550
+Wire Wire Line
+ 8300 3600 8300 3650
+Connection ~ 8300 3650
+Wire Wire Line
+ 8950 2900 8950 2950
+Wire Wire Line
+ 8950 2950 9100 2950
+Wire Wire Line
+ 8950 2400 9100 2400
+Connection ~ 8550 2750
+Wire Wire Line
+ 8550 2250 7950 2250
+Wire Wire Line
+ 7950 2250 7950 3350
+Wire Wire Line
+ 7950 3350 7800 3350
+Wire Wire Line
+ 7800 3350 7800 5750
+Wire Wire Line
+ 7800 3450 7900 3450
+Wire Wire Line
+ 9750 3100 9750 3150
+Wire Wire Line
+ 9750 3150 10600 3150
+Wire Wire Line
+ 10500 3100 10500 3300
+Wire Wire Line
+ 10500 2700 10500 2550
+Wire Wire Line
+ 10500 2150 10500 2000
+Wire Wire Line
+ 10200 2900 10200 2350
+Wire Wire Line
+ 9300 2350 9300 5150
+Wire Wire Line
+ 10200 2350 9300 2350
+Wire Wire Line
+ 9450 1150 9450 2900
+Wire Wire Line
+ 9450 1800 10200 1800
+Wire Wire Line
+ 10600 3150 10600 3050
+Connection ~ 10500 3150
+Wire Wire Line
+ 10250 3850 10200 3850
+Wire Wire Line
+ 10200 3850 10200 4250
+Wire Wire Line
+ 10200 4250 10300 4250
+Wire Wire Line
+ 10700 4250 10850 4250
+Wire Wire Line
+ 10850 3850 10650 3850
+Wire Wire Line
+ 10850 4250 10850 3850
+Wire Wire Line
+ 9750 2700 9750 2650
+Wire Wire Line
+ 9750 2650 11050 2650
+Connection ~ 10500 2650
+Wire Wire Line
+ 11050 2650 11050 4050
+Wire Wire Line
+ 11050 4050 10850 4050
+Connection ~ 10850 4050
+Wire Wire Line
+ 7900 2650 7900 3100
+Wire Wire Line
+ 7900 3100 7550 3100
+Wire Wire Line
+ 7550 3100 7550 6050
+Wire Wire Line
+ 7550 4050 10200 4050
+Connection ~ 10200 4050
+Connection ~ 7900 2650
+Wire Wire Line
+ 10800 5300 10800 5150
+Wire Wire Line
+ 10500 4950 10500 5500
+Wire Wire Line
+ 10900 5650 10900 5750
+Wire Wire Line
+ 10900 5750 10800 5750
+Wire Wire Line
+ 10800 5750 10800 5700
+Wire Wire Line
+ 10800 4750 11000 4750
+Wire Wire Line
+ 11000 4750 11000 5200
+Wire Wire Line
+ 11000 5200 10900 5200
+Wire Wire Line
+ 10900 5200 10900 5100
+Wire Wire Line
+ 10450 6100 10450 6050
+Wire Wire Line
+ 10450 6500 10550 6500
+Wire Wire Line
+ 10550 6500 10550 6450
+Wire Wire Line
+ 10550 6000 10650 6000
+Wire Wire Line
+ 10650 6000 10650 5650
+Wire Wire Line
+ 10650 5650 10450 5650
+Wire Wire Line
+ 10150 6300 10150 5850
+Wire Wire Line
+ 7550 6050 10150 6050
+Connection ~ 10150 6050
+Connection ~ 7550 4050
+Wire Wire Line
+ 9300 5150 10500 5150
+Connection ~ 10500 5150
+Connection ~ 9300 3000
+Wire Wire Line
+ 6300 1300 6300 2100
+Wire Wire Line
+ 10500 1300 10500 1600
+Connection ~ 10650 5850
+Connection ~ 10500 1300
+Wire Wire Line
+ 5850 4500 5800 4500
+Wire Wire Line
+ 5800 4900 5900 4900
+Wire Wire Line
+ 6300 4900 6450 4900
+Wire Wire Line
+ 6450 4900 6450 4500
+Wire Wire Line
+ 6450 4500 6250 4500
+Connection ~ 6450 4750
+Wire Wire Line
+ 6800 4750 6450 4750
+Wire Wire Line
+ 2050 4650 5800 4650
+Wire Wire Line
+ 5800 4500 5800 4900
+Connection ~ 5800 4650
+Wire Wire Line
+ 4150 3650 4150 3900
+Connection ~ 4150 3700
+Connection ~ 4050 3700
+Wire Wire Line
+ 4300 3750 6400 3750
+Wire Wire Line
+ 4300 3700 4300 3750
+Wire Wire Line
+ 8600 3650 8600 3850
+Connection ~ 8600 3650
+Connection ~ 6400 3750
+Wire Wire Line
+ 9850 3650 9850 3300
+Wire Wire Line
+ 9850 3300 10500 3300
+Connection ~ 8850 3650
+Wire Wire Line
+ 10500 6700 10500 6500
+Connection ~ 10500 6500
+Wire Wire Line
+ 10850 6700 10850 5750
+Connection ~ 10850 5750
+Connection ~ 10500 6700
+Wire Wire Line
+ 9450 1150 1650 1150
+Connection ~ 9450 1800
+Connection ~ 2850 1150
+Connection ~ 2850 2350
+Wire Wire Line
+ 3350 3650 3350 3700
+Connection ~ 3350 3700
+Wire Wire Line
+ 5250 5000 1750 5000
+Connection ~ 5250 3400
+Wire Wire Line
+ 7800 5750 5250 5750
+Connection ~ 7800 3450
+Connection ~ 5250 5000
+Wire Wire Line
+ 1800 6900 1800 6300
+Wire Wire Line
+ 2100 6700 2100 6500
+Wire Wire Line
+ 2100 7100 2100 7300
+Wire Wire Line
+ 2100 7300 2200 7300
+Wire Wire Line
+ 2200 7300 2200 7050
+Wire Wire Line
+ 2200 6450 2300 6450
+Wire Wire Line
+ 2300 6450 2300 6100
+Wire Wire Line
+ 2100 6100 2950 6100
+Wire Wire Line
+ 2650 6950 2650 6350
+Wire Wire Line
+ 2950 6750 2950 6550
+Wire Wire Line
+ 2950 7150 2950 7350
+Wire Wire Line
+ 2950 7350 3050 7350
+Wire Wire Line
+ 3050 7350 3050 7100
+Wire Wire Line
+ 3050 6500 3150 6500
+Wire Wire Line
+ 3150 6500 3150 6150
+Wire Wire Line
+ 3150 6150 2950 6150
+Wire Wire Line
+ 2100 6600 2650 6600
+Connection ~ 2650 6600
+Connection ~ 2100 6600
+Wire Wire Line
+ 2150 5850 2150 6100
+Connection ~ 2150 6100
+Wire Wire Line
+ 2950 6150 2950 6100
+Connection ~ 2300 6100
+Wire Wire Line
+ 2150 7600 2150 7300
+Connection ~ 2150 7300
+Wire Wire Line
+ 3000 7350 3000 7600
+Connection ~ 3000 7600
+Connection ~ 3000 7350
+Wire Wire Line
+ 1000 6650 1800 6650
+Connection ~ 1800 6650
+Connection ~ 2350 6600
+Connection ~ 2950 6700
+Wire Wire Line
+ 950 2800 1100 2800
+Connection ~ 1100 2800
+Wire Wire Line
+ 1200 2700 1200 2750
+Wire Wire Line
+ 1200 2750 1950 2750
+Wire Wire Line
+ 1950 2750 1950 2650
+Wire Wire Line
+ 1550 2900 1650 2900
+Wire Wire Line
+ 1400 3300 1400 3850
+Wire Wire Line
+ 1350 1900 1350 2300
+Wire Wire Line
+ 2350 4200 6050 4200
+Wire Wire Line
+ 6250 5200 6100 5200
+Wire Wire Line
+ 10050 3700 10250 3700
+Wire Wire Line
+ 10250 3700 10250 3500
+Wire Wire Line
+ 10250 3500 10450 3500
+Wire Wire Line
+ 10450 3500 10450 3550
+Wire Wire Line
+ 10500 4650 10500 4550
+Wire Wire Line
+ 5600 4600 5900 4600
+Wire Wire Line
+ 6400 4800 6400 4950
+Wire Wire Line
+ 6400 4800 6250 4800
+Wire Wire Line
+ 10600 1950 10850 1950
+Wire Wire Line
+ 10850 1300 10850 2500
+Connection ~ 10850 1300
+Wire Wire Line
+ 10850 2500 10600 2500
+Connection ~ 10850 1950
+Wire Wire Line
+ 10300 3950 10300 4050
+Wire Wire Line
+ 10300 4050 10750 4050
+Wire Wire Line
+ 10650 4150 10800 4150
+Wire Wire Line
+ 10800 4150 10800 4200
+Wire Wire Line
+ 10800 4200 10950 4200
+Wire Wire Line
+ 10950 4200 10950 4150
+Wire Wire Line
+ 7400 1500 7400 2100
+Wire Wire Line
+ 7400 2100 7450 2100
+Wire Wire Line
+ 6800 2100 6800 2500
+Wire Wire Line
+ 6800 2500 7300 2500
+Connection ~ 6650 2100
+Wire Wire Line
+ 7650 2700 7750 2700
+Wire Wire Line
+ 7500 3100 7500 6450
+Wire Wire Line
+ 9850 3050 9850 3150
+Connection ~ 9850 3150
+Wire Wire Line
+ 4150 3100 4450 3100
+Wire Wire Line
+ 4450 3100 4450 2100
+Wire Wire Line
+ 5650 4400 5650 4550
+Wire Wire Line
+ 5650 4550 5600 4550
+Wire Wire Line
+ 5600 4550 5600 4600
+Wire Wire Line
+ 4450 2100 4050 2100
+Wire Wire Line
+ 10300 6700 11150 6700
+Wire Wire Line
+ 2150 7600 3100 7600
+Wire Wire Line
+ 10150 5550 10550 5550
+Wire Wire Line
+ 10550 5550 10550 5650
+Connection ~ 10550 5650
+Wire Wire Line
+ 10050 4700 10900 4700
+Wire Wire Line
+ 10900 4700 10900 4750
+Connection ~ 10900 4750
+Wire Wire Line
+ 10750 4050 10750 4700
+Connection ~ 10750 4700
+Wire Wire Line
+ 8600 3850 8650 3850
+Wire Wire Line
+ 10500 1300 10850 1300
+Wire Wire Line
+ 10700 1100 10700 1300
+Connection ~ 10700 1300
+Wire Wire Line
+ 6650 1300 6300 1300
+Wire Wire Line
+ 6800 2100 6650 2100
+Wire Wire Line
+ 7750 2700 7750 2250
+Wire Wire Line
+ 7750 2250 7800 2250
+Wire Wire Line
+ 8850 2050 9100 2050
+Wire Wire Line
+ 9100 2050 9100 2950
+Wire Wire Line
+ 6150 1400 6300 1400
+Connection ~ 6300 1400
+Wire Wire Line
+ 5650 3600 5650 3750
+Connection ~ 5650 3750
+Connection ~ 9100 2400
+Wire Wire Line
+ 9000 2050 9000 1850
+Connection ~ 9000 2050
+Wire Wire Line
+ 1650 2900 1650 3100
+Wire Wire Line
+ 10650 5800 11200 5800
+Connection ~ 10650 5800
+Wire Wire Line
+ 11050 6200 11050 6300
+Wire Wire Line
+ 11150 6700 11150 6650
+Connection ~ 11050 6700
+Connection ~ 10850 6700
+Wire Wire Line
+ 11150 6150 11200 6150
+Wire Wire Line
+ 11200 6150 11200 5800
+Connection ~ 11050 5800
+Wire Wire Line
+ 10750 6000 10750 6500
+Wire Wire Line
+ 10450 6100 10750 6100
+Connection ~ 10750 6100
+Wire Wire Line
+ 10650 6750 10650 6100
+Connection ~ 10650 6100
+Wire Wire Line
+ 1100 750 1450 750
+Wire Wire Line
+ 1350 1900 3250 1900
+Wire Wire Line
+ 2750 700 2550 700
+Wire Wire Line
+ 11150 6750 11200 6750
+Wire Wire Line
+ 11200 6750 11200 6250
+Wire Wire Line
+ 11200 6250 11050 6250
+Connection ~ 11050 6250
+Wire Wire Line
+ 1400 3850 2350 3850
+Connection ~ 2350 4200
+Wire Wire Line
+ 7400 1500 7050 1500
+Wire Wire Line
+ 7050 1500 7050 5600
+Wire Wire Line
+ 2350 5600 7200 5600
+Connection ~ 2350 5600
+Wire Wire Line
+ 10500 4650 7200 4650
+Wire Wire Line
+ 7200 4650 7200 5600
+Connection ~ 7050 5600
+Wire Wire Line
+ 2350 3850 2350 5750
+Wire Wire Line
+ 2350 5750 2750 5750
+Wire Wire Line
+ 2750 5750 2750 5950
+Wire Wire Line
+ 2750 5950 2350 5950
+Wire Wire Line
+ 2350 5950 2350 6600
+Wire Wire Line
+ 3250 1900 3250 6700
+Wire Wire Line
+ 6250 5200 6250 6450
+Wire Wire Line
+ 6250 6450 3250 6450
+Connection ~ 3250 6450
+Wire Wire Line
+ 7500 6450 6200 6450
+Connection ~ 6200 6450
+Wire Wire Line
+ 10050 3700 10050 5350
+Wire Wire Line
+ 10050 5350 7500 5350
+Connection ~ 7500 5350
+Wire Wire Line
+ 3250 6700 2950 6700
+$Comp
+L eSim_MOS_P M43
+U 1 1 68418503
+P 17550 2150
+F 0 "M43" H 17500 2200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 17600 2300 50 0000 R CNN
+F 2 "" H 17800 2250 29 0000 C CNN
+F 3 "" H 17600 2150 60 0000 C CNN
+ 1 17550 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M42
+U 1 1 68418509
+P 17500 3100
+F 0 "M42" H 17500 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 17600 3050 50 0000 R CNN
+F 2 "" H 17800 2800 29 0000 C CNN
+F 3 "" H 17600 2900 60 0000 C CNN
+ 1 17500 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M44
+U 1 1 6841850F
+P 17550 2750
+F 0 "M44" H 17500 2800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 17600 2900 50 0000 R CNN
+F 2 "" H 17800 2850 29 0000 C CNN
+F 3 "" H 17600 2750 60 0000 C CNN
+ 1 17550 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M41
+U 1 1 68418515
+P 16700 3100
+F 0 "M41" H 16700 2950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 16800 3050 50 0000 R CNN
+F 2 "" H 17000 2800 29 0000 C CNN
+F 3 "" H 16800 2900 60 0000 C CNN
+ 1 16700 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M35
+U 1 1 6841851B
+P 14850 3000
+F 0 "M35" H 14850 2850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 14950 2950 50 0000 R CNN
+F 2 "" H 15150 2700 29 0000 C CNN
+F 3 "" H 14950 2800 60 0000 C CNN
+ 1 14850 3000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M36
+U 1 1 68418521
+P 15000 2250
+F 0 "M36" H 14950 2300 50 0000 R CNN
+F 1 "eSim_MOS_P" H 15050 2400 50 0000 R CNN
+F 2 "" H 15250 2350 29 0000 C CNN
+F 3 "" H 15050 2250 60 0000 C CNN
+ 1 15000 2250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M49
+U 1 1 68418527
+P 19800 2100
+F 0 "M49" H 19750 2150 50 0000 R CNN
+F 1 "eSim_MOS_P" H 19850 2250 50 0000 R CNN
+F 2 "" H 20050 2200 29 0000 C CNN
+F 3 "" H 19850 2100 60 0000 C CNN
+ 1 19800 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M50
+U 1 1 6841852D
+P 19800 2650
+F 0 "M50" H 19750 2700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 19850 2800 50 0000 R CNN
+F 2 "" H 20050 2750 29 0000 C CNN
+F 3 "" H 19850 2650 60 0000 C CNN
+ 1 19800 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M48
+U 1 1 68418533
+P 19750 3000
+F 0 "M48" H 19750 2850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 19850 2950 50 0000 R CNN
+F 2 "" H 20050 2700 29 0000 C CNN
+F 3 "" H 19850 2800 60 0000 C CNN
+ 1 19750 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M45
+U 1 1 68418539
+P 19100 3000
+F 0 "M45" H 19100 2850 50 0000 R CNN
+F 1 "eSim_MOS_N" H 19200 2950 50 0000 R CNN
+F 2 "" H 19400 2700 29 0000 C CNN
+F 3 "" H 19200 2800 60 0000 C CNN
+ 1 19100 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M51
+U 1 1 6841853F
+P 20950 2800
+F 0 "M51" H 20950 2650 50 0000 R CNN
+F 1 "eSim_MOS_N" H 21050 2750 50 0000 R CNN
+F 2 "" H 21250 2500 29 0000 C CNN
+F 3 "" H 21050 2600 60 0000 C CNN
+ 1 20950 2800
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M52
+U 1 1 68418545
+P 21100 2050
+F 0 "M52" H 21050 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 21150 2200 50 0000 R CNN
+F 2 "" H 21350 2150 29 0000 C CNN
+F 3 "" H 21150 2050 60 0000 C CNN
+ 1 21100 2050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M55
+U 1 1 6841854B
+P 22350 2050
+F 0 "M55" H 22300 2100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 22400 2200 50 0000 R CNN
+F 2 "" H 22600 2150 29 0000 C CNN
+F 3 "" H 22400 2050 60 0000 C CNN
+ 1 22350 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M56
+U 1 1 68418551
+P 22350 2550
+F 0 "M56" H 22300 2600 50 0000 R CNN
+F 1 "eSim_MOS_P" H 22400 2700 50 0000 R CNN
+F 2 "" H 22600 2650 29 0000 C CNN
+F 3 "" H 22400 2550 60 0000 C CNN
+ 1 22350 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M54
+U 1 1 68418557
+P 22300 2850
+F 0 "M54" H 22300 2700 50 0000 R CNN
+F 1 "eSim_MOS_N" H 22400 2800 50 0000 R CNN
+F 2 "" H 22600 2550 29 0000 C CNN
+F 3 "" H 22400 2650 60 0000 C CNN
+ 1 22300 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M53
+U 1 1 6841855D
+P 21650 3050
+F 0 "M53" H 21650 2900 50 0000 R CNN
+F 1 "eSim_MOS_N" H 21750 3000 50 0000 R CNN
+F 2 "" H 21950 2750 29 0000 C CNN
+F 3 "" H 21750 2850 60 0000 C CNN
+ 1 21650 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M62
+U 1 1 68418563
+P 24000 1600
+F 0 "M62" H 23950 1650 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24050 1750 50 0000 R CNN
+F 2 "" H 24250 1700 29 0000 C CNN
+F 3 "" H 24050 1600 60 0000 C CNN
+ 1 24000 1600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M63
+U 1 1 68418569
+P 24000 2150
+F 0 "M63" H 23950 2200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24050 2300 50 0000 R CNN
+F 2 "" H 24250 2250 29 0000 C CNN
+F 3 "" H 24050 2150 60 0000 C CNN
+ 1 24000 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M59
+U 1 1 6841856F
+P 23950 2500
+F 0 "M59" H 23950 2350 50 0000 R CNN
+F 1 "eSim_MOS_N" H 24050 2450 50 0000 R CNN
+F 2 "" H 24250 2200 29 0000 C CNN
+F 3 "" H 24050 2300 60 0000 C CNN
+ 1 23950 2500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M57
+U 1 1 68418575
+P 23200 2500
+F 0 "M57" H 23200 2350 50 0000 R CNN
+F 1 "eSim_MOS_N" H 23300 2450 50 0000 R CNN
+F 2 "" H 23500 2200 29 0000 C CNN
+F 3 "" H 23300 2300 60 0000 C CNN
+ 1 23200 2500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M60
+U 1 1 6841857B
+P 23950 4250
+F 0 "M60" H 23950 4100 50 0000 R CNN
+F 1 "eSim_MOS_N" H 24050 4200 50 0000 R CNN
+F 2 "" H 24250 3950 29 0000 C CNN
+F 3 "" H 24050 4050 60 0000 C CNN
+ 1 23950 4250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M64
+U 1 1 68418581
+P 24100 3500
+F 0 "M64" H 24050 3550 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24150 3650 50 0000 R CNN
+F 2 "" H 24350 3600 29 0000 C CNN
+F 3 "" H 24150 3500 60 0000 C CNN
+ 1 24100 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M66
+U 1 1 68418587
+P 24300 4750
+F 0 "M66" H 24250 4800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24350 4900 50 0000 R CNN
+F 2 "" H 24550 4850 29 0000 C CNN
+F 3 "" H 24350 4750 60 0000 C CNN
+ 1 24300 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M65
+U 1 1 6841858D
+P 24250 5100
+F 0 "M65" H 24250 4950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 24350 5050 50 0000 R CNN
+F 2 "" H 24550 4800 29 0000 C CNN
+F 3 "" H 24350 4900 60 0000 C CNN
+ 1 24250 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M61
+U 1 1 68418593
+P 23950 5650
+F 0 "M61" H 23900 5700 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24000 5800 50 0000 R CNN
+F 2 "" H 24200 5750 29 0000 C CNN
+F 3 "" H 24000 5650 60 0000 C CNN
+ 1 23950 5650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M58
+U 1 1 68418599
+P 23900 5900
+F 0 "M58" H 23900 5750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 24000 5850 50 0000 R CNN
+F 2 "" H 24200 5600 29 0000 C CNN
+F 3 "" H 24000 5700 60 0000 C CNN
+ 1 23900 5900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M46
+U 1 1 6841859F
+P 19550 4900
+F 0 "M46" H 19550 4750 50 0000 R CNN
+F 1 "eSim_MOS_N" H 19650 4850 50 0000 R CNN
+F 2 "" H 19850 4600 29 0000 C CNN
+F 3 "" H 19650 4700 60 0000 C CNN
+ 1 19550 4900
+ 0 -1 -1 0
+$EndComp
+$Comp
+L eSim_MOS_P M47
+U 1 1 684185A5
+P 19700 4150
+F 0 "M47" H 19650 4200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 19750 4300 50 0000 R CNN
+F 2 "" H 19950 4250 29 0000 C CNN
+F 3 "" H 19750 4150 60 0000 C CNN
+ 1 19700 4150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_MOS_P M38
+U 1 1 684185AB
+P 15600 6100
+F 0 "M38" H 15550 6150 50 0000 R CNN
+F 1 "eSim_MOS_P" H 15650 6250 50 0000 R CNN
+F 2 "" H 15850 6200 29 0000 C CNN
+F 3 "" H 15650 6100 60 0000 C CNN
+ 1 15600 6100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M37
+U 1 1 684185B1
+P 15550 6500
+F 0 "M37" H 15550 6350 50 0000 R CNN
+F 1 "eSim_MOS_N" H 15650 6450 50 0000 R CNN
+F 2 "" H 15850 6200 29 0000 C CNN
+F 3 "" H 15650 6300 60 0000 C CNN
+ 1 15550 6500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M40
+U 1 1 684185B7
+P 16450 6150
+F 0 "M40" H 16400 6200 50 0000 R CNN
+F 1 "eSim_MOS_P" H 16500 6300 50 0000 R CNN
+F 2 "" H 16700 6250 29 0000 C CNN
+F 3 "" H 16500 6150 60 0000 C CNN
+ 1 16450 6150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M39
+U 1 1 684185BD
+P 16400 6550
+F 0 "M39" H 16400 6400 50 0000 R CNN
+F 1 "eSim_MOS_N" H 16500 6500 50 0000 R CNN
+F 2 "" H 16700 6250 29 0000 C CNN
+F 3 "" H 16500 6350 60 0000 C CNN
+ 1 16400 6550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M67
+U 1 1 684185C3
+P 24500 6100
+F 0 "M67" H 24500 5950 50 0000 R CNN
+F 1 "eSim_MOS_N" H 24600 6050 50 0000 R CNN
+F 2 "" H 24800 5800 29 0000 C CNN
+F 3 "" H 24600 5900 60 0000 C CNN
+ 1 24500 6100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M68
+U 1 1 684185C9
+P 24550 5800
+F 0 "M68" H 24500 5850 50 0000 R CNN
+F 1 "eSim_MOS_P" H 24600 5950 50 0000 R CNN
+F 2 "" H 24800 5900 29 0000 C CNN
+F 3 "" H 24600 5800 60 0000 C CNN
+ 1 24550 5800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684185CF
+P 14400 6450
+F 0 "U1" H 14450 6550 30 0000 C CNN
+F 1 "PORT" H 14400 6450 30 0000 C CNN
+F 2 "" H 14400 6450 60 0000 C CNN
+F 3 "" H 14400 6450 60 0000 C CNN
+ 11 14400 6450
+ 1 0 0 -1
+$EndComp
+Text GLabel 15600 2450 2 60 Input ~ 0
+VDD
+Text GLabel 17700 1800 1 60 Input ~ 0
+VDD
+Text GLabel 19800 1200 0 60 Input ~ 0
+VDD
+Text GLabel 22650 1650 1 60 Input ~ 0
+VDD
+Text GLabel 24350 900 1 60 Input ~ 0
+VDD
+Text GLabel 23800 5350 0 60 Input ~ 0
+VDD
+Text GLabel 23700 4500 0 60 Input ~ 0
+VDD
+Text GLabel 15800 5650 2 60 Input ~ 0
+VDD
+$Comp
+L PORT U1
+U 9 1 684185DE
+P 15050 950
+F 0 "U1" H 15100 1050 30 0000 C CNN
+F 1 "PORT" H 15050 950 30 0000 C CNN
+F 2 "" H 15050 950 60 0000 C CNN
+F 3 "" H 15050 950 60 0000 C CNN
+ 9 15050 950
+ 1 0 0 -1
+$EndComp
+Text GLabel 15300 2900 3 60 Input ~ 0
+VSS
+Text GLabel 17800 3700 3 60 Input ~ 0
+VSS
+Text GLabel 21450 2050 1 60 Input ~ 0
+VSS
+Text GLabel 16750 7400 2 60 Input ~ 0
+VSS
+Text GLabel 20050 4750 3 60 Input ~ 0
+VSS
+Text GLabel 22300 3650 2 60 Input ~ 0
+VSS
+Text GLabel 24600 3950 2 60 Input ~ 0
+VSS
+Text GLabel 23950 6500 3 60 Input ~ 0
+VSS
+Text GLabel 19300 4200 0 60 Input ~ 0
+VDD
+$Comp
+L PORT U1
+U 12 1 684185EE
+P 14350 2600
+F 0 "U1" H 14400 2700 30 0000 C CNN
+F 1 "PORT" H 14350 2600 30 0000 C CNN
+F 2 "" H 14350 2600 60 0000 C CNN
+F 3 "" H 14350 2600 60 0000 C CNN
+ 12 14350 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 684185F4
+P 15150 4800
+F 0 "U1" H 15200 4900 30 0000 C CNN
+F 1 "PORT" H 15150 4800 30 0000 C CNN
+F 2 "" H 15150 4800 60 0000 C CNN
+F 3 "" H 15150 4800 60 0000 C CNN
+ 10 15150 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 68418600
+P 24300 6800
+F 0 "U1" H 24350 6900 30 0000 C CNN
+F 1 "PORT" H 24300 6800 30 0000 C CNN
+F 2 "" H 24300 6800 60 0000 C CNN
+F 3 "" H 24300 6800 60 0000 C CNN
+ 14 24300 6800
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 13 1 68418606
+P 24800 6800
+F 0 "U1" H 24850 6900 30 0000 C CNN
+F 1 "PORT" H 24800 6800 30 0000 C CNN
+F 2 "" H 24800 6800 60 0000 C CNN
+F 3 "" H 24800 6800 60 0000 C CNN
+ 13 24800 6800
+ 0 -1 -1 0
+$EndComp
+Wire Wire Line
+ 17400 3300 17400 2750
+Wire Wire Line
+ 16500 2150 17400 2150
+Wire Wire Line
+ 16500 950 16500 3300
+Wire Wire Line
+ 16500 3300 16600 3300
+Wire Wire Line
+ 17700 2550 17700 2350
+Wire Wire Line
+ 17700 3100 17700 2950
+Wire Wire Line
+ 16900 3500 17950 3500
+Wire Wire Line
+ 16900 3100 16900 3000
+Wire Wire Line
+ 16900 3000 18500 3000
+Connection ~ 17700 3000
+Wire Wire Line
+ 14800 2400 14750 2400
+Wire Wire Line
+ 14750 2400 14750 2800
+Wire Wire Line
+ 14750 2800 14850 2800
+Wire Wire Line
+ 15250 2800 15400 2800
+Wire Wire Line
+ 15400 2800 15400 2400
+Wire Wire Line
+ 15400 2400 15200 2400
+Wire Wire Line
+ 17150 2650 17150 2750
+Wire Wire Line
+ 17150 2750 17400 2750
+Connection ~ 15400 2650
+Wire Wire Line
+ 19950 3000 19950 2850
+Wire Wire Line
+ 19950 2450 19950 2300
+Wire Wire Line
+ 20050 3550 20050 3350
+Wire Wire Line
+ 19950 3550 19950 3400
+Connection ~ 19950 3550
+Wire Wire Line
+ 19400 3350 19400 3550
+Connection ~ 19400 3550
+Wire Wire Line
+ 19300 3000 19300 2950
+Wire Wire Line
+ 19300 2950 20450 2950
+Connection ~ 19950 2950
+Wire Wire Line
+ 17800 2300 18000 2300
+Wire Wire Line
+ 18000 2300 18000 1950
+Wire Wire Line
+ 18000 1950 17700 1950
+Wire Wire Line
+ 17700 1950 17700 1800
+Connection ~ 17700 1900
+Wire Wire Line
+ 19650 2100 18900 2100
+Wire Wire Line
+ 18900 2100 18900 5550
+Wire Wire Line
+ 18900 3200 19000 3200
+Wire Wire Line
+ 18500 3000 18500 1300
+Wire Wire Line
+ 18500 2550 19350 2550
+Wire Wire Line
+ 19350 2550 19350 2650
+Wire Wire Line
+ 19350 2650 19650 2650
+Wire Wire Line
+ 19650 2650 19650 3200
+Wire Wire Line
+ 20050 2250 20050 2400
+Wire Wire Line
+ 20050 2400 20300 2400
+Wire Wire Line
+ 20300 1100 20300 2800
+Connection ~ 19950 1900
+Wire Wire Line
+ 20300 2800 20050 2800
+Connection ~ 20300 2400
+Wire Wire Line
+ 20900 2200 20850 2200
+Wire Wire Line
+ 20850 2200 20850 2600
+Wire Wire Line
+ 20850 2600 20950 2600
+Wire Wire Line
+ 21350 2600 21500 2600
+Wire Wire Line
+ 21500 2600 21500 2200
+Wire Wire Line
+ 21500 2200 21300 2200
+Connection ~ 21500 2450
+Wire Wire Line
+ 21500 2450 22200 2450
+Wire Wire Line
+ 20450 2950 20450 4550
+Wire Wire Line
+ 15700 2650 15700 4450
+Connection ~ 20850 2400
+Connection ~ 15700 2650
+Wire Wire Line
+ 18500 1300 20650 1300
+Wire Wire Line
+ 20650 1300 20650 2400
+Wire Wire Line
+ 20650 2400 20850 2400
+Connection ~ 18500 2550
+Wire Wire Line
+ 15400 2650 17150 2650
+Wire Wire Line
+ 22500 2250 22500 2350
+Wire Wire Line
+ 22500 2850 22500 2750
+Wire Wire Line
+ 22600 3200 22600 3350
+Wire Wire Line
+ 22600 3350 22500 3350
+Wire Wire Line
+ 22500 3250 22500 3450
+Wire Wire Line
+ 22200 2450 22200 3050
+Wire Wire Line
+ 21850 2800 21850 3050
+Wire Wire Line
+ 21850 2800 22950 2800
+Connection ~ 22500 2800
+Wire Wire Line
+ 21850 3450 23500 3450
+Connection ~ 22500 3350
+Wire Wire Line
+ 21950 3400 21950 3450
+Connection ~ 21950 3450
+Wire Wire Line
+ 22600 2700 22600 2750
+Wire Wire Line
+ 22600 2750 22750 2750
+Wire Wire Line
+ 22600 2200 22750 2200
+Connection ~ 22200 2550
+Wire Wire Line
+ 22200 2050 21600 2050
+Wire Wire Line
+ 21600 2050 21600 3150
+Wire Wire Line
+ 21600 3150 21450 3150
+Wire Wire Line
+ 21450 3150 21450 5550
+Wire Wire Line
+ 21450 3250 21550 3250
+Wire Wire Line
+ 23400 2900 23400 2950
+Wire Wire Line
+ 23400 2950 24250 2950
+Wire Wire Line
+ 24150 2900 24150 3100
+Wire Wire Line
+ 24150 2500 24150 2350
+Wire Wire Line
+ 24150 1950 24150 1800
+Wire Wire Line
+ 23850 2700 23850 2150
+Wire Wire Line
+ 22950 2150 22950 4950
+Wire Wire Line
+ 23850 2150 22950 2150
+Wire Wire Line
+ 23100 950 23100 2700
+Wire Wire Line
+ 23100 1600 23850 1600
+Wire Wire Line
+ 24250 2950 24250 2850
+Connection ~ 24150 2950
+Wire Wire Line
+ 23900 3650 23850 3650
+Wire Wire Line
+ 23850 3650 23850 4050
+Wire Wire Line
+ 23850 4050 23950 4050
+Wire Wire Line
+ 24350 4050 24500 4050
+Wire Wire Line
+ 24500 3650 24300 3650
+Wire Wire Line
+ 24500 4050 24500 3650
+Wire Wire Line
+ 23400 2500 23400 2450
+Wire Wire Line
+ 23400 2450 24700 2450
+Connection ~ 24150 2450
+Wire Wire Line
+ 24700 2450 24700 3850
+Wire Wire Line
+ 24700 3850 24500 3850
+Connection ~ 24500 3850
+Wire Wire Line
+ 21550 2450 21550 2900
+Wire Wire Line
+ 21550 2900 21200 2900
+Wire Wire Line
+ 21200 2900 21200 5850
+Wire Wire Line
+ 21200 3850 23850 3850
+Connection ~ 23850 3850
+Connection ~ 21550 2450
+Wire Wire Line
+ 24450 5100 24450 4950
+Wire Wire Line
+ 24150 4750 24150 5300
+Wire Wire Line
+ 24550 5450 24550 5550
+Wire Wire Line
+ 24550 5550 24450 5550
+Wire Wire Line
+ 24450 5550 24450 5500
+Wire Wire Line
+ 24450 4550 24650 4550
+Wire Wire Line
+ 24650 4550 24650 5000
+Wire Wire Line
+ 24650 5000 24550 5000
+Wire Wire Line
+ 24550 5000 24550 4900
+Wire Wire Line
+ 24100 5900 24100 5850
+Wire Wire Line
+ 24100 6300 24200 6300
+Wire Wire Line
+ 24200 6300 24200 6250
+Wire Wire Line
+ 24200 5800 24300 5800
+Wire Wire Line
+ 24300 5800 24300 5450
+Wire Wire Line
+ 24300 5450 24100 5450
+Wire Wire Line
+ 23800 6100 23800 5650
+Wire Wire Line
+ 21200 5850 23800 5850
+Connection ~ 23800 5850
+Connection ~ 21200 3850
+Wire Wire Line
+ 22950 4950 24150 4950
+Connection ~ 24150 4950
+Connection ~ 22950 2800
+Wire Wire Line
+ 19950 1100 19950 1900
+Wire Wire Line
+ 24150 1100 24150 1400
+Connection ~ 24300 5650
+Connection ~ 24150 1100
+Wire Wire Line
+ 19500 4300 19450 4300
+Wire Wire Line
+ 19450 4700 19550 4700
+Wire Wire Line
+ 19950 4700 20100 4700
+Wire Wire Line
+ 20100 4700 20100 4300
+Wire Wire Line
+ 20100 4300 19900 4300
+Connection ~ 20100 4550
+Wire Wire Line
+ 20450 4550 20100 4550
+Wire Wire Line
+ 15700 4450 19450 4450
+Wire Wire Line
+ 19450 4300 19450 4700
+Connection ~ 19450 4450
+Wire Wire Line
+ 17800 3450 17800 3700
+Connection ~ 17800 3500
+Connection ~ 17700 3500
+Wire Wire Line
+ 17950 3550 20050 3550
+Wire Wire Line
+ 17950 3500 17950 3550
+Wire Wire Line
+ 22250 3450 22250 3650
+Connection ~ 22250 3450
+Connection ~ 20050 3550
+Wire Wire Line
+ 23500 3450 23500 3100
+Wire Wire Line
+ 23500 3100 24150 3100
+Connection ~ 22500 3450
+Wire Wire Line
+ 24150 6500 24150 6300
+Connection ~ 24150 6300
+Wire Wire Line
+ 24500 6500 24500 5550
+Connection ~ 24500 5550
+Connection ~ 24150 6500
+Wire Wire Line
+ 23100 950 15300 950
+Connection ~ 23100 1600
+Connection ~ 16500 950
+Connection ~ 16500 2150
+Wire Wire Line
+ 17000 3450 17000 3500
+Connection ~ 17000 3500
+Wire Wire Line
+ 18900 4800 15400 4800
+Connection ~ 18900 3200
+Wire Wire Line
+ 21450 5550 18900 5550
+Connection ~ 21450 3250
+Connection ~ 18900 4800
+Wire Wire Line
+ 15450 6700 15450 6100
+Wire Wire Line
+ 15750 6500 15750 6300
+Wire Wire Line
+ 15750 6900 15750 7100
+Wire Wire Line
+ 15750 7100 15850 7100
+Wire Wire Line
+ 15850 7100 15850 6850
+Wire Wire Line
+ 15850 6250 15950 6250
+Wire Wire Line
+ 15950 6250 15950 5900
+Wire Wire Line
+ 15750 5900 16600 5900
+Wire Wire Line
+ 16300 6750 16300 6150
+Wire Wire Line
+ 16600 6550 16600 6350
+Wire Wire Line
+ 16600 6950 16600 7150
+Wire Wire Line
+ 16600 7150 16700 7150
+Wire Wire Line
+ 16700 7150 16700 6900
+Wire Wire Line
+ 16700 6300 16800 6300
+Wire Wire Line
+ 16800 6300 16800 5950
+Wire Wire Line
+ 16800 5950 16600 5950
+Wire Wire Line
+ 15750 6400 16300 6400
+Connection ~ 16300 6400
+Connection ~ 15750 6400
+Wire Wire Line
+ 15800 5650 15800 5900
+Connection ~ 15800 5900
+Wire Wire Line
+ 16600 5950 16600 5900
+Connection ~ 15950 5900
+Wire Wire Line
+ 15800 7400 15800 7100
+Connection ~ 15800 7100
+Wire Wire Line
+ 16650 7150 16650 7400
+Connection ~ 16650 7400
+Connection ~ 16650 7150
+Wire Wire Line
+ 14650 6450 15450 6450
+Connection ~ 15450 6450
+Connection ~ 16000 6400
+Connection ~ 16600 6500
+Wire Wire Line
+ 14600 2600 14750 2600
+Connection ~ 14750 2600
+Wire Wire Line
+ 14850 2500 14850 2550
+Wire Wire Line
+ 14850 2550 15600 2550
+Wire Wire Line
+ 15600 2550 15600 2450
+Wire Wire Line
+ 15200 2700 15300 2700
+Wire Wire Line
+ 15050 3100 15050 3650
+Wire Wire Line
+ 15000 1700 15000 2100
+Wire Wire Line
+ 16000 4000 19700 4000
+Wire Wire Line
+ 19900 5000 19750 5000
+Wire Wire Line
+ 23700 3500 23900 3500
+Wire Wire Line
+ 23900 3500 23900 3300
+Wire Wire Line
+ 23900 3300 24100 3300
+Wire Wire Line
+ 24100 3300 24100 3350
+Wire Wire Line
+ 24150 4450 24150 4350
+Wire Wire Line
+ 19250 4400 19550 4400
+Wire Wire Line
+ 20050 4600 20050 4750
+Wire Wire Line
+ 20050 4600 19900 4600
+Wire Wire Line
+ 24250 1750 24500 1750
+Wire Wire Line
+ 24500 1100 24500 2300
+Connection ~ 24500 1100
+Wire Wire Line
+ 24500 2300 24250 2300
+Connection ~ 24500 1750
+Wire Wire Line
+ 23950 3750 23950 3850
+Wire Wire Line
+ 23950 3850 24400 3850
+Wire Wire Line
+ 24300 3950 24450 3950
+Wire Wire Line
+ 24450 3950 24450 4000
+Wire Wire Line
+ 24450 4000 24600 4000
+Wire Wire Line
+ 24600 4000 24600 3950
+Wire Wire Line
+ 21050 1300 21050 1900
+Wire Wire Line
+ 21050 1900 21100 1900
+Wire Wire Line
+ 20450 1900 20450 2300
+Wire Wire Line
+ 20450 2300 20950 2300
+Connection ~ 20300 1900
+Wire Wire Line
+ 21300 2500 21400 2500
+Wire Wire Line
+ 21150 2900 21150 6250
+Wire Wire Line
+ 23500 2850 23500 2950
+Connection ~ 23500 2950
+Wire Wire Line
+ 17800 2900 18100 2900
+Wire Wire Line
+ 18100 2900 18100 1900
+Wire Wire Line
+ 19300 4200 19300 4350
+Wire Wire Line
+ 19300 4350 19250 4350
+Wire Wire Line
+ 19250 4350 19250 4400
+Wire Wire Line
+ 18100 1900 17700 1900
+Wire Wire Line
+ 23950 6500 24800 6500
+Wire Wire Line
+ 15800 7400 16750 7400
+Wire Wire Line
+ 23800 5350 24200 5350
+Wire Wire Line
+ 24200 5350 24200 5450
+Connection ~ 24200 5450
+Wire Wire Line
+ 23700 4500 24550 4500
+Wire Wire Line
+ 24550 4500 24550 4550
+Connection ~ 24550 4550
+Wire Wire Line
+ 24400 3850 24400 4500
+Connection ~ 24400 4500
+Wire Wire Line
+ 22250 3650 22300 3650
+Wire Wire Line
+ 24150 1100 24500 1100
+Wire Wire Line
+ 24350 900 24350 1100
+Connection ~ 24350 1100
+Wire Wire Line
+ 20300 1100 19950 1100
+Wire Wire Line
+ 20450 1900 20300 1900
+Wire Wire Line
+ 21400 2500 21400 2050
+Wire Wire Line
+ 21400 2050 21450 2050
+Wire Wire Line
+ 22500 1850 22750 1850
+Wire Wire Line
+ 22750 1850 22750 2750
+Wire Wire Line
+ 19800 1200 19950 1200
+Connection ~ 19950 1200
+Wire Wire Line
+ 19300 3400 19300 3550
+Connection ~ 19300 3550
+Connection ~ 22750 2200
+Wire Wire Line
+ 22650 1850 22650 1650
+Connection ~ 22650 1850
+Wire Wire Line
+ 15300 2700 15300 2900
+Wire Wire Line
+ 24300 5600 24850 5600
+Connection ~ 24300 5600
+Wire Wire Line
+ 24700 6000 24700 6100
+Wire Wire Line
+ 24800 6500 24800 6450
+Connection ~ 24700 6500
+Connection ~ 24500 6500
+Wire Wire Line
+ 24800 5950 24850 5950
+Wire Wire Line
+ 24850 5950 24850 5600
+Connection ~ 24700 5600
+Wire Wire Line
+ 24400 5800 24400 6300
+Wire Wire Line
+ 24100 5900 24400 5900
+Connection ~ 24400 5900
+Wire Wire Line
+ 24300 6550 24300 5900
+Connection ~ 24300 5900
+Wire Wire Line
+ 15000 1700 16900 1700
+Wire Wire Line
+ 24800 6550 24850 6550
+Wire Wire Line
+ 24850 6550 24850 6050
+Wire Wire Line
+ 24850 6050 24700 6050
+Connection ~ 24700 6050
+Wire Wire Line
+ 15050 3650 16000 3650
+Connection ~ 16000 4000
+Wire Wire Line
+ 21050 1300 20700 1300
+Wire Wire Line
+ 20700 1300 20700 5400
+Wire Wire Line
+ 16000 5400 20850 5400
+Connection ~ 16000 5400
+Wire Wire Line
+ 24150 4450 20850 4450
+Wire Wire Line
+ 20850 4450 20850 5400
+Connection ~ 20700 5400
+Wire Wire Line
+ 16000 3650 16000 5550
+Wire Wire Line
+ 16000 5550 16400 5550
+Wire Wire Line
+ 16400 5550 16400 5750
+Wire Wire Line
+ 16400 5750 16000 5750
+Wire Wire Line
+ 16000 5750 16000 6400
+Wire Wire Line
+ 16900 1700 16900 6500
+Wire Wire Line
+ 19900 5000 19900 6250
+Wire Wire Line
+ 19900 6250 16900 6250
+Connection ~ 16900 6250
+Wire Wire Line
+ 21150 6250 19850 6250
+Connection ~ 19850 6250
+Wire Wire Line
+ 23700 3500 23700 5150
+Wire Wire Line
+ 23700 5150 21150 5150
+Connection ~ 21150 5150
+Wire Wire Line
+ 16900 6500 16600 6500
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sub b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sub
new file mode 100644
index 00000000..f9955bb0
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC.sub
@@ -0,0 +1,76 @@
+* Subcircuit SUB_CD4013BC
+.subckt SUB_CD4013BC vdd vss net-_m23-pad2_ net-_m11-pad2_ net-_m3-pad2_ net-_m1-pad1_ net-_m33-pad3_ net-_m24-pad1_ net-_m41-pad2_ net-_m45-pad2_ net-_m37-pad2_ net-_m35-pad1_ net-_m67-pad1_ net-_m58-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\sub_cd4013bc\sub_cd4013bc.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 vdd net-_m23-pad2_ net-_m10-pad1_ vdd CMOSP W=100u L=100u M=1
+m8 net-_m10-pad3_ net-_m1-pad3_ vss vss CMOSN W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m1-pad3_ net-_m10-pad3_ vdd CMOSP W=100u L=100u M=1
+m7 net-_m10-pad3_ net-_m23-pad2_ vss vss CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ vss CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ vdd net-_m1-pad1_ vdd CMOSP W=100u L=100u M=1
+m15 vdd net-_m11-pad2_ net-_m15-pad3_ vdd CMOSP W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m10-pad3_ net-_m11-pad1_ vdd CMOSP W=100u L=100u M=1
+m14 net-_m11-pad1_ net-_m10-pad3_ vss vss CMOSN W=100u L=100u M=1
+m11 net-_m11-pad1_ net-_m11-pad2_ vss vss CMOSN W=100u L=100u M=1
+m17 net-_m10-pad3_ vdd net-_m17-pad3_ vss CMOSN W=100u L=100u M=1
+m18 net-_m17-pad3_ net-_m1-pad2_ net-_m10-pad3_ vdd CMOSP W=100u L=100u M=1
+m21 vdd net-_m11-pad2_ net-_m21-pad3_ vdd CMOSP W=100u L=100u M=1
+m22 net-_m21-pad3_ net-_m17-pad3_ net-_m19-pad1_ vdd CMOSP W=100u L=100u M=1
+m20 net-_m19-pad1_ net-_m17-pad3_ vss vss CMOSN W=100u L=100u M=1
+m19 net-_m19-pad1_ net-_m11-pad2_ vss vss CMOSN W=100u L=100u M=1
+m28 vdd net-_m23-pad2_ net-_m28-pad3_ vdd CMOSP W=100u L=100u M=1
+m29 net-_m28-pad3_ net-_m19-pad1_ net-_m23-pad1_ vdd CMOSP W=100u L=100u M=1
+m25 net-_m23-pad1_ net-_m19-pad1_ vss vss CMOSN W=100u L=100u M=1
+m23 net-_m23-pad1_ net-_m23-pad2_ vss vss CMOSN W=100u L=100u M=1
+m26 net-_m17-pad3_ net-_m1-pad2_ net-_m23-pad1_ vss CMOSN W=100u L=100u M=1
+m30 net-_m23-pad1_ vdd net-_m17-pad3_ vdd CMOSP W=100u L=100u M=1
+m32 vdd net-_m19-pad1_ net-_m31-pad1_ vdd CMOSP W=100u L=100u M=1
+m31 net-_m31-pad1_ net-_m19-pad1_ vss vss CMOSN W=100u L=100u M=1
+m27 vdd net-_m17-pad3_ net-_m24-pad1_ vdd CMOSP W=100u L=100u M=1
+m24 net-_m24-pad1_ net-_m17-pad3_ vss vss CMOSN W=100u L=100u M=1
+m12 net-_m1-pad3_ vdd net-_m11-pad1_ vss CMOSN W=100u L=100u M=1
+m13 net-_m11-pad1_ net-_m1-pad2_ net-_m1-pad3_ vdd CMOSP W=100u L=100u M=1
+m4 vdd net-_m3-pad2_ net-_m1-pad2_ vdd CMOSP W=100u L=100u M=1
+m3 net-_m1-pad2_ net-_m3-pad2_ vss vss CMOSN W=100u L=100u M=1
+m6 vdd net-_m1-pad2_ vdd vdd CMOSP W=100u L=100u M=1
+m5 vdd net-_m1-pad2_ vss vss CMOSN W=100u L=100u M=1
+m34 net-_m33-pad3_ net-_m24-pad1_ vss vss CMOSN W=100u L=100u M=1
+m33 vdd net-_m24-pad1_ net-_m33-pad3_ vdd CMOSP W=100u L=100u M=1
+m43 vdd net-_m41-pad2_ net-_m43-pad3_ vdd CMOSP W=100u L=100u M=1
+m42 net-_m41-pad1_ net-_m35-pad3_ vss vss CMOSN W=100u L=100u M=1
+m44 net-_m43-pad3_ net-_m35-pad3_ net-_m41-pad1_ vdd CMOSP W=100u L=100u M=1
+m41 net-_m41-pad1_ net-_m41-pad2_ vss vss CMOSN W=100u L=100u M=1
+m35 net-_m35-pad1_ net-_m35-pad2_ net-_m35-pad3_ vss CMOSN W=100u L=100u M=1
+m36 net-_m35-pad3_ vdd net-_m35-pad1_ vdd CMOSP W=100u L=100u M=1
+m49 vdd net-_m45-pad2_ net-_m49-pad3_ vdd CMOSP W=100u L=100u M=1
+m50 net-_m49-pad3_ net-_m41-pad1_ net-_m45-pad1_ vdd CMOSP W=100u L=100u M=1
+m48 net-_m45-pad1_ net-_m41-pad1_ vss vss CMOSN W=100u L=100u M=1
+m45 net-_m45-pad1_ net-_m45-pad2_ vss vss CMOSN W=100u L=100u M=1
+m51 net-_m41-pad1_ vdd net-_m51-pad3_ vss CMOSN W=100u L=100u M=1
+m52 net-_m51-pad3_ net-_m35-pad2_ net-_m41-pad1_ vdd CMOSP W=100u L=100u M=1
+m55 vdd net-_m45-pad2_ net-_m55-pad3_ vdd CMOSP W=100u L=100u M=1
+m56 net-_m55-pad3_ net-_m51-pad3_ net-_m53-pad1_ vdd CMOSP W=100u L=100u M=1
+m54 net-_m53-pad1_ net-_m51-pad3_ vss vss CMOSN W=100u L=100u M=1
+m53 net-_m53-pad1_ net-_m45-pad2_ vss vss CMOSN W=100u L=100u M=1
+m62 vdd net-_m41-pad2_ net-_m62-pad3_ vdd CMOSP W=100u L=100u M=1
+m63 net-_m62-pad3_ net-_m53-pad1_ net-_m57-pad1_ vdd CMOSP W=100u L=100u M=1
+m59 net-_m57-pad1_ net-_m53-pad1_ vss vss CMOSN W=100u L=100u M=1
+m57 net-_m57-pad1_ net-_m41-pad2_ vss vss CMOSN W=100u L=100u M=1
+m60 net-_m51-pad3_ net-_m35-pad2_ net-_m57-pad1_ vss CMOSN W=100u L=100u M=1
+m64 net-_m57-pad1_ vdd net-_m51-pad3_ vdd CMOSP W=100u L=100u M=1
+m66 vdd net-_m53-pad1_ net-_m65-pad1_ vdd CMOSP W=100u L=100u M=1
+m65 net-_m65-pad1_ net-_m53-pad1_ vss vss CMOSN W=100u L=100u M=1
+m61 vdd net-_m51-pad3_ net-_m58-pad1_ vdd CMOSP W=100u L=100u M=1
+m58 net-_m58-pad1_ net-_m51-pad3_ vss vss CMOSN W=100u L=100u M=1
+m46 net-_m35-pad3_ vdd net-_m45-pad1_ vss CMOSN W=100u L=100u M=1
+m47 net-_m45-pad1_ net-_m35-pad2_ net-_m35-pad3_ vdd CMOSP W=100u L=100u M=1
+m38 vdd net-_m37-pad2_ net-_m35-pad2_ vdd CMOSP W=100u L=100u M=1
+m37 net-_m35-pad2_ net-_m37-pad2_ vss vss CMOSN W=100u L=100u M=1
+m40 vdd net-_m35-pad2_ vdd vdd CMOSP W=100u L=100u M=1
+m39 vdd net-_m35-pad2_ vss vss CMOSN W=100u L=100u M=1
+m67 net-_m67-pad1_ net-_m58-pad1_ vss vss CMOSN W=100u L=100u M=1
+m68 vdd net-_m58-pad1_ net-_m67-pad1_ vdd CMOSP W=100u L=100u M=1
+* Control Statements
+
+.ends SUB_CD4013BC \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC_Previous_Values.xml b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC_Previous_Values.xml
new file mode 100644
index 00000000..047112ea
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/SUB_CD4013BC_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model /><devicemodel><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m9><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m8><m10><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m10><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m7><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m1><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m2><m15><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m15><m16><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m16><m14><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m14><m11><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m11><m17><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m17><m18><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m18><m21><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m21><m22><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m22><m20><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m20><m19><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m19><m28><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m28><m29><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m29><m25><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m25><m23><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m23><m26><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m26><m30><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m30><m32><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m32><m31><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m31><m27><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m27><m24><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m24><m12><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m12><m13><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m13><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m4><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m3><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m6><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m5><m34><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m34><m33><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m33><m43><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m43><m42><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m42><m44><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m44><m41><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m41><m35><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m35><m36><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m36><m49><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m49><m50><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m50><m48><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m48><m45><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m45><m51><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m51><m52><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m52><m55><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m55><m56><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m56><m54><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m54><m53><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m53><m62><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m62><m63><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m63><m59><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m59><m57><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m57><m60><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m60><m64><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m64><m66><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m66><m65><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m65><m61><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m61><m58><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m58><m46><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m46><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><m37><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m37><m40><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m40><m39><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m39><m67><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.lib</field><field /><field /><field /></m67><m68><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.lib</field><field /><field /><field /></m68></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">1</field1><field2 name="Step Time">5</field2><field3 name="Stop Time">200</field3><field4 name="Start Combo">us</field4><field5 name="Step Combo">ps</field5><field6 name="Stop Combo">us</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/SUB_CD4013BC/analysis b/library/SubcircuitLibrary/SUB_CD4013BC/analysis
new file mode 100644
index 00000000..88478b8b
--- /dev/null
+++ b/library/SubcircuitLibrary/SUB_CD4013BC/analysis
@@ -0,0 +1 @@
+.tran 5e-12 200e-06 1e-06 \ No newline at end of file