diff --git a/library/SubcircuitLibrary/HCF4066/HCF066_Previous_Values.xml b/library/SubcircuitLibrary/HCF4066/HCF066_Previous_Values.xml
new file mode 100644
index 000000000..04b16264d
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF066_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOStruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066.bak b/library/SubcircuitLibrary/HCF4066/HCF4066.bak
new file mode 100644
index 000000000..f89c270f8
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.bak
@@ -0,0 +1,1021 @@
+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:CD4066_My-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 mosfet_p M1
+U 1 1 684BF464
+P -100 800
+F 0 "M1" H -150 850 50 0000 R CNN
+F 1 "mosfet_p" H -50 950 50 0000 R CNN
+F 2 "" H 150 900 29 0000 C CNN
+F 3 "" H -50 800 60 0000 C CNN
+ 1 -100 800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M3
+U 1 1 684BF48A
+P 900 600
+F 0 "M3" H 900 450 50 0000 R CNN
+F 1 "mosfet_n" H 1000 550 50 0000 R CNN
+F 2 "" H 1200 300 29 0000 C CNN
+F 3 "" H 1000 400 60 0000 C CNN
+ 1 900 600
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M2
+U 1 1 684BF4E2
+P 100 1400
+F 0 "M2" H 100 1250 50 0000 R CNN
+F 1 "mosfet_n" H 200 1350 50 0000 R CNN
+F 2 "" H 400 1100 29 0000 C CNN
+F 3 "" H 200 1200 60 0000 C CNN
+ 1 100 1400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 50 1000 700 1000
+Wire Wire Line
+ 300 1400 300 1000
+Connection ~ 300 1000
+Wire Wire Line
+ 50 600 700 600
+Wire Wire Line
+ -250 -100 -250 1600
+Wire Wire Line
+ -450 1600 0 1600
+$Comp
+L INVCMOS X1
+U 1 1 684BF57D
+P -1200 1150
+F 0 "X1" H -1200 1150 60 0000 C CNN
+F 1 "INVCMOS" H -1650 1300 60 0000 C CNN
+F 2 "" H -1200 1150 60 0001 C CNN
+F 3 "" H -1200 1150 60 0001 C CNN
+ 1 -1200 1150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -500 1150 -250 1150
+Connection ~ -250 1150
+$Comp
+L INVCMOS X2
+U 1 1 684BF60F
+P 0 2200
+F 0 "X2" H 0 2200 60 0000 C CNN
+F 1 "INVCMOS" H -450 2350 60 0000 C CNN
+F 2 "" H 0 2200 60 0001 C CNN
+F 3 "" H 0 2200 60 0001 C CNN
+ 1 0 2200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 700 2200 1000 2200
+Wire Wire Line
+ 1000 2200 1000 800
+Wire Wire Line
+ -450 2200 -450 1600
+Connection ~ -250 1600
+Wire Wire Line
+ -2300 1150 -1650 1150
+$Comp
+L mosfet_p M4
+U 1 1 684BF66B
+P 2100 650
+F 0 "M4" H 2050 700 50 0000 R CNN
+F 1 "mosfet_p" H 2150 800 50 0000 R CNN
+F 2 "" H 2350 750 29 0000 C CNN
+F 3 "" H 2150 650 60 0000 C CNN
+ 1 2100 650
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 684BF6A8
+P 2300 1600
+F 0 "M5" H 2300 1450 50 0000 R CNN
+F 1 "mosfet_n" H 2400 1550 50 0000 R CNN
+F 2 "" H 2600 1300 29 0000 C CNN
+F 3 "" H 2400 1400 60 0000 C CNN
+ 1 2300 1600
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2300 800 2300 1400
+Wire Wire Line
+ 1900 800 1900 1400
+Wire Wire Line
+ 1950 1300 300 1300
+Connection ~ 300 1300
+Wire Wire Line
+ 600 950 600 1000
+Connection ~ 600 1000
+Wire Wire Line
+ 150 950 300 950
+Wire Wire Line
+ 300 950 300 600
+Connection ~ 300 600
+Wire Wire Line
+ 1950 900 1950 1000
+Wire Wire Line
+ 400 600 400 300
+Wire Wire Line
+ 400 300 1750 300
+Wire Wire Line
+ 1750 300 1750 1100
+Wire Wire Line
+ 1750 1100 1900 1100
+Connection ~ 1900 1100
+Connection ~ 400 600
+Wire Wire Line
+ 1400 -600 1400 300
+Connection ~ 1400 300
+Wire Wire Line
+ 2100 500 2100 -100
+Wire Wire Line
+ 2100 -100 -250 -100
+Connection ~ -250 800
+Wire Wire Line
+ 1000 1900 2100 1900
+Wire Wire Line
+ 2100 1900 2100 1700
+Connection ~ 1000 1900
+Wire Wire Line
+ 2300 1300 2700 1300
+Connection ~ 2300 1300
+Wire Wire Line
+ 1400 -600 2850 -600
+$Comp
+L eSim_GND #PWR01
+U 1 1 684BFD55
+P 450 1850
+F 0 "#PWR01" H 450 1600 50 0001 C CNN
+F 1 "eSim_GND" H 450 1700 50 0000 C CNN
+F 2 "" H 450 1850 50 0001 C CNN
+F 3 "" H 450 1850 50 0001 C CNN
+ 1 450 1850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 300 1800 450 1800
+Wire Wire Line
+ 450 1800 450 1850
+Wire Wire Line
+ 400 1750 400 1800
+Connection ~ 400 1800
+Wire Wire Line
+ 1950 1000 1450 1000
+Wire Wire Line
+ 1450 1000 1450 300
+Connection ~ 1450 300
+$Comp
+L capacitor C1
+U 1 1 684C373C
+P 2450 1700
+F 0 "C1" H 2475 1800 50 0000 L CNN
+F 1 "100p" H 2475 1600 50 0000 L CNN
+F 2 "" H 2488 1550 30 0000 C CNN
+F 3 "" H 2450 1700 60 0000 C CNN
+ 1 2450 1700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 684C3787
+P 2450 1900
+F 0 "#PWR02" H 2450 1650 50 0001 C CNN
+F 1 "eSim_GND" H 2450 1750 50 0000 C CNN
+F 2 "" H 2450 1900 50 0001 C CNN
+F 3 "" H 2450 1900 50 0001 C CNN
+ 1 2450 1900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2450 1550 2450 1300
+Connection ~ 2450 1300
+Wire Wire Line
+ 2450 1850 2450 1900
+$Comp
+L PORT U1
+U 5 1 684D5245
+P -2550 1150
+F 0 "U1" H -2500 1250 30 0000 C CNN
+F 1 "PORT" H -2550 1150 30 0000 C CNN
+F 2 "" H -2550 1150 60 0000 C CNN
+F 3 "" H -2550 1150 60 0000 C CNN
+ 5 -2550 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 684D54B5
+P 3100 -600
+F 0 "U1" H 3150 -500 30 0000 C CNN
+F 1 "PORT" H 3100 -600 30 0000 C CNN
+F 2 "" H 3100 -600 60 0000 C CNN
+F 3 "" H 3100 -600 60 0000 C CNN
+ 4 3100 -600
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 684D5780
+P 2950 1300
+F 0 "U1" H 3000 1400 30 0000 C CNN
+F 1 "PORT" H 2950 1300 30 0000 C CNN
+F 2 "" H 2950 1300 60 0000 C CNN
+F 3 "" H 2950 1300 60 0000 C CNN
+ 3 2950 1300
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M12
+U 1 1 684D5AF3
+P 7250 950
+F 0 "M12" H 7200 1000 50 0000 R CNN
+F 1 "mosfet_p" H 7300 1100 50 0000 R CNN
+F 2 "" H 7500 1050 29 0000 C CNN
+F 3 "" H 7300 950 60 0000 C CNN
+ 1 7250 950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M16
+U 1 1 684D5AF9
+P 8250 750
+F 0 "M16" H 8250 600 50 0000 R CNN
+F 1 "mosfet_n" H 8350 700 50 0000 R CNN
+F 2 "" H 8550 450 29 0000 C CNN
+F 3 "" H 8350 550 60 0000 C CNN
+ 1 8250 750
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 684D5AFF
+P 7450 1550
+F 0 "M14" H 7450 1400 50 0000 R CNN
+F 1 "mosfet_n" H 7550 1500 50 0000 R CNN
+F 2 "" H 7750 1250 29 0000 C CNN
+F 3 "" H 7550 1350 60 0000 C CNN
+ 1 7450 1550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7400 1150 8050 1150
+Wire Wire Line
+ 7650 1550 7650 1150
+Connection ~ 7650 1150
+Wire Wire Line
+ 7400 750 8050 750
+Wire Wire Line
+ 7100 50 7100 1750
+Wire Wire Line
+ 6900 1750 7350 1750
+$Comp
+L INVCMOS X6
+U 1 1 684D5B0B
+P 6150 1300
+F 0 "X6" H 6150 1300 60 0000 C CNN
+F 1 "INVCMOS" H 5700 1450 60 0000 C CNN
+F 2 "" H 6150 1300 60 0001 C CNN
+F 3 "" H 6150 1300 60 0001 C CNN
+ 1 6150 1300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6850 1300 7100 1300
+Connection ~ 7100 1300
+$Comp
+L INVCMOS X8
+U 1 1 684D5B13
+P 7350 2350
+F 0 "X8" H 7350 2350 60 0000 C CNN
+F 1 "INVCMOS" H 6900 2500 60 0000 C CNN
+F 2 "" H 7350 2350 60 0001 C CNN
+F 3 "" H 7350 2350 60 0001 C CNN
+ 1 7350 2350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8050 2350 8350 2350
+Wire Wire Line
+ 8350 2350 8350 950
+Wire Wire Line
+ 6900 2350 6900 1750
+Connection ~ 7100 1750
+Wire Wire Line
+ 5050 1300 5700 1300
+$Comp
+L mosfet_p M18
+U 1 1 684D5B1E
+P 9450 800
+F 0 "M18" H 9400 850 50 0000 R CNN
+F 1 "mosfet_p" H 9500 950 50 0000 R CNN
+F 2 "" H 9700 900 29 0000 C CNN
+F 3 "" H 9500 800 60 0000 C CNN
+ 1 9450 800
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M20
+U 1 1 684D5B24
+P 9650 1750
+F 0 "M20" H 9650 1600 50 0000 R CNN
+F 1 "mosfet_n" H 9750 1700 50 0000 R CNN
+F 2 "" H 9950 1450 29 0000 C CNN
+F 3 "" H 9750 1550 60 0000 C CNN
+ 1 9650 1750
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 9650 950 9650 1550
+Wire Wire Line
+ 9250 950 9250 1550
+Wire Wire Line
+ 9300 1450 7650 1450
+Connection ~ 7650 1450
+Wire Wire Line
+ 7950 1100 7950 1150
+Connection ~ 7950 1150
+Wire Wire Line
+ 7500 1100 7650 1100
+Wire Wire Line
+ 7650 1100 7650 750
+Connection ~ 7650 750
+Wire Wire Line
+ 9300 1050 9300 1150
+Wire Wire Line
+ 7750 750 7750 450
+Wire Wire Line
+ 7750 450 9100 450
+Wire Wire Line
+ 9100 450 9100 1250
+Wire Wire Line
+ 9100 1250 9250 1250
+Connection ~ 9250 1250
+Connection ~ 7750 750
+Wire Wire Line
+ 8750 -450 8750 450
+Connection ~ 8750 450
+Wire Wire Line
+ 9450 650 9450 50
+Wire Wire Line
+ 9450 50 7100 50
+Connection ~ 7100 950
+Wire Wire Line
+ 8350 2050 9450 2050
+Wire Wire Line
+ 9450 2050 9450 1850
+Connection ~ 8350 2050
+Wire Wire Line
+ 9650 1450 10050 1450
+Connection ~ 9650 1450
+Wire Wire Line
+ 8750 -450 10200 -450
+$Comp
+L eSim_GND #PWR03
+U 1 1 684D5B45
+P 7800 2000
+F 0 "#PWR03" H 7800 1750 50 0001 C CNN
+F 1 "eSim_GND" H 7800 1850 50 0000 C CNN
+F 2 "" H 7800 2000 50 0001 C CNN
+F 3 "" H 7800 2000 50 0001 C CNN
+ 1 7800 2000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7650 1950 7800 1950
+Wire Wire Line
+ 7800 1950 7800 2000
+Wire Wire Line
+ 7750 1900 7750 1950
+Connection ~ 7750 1950
+Wire Wire Line
+ 9300 1150 8800 1150
+Wire Wire Line
+ 8800 1150 8800 450
+Connection ~ 8800 450
+$Comp
+L capacitor C4
+U 1 1 684D5B52
+P 9800 1850
+F 0 "C4" H 9825 1950 50 0000 L CNN
+F 1 "100p" H 9825 1750 50 0000 L CNN
+F 2 "" H 9838 1700 30 0000 C CNN
+F 3 "" H 9800 1850 60 0000 C CNN
+ 1 9800 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR04
+U 1 1 684D5B58
+P 9800 2050
+F 0 "#PWR04" H 9800 1800 50 0001 C CNN
+F 1 "eSim_GND" H 9800 1900 50 0000 C CNN
+F 2 "" H 9800 2050 50 0001 C CNN
+F 3 "" H 9800 2050 50 0001 C CNN
+ 1 9800 2050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9800 1700 9800 1450
+Connection ~ 9800 1450
+Wire Wire Line
+ 9800 2000 9800 2050
+$Comp
+L PORT U1
+U 12 1 684D5B61
+P 4800 1300
+F 0 "U1" H 4850 1400 30 0000 C CNN
+F 1 "PORT" H 4800 1300 30 0000 C CNN
+F 2 "" H 4800 1300 60 0000 C CNN
+F 3 "" H 4800 1300 60 0000 C CNN
+ 12 4800 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684D5B67
+P 10450 -450
+F 0 "U1" H 10500 -350 30 0000 C CNN
+F 1 "PORT" H 10450 -450 30 0000 C CNN
+F 2 "" H 10450 -450 60 0000 C CNN
+F 3 "" H 10450 -450 60 0000 C CNN
+ 11 10450 -450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 684D5B6D
+P 10300 1450
+F 0 "U1" H 10350 1550 30 0000 C CNN
+F 1 "PORT" H 10300 1450 30 0000 C CNN
+F 2 "" H 10300 1450 60 0000 C CNN
+F 3 "" H 10300 1450 60 0000 C CNN
+ 10 10300 1450
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M6
+U 1 1 684D5E75
+P -300 4450
+F 0 "M6" H -350 4500 50 0000 R CNN
+F 1 "mosfet_p" H -250 4600 50 0000 R CNN
+F 2 "" H -50 4550 29 0000 C CNN
+F 3 "" H -250 4450 60 0000 C CNN
+ 1 -300 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M8
+U 1 1 684D5E7B
+P 700 4250
+F 0 "M8" H 700 4100 50 0000 R CNN
+F 1 "mosfet_n" H 800 4200 50 0000 R CNN
+F 2 "" H 1000 3950 29 0000 C CNN
+F 3 "" H 800 4050 60 0000 C CNN
+ 1 700 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M7
+U 1 1 684D5E81
+P -100 5050
+F 0 "M7" H -100 4900 50 0000 R CNN
+F 1 "mosfet_n" H 0 5000 50 0000 R CNN
+F 2 "" H 200 4750 29 0000 C CNN
+F 3 "" H 0 4850 60 0000 C CNN
+ 1 -100 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -150 4650 500 4650
+Wire Wire Line
+ 100 5050 100 4650
+Connection ~ 100 4650
+Wire Wire Line
+ -150 4250 500 4250
+Wire Wire Line
+ -450 3550 -450 5250
+Wire Wire Line
+ -650 5250 -200 5250
+$Comp
+L INVCMOS X3
+U 1 1 684D5E8D
+P -1400 4800
+F 0 "X3" H -1400 4800 60 0000 C CNN
+F 1 "INVCMOS" H -1850 4950 60 0000 C CNN
+F 2 "" H -1400 4800 60 0001 C CNN
+F 3 "" H -1400 4800 60 0001 C CNN
+ 1 -1400 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -700 4800 -450 4800
+Connection ~ -450 4800
+$Comp
+L INVCMOS X4
+U 1 1 684D5E95
+P -200 5850
+F 0 "X4" H -200 5850 60 0000 C CNN
+F 1 "INVCMOS" H -650 6000 60 0000 C CNN
+F 2 "" H -200 5850 60 0001 C CNN
+F 3 "" H -200 5850 60 0001 C CNN
+ 1 -200 5850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 500 5850 800 5850
+Wire Wire Line
+ 800 5850 800 4450
+Wire Wire Line
+ -650 5850 -650 5250
+Connection ~ -450 5250
+Wire Wire Line
+ -2500 4800 -1850 4800
+$Comp
+L mosfet_p M9
+U 1 1 684D5EA0
+P 1900 4300
+F 0 "M9" H 1850 4350 50 0000 R CNN
+F 1 "mosfet_p" H 1950 4450 50 0000 R CNN
+F 2 "" H 2150 4400 29 0000 C CNN
+F 3 "" H 1950 4300 60 0000 C CNN
+ 1 1900 4300
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M10
+U 1 1 684D5EA6
+P 2100 5250
+F 0 "M10" H 2100 5100 50 0000 R CNN
+F 1 "mosfet_n" H 2200 5200 50 0000 R CNN
+F 2 "" H 2400 4950 29 0000 C CNN
+F 3 "" H 2200 5050 60 0000 C CNN
+ 1 2100 5250
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2100 4450 2100 5050
+Wire Wire Line
+ 1700 4450 1700 5050
+Wire Wire Line
+ 1750 4950 100 4950
+Connection ~ 100 4950
+Wire Wire Line
+ 400 4600 400 4650
+Connection ~ 400 4650
+Wire Wire Line
+ -50 4600 100 4600
+Wire Wire Line
+ 100 4600 100 4250
+Connection ~ 100 4250
+Wire Wire Line
+ 1750 4550 1750 4650
+Wire Wire Line
+ 200 4250 200 3950
+Wire Wire Line
+ 200 3950 1550 3950
+Wire Wire Line
+ 1550 3950 1550 4750
+Wire Wire Line
+ 1550 4750 1700 4750
+Connection ~ 1700 4750
+Connection ~ 200 4250
+Wire Wire Line
+ 1200 3050 1200 3950
+Connection ~ 1200 3950
+Wire Wire Line
+ 1900 4150 1900 3550
+Wire Wire Line
+ 1900 3550 -450 3550
+Connection ~ -450 4450
+Wire Wire Line
+ 800 5550 1900 5550
+Wire Wire Line
+ 1900 5550 1900 5350
+Connection ~ 800 5550
+Wire Wire Line
+ 2100 4950 2500 4950
+Connection ~ 2100 4950
+Wire Wire Line
+ 1200 3050 2650 3050
+$Comp
+L eSim_GND #PWR05
+U 1 1 684D5EC7
+P 250 5500
+F 0 "#PWR05" H 250 5250 50 0001 C CNN
+F 1 "eSim_GND" H 250 5350 50 0000 C CNN
+F 2 "" H 250 5500 50 0001 C CNN
+F 3 "" H 250 5500 50 0001 C CNN
+ 1 250 5500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 100 5450 250 5450
+Wire Wire Line
+ 250 5450 250 5500
+Wire Wire Line
+ 200 5400 200 5450
+Connection ~ 200 5450
+Wire Wire Line
+ 1750 4650 1250 4650
+Wire Wire Line
+ 1250 4650 1250 3950
+Connection ~ 1250 3950
+$Comp
+L capacitor C2
+U 1 1 684D5ED4
+P 2250 5350
+F 0 "C2" H 2275 5450 50 0000 L CNN
+F 1 "100p" H 2275 5250 50 0000 L CNN
+F 2 "" H 2288 5200 30 0000 C CNN
+F 3 "" H 2250 5350 60 0000 C CNN
+ 1 2250 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR06
+U 1 1 684D5EDA
+P 2250 5550
+F 0 "#PWR06" H 2250 5300 50 0001 C CNN
+F 1 "eSim_GND" H 2250 5400 50 0000 C CNN
+F 2 "" H 2250 5550 50 0001 C CNN
+F 3 "" H 2250 5550 50 0001 C CNN
+ 1 2250 5550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2250 5200 2250 4950
+Connection ~ 2250 4950
+Wire Wire Line
+ 2250 5500 2250 5550
+$Comp
+L PORT U1
+U 1 1 684D5EE3
+P -2750 4800
+F 0 "U1" H -2700 4900 30 0000 C CNN
+F 1 "PORT" H -2750 4800 30 0000 C CNN
+F 2 "" H -2750 4800 60 0000 C CNN
+F 3 "" H -2750 4800 60 0000 C CNN
+ 1 -2750 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 684D5EE9
+P 2900 3050
+F 0 "U1" H 2950 3150 30 0000 C CNN
+F 1 "PORT" H 2900 3050 30 0000 C CNN
+F 2 "" H 2900 3050 60 0000 C CNN
+F 3 "" H 2900 3050 60 0000 C CNN
+ 1 2900 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 684D5EEF
+P 2750 4950
+F 0 "U1" H 2800 5050 30 0000 C CNN
+F 1 "PORT" H 2750 4950 30 0000 C CNN
+F 2 "" H 2750 4950 60 0000 C CNN
+F 3 "" H 2750 4950 60 0000 C CNN
+ 2 2750 4950
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 684D5EF5
+P 7050 4600
+F 0 "M11" H 7000 4650 50 0000 R CNN
+F 1 "mosfet_p" H 7100 4750 50 0000 R CNN
+F 2 "" H 7300 4700 29 0000 C CNN
+F 3 "" H 7100 4600 60 0000 C CNN
+ 1 7050 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 684D5EFB
+P 8050 4400
+F 0 "M15" H 8050 4250 50 0000 R CNN
+F 1 "mosfet_n" H 8150 4350 50 0000 R CNN
+F 2 "" H 8350 4100 29 0000 C CNN
+F 3 "" H 8150 4200 60 0000 C CNN
+ 1 8050 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M13
+U 1 1 684D5F01
+P 7250 5200
+F 0 "M13" H 7250 5050 50 0000 R CNN
+F 1 "mosfet_n" H 7350 5150 50 0000 R CNN
+F 2 "" H 7550 4900 29 0000 C CNN
+F 3 "" H 7350 5000 60 0000 C CNN
+ 1 7250 5200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7200 4800 7850 4800
+Wire Wire Line
+ 7450 5200 7450 4800
+Connection ~ 7450 4800
+Wire Wire Line
+ 7200 4400 7850 4400
+Wire Wire Line
+ 6900 3700 6900 5400
+Wire Wire Line
+ 6700 5400 7150 5400
+$Comp
+L INVCMOS X5
+U 1 1 684D5F0D
+P 5950 4950
+F 0 "X5" H 5950 4950 60 0000 C CNN
+F 1 "INVCMOS" H 5500 5100 60 0000 C CNN
+F 2 "" H 5950 4950 60 0001 C CNN
+F 3 "" H 5950 4950 60 0001 C CNN
+ 1 5950 4950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6650 4950 6900 4950
+Connection ~ 6900 4950
+$Comp
+L INVCMOS X7
+U 1 1 684D5F15
+P 7150 6000
+F 0 "X7" H 7150 6000 60 0000 C CNN
+F 1 "INVCMOS" H 6700 6150 60 0000 C CNN
+F 2 "" H 7150 6000 60 0001 C CNN
+F 3 "" H 7150 6000 60 0001 C CNN
+ 1 7150 6000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7850 6000 8150 6000
+Wire Wire Line
+ 8150 6000 8150 4600
+Wire Wire Line
+ 6700 6000 6700 5400
+Connection ~ 6900 5400
+Wire Wire Line
+ 4850 4950 5500 4950
+$Comp
+L mosfet_p M17
+U 1 1 684D5F20
+P 9250 4450
+F 0 "M17" H 9200 4500 50 0000 R CNN
+F 1 "mosfet_p" H 9300 4600 50 0000 R CNN
+F 2 "" H 9500 4550 29 0000 C CNN
+F 3 "" H 9300 4450 60 0000 C CNN
+ 1 9250 4450
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M19
+U 1 1 684D5F26
+P 9450 5400
+F 0 "M19" H 9450 5250 50 0000 R CNN
+F 1 "mosfet_n" H 9550 5350 50 0000 R CNN
+F 2 "" H 9750 5100 29 0000 C CNN
+F 3 "" H 9550 5200 60 0000 C CNN
+ 1 9450 5400
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 9450 4600 9450 5200
+Wire Wire Line
+ 9050 4600 9050 5200
+Wire Wire Line
+ 9100 5100 7450 5100
+Connection ~ 7450 5100
+Wire Wire Line
+ 7750 4750 7750 4800
+Connection ~ 7750 4800
+Wire Wire Line
+ 7300 4750 7450 4750
+Wire Wire Line
+ 7450 4750 7450 4400
+Connection ~ 7450 4400
+Wire Wire Line
+ 9100 4700 9100 4800
+Wire Wire Line
+ 7550 4400 7550 4100
+Wire Wire Line
+ 7550 4100 8900 4100
+Wire Wire Line
+ 8900 4100 8900 4900
+Wire Wire Line
+ 8900 4900 9050 4900
+Connection ~ 9050 4900
+Connection ~ 7550 4400
+Wire Wire Line
+ 8550 3200 8550 4100
+Connection ~ 8550 4100
+Wire Wire Line
+ 9250 4300 9250 3700
+Wire Wire Line
+ 9250 3700 6900 3700
+Connection ~ 6900 4600
+Wire Wire Line
+ 8150 5700 9250 5700
+Wire Wire Line
+ 9250 5700 9250 5500
+Connection ~ 8150 5700
+Wire Wire Line
+ 9450 5100 9850 5100
+Connection ~ 9450 5100
+Wire Wire Line
+ 8550 3200 10000 3200
+$Comp
+L eSim_GND #PWR07
+U 1 1 684D5F47
+P 7600 5650
+F 0 "#PWR07" H 7600 5400 50 0001 C CNN
+F 1 "eSim_GND" H 7600 5500 50 0000 C CNN
+F 2 "" H 7600 5650 50 0001 C CNN
+F 3 "" H 7600 5650 50 0001 C CNN
+ 1 7600 5650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7450 5600 7600 5600
+Wire Wire Line
+ 7600 5600 7600 5650
+Wire Wire Line
+ 7550 5550 7550 5600
+Connection ~ 7550 5600
+Wire Wire Line
+ 9100 4800 8600 4800
+Wire Wire Line
+ 8600 4800 8600 4100
+Connection ~ 8600 4100
+$Comp
+L capacitor C3
+U 1 1 684D5F54
+P 9600 5500
+F 0 "C3" H 9625 5600 50 0000 L CNN
+F 1 "100p" H 9625 5400 50 0000 L CNN
+F 2 "" H 9638 5350 30 0000 C CNN
+F 3 "" H 9600 5500 60 0000 C CNN
+ 1 9600 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR08
+U 1 1 684D5F5A
+P 9600 5700
+F 0 "#PWR08" H 9600 5450 50 0001 C CNN
+F 1 "eSim_GND" H 9600 5550 50 0000 C CNN
+F 2 "" H 9600 5700 50 0001 C CNN
+F 3 "" H 9600 5700 50 0001 C CNN
+ 1 9600 5700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9600 5350 9600 5100
+Connection ~ 9600 5100
+Wire Wire Line
+ 9600 5650 9600 5700
+$Comp
+L PORT U1
+U 6 1 684D5F63
+P 4600 4950
+F 0 "U1" H 4650 5050 30 0000 C CNN
+F 1 "PORT" H 4600 4950 30 0000 C CNN
+F 2 "" H 4600 4950 60 0000 C CNN
+F 3 "" H 4600 4950 60 0000 C CNN
+ 6 4600 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684D5F69
+P 10250 3200
+F 0 "U1" H 10300 3300 30 0000 C CNN
+F 1 "PORT" H 10250 3200 30 0000 C CNN
+F 2 "" H 10250 3200 60 0000 C CNN
+F 3 "" H 10250 3200 60 0000 C CNN
+ 8 10250 3200
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 684D5F6F
+P 10100 5100
+F 0 "U1" H 10150 5200 30 0000 C CNN
+F 1 "PORT" H 10100 5100 30 0000 C CNN
+F 2 "" H 10100 5100 60 0000 C CNN
+F 3 "" H 10100 5100 60 0000 C CNN
+ 9 10100 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR09
+U 1 1 684D6443
+P -1350 7650
+F 0 "#PWR09" H -1350 7400 50 0001 C CNN
+F 1 "eSim_GND" H -1350 7500 50 0000 C CNN
+F 2 "" H -1350 7650 50 0001 C CNN
+F 3 "" H -1350 7650 50 0001 C CNN
+ 1 -1350 7650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 684D673A
+P -1750 7550
+F 0 "U1" H -1700 7650 30 0000 C CNN
+F 1 "PORT" H -1750 7550 30 0000 C CNN
+F 2 "" H -1750 7550 60 0000 C CNN
+F 3 "" H -1750 7550 60 0000 C CNN
+ 7 -1750 7550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -1500 7550 -1350 7550
+Wire Wire Line
+ -1350 7550 -1350 7650
+$Comp
+L eSim_GND #PWR010
+U 1 1 684D69EA
+P -300 7600
+F 0 "#PWR010" H -300 7350 50 0001 C CNN
+F 1 "eSim_GND" H -300 7450 50 0000 C CNN
+F 2 "" H -300 7600 50 0001 C CNN
+F 3 "" H -300 7600 50 0001 C CNN
+ 1 -300 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 684D69F0
+P -700 7500
+F 0 "U1" H -650 7600 30 0000 C CNN
+F 1 "PORT" H -700 7500 30 0000 C CNN
+F 2 "" H -700 7500 60 0000 C CNN
+F 3 "" H -700 7500 60 0000 C CNN
+ 14 -700 7500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -450 7500 -300 7500
+Wire Wire Line
+ -300 7500 -300 7600
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066.cir b/library/SubcircuitLibrary/HCF4066/HCF4066.cir
new file mode 100644
index 000000000..7968a4e3d
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.cir
@@ -0,0 +1,43 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\HCF4066\HCF4066.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/14/25 15:06:53
+
+* 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: /
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad1_ mosfet_p
+M3 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad3_ mosfet_n
+M2 Net-_M1-Pad3_ Net-_M1-Pad2_ GND GND mosfet_n
+X1 Net-_U1-Pad5_ Net-_M1-Pad2_ INVCMOS
+X2 Net-_M1-Pad2_ Net-_M3-Pad2_ INVCMOS
+M4 Net-_C1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad1_ mosfet_p
+M5 Net-_C1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad1_ Net-_M1-Pad3_ mosfet_n
+C1 Net-_C1-Pad1_ GND 100p
+U1 Net-_M10-Pad3_ Net-_C2-Pad1_ Net-_C1-Pad1_ Net-_M1-Pad1_ Net-_U1-Pad5_ Net-_U1-Pad6_ GND Net-_M11-Pad1_ Net-_C3-Pad1_ Net-_C4-Pad1_ Net-_M12-Pad1_ Net-_U1-Pad12_ Net-_U1-Pad13_ GND PORT
+M12 Net-_M12-Pad1_ Net-_M12-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad1_ mosfet_p
+M16 Net-_M12-Pad1_ Net-_M16-Pad2_ Net-_M12-Pad3_ Net-_M12-Pad3_ mosfet_n
+M14 Net-_M12-Pad3_ Net-_M12-Pad2_ GND GND mosfet_n
+X6 Net-_U1-Pad12_ Net-_M12-Pad2_ INVCMOS
+X8 Net-_M12-Pad2_ Net-_M16-Pad2_ INVCMOS
+M18 Net-_C4-Pad1_ Net-_M12-Pad2_ Net-_M12-Pad1_ Net-_M12-Pad1_ mosfet_p
+M20 Net-_C4-Pad1_ Net-_M16-Pad2_ Net-_M12-Pad1_ Net-_M12-Pad3_ mosfet_n
+C4 Net-_C4-Pad1_ GND 100p
+M6 Net-_M10-Pad3_ Net-_M6-Pad2_ Net-_M10-Pad4_ Net-_M10-Pad3_ mosfet_p
+M8 Net-_M10-Pad3_ Net-_M10-Pad2_ Net-_M10-Pad4_ Net-_M10-Pad4_ mosfet_n
+M7 Net-_M10-Pad4_ Net-_M6-Pad2_ GND GND mosfet_n
+X3 Net-_U1-Pad13_ Net-_M6-Pad2_ INVCMOS
+X4 Net-_M6-Pad2_ Net-_M10-Pad2_ INVCMOS
+M9 Net-_C2-Pad1_ Net-_M6-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad3_ mosfet_p
+M10 Net-_C2-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad4_ mosfet_n
+C2 Net-_C2-Pad1_ GND 100p
+M11 Net-_M11-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad1_ mosfet_p
+M15 Net-_M11-Pad1_ Net-_M15-Pad2_ Net-_M11-Pad3_ Net-_M11-Pad3_ mosfet_n
+M13 Net-_M11-Pad3_ Net-_M11-Pad2_ GND GND mosfet_n
+X5 Net-_U1-Pad6_ Net-_M11-Pad2_ INVCMOS
+X7 Net-_M11-Pad2_ Net-_M15-Pad2_ INVCMOS
+M17 Net-_C3-Pad1_ Net-_M11-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad1_ mosfet_p
+M19 Net-_C3-Pad1_ Net-_M15-Pad2_ Net-_M11-Pad1_ Net-_M11-Pad3_ mosfet_n
+C3 Net-_C3-Pad1_ GND 100p
+
+.end
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066.cir.out b/library/SubcircuitLibrary/HCF4066/HCF4066.cir.out
new file mode 100644
index 000000000..c8b9da3a6
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.cir.out
@@ -0,0 +1,47 @@
+* c:\fossee\esim\library\subcircuitlibrary\hcf4066\hcf4066.cir
+
+.include INVCMOS.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x1 net-_u1-pad5_ net-_m1-pad2_ INVCMOS
+x2 net-_m1-pad2_ net-_m3-pad2_ INVCMOS
+m4 net-_c1-pad1_ net-_m1-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_c1-pad1_ net-_m3-pad2_ net-_m1-pad1_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+c1 net-_c1-pad1_ gnd 100p
+* u1 net-_m10-pad3_ net-_c2-pad1_ net-_c1-pad1_ net-_m1-pad1_ net-_u1-pad5_ net-_u1-pad6_ gnd net-_m11-pad1_ net-_c3-pad1_ net-_c4-pad1_ net-_m12-pad1_ net-_u1-pad12_ net-_u1-pad13_ gnd port
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m12-pad3_ net-_m12-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x6 net-_u1-pad12_ net-_m12-pad2_ INVCMOS
+x8 net-_m12-pad2_ net-_m16-pad2_ INVCMOS
+m18 net-_c4-pad1_ net-_m12-pad2_ net-_m12-pad1_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m20 net-_c4-pad1_ net-_m16-pad2_ net-_m12-pad1_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+c4 net-_c4-pad1_ gnd 100p
+m6 net-_m10-pad3_ net-_m6-pad2_ net-_m10-pad4_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m8 net-_m10-pad3_ net-_m10-pad2_ net-_m10-pad4_ net-_m10-pad4_ CMOSN W=100u L=100u M=1
+m7 net-_m10-pad4_ net-_m6-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x3 net-_u1-pad13_ net-_m6-pad2_ INVCMOS
+x4 net-_m6-pad2_ net-_m10-pad2_ INVCMOS
+m9 net-_c2-pad1_ net-_m6-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_c2-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad4_ CMOSN W=100u L=100u M=1
+c2 net-_c2-pad1_ gnd 100p
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m11-pad3_ net-_m11-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x5 net-_u1-pad6_ net-_m11-pad2_ INVCMOS
+x7 net-_m11-pad2_ net-_m15-pad2_ INVCMOS
+m17 net-_c3-pad1_ net-_m11-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_c3-pad1_ net-_m15-pad2_ net-_m11-pad1_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+c3 net-_c3-pad1_ gnd 100p
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066.pro b/library/SubcircuitLibrary/HCF4066/HCF4066.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.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/HCF4066/HCF4066.sch b/library/SubcircuitLibrary/HCF4066/HCF4066.sch
new file mode 100644
index 000000000..ed94b9e67
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.sch
@@ -0,0 +1,1021 @@
+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:CD4066_My-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 mosfet_p M1
+U 1 1 684BF464
+P -100 800
+F 0 "M1" H -150 850 50 0000 R CNN
+F 1 "mosfet_p" H -50 950 50 0000 R CNN
+F 2 "" H 150 900 29 0000 C CNN
+F 3 "" H -50 800 60 0000 C CNN
+ 1 -100 800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M3
+U 1 1 684BF48A
+P 900 600
+F 0 "M3" H 900 450 50 0000 R CNN
+F 1 "mosfet_n" H 1000 550 50 0000 R CNN
+F 2 "" H 1200 300 29 0000 C CNN
+F 3 "" H 1000 400 60 0000 C CNN
+ 1 900 600
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M2
+U 1 1 684BF4E2
+P 100 1400
+F 0 "M2" H 100 1250 50 0000 R CNN
+F 1 "mosfet_n" H 200 1350 50 0000 R CNN
+F 2 "" H 400 1100 29 0000 C CNN
+F 3 "" H 200 1200 60 0000 C CNN
+ 1 100 1400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 50 1000 700 1000
+Wire Wire Line
+ 300 1400 300 1000
+Connection ~ 300 1000
+Wire Wire Line
+ 50 600 700 600
+Wire Wire Line
+ -250 -100 -250 1600
+Wire Wire Line
+ -450 1600 0 1600
+$Comp
+L INVCMOS X1
+U 1 1 684BF57D
+P -1200 1150
+F 0 "X1" H -1200 1150 60 0000 C CNN
+F 1 "INVCMOS" H -1650 1300 60 0000 C CNN
+F 2 "" H -1200 1150 60 0001 C CNN
+F 3 "" H -1200 1150 60 0001 C CNN
+ 1 -1200 1150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -500 1150 -250 1150
+Connection ~ -250 1150
+$Comp
+L INVCMOS X2
+U 1 1 684BF60F
+P 0 2200
+F 0 "X2" H 0 2200 60 0000 C CNN
+F 1 "INVCMOS" H -450 2350 60 0000 C CNN
+F 2 "" H 0 2200 60 0001 C CNN
+F 3 "" H 0 2200 60 0001 C CNN
+ 1 0 2200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 700 2200 1000 2200
+Wire Wire Line
+ 1000 2200 1000 800
+Wire Wire Line
+ -450 2200 -450 1600
+Connection ~ -250 1600
+Wire Wire Line
+ -2300 1150 -1650 1150
+$Comp
+L mosfet_p M4
+U 1 1 684BF66B
+P 2100 650
+F 0 "M4" H 2050 700 50 0000 R CNN
+F 1 "mosfet_p" H 2150 800 50 0000 R CNN
+F 2 "" H 2350 750 29 0000 C CNN
+F 3 "" H 2150 650 60 0000 C CNN
+ 1 2100 650
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 684BF6A8
+P 2300 1600
+F 0 "M5" H 2300 1450 50 0000 R CNN
+F 1 "mosfet_n" H 2400 1550 50 0000 R CNN
+F 2 "" H 2600 1300 29 0000 C CNN
+F 3 "" H 2400 1400 60 0000 C CNN
+ 1 2300 1600
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2300 800 2300 1400
+Wire Wire Line
+ 1900 800 1900 1400
+Wire Wire Line
+ 1950 1300 300 1300
+Connection ~ 300 1300
+Wire Wire Line
+ 600 950 600 1000
+Connection ~ 600 1000
+Wire Wire Line
+ 150 950 300 950
+Wire Wire Line
+ 300 950 300 600
+Connection ~ 300 600
+Wire Wire Line
+ 1950 900 1950 1000
+Wire Wire Line
+ 400 600 400 300
+Wire Wire Line
+ 400 300 1750 300
+Wire Wire Line
+ 1750 300 1750 1100
+Wire Wire Line
+ 1750 1100 1900 1100
+Connection ~ 1900 1100
+Connection ~ 400 600
+Wire Wire Line
+ 1400 -600 1400 300
+Connection ~ 1400 300
+Wire Wire Line
+ 2100 500 2100 -100
+Wire Wire Line
+ 2100 -100 -250 -100
+Connection ~ -250 800
+Wire Wire Line
+ 1000 1900 2100 1900
+Wire Wire Line
+ 2100 1900 2100 1700
+Connection ~ 1000 1900
+Wire Wire Line
+ 2300 1300 2700 1300
+Connection ~ 2300 1300
+Wire Wire Line
+ 1400 -600 2850 -600
+$Comp
+L eSim_GND #PWR01
+U 1 1 684BFD55
+P 450 1850
+F 0 "#PWR01" H 450 1600 50 0001 C CNN
+F 1 "eSim_GND" H 450 1700 50 0000 C CNN
+F 2 "" H 450 1850 50 0001 C CNN
+F 3 "" H 450 1850 50 0001 C CNN
+ 1 450 1850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 300 1800 450 1800
+Wire Wire Line
+ 450 1800 450 1850
+Wire Wire Line
+ 400 1750 400 1800
+Connection ~ 400 1800
+Wire Wire Line
+ 1950 1000 1450 1000
+Wire Wire Line
+ 1450 1000 1450 300
+Connection ~ 1450 300
+$Comp
+L capacitor C1
+U 1 1 684C373C
+P 2450 1700
+F 0 "C1" H 2475 1800 50 0000 L CNN
+F 1 "100p" H 2475 1600 50 0000 L CNN
+F 2 "" H 2488 1550 30 0000 C CNN
+F 3 "" H 2450 1700 60 0000 C CNN
+ 1 2450 1700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 684C3787
+P 2450 1900
+F 0 "#PWR02" H 2450 1650 50 0001 C CNN
+F 1 "eSim_GND" H 2450 1750 50 0000 C CNN
+F 2 "" H 2450 1900 50 0001 C CNN
+F 3 "" H 2450 1900 50 0001 C CNN
+ 1 2450 1900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2450 1550 2450 1300
+Connection ~ 2450 1300
+Wire Wire Line
+ 2450 1850 2450 1900
+$Comp
+L PORT U1
+U 5 1 684D5245
+P -2550 1150
+F 0 "U1" H -2500 1250 30 0000 C CNN
+F 1 "PORT" H -2550 1150 30 0000 C CNN
+F 2 "" H -2550 1150 60 0000 C CNN
+F 3 "" H -2550 1150 60 0000 C CNN
+ 5 -2550 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 684D54B5
+P 3100 -600
+F 0 "U1" H 3150 -500 30 0000 C CNN
+F 1 "PORT" H 3100 -600 30 0000 C CNN
+F 2 "" H 3100 -600 60 0000 C CNN
+F 3 "" H 3100 -600 60 0000 C CNN
+ 4 3100 -600
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 684D5780
+P 2950 1300
+F 0 "U1" H 3000 1400 30 0000 C CNN
+F 1 "PORT" H 2950 1300 30 0000 C CNN
+F 2 "" H 2950 1300 60 0000 C CNN
+F 3 "" H 2950 1300 60 0000 C CNN
+ 3 2950 1300
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M12
+U 1 1 684D5AF3
+P 7250 950
+F 0 "M12" H 7200 1000 50 0000 R CNN
+F 1 "mosfet_p" H 7300 1100 50 0000 R CNN
+F 2 "" H 7500 1050 29 0000 C CNN
+F 3 "" H 7300 950 60 0000 C CNN
+ 1 7250 950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M16
+U 1 1 684D5AF9
+P 8250 750
+F 0 "M16" H 8250 600 50 0000 R CNN
+F 1 "mosfet_n" H 8350 700 50 0000 R CNN
+F 2 "" H 8550 450 29 0000 C CNN
+F 3 "" H 8350 550 60 0000 C CNN
+ 1 8250 750
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 684D5AFF
+P 7450 1550
+F 0 "M14" H 7450 1400 50 0000 R CNN
+F 1 "mosfet_n" H 7550 1500 50 0000 R CNN
+F 2 "" H 7750 1250 29 0000 C CNN
+F 3 "" H 7550 1350 60 0000 C CNN
+ 1 7450 1550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7400 1150 8050 1150
+Wire Wire Line
+ 7650 1550 7650 1150
+Connection ~ 7650 1150
+Wire Wire Line
+ 7400 750 8050 750
+Wire Wire Line
+ 7100 50 7100 1750
+Wire Wire Line
+ 6900 1750 7350 1750
+$Comp
+L INVCMOS X6
+U 1 1 684D5B0B
+P 6150 1300
+F 0 "X6" H 6150 1300 60 0000 C CNN
+F 1 "INVCMOS" H 5700 1450 60 0000 C CNN
+F 2 "" H 6150 1300 60 0001 C CNN
+F 3 "" H 6150 1300 60 0001 C CNN
+ 1 6150 1300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6850 1300 7100 1300
+Connection ~ 7100 1300
+$Comp
+L INVCMOS X8
+U 1 1 684D5B13
+P 7350 2350
+F 0 "X8" H 7350 2350 60 0000 C CNN
+F 1 "INVCMOS" H 6900 2500 60 0000 C CNN
+F 2 "" H 7350 2350 60 0001 C CNN
+F 3 "" H 7350 2350 60 0001 C CNN
+ 1 7350 2350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8050 2350 8350 2350
+Wire Wire Line
+ 8350 2350 8350 950
+Wire Wire Line
+ 6900 2350 6900 1750
+Connection ~ 7100 1750
+Wire Wire Line
+ 5050 1300 5700 1300
+$Comp
+L mosfet_p M18
+U 1 1 684D5B1E
+P 9450 800
+F 0 "M18" H 9400 850 50 0000 R CNN
+F 1 "mosfet_p" H 9500 950 50 0000 R CNN
+F 2 "" H 9700 900 29 0000 C CNN
+F 3 "" H 9500 800 60 0000 C CNN
+ 1 9450 800
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M20
+U 1 1 684D5B24
+P 9650 1750
+F 0 "M20" H 9650 1600 50 0000 R CNN
+F 1 "mosfet_n" H 9750 1700 50 0000 R CNN
+F 2 "" H 9950 1450 29 0000 C CNN
+F 3 "" H 9750 1550 60 0000 C CNN
+ 1 9650 1750
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 9650 950 9650 1550
+Wire Wire Line
+ 9250 950 9250 1550
+Wire Wire Line
+ 9300 1450 7650 1450
+Connection ~ 7650 1450
+Wire Wire Line
+ 7950 1100 7950 1150
+Connection ~ 7950 1150
+Wire Wire Line
+ 7500 1100 7650 1100
+Wire Wire Line
+ 7650 1100 7650 750
+Connection ~ 7650 750
+Wire Wire Line
+ 9300 1050 9300 1150
+Wire Wire Line
+ 7750 750 7750 450
+Wire Wire Line
+ 7750 450 9100 450
+Wire Wire Line
+ 9100 450 9100 1250
+Wire Wire Line
+ 9100 1250 9250 1250
+Connection ~ 9250 1250
+Connection ~ 7750 750
+Wire Wire Line
+ 8750 -450 8750 450
+Connection ~ 8750 450
+Wire Wire Line
+ 9450 650 9450 50
+Wire Wire Line
+ 9450 50 7100 50
+Connection ~ 7100 950
+Wire Wire Line
+ 8350 2050 9450 2050
+Wire Wire Line
+ 9450 2050 9450 1850
+Connection ~ 8350 2050
+Wire Wire Line
+ 9650 1450 10050 1450
+Connection ~ 9650 1450
+Wire Wire Line
+ 8750 -450 10200 -450
+$Comp
+L eSim_GND #PWR03
+U 1 1 684D5B45
+P 7800 2000
+F 0 "#PWR03" H 7800 1750 50 0001 C CNN
+F 1 "eSim_GND" H 7800 1850 50 0000 C CNN
+F 2 "" H 7800 2000 50 0001 C CNN
+F 3 "" H 7800 2000 50 0001 C CNN
+ 1 7800 2000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7650 1950 7800 1950
+Wire Wire Line
+ 7800 1950 7800 2000
+Wire Wire Line
+ 7750 1900 7750 1950
+Connection ~ 7750 1950
+Wire Wire Line
+ 9300 1150 8800 1150
+Wire Wire Line
+ 8800 1150 8800 450
+Connection ~ 8800 450
+$Comp
+L capacitor C4
+U 1 1 684D5B52
+P 9800 1850
+F 0 "C4" H 9825 1950 50 0000 L CNN
+F 1 "100p" H 9825 1750 50 0000 L CNN
+F 2 "" H 9838 1700 30 0000 C CNN
+F 3 "" H 9800 1850 60 0000 C CNN
+ 1 9800 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR04
+U 1 1 684D5B58
+P 9800 2050
+F 0 "#PWR04" H 9800 1800 50 0001 C CNN
+F 1 "eSim_GND" H 9800 1900 50 0000 C CNN
+F 2 "" H 9800 2050 50 0001 C CNN
+F 3 "" H 9800 2050 50 0001 C CNN
+ 1 9800 2050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9800 1700 9800 1450
+Connection ~ 9800 1450
+Wire Wire Line
+ 9800 2000 9800 2050
+$Comp
+L PORT U1
+U 12 1 684D5B61
+P 4800 1300
+F 0 "U1" H 4850 1400 30 0000 C CNN
+F 1 "PORT" H 4800 1300 30 0000 C CNN
+F 2 "" H 4800 1300 60 0000 C CNN
+F 3 "" H 4800 1300 60 0000 C CNN
+ 12 4800 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684D5B67
+P 10450 -450
+F 0 "U1" H 10500 -350 30 0000 C CNN
+F 1 "PORT" H 10450 -450 30 0000 C CNN
+F 2 "" H 10450 -450 60 0000 C CNN
+F 3 "" H 10450 -450 60 0000 C CNN
+ 11 10450 -450
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 684D5B6D
+P 10300 1450
+F 0 "U1" H 10350 1550 30 0000 C CNN
+F 1 "PORT" H 10300 1450 30 0000 C CNN
+F 2 "" H 10300 1450 60 0000 C CNN
+F 3 "" H 10300 1450 60 0000 C CNN
+ 10 10300 1450
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M6
+U 1 1 684D5E75
+P -300 4450
+F 0 "M6" H -350 4500 50 0000 R CNN
+F 1 "mosfet_p" H -250 4600 50 0000 R CNN
+F 2 "" H -50 4550 29 0000 C CNN
+F 3 "" H -250 4450 60 0000 C CNN
+ 1 -300 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M8
+U 1 1 684D5E7B
+P 700 4250
+F 0 "M8" H 700 4100 50 0000 R CNN
+F 1 "mosfet_n" H 800 4200 50 0000 R CNN
+F 2 "" H 1000 3950 29 0000 C CNN
+F 3 "" H 800 4050 60 0000 C CNN
+ 1 700 4250
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M7
+U 1 1 684D5E81
+P -100 5050
+F 0 "M7" H -100 4900 50 0000 R CNN
+F 1 "mosfet_n" H 0 5000 50 0000 R CNN
+F 2 "" H 200 4750 29 0000 C CNN
+F 3 "" H 0 4850 60 0000 C CNN
+ 1 -100 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -150 4650 500 4650
+Wire Wire Line
+ 100 5050 100 4650
+Connection ~ 100 4650
+Wire Wire Line
+ -150 4250 500 4250
+Wire Wire Line
+ -450 3550 -450 5250
+Wire Wire Line
+ -650 5250 -200 5250
+$Comp
+L INVCMOS X3
+U 1 1 684D5E8D
+P -1400 4800
+F 0 "X3" H -1400 4800 60 0000 C CNN
+F 1 "INVCMOS" H -1850 4950 60 0000 C CNN
+F 2 "" H -1400 4800 60 0001 C CNN
+F 3 "" H -1400 4800 60 0001 C CNN
+ 1 -1400 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -700 4800 -450 4800
+Connection ~ -450 4800
+$Comp
+L INVCMOS X4
+U 1 1 684D5E95
+P -200 5850
+F 0 "X4" H -200 5850 60 0000 C CNN
+F 1 "INVCMOS" H -650 6000 60 0000 C CNN
+F 2 "" H -200 5850 60 0001 C CNN
+F 3 "" H -200 5850 60 0001 C CNN
+ 1 -200 5850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 500 5850 800 5850
+Wire Wire Line
+ 800 5850 800 4450
+Wire Wire Line
+ -650 5850 -650 5250
+Connection ~ -450 5250
+Wire Wire Line
+ -2500 4800 -1850 4800
+$Comp
+L mosfet_p M9
+U 1 1 684D5EA0
+P 1900 4300
+F 0 "M9" H 1850 4350 50 0000 R CNN
+F 1 "mosfet_p" H 1950 4450 50 0000 R CNN
+F 2 "" H 2150 4400 29 0000 C CNN
+F 3 "" H 1950 4300 60 0000 C CNN
+ 1 1900 4300
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M10
+U 1 1 684D5EA6
+P 2100 5250
+F 0 "M10" H 2100 5100 50 0000 R CNN
+F 1 "mosfet_n" H 2200 5200 50 0000 R CNN
+F 2 "" H 2400 4950 29 0000 C CNN
+F 3 "" H 2200 5050 60 0000 C CNN
+ 1 2100 5250
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 2100 4450 2100 5050
+Wire Wire Line
+ 1700 4450 1700 5050
+Wire Wire Line
+ 1750 4950 100 4950
+Connection ~ 100 4950
+Wire Wire Line
+ 400 4600 400 4650
+Connection ~ 400 4650
+Wire Wire Line
+ -50 4600 100 4600
+Wire Wire Line
+ 100 4600 100 4250
+Connection ~ 100 4250
+Wire Wire Line
+ 1750 4550 1750 4650
+Wire Wire Line
+ 200 4250 200 3950
+Wire Wire Line
+ 200 3950 1550 3950
+Wire Wire Line
+ 1550 3950 1550 4750
+Wire Wire Line
+ 1550 4750 1700 4750
+Connection ~ 1700 4750
+Connection ~ 200 4250
+Wire Wire Line
+ 1200 3050 1200 3950
+Connection ~ 1200 3950
+Wire Wire Line
+ 1900 4150 1900 3550
+Wire Wire Line
+ 1900 3550 -450 3550
+Connection ~ -450 4450
+Wire Wire Line
+ 800 5550 1900 5550
+Wire Wire Line
+ 1900 5550 1900 5350
+Connection ~ 800 5550
+Wire Wire Line
+ 2100 4950 2500 4950
+Connection ~ 2100 4950
+Wire Wire Line
+ 1200 3050 2650 3050
+$Comp
+L eSim_GND #PWR05
+U 1 1 684D5EC7
+P 250 5500
+F 0 "#PWR05" H 250 5250 50 0001 C CNN
+F 1 "eSim_GND" H 250 5350 50 0000 C CNN
+F 2 "" H 250 5500 50 0001 C CNN
+F 3 "" H 250 5500 50 0001 C CNN
+ 1 250 5500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 100 5450 250 5450
+Wire Wire Line
+ 250 5450 250 5500
+Wire Wire Line
+ 200 5400 200 5450
+Connection ~ 200 5450
+Wire Wire Line
+ 1750 4650 1250 4650
+Wire Wire Line
+ 1250 4650 1250 3950
+Connection ~ 1250 3950
+$Comp
+L capacitor C2
+U 1 1 684D5ED4
+P 2250 5350
+F 0 "C2" H 2275 5450 50 0000 L CNN
+F 1 "100p" H 2275 5250 50 0000 L CNN
+F 2 "" H 2288 5200 30 0000 C CNN
+F 3 "" H 2250 5350 60 0000 C CNN
+ 1 2250 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR06
+U 1 1 684D5EDA
+P 2250 5550
+F 0 "#PWR06" H 2250 5300 50 0001 C CNN
+F 1 "eSim_GND" H 2250 5400 50 0000 C CNN
+F 2 "" H 2250 5550 50 0001 C CNN
+F 3 "" H 2250 5550 50 0001 C CNN
+ 1 2250 5550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2250 5200 2250 4950
+Connection ~ 2250 4950
+Wire Wire Line
+ 2250 5500 2250 5550
+$Comp
+L PORT U1
+U 13 1 684D5EE3
+P -2750 4800
+F 0 "U1" H -2700 4900 30 0000 C CNN
+F 1 "PORT" H -2750 4800 30 0000 C CNN
+F 2 "" H -2750 4800 60 0000 C CNN
+F 3 "" H -2750 4800 60 0000 C CNN
+ 13 -2750 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 684D5EE9
+P 2900 3050
+F 0 "U1" H 2950 3150 30 0000 C CNN
+F 1 "PORT" H 2900 3050 30 0000 C CNN
+F 2 "" H 2900 3050 60 0000 C CNN
+F 3 "" H 2900 3050 60 0000 C CNN
+ 1 2900 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 684D5EEF
+P 2750 4950
+F 0 "U1" H 2800 5050 30 0000 C CNN
+F 1 "PORT" H 2750 4950 30 0000 C CNN
+F 2 "" H 2750 4950 60 0000 C CNN
+F 3 "" H 2750 4950 60 0000 C CNN
+ 2 2750 4950
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 684D5EF5
+P 7050 4600
+F 0 "M11" H 7000 4650 50 0000 R CNN
+F 1 "mosfet_p" H 7100 4750 50 0000 R CNN
+F 2 "" H 7300 4700 29 0000 C CNN
+F 3 "" H 7100 4600 60 0000 C CNN
+ 1 7050 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 684D5EFB
+P 8050 4400
+F 0 "M15" H 8050 4250 50 0000 R CNN
+F 1 "mosfet_n" H 8150 4350 50 0000 R CNN
+F 2 "" H 8350 4100 29 0000 C CNN
+F 3 "" H 8150 4200 60 0000 C CNN
+ 1 8050 4400
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M13
+U 1 1 684D5F01
+P 7250 5200
+F 0 "M13" H 7250 5050 50 0000 R CNN
+F 1 "mosfet_n" H 7350 5150 50 0000 R CNN
+F 2 "" H 7550 4900 29 0000 C CNN
+F 3 "" H 7350 5000 60 0000 C CNN
+ 1 7250 5200
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7200 4800 7850 4800
+Wire Wire Line
+ 7450 5200 7450 4800
+Connection ~ 7450 4800
+Wire Wire Line
+ 7200 4400 7850 4400
+Wire Wire Line
+ 6900 3700 6900 5400
+Wire Wire Line
+ 6700 5400 7150 5400
+$Comp
+L INVCMOS X5
+U 1 1 684D5F0D
+P 5950 4950
+F 0 "X5" H 5950 4950 60 0000 C CNN
+F 1 "INVCMOS" H 5500 5100 60 0000 C CNN
+F 2 "" H 5950 4950 60 0001 C CNN
+F 3 "" H 5950 4950 60 0001 C CNN
+ 1 5950 4950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6650 4950 6900 4950
+Connection ~ 6900 4950
+$Comp
+L INVCMOS X7
+U 1 1 684D5F15
+P 7150 6000
+F 0 "X7" H 7150 6000 60 0000 C CNN
+F 1 "INVCMOS" H 6700 6150 60 0000 C CNN
+F 2 "" H 7150 6000 60 0001 C CNN
+F 3 "" H 7150 6000 60 0001 C CNN
+ 1 7150 6000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7850 6000 8150 6000
+Wire Wire Line
+ 8150 6000 8150 4600
+Wire Wire Line
+ 6700 6000 6700 5400
+Connection ~ 6900 5400
+Wire Wire Line
+ 4850 4950 5500 4950
+$Comp
+L mosfet_p M17
+U 1 1 684D5F20
+P 9250 4450
+F 0 "M17" H 9200 4500 50 0000 R CNN
+F 1 "mosfet_p" H 9300 4600 50 0000 R CNN
+F 2 "" H 9500 4550 29 0000 C CNN
+F 3 "" H 9300 4450 60 0000 C CNN
+ 1 9250 4450
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_n M19
+U 1 1 684D5F26
+P 9450 5400
+F 0 "M19" H 9450 5250 50 0000 R CNN
+F 1 "mosfet_n" H 9550 5350 50 0000 R CNN
+F 2 "" H 9750 5100 29 0000 C CNN
+F 3 "" H 9550 5200 60 0000 C CNN
+ 1 9450 5400
+ 0 1 -1 0
+$EndComp
+Wire Wire Line
+ 9450 4600 9450 5200
+Wire Wire Line
+ 9050 4600 9050 5200
+Wire Wire Line
+ 9100 5100 7450 5100
+Connection ~ 7450 5100
+Wire Wire Line
+ 7750 4750 7750 4800
+Connection ~ 7750 4800
+Wire Wire Line
+ 7300 4750 7450 4750
+Wire Wire Line
+ 7450 4750 7450 4400
+Connection ~ 7450 4400
+Wire Wire Line
+ 9100 4700 9100 4800
+Wire Wire Line
+ 7550 4400 7550 4100
+Wire Wire Line
+ 7550 4100 8900 4100
+Wire Wire Line
+ 8900 4100 8900 4900
+Wire Wire Line
+ 8900 4900 9050 4900
+Connection ~ 9050 4900
+Connection ~ 7550 4400
+Wire Wire Line
+ 8550 3200 8550 4100
+Connection ~ 8550 4100
+Wire Wire Line
+ 9250 4300 9250 3700
+Wire Wire Line
+ 9250 3700 6900 3700
+Connection ~ 6900 4600
+Wire Wire Line
+ 8150 5700 9250 5700
+Wire Wire Line
+ 9250 5700 9250 5500
+Connection ~ 8150 5700
+Wire Wire Line
+ 9450 5100 9850 5100
+Connection ~ 9450 5100
+Wire Wire Line
+ 8550 3200 10000 3200
+$Comp
+L eSim_GND #PWR07
+U 1 1 684D5F47
+P 7600 5650
+F 0 "#PWR07" H 7600 5400 50 0001 C CNN
+F 1 "eSim_GND" H 7600 5500 50 0000 C CNN
+F 2 "" H 7600 5650 50 0001 C CNN
+F 3 "" H 7600 5650 50 0001 C CNN
+ 1 7600 5650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7450 5600 7600 5600
+Wire Wire Line
+ 7600 5600 7600 5650
+Wire Wire Line
+ 7550 5550 7550 5600
+Connection ~ 7550 5600
+Wire Wire Line
+ 9100 4800 8600 4800
+Wire Wire Line
+ 8600 4800 8600 4100
+Connection ~ 8600 4100
+$Comp
+L capacitor C3
+U 1 1 684D5F54
+P 9600 5500
+F 0 "C3" H 9625 5600 50 0000 L CNN
+F 1 "100p" H 9625 5400 50 0000 L CNN
+F 2 "" H 9638 5350 30 0000 C CNN
+F 3 "" H 9600 5500 60 0000 C CNN
+ 1 9600 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR08
+U 1 1 684D5F5A
+P 9600 5700
+F 0 "#PWR08" H 9600 5450 50 0001 C CNN
+F 1 "eSim_GND" H 9600 5550 50 0000 C CNN
+F 2 "" H 9600 5700 50 0001 C CNN
+F 3 "" H 9600 5700 50 0001 C CNN
+ 1 9600 5700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9600 5350 9600 5100
+Connection ~ 9600 5100
+Wire Wire Line
+ 9600 5650 9600 5700
+$Comp
+L PORT U1
+U 6 1 684D5F63
+P 4600 4950
+F 0 "U1" H 4650 5050 30 0000 C CNN
+F 1 "PORT" H 4600 4950 30 0000 C CNN
+F 2 "" H 4600 4950 60 0000 C CNN
+F 3 "" H 4600 4950 60 0000 C CNN
+ 6 4600 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684D5F69
+P 10250 3200
+F 0 "U1" H 10300 3300 30 0000 C CNN
+F 1 "PORT" H 10250 3200 30 0000 C CNN
+F 2 "" H 10250 3200 60 0000 C CNN
+F 3 "" H 10250 3200 60 0000 C CNN
+ 8 10250 3200
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 684D5F6F
+P 10100 5100
+F 0 "U1" H 10150 5200 30 0000 C CNN
+F 1 "PORT" H 10100 5100 30 0000 C CNN
+F 2 "" H 10100 5100 60 0000 C CNN
+F 3 "" H 10100 5100 60 0000 C CNN
+ 9 10100 5100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR09
+U 1 1 684D6443
+P -1350 7650
+F 0 "#PWR09" H -1350 7400 50 0001 C CNN
+F 1 "eSim_GND" H -1350 7500 50 0000 C CNN
+F 2 "" H -1350 7650 50 0001 C CNN
+F 3 "" H -1350 7650 50 0001 C CNN
+ 1 -1350 7650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 684D673A
+P -1750 7550
+F 0 "U1" H -1700 7650 30 0000 C CNN
+F 1 "PORT" H -1750 7550 30 0000 C CNN
+F 2 "" H -1750 7550 60 0000 C CNN
+F 3 "" H -1750 7550 60 0000 C CNN
+ 7 -1750 7550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -1500 7550 -1350 7550
+Wire Wire Line
+ -1350 7550 -1350 7650
+$Comp
+L eSim_GND #PWR010
+U 1 1 684D69EA
+P -300 7600
+F 0 "#PWR010" H -300 7350 50 0001 C CNN
+F 1 "eSim_GND" H -300 7450 50 0000 C CNN
+F 2 "" H -300 7600 50 0001 C CNN
+F 3 "" H -300 7600 50 0001 C CNN
+ 1 -300 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 684D69F0
+P -700 7500
+F 0 "U1" H -650 7600 30 0000 C CNN
+F 1 "PORT" H -700 7500 30 0000 C CNN
+F 2 "" H -700 7500 60 0000 C CNN
+F 3 "" H -700 7500 60 0000 C CNN
+ 14 -700 7500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ -450 7500 -300 7500
+Wire Wire Line
+ -300 7500 -300 7600
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066.sub b/library/SubcircuitLibrary/HCF4066/HCF4066.sub
new file mode 100644
index 000000000..f6e7bd0c7
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066.sub
@@ -0,0 +1,41 @@
+* Subcircuit HCF4066
+.subckt HCF4066 net-_m10-pad3_ net-_c2-pad1_ net-_c1-pad1_ net-_m1-pad1_ net-_u1-pad5_ net-_u1-pad6_ gnd net-_m11-pad1_ net-_c3-pad1_ net-_c4-pad1_ net-_m12-pad1_ net-_u1-pad12_ net-_u1-pad13_ gnd
+* c:\fossee\esim\library\subcircuitlibrary\hcf4066\hcf4066.cir
+.include INVCMOS.sub
+.include PMOS-180nm.lib
+.include NMOS-180nm.lib
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+m2 net-_m1-pad3_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x1 net-_u1-pad5_ net-_m1-pad2_ INVCMOS
+x2 net-_m1-pad2_ net-_m3-pad2_ INVCMOS
+m4 net-_c1-pad1_ net-_m1-pad2_ net-_m1-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_c1-pad1_ net-_m3-pad2_ net-_m1-pad1_ net-_m1-pad3_ CMOSN W=100u L=100u M=1
+c1 net-_c1-pad1_ gnd 100p
+m12 net-_m12-pad1_ net-_m12-pad2_ net-_m12-pad3_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m12-pad1_ net-_m16-pad2_ net-_m12-pad3_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+m14 net-_m12-pad3_ net-_m12-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x6 net-_u1-pad12_ net-_m12-pad2_ INVCMOS
+x8 net-_m12-pad2_ net-_m16-pad2_ INVCMOS
+m18 net-_c4-pad1_ net-_m12-pad2_ net-_m12-pad1_ net-_m12-pad1_ CMOSP W=100u L=100u M=1
+m20 net-_c4-pad1_ net-_m16-pad2_ net-_m12-pad1_ net-_m12-pad3_ CMOSN W=100u L=100u M=1
+c4 net-_c4-pad1_ gnd 100p
+m6 net-_m10-pad3_ net-_m6-pad2_ net-_m10-pad4_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m8 net-_m10-pad3_ net-_m10-pad2_ net-_m10-pad4_ net-_m10-pad4_ CMOSN W=100u L=100u M=1
+m7 net-_m10-pad4_ net-_m6-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x3 net-_u1-pad13_ net-_m6-pad2_ INVCMOS
+x4 net-_m6-pad2_ net-_m10-pad2_ INVCMOS
+m9 net-_c2-pad1_ net-_m6-pad2_ net-_m10-pad3_ net-_m10-pad3_ CMOSP W=100u L=100u M=1
+m10 net-_c2-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad4_ CMOSN W=100u L=100u M=1
+c2 net-_c2-pad1_ gnd 100p
+m11 net-_m11-pad1_ net-_m11-pad2_ net-_m11-pad3_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m15 net-_m11-pad1_ net-_m15-pad2_ net-_m11-pad3_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+m13 net-_m11-pad3_ net-_m11-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+x5 net-_u1-pad6_ net-_m11-pad2_ INVCMOS
+x7 net-_m11-pad2_ net-_m15-pad2_ INVCMOS
+m17 net-_c3-pad1_ net-_m11-pad2_ net-_m11-pad1_ net-_m11-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_c3-pad1_ net-_m15-pad2_ net-_m11-pad1_ net-_m11-pad3_ CMOSN W=100u L=100u M=1
+c3 net-_c3-pad1_ gnd 100p
+* Control Statements
+
+.ends HCF4066
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/HCF4066/HCF4066_My-cache.lib b/library/SubcircuitLibrary/HCF4066/HCF4066_My-cache.lib
new file mode 100644
index 000000000..ccbbe2ed5
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066_My-cache.lib
@@ -0,0 +1,148 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# 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
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS capacitor
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# 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/HCF4066/HCF4066_Previous_Values.xml b/library/SubcircuitLibrary/HCF4066/HCF4066_Previous_Values.xml
new file mode 100644
index 000000000..04b16264d
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/HCF4066_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOSC:\FOSSEE\eSim\library\SubcircuitLibrary\INVCMOStruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS-cache.lib b/library/SubcircuitLibrary/HCF4066/INVCMOS-cache.lib
new file mode 100644
index 000000000..99797802d
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS-cache.lib
@@ -0,0 +1,146 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# DC
+#
+DEF DC v 0 40 Y Y 1 F N
+F0 "v" -200 100 60 H V C CNN
+F1 "DC" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+X + 1 0 450 300 D 50 50 1 1 w
+X - 2 0 -450 300 U 50 50 1 1 w
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_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
+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
+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/HCF4066/INVCMOS.cir b/library/SubcircuitLibrary/HCF4066/INVCMOS.cir
new file mode 100644
index 000000000..f27c4d1e2
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS.cir
@@ -0,0 +1,15 @@
+* /home/saurabh/Downloads/eSim-1.1.2/src/SubcircuitLibrary/INVCMOS/INVCMOS.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: Sun Aug 25 17:34:16 2019
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+U1 Net-_M1-Pad2_ Net-_C1-Pad1_ PORT
+M1 Net-_C1-Pad1_ Net-_M1-Pad2_ GND GND eSim_MOS_N
+M2 Net-_M2-Pad1_ Net-_M1-Pad2_ Net-_C1-Pad1_ Net-_M2-Pad1_ eSim_MOS_P
+v1 Net-_M2-Pad1_ GND 5
+C1 Net-_C1-Pad1_ GND 1u
+
+.end
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS.cir.out b/library/SubcircuitLibrary/HCF4066/INVCMOS.cir.out
new file mode 100644
index 000000000..be559fe7b
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS.cir.out
@@ -0,0 +1,18 @@
+* /home/saurabh/downloads/esim-1.1.2/src/subcircuitlibrary/invcmos/invcmos.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+* u1 net-_m1-pad2_ net-_c1-pad1_ port
+m1 net-_c1-pad1_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m1-pad2_ net-_c1-pad1_ net-_m2-pad1_ CMOSP W=100u L=100u M=1
+v1 net-_m2-pad1_ gnd 5
+c1 net-_c1-pad1_ gnd 1u
+.tran 0e-03 0e-03 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS.pro b/library/SubcircuitLibrary/HCF4066/INVCMOS.pro
new file mode 100644
index 000000000..1abcd9556
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS.pro
@@ -0,0 +1,70 @@
+update=Sun Aug 25 15:54:56 2019
+version=1
+last_client=eeschema
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[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_Subckt
+LibName23=transistors
+LibName24=conn
+LibName25=eSim_Plot
+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_User
+
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS.sch b/library/SubcircuitLibrary/HCF4066/INVCMOS.sch
new file mode 100644
index 000000000..fdab12ce7
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS.sch
@@ -0,0 +1,189 @@
+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:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+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_User
+LIBS:eSim_Plot
+LIBS:eSim_PSpice
+LIBS:eSim_Subckt
+LIBS:INVCMOS-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "29 apr 2015"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+Wire Wire Line
+ 5900 4000 5900 4150
+Connection ~ 5800 2450
+Connection ~ 5800 4150
+Wire Wire Line
+ 5900 4150 5800 4150
+Connection ~ 5050 3350
+Wire Wire Line
+ 4000 3350 5050 3350
+Wire Wire Line
+ 5050 3850 5500 3850
+Wire Wire Line
+ 5050 2700 5050 3850
+Wire Wire Line
+ 5050 2700 5500 2700
+Wire Wire Line
+ 5800 3650 5800 2900
+Wire Wire Line
+ 5800 2500 5800 2300
+Connection ~ 4200 3350
+$Comp
+L PORT U1
+U 1 1 5D6263BC
+P 3750 3350
+F 0 "U1" H 3800 3450 30 0000 C CNN
+F 1 "PORT" H 3750 3350 30 0000 C CNN
+F 2 "" H 3750 3350 60 0000 C CNN
+F 3 "" H 3750 3350 60 0000 C CNN
+ 1 3750 3350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6050 3250 5800 3250
+Connection ~ 5800 3250
+Wire Wire Line
+ 5800 4050 5800 4550
+$Comp
+L eSim_MOS_N M1
+U 1 1 5D6265DB
+P 5600 3650
+F 0 "M1" H 5600 3500 50 0000 R CNN
+F 1 "eSim_MOS_N" H 5700 3600 50 0000 R CNN
+F 2 "" H 5900 3350 29 0000 C CNN
+F 3 "" H 5700 3450 60 0000 C CNN
+ 1 5600 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 5D626659
+P 5650 2700
+F 0 "M2" H 5600 2750 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5700 2850 50 0000 R CNN
+F 2 "" H 5900 2800 29 0000 C CNN
+F 3 "" H 5700 2700 60 0000 C CNN
+ 1 5650 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5900 2850 6050 2850
+Wire Wire Line
+ 6050 2850 6050 2450
+Wire Wire Line
+ 6050 2450 5800 2450
+Connection ~ 6000 3250
+Connection ~ 5800 4300
+$Comp
+L GND #PWR1
+U 1 1 5D626C59
+P 5800 4550
+F 0 "#PWR1" H 5800 4300 50 0001 C CNN
+F 1 "GND" H 5800 4400 50 0000 C CNN
+F 2 "" H 5800 4550 50 0001 C CNN
+F 3 "" H 5800 4550 50 0001 C CNN
+ 1 5800 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L DC v1
+U 1 1 5D626C7F
+P 6250 2300
+F 0 "v1" H 6050 2400 60 0000 C CNN
+F 1 "5" H 6050 2250 60 0000 C CNN
+F 2 "R1" H 5950 2300 60 0000 C CNN
+F 3 "" H 6250 2300 60 0000 C CNN
+ 1 6250 2300
+ 0 -1 -1 0
+$EndComp
+$Comp
+L GND #PWR2
+U 1 1 5D626CF6
+P 6850 2300
+F 0 "#PWR2" H 6850 2050 50 0001 C CNN
+F 1 "GND" H 6850 2150 50 0000 C CNN
+F 2 "" H 6850 2300 50 0001 C CNN
+F 3 "" H 6850 2300 50 0001 C CNN
+ 1 6850 2300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6850 2300 6700 2300
+$Comp
+L PORT U1
+U 2 1 5D626DCB
+P 6300 3250
+F 0 "U1" H 6350 3350 30 0000 C CNN
+F 1 "PORT" H 6300 3250 30 0000 C CNN
+F 2 "" H 6300 3250 60 0000 C CNN
+F 3 "" H 6300 3250 60 0000 C CNN
+ 2 6300 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_C C1
+U 1 1 5D62796C
+P 6050 3850
+F 0 "C1" H 6075 3950 50 0000 L CNN
+F 1 "1u" H 6075 3750 50 0000 L CNN
+F 2 "" H 6088 3700 30 0000 C CNN
+F 3 "" H 6050 3850 60 0000 C CNN
+ 1 6050 3850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6050 3700 6050 3400
+Wire Wire Line
+ 6050 3400 6000 3400
+Wire Wire Line
+ 6000 3400 6000 3250
+Wire Wire Line
+ 6050 4000 6050 4300
+Wire Wire Line
+ 6050 4300 5800 4300
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS.sub b/library/SubcircuitLibrary/HCF4066/INVCMOS.sub
new file mode 100644
index 000000000..5b1cffaf6
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS.sub
@@ -0,0 +1,12 @@
+* Subcircuit INVCMOS
+.subckt INVCMOS net-_m1-pad2_ net-_c1-pad1_
+* /home/saurabh/downloads/esim-1.1.2/src/subcircuitlibrary/invcmos/invcmos.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m1 net-_c1-pad1_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m1-pad2_ net-_c1-pad1_ net-_m2-pad1_ CMOSP W=100u L=100u M=1
+v1 net-_m2-pad1_ gnd 5
+c1 net-_c1-pad1_ gnd 1u
+* Control Statements
+
+.ends INVCMOS
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/HCF4066/INVCMOS_Previous_Values.xml b/library/SubcircuitLibrary/HCF4066/INVCMOS_Previous_Values.xml
new file mode 100644
index 000000000..e5bb98c76
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/INVCMOS_Previous_Values.xml
@@ -0,0 +1 @@
+5/home/saurabh/Downloads/eSim-1.1.2/src/deviceModelLibrary/MOS/NMOS-180nm.lib/home/saurabh/Downloads/eSim-1.1.2/src/deviceModelLibrary/MOS/PMOS-180nm.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperes000Secmsms
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/HCF4066/NMOS-180nm.lib b/library/SubcircuitLibrary/HCF4066/NMOS-180nm.lib
new file mode 100644
index 000000000..54e9786e1
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/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/HCF4066/PMOS-180nm.lib b/library/SubcircuitLibrary/HCF4066/PMOS-180nm.lib
new file mode 100644
index 000000000..ac3f036c9
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/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/HCF4066/analysis b/library/SubcircuitLibrary/HCF4066/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/HCF4066/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/LH0004/LH0004-cache.lib b/library/SubcircuitLibrary/LH0004/LH0004-cache.lib
new file mode 100644
index 000000000..49c594fc8
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004-cache.lib
@@ -0,0 +1,102 @@
+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_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/LH0004/LH0004.bak b/library/SubcircuitLibrary/LH0004/LH0004.bak
new file mode 100644
index 000000000..57e403566
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.bak
@@ -0,0 +1,476 @@
+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:LH0004_My-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_NPN Q5
+U 1 1 68385F3D
+P 4500 3550
+F 0 "Q5" H 4400 3600 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 3700 50 0000 R CNN
+F 2 "" H 4700 3650 29 0000 C CNN
+F 3 "" H 4500 3550 60 0000 C CNN
+ 1 4500 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 68385F53
+P 6000 3500
+F 0 "Q8" H 5900 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 5950 3650 50 0000 R CNN
+F 2 "" H 6200 3600 29 0000 C CNN
+F 3 "" H 6000 3500 60 0000 C CNN
+ 1 6000 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 68385FB2
+P 2750 2050
+F 0 "Q1" H 2650 2100 50 0000 R CNN
+F 1 "eSim_PNP" H 2700 2200 50 0000 R CNN
+F 2 "" H 2950 2150 29 0000 C CNN
+F 3 "" H 2750 2050 60 0000 C CNN
+ 1 2750 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 68385FD4
+P 3750 2050
+F 0 "Q4" H 3650 2100 50 0000 R CNN
+F 1 "eSim_PNP" H 3700 2200 50 0000 R CNN
+F 2 "" H 3950 2150 29 0000 C CNN
+F 3 "" H 3750 2050 60 0000 C CNN
+ 1 3750 2050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 2850 1850 3650 1850
+Wire Wire Line
+ 4600 3750 5900 3750
+Wire Wire Line
+ 5900 3750 5900 3700
+$Comp
+L resistor R2
+U 1 1 683860A3
+P 2800 3850
+F 0 "R2" H 2850 3980 50 0000 C CNN
+F 1 "300k" H 2850 3800 50 0000 C CNN
+F 2 "" H 2850 3830 30 0000 C CNN
+F 3 "" V 2850 3900 30 0000 C CNN
+ 1 2800 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 68386106
+P 3600 3850
+F 0 "R4" H 3650 3980 50 0000 C CNN
+F 1 "300k" H 3650 3800 50 0000 C CNN
+F 2 "" H 3650 3830 30 0000 C CNN
+F 3 "" V 3650 3900 30 0000 C CNN
+ 1 3600 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 68386132
+P 5200 4000
+F 0 "R6" H 5250 4130 50 0000 C CNN
+F 1 "50k" H 5250 3950 50 0000 C CNN
+F 2 "" H 5250 3980 30 0000 C CNN
+F 3 "" V 5250 4050 30 0000 C CNN
+ 1 5200 4000
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5250 3900 5250 3750
+Connection ~ 5250 3750
+Wire Wire Line
+ 3650 2250 3650 3750
+Wire Wire Line
+ 2850 2250 2850 3750
+Connection ~ 3650 4200
+$Comp
+L eSim_PNP Q3
+U 1 1 68386221
+P 3200 1200
+F 0 "Q3" H 3100 1250 50 0000 R CNN
+F 1 "eSim_PNP" H 3150 1350 50 0000 R CNN
+F 2 "" H 3400 1300 29 0000 C CNN
+F 3 "" H 3200 1200 60 0000 C CNN
+ 1 3200 1200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 68386261
+P 2950 750
+F 0 "Q2" H 2850 800 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 900 50 0000 R CNN
+F 2 "" H 3150 850 29 0000 C CNN
+F 3 "" H 2950 750 60 0000 C CNN
+ 1 2950 750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3300 1400 3300 1850
+Connection ~ 3300 1850
+Wire Wire Line
+ 2850 950 2850 1350
+Wire Wire Line
+ 2300 1200 3000 1200
+Wire Wire Line
+ 3150 750 3300 750
+Wire Wire Line
+ 3300 650 3300 1000
+$Comp
+L resistor R3
+U 1 1 68386368
+P 3250 450
+F 0 "R3" H 3300 580 50 0000 C CNN
+F 1 "40k" H 3300 400 50 0000 C CNN
+F 2 "" H 3300 430 30 0000 C CNN
+F 3 "" V 3300 500 30 0000 C CNN
+ 1 3250 450
+ 0 1 1 0
+$EndComp
+Connection ~ 3300 750
+Wire Wire Line
+ 2850 550 2850 350
+Wire Wire Line
+ 2850 350 6550 350
+$Comp
+L resistor R1
+U 1 1 68386412
+P 2800 1450
+F 0 "R1" H 2850 1580 50 0000 C CNN
+F 1 "600k" H 2850 1400 50 0000 C CNN
+F 2 "" H 2850 1430 30 0000 C CNN
+F 3 "" V 2850 1500 30 0000 C CNN
+ 1 2800 1450
+ 0 1 1 0
+$EndComp
+Connection ~ 2850 1200
+Wire Wire Line
+ 2200 1650 2850 1650
+$Comp
+L eSim_PNP Q6
+U 1 1 6838659D
+P 4800 1150
+F 0 "Q6" H 4700 1200 50 0000 R CNN
+F 1 "eSim_PNP" H 4750 1300 50 0000 R CNN
+F 2 "" H 5000 1250 29 0000 C CNN
+F 3 "" H 4800 1150 60 0000 C CNN
+ 1 4800 1150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 683865E5
+P 5650 1150
+F 0 "Q7" H 5550 1200 50 0000 R CNN
+F 1 "eSim_PNP" H 5600 1300 50 0000 R CNN
+F 2 "" H 5850 1250 29 0000 C CNN
+F 3 "" H 5650 1150 60 0000 C CNN
+ 1 5650 1150
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 5000 1150 5450 1150
+Wire Wire Line
+ 4700 1350 4700 3350
+Wire Wire Line
+ 4700 3350 4600 3350
+Wire Wire Line
+ 5750 1350 5750 3300
+Wire Wire Line
+ 5750 3300 5900 3300
+Wire Wire Line
+ 5150 1150 5150 1550
+Wire Wire Line
+ 5150 1550 4700 1550
+Connection ~ 4700 1550
+Connection ~ 5150 1150
+$Comp
+L resistor R5
+U 1 1 68386991
+P 4650 650
+F 0 "R5" H 4700 780 50 0000 C CNN
+F 1 "50k" H 4700 600 50 0000 C CNN
+F 2 "" H 4700 630 30 0000 C CNN
+F 3 "" V 4700 700 30 0000 C CNN
+ 1 4650 650
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 68386A13
+P 5700 650
+F 0 "R7" H 5750 780 50 0000 C CNN
+F 1 "50k" H 5750 600 50 0000 C CNN
+F 2 "" H 5750 630 30 0000 C CNN
+F 3 "" V 5750 700 30 0000 C CNN
+ 1 5700 650
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4700 850 4700 950
+Wire Wire Line
+ 5750 850 5750 950
+Wire Wire Line
+ 4700 350 4700 550
+Connection ~ 3300 350
+Wire Wire Line
+ 5750 350 5750 550
+Connection ~ 4700 350
+$Comp
+L eSim_NPN Q9
+U 1 1 68386B81
+P 6450 2100
+F 0 "Q9" H 6350 2150 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 2250 50 0000 R CNN
+F 2 "" H 6650 2200 29 0000 C CNN
+F 3 "" H 6450 2100 60 0000 C CNN
+ 1 6450 2100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2100 3550 4300 3550
+Connection ~ 3650 3550
+Wire Wire Line
+ 6200 3150 6200 3500
+Wire Wire Line
+ 1750 3150 6200 3150
+Connection ~ 2850 3150
+$Comp
+L eSim_PNP Q10
+U 1 1 68386E1B
+P 6450 2650
+F 0 "Q10" H 6350 2700 50 0000 R CNN
+F 1 "eSim_PNP" H 6400 2800 50 0000 R CNN
+F 2 "" H 6650 2750 29 0000 C CNN
+F 3 "" H 6450 2650 60 0000 C CNN
+ 1 6450 2650
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 6550 2300 6550 2450
+Wire Wire Line
+ 6550 4200 6550 2850
+Connection ~ 5250 4200
+Wire Wire Line
+ 6250 2100 6250 2650
+Wire Wire Line
+ 6550 350 6550 1900
+Connection ~ 5750 350
+Wire Wire Line
+ 5750 2250 6250 2250
+Connection ~ 6250 2250
+Connection ~ 5750 2250
+Wire Wire Line
+ 3650 4050 3650 4200
+Wire Wire Line
+ 2850 4050 2850 4200
+Wire Wire Line
+ 1650 2050 2550 2050
+Wire Wire Line
+ 3950 2550 3950 2050
+Wire Wire Line
+ 4700 4200 4700 4350
+Connection ~ 4700 4200
+Wire Wire Line
+ 5600 -350 5600 350
+Connection ~ 5600 350
+Wire Wire Line
+ 6550 2400 7600 2400
+Connection ~ 6550 2400
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4200 6550 4200
+Wire Wire Line
+ 5750 2900 7550 2900
+Connection ~ 5750 2900
+Wire Wire Line
+ 1750 2550 3950 2550
+Wire Wire Line
+ 1750 2450 1750 2550
+$Comp
+L PORT U?
+U 1 1 6839B4BA
+P 1900 1150
+F 0 "U?" H 1950 1250 30 0000 C CNN
+F 1 "PORT" H 1900 1150 30 0000 C CNN
+F 2 "" H 1900 1150 60 0000 C CNN
+F 3 "" H 1900 1150 60 0000 C CNN
+ 1 1900 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B53D
+P 1950 1650
+F 0 "U?" H 2000 1750 30 0000 C CNN
+F 1 "PORT" H 1950 1650 30 0000 C CNN
+F 2 "" H 1950 1650 60 0000 C CNN
+F 3 "" H 1950 1650 60 0000 C CNN
+ 1 1950 1650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B58C
+P 1400 2050
+F 0 "U?" H 1450 2150 30 0000 C CNN
+F 1 "PORT" H 1400 2050 30 0000 C CNN
+F 2 "" H 1400 2050 60 0000 C CNN
+F 3 "" H 1400 2050 60 0000 C CNN
+ 1 1400 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B662
+P 1450 2450
+F 0 "U?" H 1500 2550 30 0000 C CNN
+F 1 "PORT" H 1450 2450 30 0000 C CNN
+F 2 "" H 1450 2450 60 0000 C CNN
+F 3 "" H 1450 2450 60 0000 C CNN
+ 1 1450 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B6BB
+P 1500 3150
+F 0 "U?" H 1550 3250 30 0000 C CNN
+F 1 "PORT" H 1500 3150 30 0000 C CNN
+F 2 "" H 1500 3150 60 0000 C CNN
+F 3 "" H 1500 3150 60 0000 C CNN
+ 1 1500 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B7A7
+P 1850 3550
+F 0 "U?" H 1900 3650 30 0000 C CNN
+F 1 "PORT" H 1850 3550 30 0000 C CNN
+F 2 "" H 1850 3550 60 0000 C CNN
+F 3 "" H 1850 3550 60 0000 C CNN
+ 1 1850 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839B806
+P 4350 4350
+F 0 "U?" H 4400 4450 30 0000 C CNN
+F 1 "PORT" H 4350 4350 30 0000 C CNN
+F 2 "" H 4350 4350 60 0000 C CNN
+F 3 "" H 4350 4350 60 0000 C CNN
+ 1 4350 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839BA26
+P 5200 -350
+F 0 "U?" H 5250 -250 30 0000 C CNN
+F 1 "PORT" H 5200 -350 30 0000 C CNN
+F 2 "" H 5200 -350 60 0000 C CNN
+F 3 "" H 5200 -350 60 0000 C CNN
+ 1 5200 -350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839BBC4
+P 7350 2200
+F 0 "U?" H 7400 2300 30 0000 C CNN
+F 1 "PORT" H 7350 2200 30 0000 C CNN
+F 2 "" H 7350 2200 60 0000 C CNN
+F 3 "" H 7350 2200 60 0000 C CNN
+ 1 7350 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6839BD62
+P 7300 3050
+F 0 "U?" H 7350 3150 30 0000 C CNN
+F 1 "PORT" H 7300 3050 30 0000 C CNN
+F 2 "" H 7300 3050 60 0000 C CNN
+F 3 "" H 7300 3050 60 0000 C CNN
+ 1 7300 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5450 -350 5600 -350
+Wire Wire Line
+ 2150 1150 2300 1150
+Wire Wire Line
+ 2300 1150 2300 1200
+Wire Wire Line
+ 1700 2450 1750 2450
+Wire Wire Line
+ 4700 4350 4600 4350
+Wire Wire Line
+ 7550 2900 7550 3050
+Wire Wire Line
+ 7600 2400 7600 2200
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LH0004/LH0004.cir b/library/SubcircuitLibrary/LH0004/LH0004.cir
new file mode 100644
index 000000000..bf9775e4e
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.cir
@@ -0,0 +1,28 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\LH0004\LH0004.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/12/25 14:24:38
+
+* 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: /
+Q5 Net-_Q5-Pad1_ Net-_Q4-Pad1_ Net-_Q5-Pad3_ eSim_NPN
+Q8 Net-_Q10-Pad2_ Net-_Q1-Pad1_ Net-_Q5-Pad3_ eSim_NPN
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q4 Net-_Q4-Pad1_ Net-_Q4-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R2 Net-_Q1-Pad1_ Net-_Q10-Pad1_ 300k
+R4 Net-_Q4-Pad1_ Net-_Q10-Pad1_ 300k
+R6 Net-_Q5-Pad3_ Net-_Q10-Pad1_ 50k
+Q3 Net-_Q1-Pad3_ Net-_Q2-Pad1_ Net-_Q2-Pad2_ eSim_PNP
+Q2 Net-_Q2-Pad1_ Net-_Q2-Pad2_ Net-_Q2-Pad3_ eSim_PNP
+R3 Net-_Q2-Pad3_ Net-_Q2-Pad2_ 40k
+R1 Net-_Q2-Pad1_ Net-_R1-Pad2_ 600k
+Q6 Net-_Q5-Pad1_ Net-_Q5-Pad1_ Net-_Q6-Pad3_ eSim_PNP
+Q7 Net-_Q10-Pad2_ Net-_Q5-Pad1_ Net-_Q7-Pad3_ eSim_PNP
+R5 Net-_Q2-Pad3_ Net-_Q6-Pad3_ 50k
+R7 Net-_Q2-Pad3_ Net-_Q7-Pad3_ 50k
+Q9 Net-_Q2-Pad3_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_NPN
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_PNP
+U1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q10-Pad1_ Net-_Q4-Pad2_ Net-_Q4-Pad1_ Net-_Q2-Pad1_ Net-_R1-Pad2_ Net-_Q10-Pad3_ Net-_Q2-Pad3_ Net-_Q10-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/LH0004/LH0004.cir.out b/library/SubcircuitLibrary/LH0004/LH0004.cir.out
new file mode 100644
index 000000000..4622a95ca
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.cir.out
@@ -0,0 +1,31 @@
+* c:\fossee\esim\library\subcircuitlibrary\lh0004\lh0004.cir
+
+.include NPN.lib
+.include PNP.lib
+q5 net-_q5-pad1_ net-_q4-pad1_ net-_q5-pad3_ Q2N2222
+q8 net-_q10-pad2_ net-_q1-pad1_ net-_q5-pad3_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q4 net-_q4-pad1_ net-_q4-pad2_ net-_q1-pad3_ Q2N2907A
+r2 net-_q1-pad1_ net-_q10-pad1_ 300k
+r4 net-_q4-pad1_ net-_q10-pad1_ 300k
+r6 net-_q5-pad3_ net-_q10-pad1_ 50k
+q3 net-_q1-pad3_ net-_q2-pad1_ net-_q2-pad2_ Q2N2907A
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2907A
+r3 net-_q2-pad3_ net-_q2-pad2_ 40k
+r1 net-_q2-pad1_ net-_r1-pad2_ 600k
+q6 net-_q5-pad1_ net-_q5-pad1_ net-_q6-pad3_ Q2N2907A
+q7 net-_q10-pad2_ net-_q5-pad1_ net-_q7-pad3_ Q2N2907A
+r5 net-_q2-pad3_ net-_q6-pad3_ 50k
+r7 net-_q2-pad3_ net-_q7-pad3_ 50k
+q9 net-_q2-pad3_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2907A
+* u1 net-_q1-pad1_ net-_q1-pad2_ net-_q10-pad1_ net-_q4-pad2_ net-_q4-pad1_ net-_q2-pad1_ net-_r1-pad2_ net-_q10-pad3_ net-_q2-pad3_ net-_q10-pad2_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/LH0004/LH0004.pro b/library/SubcircuitLibrary/LH0004/LH0004.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.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/LH0004/LH0004.sch b/library/SubcircuitLibrary/LH0004/LH0004.sch
new file mode 100644
index 000000000..7edb94671
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.sch
@@ -0,0 +1,476 @@
+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:LH0004_My-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_NPN Q5
+U 1 1 68385F3D
+P 4500 3550
+F 0 "Q5" H 4400 3600 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 3700 50 0000 R CNN
+F 2 "" H 4700 3650 29 0000 C CNN
+F 3 "" H 4500 3550 60 0000 C CNN
+ 1 4500 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 68385F53
+P 6000 3500
+F 0 "Q8" H 5900 3550 50 0000 R CNN
+F 1 "eSim_NPN" H 5950 3650 50 0000 R CNN
+F 2 "" H 6200 3600 29 0000 C CNN
+F 3 "" H 6000 3500 60 0000 C CNN
+ 1 6000 3500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 68385FB2
+P 2750 2050
+F 0 "Q1" H 2650 2100 50 0000 R CNN
+F 1 "eSim_PNP" H 2700 2200 50 0000 R CNN
+F 2 "" H 2950 2150 29 0000 C CNN
+F 3 "" H 2750 2050 60 0000 C CNN
+ 1 2750 2050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 68385FD4
+P 3750 2050
+F 0 "Q4" H 3650 2100 50 0000 R CNN
+F 1 "eSim_PNP" H 3700 2200 50 0000 R CNN
+F 2 "" H 3950 2150 29 0000 C CNN
+F 3 "" H 3750 2050 60 0000 C CNN
+ 1 3750 2050
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 2850 1850 3650 1850
+Wire Wire Line
+ 4600 3750 5900 3750
+Wire Wire Line
+ 5900 3750 5900 3700
+$Comp
+L resistor R2
+U 1 1 683860A3
+P 2800 3850
+F 0 "R2" H 2850 3980 50 0000 C CNN
+F 1 "300k" H 2850 3800 50 0000 C CNN
+F 2 "" H 2850 3830 30 0000 C CNN
+F 3 "" V 2850 3900 30 0000 C CNN
+ 1 2800 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 68386106
+P 3600 3850
+F 0 "R4" H 3650 3980 50 0000 C CNN
+F 1 "300k" H 3650 3800 50 0000 C CNN
+F 2 "" H 3650 3830 30 0000 C CNN
+F 3 "" V 3650 3900 30 0000 C CNN
+ 1 3600 3850
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 68386132
+P 5200 4000
+F 0 "R6" H 5250 4130 50 0000 C CNN
+F 1 "50k" H 5250 3950 50 0000 C CNN
+F 2 "" H 5250 3980 30 0000 C CNN
+F 3 "" V 5250 4050 30 0000 C CNN
+ 1 5200 4000
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5250 3900 5250 3750
+Connection ~ 5250 3750
+Wire Wire Line
+ 3650 2250 3650 3750
+Wire Wire Line
+ 2850 2250 2850 3750
+Connection ~ 3650 4200
+$Comp
+L eSim_PNP Q3
+U 1 1 68386221
+P 3200 1200
+F 0 "Q3" H 3100 1250 50 0000 R CNN
+F 1 "eSim_PNP" H 3150 1350 50 0000 R CNN
+F 2 "" H 3400 1300 29 0000 C CNN
+F 3 "" H 3200 1200 60 0000 C CNN
+ 1 3200 1200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 68386261
+P 2950 750
+F 0 "Q2" H 2850 800 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 900 50 0000 R CNN
+F 2 "" H 3150 850 29 0000 C CNN
+F 3 "" H 2950 750 60 0000 C CNN
+ 1 2950 750
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 3300 1400 3300 1850
+Connection ~ 3300 1850
+Wire Wire Line
+ 2850 950 2850 1350
+Wire Wire Line
+ 2300 1200 3000 1200
+Wire Wire Line
+ 3150 750 3300 750
+Wire Wire Line
+ 3300 650 3300 1000
+$Comp
+L resistor R3
+U 1 1 68386368
+P 3250 450
+F 0 "R3" H 3300 580 50 0000 C CNN
+F 1 "40k" H 3300 400 50 0000 C CNN
+F 2 "" H 3300 430 30 0000 C CNN
+F 3 "" V 3300 500 30 0000 C CNN
+ 1 3250 450
+ 0 1 1 0
+$EndComp
+Connection ~ 3300 750
+Wire Wire Line
+ 2850 550 2850 350
+Wire Wire Line
+ 2850 350 6550 350
+$Comp
+L resistor R1
+U 1 1 68386412
+P 2800 1450
+F 0 "R1" H 2850 1580 50 0000 C CNN
+F 1 "600k" H 2850 1400 50 0000 C CNN
+F 2 "" H 2850 1430 30 0000 C CNN
+F 3 "" V 2850 1500 30 0000 C CNN
+ 1 2800 1450
+ 0 1 1 0
+$EndComp
+Connection ~ 2850 1200
+Wire Wire Line
+ 2200 1650 2850 1650
+$Comp
+L eSim_PNP Q6
+U 1 1 6838659D
+P 4800 1150
+F 0 "Q6" H 4700 1200 50 0000 R CNN
+F 1 "eSim_PNP" H 4750 1300 50 0000 R CNN
+F 2 "" H 5000 1250 29 0000 C CNN
+F 3 "" H 4800 1150 60 0000 C CNN
+ 1 4800 1150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 683865E5
+P 5650 1150
+F 0 "Q7" H 5550 1200 50 0000 R CNN
+F 1 "eSim_PNP" H 5600 1300 50 0000 R CNN
+F 2 "" H 5850 1250 29 0000 C CNN
+F 3 "" H 5650 1150 60 0000 C CNN
+ 1 5650 1150
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 5000 1150 5450 1150
+Wire Wire Line
+ 4700 1350 4700 3350
+Wire Wire Line
+ 4700 3350 4600 3350
+Wire Wire Line
+ 5750 1350 5750 3300
+Wire Wire Line
+ 5750 3300 5900 3300
+Wire Wire Line
+ 5150 1150 5150 1550
+Wire Wire Line
+ 5150 1550 4700 1550
+Connection ~ 4700 1550
+Connection ~ 5150 1150
+$Comp
+L resistor R5
+U 1 1 68386991
+P 4650 650
+F 0 "R5" H 4700 780 50 0000 C CNN
+F 1 "50k" H 4700 600 50 0000 C CNN
+F 2 "" H 4700 630 30 0000 C CNN
+F 3 "" V 4700 700 30 0000 C CNN
+ 1 4650 650
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 68386A13
+P 5700 650
+F 0 "R7" H 5750 780 50 0000 C CNN
+F 1 "50k" H 5750 600 50 0000 C CNN
+F 2 "" H 5750 630 30 0000 C CNN
+F 3 "" V 5750 700 30 0000 C CNN
+ 1 5700 650
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4700 850 4700 950
+Wire Wire Line
+ 5750 850 5750 950
+Wire Wire Line
+ 4700 350 4700 550
+Connection ~ 3300 350
+Wire Wire Line
+ 5750 350 5750 550
+Connection ~ 4700 350
+$Comp
+L eSim_NPN Q9
+U 1 1 68386B81
+P 6450 2100
+F 0 "Q9" H 6350 2150 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 2250 50 0000 R CNN
+F 2 "" H 6650 2200 29 0000 C CNN
+F 3 "" H 6450 2100 60 0000 C CNN
+ 1 6450 2100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2100 3550 4300 3550
+Connection ~ 3650 3550
+Wire Wire Line
+ 6200 3150 6200 3500
+Wire Wire Line
+ 1750 3150 6200 3150
+Connection ~ 2850 3150
+$Comp
+L eSim_PNP Q10
+U 1 1 68386E1B
+P 6450 2650
+F 0 "Q10" H 6350 2700 50 0000 R CNN
+F 1 "eSim_PNP" H 6400 2800 50 0000 R CNN
+F 2 "" H 6650 2750 29 0000 C CNN
+F 3 "" H 6450 2650 60 0000 C CNN
+ 1 6450 2650
+ 1 0 0 1
+$EndComp
+Wire Wire Line
+ 6550 2300 6550 2450
+Wire Wire Line
+ 6550 4200 6550 2850
+Connection ~ 5250 4200
+Wire Wire Line
+ 6250 2100 6250 2650
+Wire Wire Line
+ 6550 350 6550 1900
+Connection ~ 5750 350
+Wire Wire Line
+ 5750 2250 6250 2250
+Connection ~ 6250 2250
+Connection ~ 5750 2250
+Wire Wire Line
+ 3650 4050 3650 4200
+Wire Wire Line
+ 2850 4050 2850 4200
+Wire Wire Line
+ 1650 2050 2550 2050
+Wire Wire Line
+ 3950 2550 3950 2050
+Wire Wire Line
+ 4700 4200 4700 4350
+Connection ~ 4700 4200
+Wire Wire Line
+ 5600 -350 5600 350
+Connection ~ 5600 350
+Wire Wire Line
+ 6550 2400 7600 2400
+Connection ~ 6550 2400
+Connection ~ 2850 4200
+Wire Wire Line
+ 2850 4200 6550 4200
+Wire Wire Line
+ 5750 2900 7550 2900
+Connection ~ 5750 2900
+Wire Wire Line
+ 1750 2550 3950 2550
+Wire Wire Line
+ 1750 2450 1750 2550
+$Comp
+L PORT U1
+U 6 1 6839B4BA
+P 1900 1150
+F 0 "U1" H 1950 1250 30 0000 C CNN
+F 1 "PORT" H 1900 1150 30 0000 C CNN
+F 2 "" H 1900 1150 60 0000 C CNN
+F 3 "" H 1900 1150 60 0000 C CNN
+ 6 1900 1150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6839B53D
+P 1950 1650
+F 0 "U1" H 2000 1750 30 0000 C CNN
+F 1 "PORT" H 1950 1650 30 0000 C CNN
+F 2 "" H 1950 1650 60 0000 C CNN
+F 3 "" H 1950 1650 60 0000 C CNN
+ 7 1950 1650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6839B58C
+P 1400 2050
+F 0 "U1" H 1450 2150 30 0000 C CNN
+F 1 "PORT" H 1400 2050 30 0000 C CNN
+F 2 "" H 1400 2050 60 0000 C CNN
+F 3 "" H 1400 2050 60 0000 C CNN
+ 2 1400 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6839B662
+P 1450 2450
+F 0 "U1" H 1500 2550 30 0000 C CNN
+F 1 "PORT" H 1450 2450 30 0000 C CNN
+F 2 "" H 1450 2450 60 0000 C CNN
+F 3 "" H 1450 2450 60 0000 C CNN
+ 4 1450 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6839B6BB
+P 1500 3150
+F 0 "U1" H 1550 3250 30 0000 C CNN
+F 1 "PORT" H 1500 3150 30 0000 C CNN
+F 2 "" H 1500 3150 60 0000 C CNN
+F 3 "" H 1500 3150 60 0000 C CNN
+ 1 1500 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6839B7A7
+P 1850 3550
+F 0 "U1" H 1900 3650 30 0000 C CNN
+F 1 "PORT" H 1850 3550 30 0000 C CNN
+F 2 "" H 1850 3550 60 0000 C CNN
+F 3 "" H 1850 3550 60 0000 C CNN
+ 5 1850 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6839B806
+P 4350 4350
+F 0 "U1" H 4400 4450 30 0000 C CNN
+F 1 "PORT" H 4350 4350 30 0000 C CNN
+F 2 "" H 4350 4350 60 0000 C CNN
+F 3 "" H 4350 4350 60 0000 C CNN
+ 3 4350 4350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 6839BA26
+P 5200 -350
+F 0 "U1" H 5250 -250 30 0000 C CNN
+F 1 "PORT" H 5200 -350 30 0000 C CNN
+F 2 "" H 5200 -350 60 0000 C CNN
+F 3 "" H 5200 -350 60 0000 C CNN
+ 9 5200 -350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 6839BBC4
+P 7350 2200
+F 0 "U1" H 7400 2300 30 0000 C CNN
+F 1 "PORT" H 7350 2200 30 0000 C CNN
+F 2 "" H 7350 2200 60 0000 C CNN
+F 3 "" H 7350 2200 60 0000 C CNN
+ 8 7350 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6839BD62
+P 7300 3050
+F 0 "U1" H 7350 3150 30 0000 C CNN
+F 1 "PORT" H 7300 3050 30 0000 C CNN
+F 2 "" H 7300 3050 60 0000 C CNN
+F 3 "" H 7300 3050 60 0000 C CNN
+ 10 7300 3050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5450 -350 5600 -350
+Wire Wire Line
+ 2150 1150 2300 1150
+Wire Wire Line
+ 2300 1150 2300 1200
+Wire Wire Line
+ 1700 2450 1750 2450
+Wire Wire Line
+ 4700 4350 4600 4350
+Wire Wire Line
+ 7550 2900 7550 3050
+Wire Wire Line
+ 7600 2400 7600 2200
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/LH0004/LH0004.sub b/library/SubcircuitLibrary/LH0004/LH0004.sub
new file mode 100644
index 000000000..8be7e7554
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004.sub
@@ -0,0 +1,25 @@
+* Subcircuit LH0004
+.subckt LH0004 net-_q1-pad1_ net-_q1-pad2_ net-_q10-pad1_ net-_q4-pad2_ net-_q4-pad1_ net-_q2-pad1_ net-_r1-pad2_ net-_q10-pad3_ net-_q2-pad3_ net-_q10-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\lh0004\lh0004.cir
+.include NPN.lib
+.include PNP.lib
+q5 net-_q5-pad1_ net-_q4-pad1_ net-_q5-pad3_ Q2N2222
+q8 net-_q10-pad2_ net-_q1-pad1_ net-_q5-pad3_ Q2N2222
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q4 net-_q4-pad1_ net-_q4-pad2_ net-_q1-pad3_ Q2N2907A
+r2 net-_q1-pad1_ net-_q10-pad1_ 300k
+r4 net-_q4-pad1_ net-_q10-pad1_ 300k
+r6 net-_q5-pad3_ net-_q10-pad1_ 50k
+q3 net-_q1-pad3_ net-_q2-pad1_ net-_q2-pad2_ Q2N2907A
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q2-pad3_ Q2N2907A
+r3 net-_q2-pad3_ net-_q2-pad2_ 40k
+r1 net-_q2-pad1_ net-_r1-pad2_ 600k
+q6 net-_q5-pad1_ net-_q5-pad1_ net-_q6-pad3_ Q2N2907A
+q7 net-_q10-pad2_ net-_q5-pad1_ net-_q7-pad3_ Q2N2907A
+r5 net-_q2-pad3_ net-_q6-pad3_ 50k
+r7 net-_q2-pad3_ net-_q7-pad3_ 50k
+q9 net-_q2-pad3_ net-_q10-pad2_ net-_q10-pad3_ Q2N2222
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_q10-pad3_ Q2N2907A
+* Control Statements
+
+.ends LH0004
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/LH0004/LH0004_Previous_Values.xml b/library/SubcircuitLibrary/LH0004/LH0004_Previous_Values.xml
new file mode 100644
index 000000000..7b722a485
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/LH0004_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/LH0004/NPN.lib b/library/SubcircuitLibrary/LH0004/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/LH0004/PNP.lib b/library/SubcircuitLibrary/LH0004/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/LH0004/analysis b/library/SubcircuitLibrary/LH0004/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/LH0004/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/D.lib b/library/SubcircuitLibrary/M51206_Subcircuit/D.lib
new file mode 100644
index 000000000..f53bf3e03
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit-cache.lib b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit-cache.lib
new file mode 100644
index 000000000..12256691a
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit-cache.lib
@@ -0,0 +1,173 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# GND
+#
+DEF GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# 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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.bak b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.bak
new file mode 100644
index 000000000..fae81a4cb
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.bak
@@ -0,0 +1,498 @@
+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:M51206_Subcircuit-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_NPN Q5
+U 1 1 6834A43B
+P 4000 3200
+F 0 "Q5" H 3900 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 3350 50 0000 R CNN
+F 2 "" H 4200 3300 29 0000 C CNN
+F 3 "" H 4000 3200 60 0000 C CNN
+ 1 4000 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 6834A47E
+P 4900 2900
+F 0 "Q6" H 4800 2950 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 3050 50 0000 R CNN
+F 2 "" H 5100 3000 29 0000 C CNN
+F 3 "" H 4900 2900 60 0000 C CNN
+ 1 4900 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6834A4A2
+P 5700 2600
+F 0 "Q7" H 5600 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 5650 2750 50 0000 R CNN
+F 2 "" H 5900 2700 29 0000 C CNN
+F 3 "" H 5700 2600 60 0000 C CNN
+ 1 5700 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 6834A4BF
+P 6200 2300
+F 0 "Q8" H 6100 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 6150 2450 50 0000 R CNN
+F 2 "" H 6400 2400 29 0000 C CNN
+F 3 "" H 6200 2300 60 0000 C CNN
+ 1 6200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6834A509
+P 2150 2700
+F 0 "Q1" H 2050 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 2850 50 0000 R CNN
+F 2 "" H 2350 2800 29 0000 C CNN
+F 3 "" H 2150 2700 60 0000 C CNN
+ 1 2150 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 6834A536
+P 3150 2700
+F 0 "Q3" H 3050 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 2850 50 0000 R CNN
+F 2 "" H 3350 2800 29 0000 C CNN
+F 3 "" H 3150 2700 60 0000 C CNN
+ 1 3150 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 6834A56D
+P 2950 1850
+F 0 "Q2" H 2850 1900 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 2000 50 0000 R CNN
+F 2 "" H 3150 1950 29 0000 C CNN
+F 3 "" H 2950 1850 60 0000 C CNN
+ 1 2950 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 6834A597
+P 3650 2250
+F 0 "Q4" H 3550 2300 50 0000 R CNN
+F 1 "eSim_PNP" H 3600 2400 50 0000 R CNN
+F 2 "" H 3850 2350 29 0000 C CNN
+F 3 "" H 3650 2250 60 0000 C CNN
+ 1 3650 2250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 6834A678
+P 2250 1550
+F 0 "D1" H 2250 1650 50 0000 C CNN
+F 1 "eSim_Diode" H 2250 1450 50 0000 C CNN
+F 2 "" H 2250 1550 60 0000 C CNN
+F 3 "" H 2250 1550 60 0000 C CNN
+ 1 2250 1550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 6834ACA4
+P 6900 2250
+F 0 "D2" H 6900 2350 50 0000 C CNN
+F 1 "eSim_Diode" H 6900 2150 50 0000 C CNN
+F 2 "" H 6900 2250 60 0000 C CNN
+F 3 "" H 6900 2250 60 0000 C CNN
+ 1 6900 2250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L GND #PWR1
+U 1 1 6834B2F0
+P 4800 3700
+F 0 "#PWR1" H 4800 3450 50 0001 C CNN
+F 1 "GND" H 4800 3550 50 0000 C CNN
+F 2 "" H 4800 3700 50 0001 C CNN
+F 3 "" H 4800 3700 50 0001 C CNN
+ 1 4800 3700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3500 2700 3350 2700
+Connection ~ 3500 3600
+Wire Wire Line
+ 4550 600 4550 1000
+Connection ~ 6300 900
+Connection ~ 2750 3600
+Wire Wire Line
+ 2750 3700 2750 3600
+Wire Wire Line
+ 1250 2700 1950 2700
+Connection ~ 4800 3600
+Wire Wire Line
+ 4800 3700 4800 3600
+Connection ~ 4550 1000
+Connection ~ 3050 1000
+Wire Wire Line
+ 2250 1400 2250 1000
+Wire Wire Line
+ 6100 850 6300 850
+Wire Wire Line
+ 6300 850 6300 2100
+Connection ~ 5800 2300
+Wire Wire Line
+ 6000 2300 5800 2300
+Connection ~ 5000 2600
+Wire Wire Line
+ 5500 2600 5000 2600
+Connection ~ 4100 2900
+Wire Wire Line
+ 4700 2900 4100 2900
+Wire Wire Line
+ 6900 1000 6900 2100
+Connection ~ 6300 3600
+Wire Wire Line
+ 6900 3600 6900 2400
+Connection ~ 4100 1000
+Connection ~ 5000 1000
+Connection ~ 5800 1000
+Connection ~ 5800 3600
+Wire Wire Line
+ 6300 3600 6300 2500
+Connection ~ 5000 3600
+Wire Wire Line
+ 5800 3600 5800 2800
+Connection ~ 4100 3600
+Wire Wire Line
+ 5000 3600 5000 3100
+Connection ~ 2650 2900
+Wire Wire Line
+ 2650 3600 6900 3600
+Wire Wire Line
+ 4100 3400 4100 3600
+Wire Wire Line
+ 3750 3200 3800 3200
+Wire Wire Line
+ 3750 2950 3750 3200
+Wire Wire Line
+ 3750 2450 3750 2650
+Connection ~ 3050 2250
+Wire Wire Line
+ 3450 2250 3050 2250
+Connection ~ 3750 1000
+Wire Wire Line
+ 3750 1000 3750 2050
+Wire Wire Line
+ 2250 1000 6900 1000
+Wire Wire Line
+ 3050 1650 3050 1000
+Wire Wire Line
+ 2250 2900 3050 2900
+Connection ~ 2250 1850
+Wire Wire Line
+ 2250 1700 2250 2500
+Wire Wire Line
+ 2750 1850 2250 1850
+Wire Wire Line
+ 3050 2050 3050 2500
+Connection ~ 3500 2700
+$Comp
+L resistor R1
+U 1 1 6834A7C4
+P 3700 2750
+F 0 "R1" H 3750 2880 50 0000 C CNN
+F 1 "1k" H 3750 2700 50 0000 C CNN
+F 2 "" H 3750 2730 30 0000 C CNN
+F 3 "" V 3750 2800 30 0000 C CNN
+ 1 3700 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L dc I2
+U 1 1 68357948
+P 4100 2000
+F 0 "I2" H 3900 2100 60 0000 C CNN
+F 1 "dc" H 3900 1950 60 0000 C CNN
+F 2 "R1" H 3800 2000 60 0000 C CNN
+F 3 "" H 4100 2000 60 0000 C CNN
+ 1 4100 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 683579A0
+P 5000 1750
+F 0 "I3" H 4800 1850 60 0000 C CNN
+F 1 "dc" H 4800 1700 60 0000 C CNN
+F 2 "R1" H 4700 1750 60 0000 C CNN
+F 3 "" H 5000 1750 60 0000 C CNN
+ 1 5000 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 683579F3
+P 5800 1600
+F 0 "I4" H 5600 1700 60 0000 C CNN
+F 1 "dc" H 5600 1550 60 0000 C CNN
+F 2 "R1" H 5500 1600 60 0000 C CNN
+F 3 "" H 5800 1600 60 0000 C CNN
+ 1 5800 1600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4100 2450 4100 3000
+Wire Wire Line
+ 4100 1550 4100 1000
+Wire Wire Line
+ 5000 1300 5000 1000
+Wire Wire Line
+ 5000 2200 5000 2700
+Wire Wire Line
+ 5800 2050 5800 2400
+Wire Wire Line
+ 5800 1150 5800 1000
+$Comp
+L dc I1
+U 1 1 683580CE
+P 2450 3500
+F 0 "I1" H 2250 3600 60 0000 C CNN
+F 1 "dc" H 2250 3450 60 0000 C CNN
+F 2 "R1" H 2150 3500 60 0000 C CNN
+F 3 "" H 2450 3500 60 0000 C CNN
+ 1 2450 3500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2450 3050 2650 3050
+Wire Wire Line
+ 2650 3050 2650 2900
+Wire Wire Line
+ 2450 3950 2950 3950
+Wire Wire Line
+ 2950 3950 2950 3600
+Connection ~ 2950 3600
+Wire Wire Line
+ 3500 3150 3500 2700
+Wire Wire Line
+ 1000 3150 3500 3150
+$Comp
+L PORT U1
+U 1 1 68375464
+P 1000 2700
+F 0 "U1" H 1050 2800 30 0000 C CNN
+F 1 "PORT" H 1000 2700 30 0000 C CNN
+F 2 "" H 1000 2700 60 0000 C CNN
+F 3 "" H 1000 2700 60 0000 C CNN
+ 1 1000 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 683754B9
+P 750 3150
+F 0 "U1" H 800 3250 30 0000 C CNN
+F 1 "PORT" H 750 3150 30 0000 C CNN
+F 2 "" H 750 3150 60 0000 C CNN
+F 3 "" H 750 3150 60 0000 C CNN
+ 2 750 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 683755BF
+P 5850 850
+F 0 "U1" H 5900 950 30 0000 C CNN
+F 1 "PORT" H 5850 850 30 0000 C CNN
+F 2 "" H 5850 850 60 0000 C CNN
+F 3 "" H 5850 850 60 0000 C CNN
+ 3 5850 850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 683756D7
+P 4150 600
+F 0 "U1" H 4200 700 30 0000 C CNN
+F 1 "PORT" H 4150 600 30 0000 C CNN
+F 2 "" H 4150 600 60 0000 C CNN
+F 3 "" H 4150 600 60 0000 C CNN
+ 4 4150 600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR4
+U 1 1 6837577B
+P 9650 2400
+F 0 "#PWR4" H 9650 2150 50 0001 C CNN
+F 1 "eSim_GND" H 9650 2250 50 0000 C CNN
+F 2 "" H 9650 2400 50 0001 C CNN
+F 3 "" H 9650 2400 50 0001 C CNN
+ 1 9650 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68375781
+P 9300 2250
+F 0 "U1" H 9350 2350 30 0000 C CNN
+F 1 "PORT" H 9300 2250 30 0000 C CNN
+F 2 "" H 9300 2250 60 0000 C CNN
+F 3 "" H 9300 2250 60 0000 C CNN
+ 5 9300 2250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9550 2250 9650 2250
+Wire Wire Line
+ 9650 2250 9650 2400
+Wire Wire Line
+ 4400 600 4550 600
+$Comp
+L eSim_GND #PWR3
+U 1 1 683768B6
+P 9250 3150
+F 0 "#PWR3" H 9250 2900 50 0001 C CNN
+F 1 "eSim_GND" H 9250 3000 50 0000 C CNN
+F 2 "" H 9250 3150 50 0001 C CNN
+F 3 "" H 9250 3150 50 0001 C CNN
+ 1 9250 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 683768BC
+P 8900 3000
+F 0 "U1" H 8950 3100 30 0000 C CNN
+F 1 "PORT" H 8900 3000 30 0000 C CNN
+F 2 "" H 8900 3000 60 0000 C CNN
+F 3 "" H 8900 3000 60 0000 C CNN
+ 7 8900 3000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9150 3000 9250 3000
+Wire Wire Line
+ 9250 3000 9250 3150
+$Comp
+L eSim_GND #PWR5
+U 1 1 683768F1
+P 10050 3900
+F 0 "#PWR5" H 10050 3650 50 0001 C CNN
+F 1 "eSim_GND" H 10050 3750 50 0000 C CNN
+F 2 "" H 10050 3900 50 0001 C CNN
+F 3 "" H 10050 3900 50 0001 C CNN
+ 1 10050 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 683768F7
+P 9700 3750
+F 0 "U1" H 9750 3850 30 0000 C CNN
+F 1 "PORT" H 9700 3750 30 0000 C CNN
+F 2 "" H 9700 3750 60 0000 C CNN
+F 3 "" H 9700 3750 60 0000 C CNN
+ 8 9700 3750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9950 3750 10050 3750
+Wire Wire Line
+ 10050 3750 10050 3900
+$Comp
+L eSim_GND #PWR2
+U 1 1 68376931
+P 8750 4000
+F 0 "#PWR2" H 8750 3750 50 0001 C CNN
+F 1 "eSim_GND" H 8750 3850 50 0000 C CNN
+F 2 "" H 8750 4000 50 0001 C CNN
+F 3 "" H 8750 4000 50 0001 C CNN
+ 1 8750 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68376937
+P 8400 3850
+F 0 "U1" H 8450 3950 30 0000 C CNN
+F 1 "PORT" H 8400 3850 30 0000 C CNN
+F 2 "" H 8400 3850 60 0000 C CNN
+F 3 "" H 8400 3850 60 0000 C CNN
+ 6 8400 3850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8650 3850 8750 3850
+Wire Wire Line
+ 8750 3850 8750 4000
+$Comp
+L M51206 X?
+U 1 1 686545F2
+P -1650 3850
+F 0 "X?" H -1650 4100 60 0000 C CNN
+F 1 "M51206" H -1700 3600 60 0000 C CNN
+F 2 "" H -1650 3850 60 0001 C CNN
+F 3 "" H -1650 3850 60 0001 C CNN
+ 1 -1650 3850
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir
new file mode 100644
index 000000000..2a78930ba
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir
@@ -0,0 +1,26 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M51206_Subcircuit\M51206_Subcircuit.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/28/25 23:29:17
+
+* 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: /
+Q5 Net-_I2-Pad2_ Net-_Q5-Pad2_ GND eSim_NPN
+Q6 Net-_I3-Pad2_ Net-_I2-Pad2_ GND eSim_NPN
+Q7 Net-_I4-Pad2_ Net-_I3-Pad2_ GND eSim_NPN
+Q8 Net-_Q8-Pad1_ Net-_I4-Pad2_ GND eSim_NPN
+Q1 Net-_D1-Pad2_ Net-_Q1-Pad2_ Net-_I1-Pad1_ eSim_NPN
+Q3 Net-_Q2-Pad1_ Net-_Q3-Pad2_ Net-_I1-Pad1_ eSim_NPN
+Q2 Net-_Q2-Pad1_ Net-_D1-Pad2_ Net-_D1-Pad1_ eSim_PNP
+Q4 Net-_Q4-Pad1_ Net-_Q2-Pad1_ Net-_D1-Pad1_ eSim_PNP
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 GND Net-_D1-Pad1_ eSim_Diode
+R1 Net-_Q4-Pad1_ Net-_Q5-Pad2_ 1k
+I2 Net-_D1-Pad1_ Net-_I2-Pad2_ dc
+I3 Net-_D1-Pad1_ Net-_I3-Pad2_ dc
+I4 Net-_D1-Pad1_ Net-_I4-Pad2_ dc
+I1 Net-_I1-Pad1_ GND dc
+U1 Net-_Q1-Pad2_ Net-_Q3-Pad2_ Net-_Q8-Pad1_ Net-_D1-Pad1_ GND GND GND GND PORT
+
+.end
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir.out b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir.out
new file mode 100644
index 000000000..1124134b2
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.cir.out
@@ -0,0 +1,31 @@
+* c:\fossee\esim\library\subcircuitlibrary\m51206_subcircuit\m51206_subcircuit.cir
+
+.include D.lib
+.include PNP.lib
+.include NPN.lib
+.include ZenerD1N750.lib
+q5 net-_i2-pad2_ net-_q5-pad2_ gnd Q2N2222
+q6 net-_i3-pad2_ net-_i2-pad2_ gnd Q2N2222
+q7 net-_i4-pad2_ net-_i3-pad2_ gnd Q2N2222
+q8 net-_q8-pad1_ net-_i4-pad2_ gnd Q2N2222
+q1 net-_d1-pad2_ net-_q1-pad2_ net-_i1-pad1_ Q2N2222
+q3 net-_q2-pad1_ net-_q3-pad2_ net-_i1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_d1-pad1_ Q2N2907A
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 gnd net-_d1-pad1_ D1N750
+r1 net-_q4-pad1_ net-_q5-pad2_ 1k
+i2 net-_d1-pad1_ net-_i2-pad2_ dc 80u
+i3 net-_d1-pad1_ net-_i3-pad2_ dc 80u
+i4 net-_d1-pad1_ net-_i4-pad2_ dc 80u
+i1 net-_i1-pad1_ gnd dc 80u
+* u1 net-_q1-pad2_ net-_q3-pad2_ net-_q8-pad1_ net-_d1-pad1_ gnd gnd gnd gnd port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.pro b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.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/M51206_Subcircuit/M51206_Subcircuit.sch b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.sch
new file mode 100644
index 000000000..53b3872ff
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.sch
@@ -0,0 +1,487 @@
+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:M51206_Subcircuit-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_NPN Q5
+U 1 1 6834A43B
+P 4000 3200
+F 0 "Q5" H 3900 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 3950 3350 50 0000 R CNN
+F 2 "" H 4200 3300 29 0000 C CNN
+F 3 "" H 4000 3200 60 0000 C CNN
+ 1 4000 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 6834A47E
+P 4900 2900
+F 0 "Q6" H 4800 2950 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 3050 50 0000 R CNN
+F 2 "" H 5100 3000 29 0000 C CNN
+F 3 "" H 4900 2900 60 0000 C CNN
+ 1 4900 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 6834A4A2
+P 5700 2600
+F 0 "Q7" H 5600 2650 50 0000 R CNN
+F 1 "eSim_NPN" H 5650 2750 50 0000 R CNN
+F 2 "" H 5900 2700 29 0000 C CNN
+F 3 "" H 5700 2600 60 0000 C CNN
+ 1 5700 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 6834A4BF
+P 6200 2300
+F 0 "Q8" H 6100 2350 50 0000 R CNN
+F 1 "eSim_NPN" H 6150 2450 50 0000 R CNN
+F 2 "" H 6400 2400 29 0000 C CNN
+F 3 "" H 6200 2300 60 0000 C CNN
+ 1 6200 2300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6834A509
+P 2150 2700
+F 0 "Q1" H 2050 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 2100 2850 50 0000 R CNN
+F 2 "" H 2350 2800 29 0000 C CNN
+F 3 "" H 2150 2700 60 0000 C CNN
+ 1 2150 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 6834A536
+P 3150 2700
+F 0 "Q3" H 3050 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 3100 2850 50 0000 R CNN
+F 2 "" H 3350 2800 29 0000 C CNN
+F 3 "" H 3150 2700 60 0000 C CNN
+ 1 3150 2700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 6834A56D
+P 2950 1850
+F 0 "Q2" H 2850 1900 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 2000 50 0000 R CNN
+F 2 "" H 3150 1950 29 0000 C CNN
+F 3 "" H 2950 1850 60 0000 C CNN
+ 1 2950 1850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q4
+U 1 1 6834A597
+P 3650 2250
+F 0 "Q4" H 3550 2300 50 0000 R CNN
+F 1 "eSim_PNP" H 3600 2400 50 0000 R CNN
+F 2 "" H 3850 2350 29 0000 C CNN
+F 3 "" H 3650 2250 60 0000 C CNN
+ 1 3650 2250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 6834A678
+P 2250 1550
+F 0 "D1" H 2250 1650 50 0000 C CNN
+F 1 "eSim_Diode" H 2250 1450 50 0000 C CNN
+F 2 "" H 2250 1550 60 0000 C CNN
+F 3 "" H 2250 1550 60 0000 C CNN
+ 1 2250 1550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 6834ACA4
+P 6900 2250
+F 0 "D2" H 6900 2350 50 0000 C CNN
+F 1 "eSim_Diode" H 6900 2150 50 0000 C CNN
+F 2 "" H 6900 2250 60 0000 C CNN
+F 3 "" H 6900 2250 60 0000 C CNN
+ 1 6900 2250
+ 0 -1 -1 0
+$EndComp
+$Comp
+L GND #PWR1
+U 1 1 6834B2F0
+P 4800 3700
+F 0 "#PWR1" H 4800 3450 50 0001 C CNN
+F 1 "GND" H 4800 3550 50 0000 C CNN
+F 2 "" H 4800 3700 50 0001 C CNN
+F 3 "" H 4800 3700 50 0001 C CNN
+ 1 4800 3700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3500 2700 3350 2700
+Connection ~ 3500 3600
+Wire Wire Line
+ 4550 600 4550 1000
+Connection ~ 6300 900
+Connection ~ 2750 3600
+Wire Wire Line
+ 2750 3700 2750 3600
+Wire Wire Line
+ 1250 2700 1950 2700
+Connection ~ 4800 3600
+Wire Wire Line
+ 4800 3700 4800 3600
+Connection ~ 4550 1000
+Connection ~ 3050 1000
+Wire Wire Line
+ 2250 1400 2250 1000
+Wire Wire Line
+ 6100 850 6300 850
+Wire Wire Line
+ 6300 850 6300 2100
+Connection ~ 5800 2300
+Wire Wire Line
+ 6000 2300 5800 2300
+Connection ~ 5000 2600
+Wire Wire Line
+ 5500 2600 5000 2600
+Connection ~ 4100 2900
+Wire Wire Line
+ 4700 2900 4100 2900
+Wire Wire Line
+ 6900 1000 6900 2100
+Connection ~ 6300 3600
+Wire Wire Line
+ 6900 3600 6900 2400
+Connection ~ 4100 1000
+Connection ~ 5000 1000
+Connection ~ 5800 1000
+Connection ~ 5800 3600
+Wire Wire Line
+ 6300 3600 6300 2500
+Connection ~ 5000 3600
+Wire Wire Line
+ 5800 3600 5800 2800
+Connection ~ 4100 3600
+Wire Wire Line
+ 5000 3600 5000 3100
+Connection ~ 2650 2900
+Wire Wire Line
+ 2650 3600 6900 3600
+Wire Wire Line
+ 4100 3400 4100 3600
+Wire Wire Line
+ 3750 3200 3800 3200
+Wire Wire Line
+ 3750 2950 3750 3200
+Wire Wire Line
+ 3750 2450 3750 2650
+Connection ~ 3050 2250
+Wire Wire Line
+ 3450 2250 3050 2250
+Connection ~ 3750 1000
+Wire Wire Line
+ 3750 1000 3750 2050
+Wire Wire Line
+ 2250 1000 6900 1000
+Wire Wire Line
+ 3050 1650 3050 1000
+Wire Wire Line
+ 2250 2900 3050 2900
+Connection ~ 2250 1850
+Wire Wire Line
+ 2250 1700 2250 2500
+Wire Wire Line
+ 2750 1850 2250 1850
+Wire Wire Line
+ 3050 2050 3050 2500
+Connection ~ 3500 2700
+$Comp
+L resistor R1
+U 1 1 6834A7C4
+P 3700 2750
+F 0 "R1" H 3750 2880 50 0000 C CNN
+F 1 "1k" H 3750 2700 50 0000 C CNN
+F 2 "" H 3750 2730 30 0000 C CNN
+F 3 "" V 3750 2800 30 0000 C CNN
+ 1 3700 2750
+ 0 1 1 0
+$EndComp
+$Comp
+L dc I2
+U 1 1 68357948
+P 4100 2000
+F 0 "I2" H 3900 2100 60 0000 C CNN
+F 1 "dc" H 3900 1950 60 0000 C CNN
+F 2 "R1" H 3800 2000 60 0000 C CNN
+F 3 "" H 4100 2000 60 0000 C CNN
+ 1 4100 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 683579A0
+P 5000 1750
+F 0 "I3" H 4800 1850 60 0000 C CNN
+F 1 "dc" H 4800 1700 60 0000 C CNN
+F 2 "R1" H 4700 1750 60 0000 C CNN
+F 3 "" H 5000 1750 60 0000 C CNN
+ 1 5000 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 683579F3
+P 5800 1600
+F 0 "I4" H 5600 1700 60 0000 C CNN
+F 1 "dc" H 5600 1550 60 0000 C CNN
+F 2 "R1" H 5500 1600 60 0000 C CNN
+F 3 "" H 5800 1600 60 0000 C CNN
+ 1 5800 1600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4100 2450 4100 3000
+Wire Wire Line
+ 4100 1550 4100 1000
+Wire Wire Line
+ 5000 1300 5000 1000
+Wire Wire Line
+ 5000 2200 5000 2700
+Wire Wire Line
+ 5800 2050 5800 2400
+Wire Wire Line
+ 5800 1150 5800 1000
+$Comp
+L dc I1
+U 1 1 683580CE
+P 2450 3500
+F 0 "I1" H 2250 3600 60 0000 C CNN
+F 1 "dc" H 2250 3450 60 0000 C CNN
+F 2 "R1" H 2150 3500 60 0000 C CNN
+F 3 "" H 2450 3500 60 0000 C CNN
+ 1 2450 3500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2450 3050 2650 3050
+Wire Wire Line
+ 2650 3050 2650 2900
+Wire Wire Line
+ 2450 3950 2950 3950
+Wire Wire Line
+ 2950 3950 2950 3600
+Connection ~ 2950 3600
+Wire Wire Line
+ 3500 3150 3500 2700
+Wire Wire Line
+ 1000 3150 3500 3150
+$Comp
+L PORT U1
+U 1 1 68375464
+P 1000 2700
+F 0 "U1" H 1050 2800 30 0000 C CNN
+F 1 "PORT" H 1000 2700 30 0000 C CNN
+F 2 "" H 1000 2700 60 0000 C CNN
+F 3 "" H 1000 2700 60 0000 C CNN
+ 1 1000 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 683754B9
+P 750 3150
+F 0 "U1" H 800 3250 30 0000 C CNN
+F 1 "PORT" H 750 3150 30 0000 C CNN
+F 2 "" H 750 3150 60 0000 C CNN
+F 3 "" H 750 3150 60 0000 C CNN
+ 2 750 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 683755BF
+P 5850 850
+F 0 "U1" H 5900 950 30 0000 C CNN
+F 1 "PORT" H 5850 850 30 0000 C CNN
+F 2 "" H 5850 850 60 0000 C CNN
+F 3 "" H 5850 850 60 0000 C CNN
+ 3 5850 850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 683756D7
+P 4150 600
+F 0 "U1" H 4200 700 30 0000 C CNN
+F 1 "PORT" H 4150 600 30 0000 C CNN
+F 2 "" H 4150 600 60 0000 C CNN
+F 3 "" H 4150 600 60 0000 C CNN
+ 4 4150 600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR4
+U 1 1 6837577B
+P 9650 2400
+F 0 "#PWR4" H 9650 2150 50 0001 C CNN
+F 1 "eSim_GND" H 9650 2250 50 0000 C CNN
+F 2 "" H 9650 2400 50 0001 C CNN
+F 3 "" H 9650 2400 50 0001 C CNN
+ 1 9650 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68375781
+P 9300 2250
+F 0 "U1" H 9350 2350 30 0000 C CNN
+F 1 "PORT" H 9300 2250 30 0000 C CNN
+F 2 "" H 9300 2250 60 0000 C CNN
+F 3 "" H 9300 2250 60 0000 C CNN
+ 5 9300 2250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9550 2250 9650 2250
+Wire Wire Line
+ 9650 2250 9650 2400
+Wire Wire Line
+ 4400 600 4550 600
+$Comp
+L eSim_GND #PWR3
+U 1 1 683768B6
+P 9250 3150
+F 0 "#PWR3" H 9250 2900 50 0001 C CNN
+F 1 "eSim_GND" H 9250 3000 50 0000 C CNN
+F 2 "" H 9250 3150 50 0001 C CNN
+F 3 "" H 9250 3150 50 0001 C CNN
+ 1 9250 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 683768BC
+P 8900 3000
+F 0 "U1" H 8950 3100 30 0000 C CNN
+F 1 "PORT" H 8900 3000 30 0000 C CNN
+F 2 "" H 8900 3000 60 0000 C CNN
+F 3 "" H 8900 3000 60 0000 C CNN
+ 7 8900 3000
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9150 3000 9250 3000
+Wire Wire Line
+ 9250 3000 9250 3150
+$Comp
+L eSim_GND #PWR5
+U 1 1 683768F1
+P 10050 3900
+F 0 "#PWR5" H 10050 3650 50 0001 C CNN
+F 1 "eSim_GND" H 10050 3750 50 0000 C CNN
+F 2 "" H 10050 3900 50 0001 C CNN
+F 3 "" H 10050 3900 50 0001 C CNN
+ 1 10050 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 683768F7
+P 9700 3750
+F 0 "U1" H 9750 3850 30 0000 C CNN
+F 1 "PORT" H 9700 3750 30 0000 C CNN
+F 2 "" H 9700 3750 60 0000 C CNN
+F 3 "" H 9700 3750 60 0000 C CNN
+ 8 9700 3750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9950 3750 10050 3750
+Wire Wire Line
+ 10050 3750 10050 3900
+$Comp
+L eSim_GND #PWR2
+U 1 1 68376931
+P 8750 4000
+F 0 "#PWR2" H 8750 3750 50 0001 C CNN
+F 1 "eSim_GND" H 8750 3850 50 0000 C CNN
+F 2 "" H 8750 4000 50 0001 C CNN
+F 3 "" H 8750 4000 50 0001 C CNN
+ 1 8750 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68376937
+P 8400 3850
+F 0 "U1" H 8450 3950 30 0000 C CNN
+F 1 "PORT" H 8400 3850 30 0000 C CNN
+F 2 "" H 8400 3850 60 0000 C CNN
+F 3 "" H 8400 3850 60 0000 C CNN
+ 6 8400 3850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8650 3850 8750 3850
+Wire Wire Line
+ 8750 3850 8750 4000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.sub b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.sub
new file mode 100644
index 000000000..a01409932
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit.sub
@@ -0,0 +1,25 @@
+* Subcircuit M51206_Subcircuit
+.subckt M51206_Subcircuit net-_q1-pad2_ net-_q3-pad2_ net-_q8-pad1_ net-_d1-pad1_ gnd gnd gnd gnd
+* c:\fossee\esim\library\subcircuitlibrary\m51206_subcircuit\m51206_subcircuit.cir
+.include D.lib
+.include PNP.lib
+.include NPN.lib
+.include ZenerD1N750.lib
+q5 net-_i2-pad2_ net-_q5-pad2_ gnd Q2N2222
+q6 net-_i3-pad2_ net-_i2-pad2_ gnd Q2N2222
+q7 net-_i4-pad2_ net-_i3-pad2_ gnd Q2N2222
+q8 net-_q8-pad1_ net-_i4-pad2_ gnd Q2N2222
+q1 net-_d1-pad2_ net-_q1-pad2_ net-_i1-pad1_ Q2N2222
+q3 net-_q2-pad1_ net-_q3-pad2_ net-_i1-pad1_ Q2N2222
+q2 net-_q2-pad1_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_d1-pad1_ Q2N2907A
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 gnd net-_d1-pad1_ D1N750
+r1 net-_q4-pad1_ net-_q5-pad2_ 1k
+i2 net-_d1-pad1_ net-_i2-pad2_ dc 80u
+i3 net-_d1-pad1_ net-_i3-pad2_ dc 80u
+i4 net-_d1-pad1_ net-_i4-pad2_ dc 80u
+i1 net-_i1-pad1_ gnd dc 80u
+* Control Statements
+
+.ends M51206_Subcircuit
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit_Previous_Values.xml b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit_Previous_Values.xml
new file mode 100644
index 000000000..b521f3883
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/M51206_Subcircuit_Previous_Values.xml
@@ -0,0 +1 @@
+dc80udc80udc80udc80uC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\ZenerD1N750.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/NPN.lib b/library/SubcircuitLibrary/M51206_Subcircuit/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/PNP.lib b/library/SubcircuitLibrary/M51206_Subcircuit/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/ZenerD1N750.lib b/library/SubcircuitLibrary/M51206_Subcircuit/ZenerD1N750.lib
new file mode 100644
index 000000000..890c37fe2
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/ZenerD1N750.lib
@@ -0,0 +1,3 @@
+.model D1N750 D( Is=880.5E-18 Rs=.25 Ikf=0 N=1 Xti=3 Eg=1.11 Cjo=175p M=.5516
++ Vj=.75 Fc=.5 Isr=1.859n Nr=2 Bv=8.1 Ibv=20.245m Nbv=1.6989 Ibvl=1.9556m
++ Nbvl=14.976 Tbv1=-21.277u)
diff --git a/library/SubcircuitLibrary/M51206_Subcircuit/analysis b/library/SubcircuitLibrary/M51206_Subcircuit/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/M51206_Subcircuit/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My-cache.lib b/library/SubcircuitLibrary/M5223_final/M5223_My-cache.lib
new file mode 100644
index 000000000..a09b23c47
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My-cache.lib
@@ -0,0 +1,155 @@
+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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS capacitor
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My.bak b/library/SubcircuitLibrary/M5223_final/M5223_My.bak
new file mode 100644
index 000000000..e81e283d8
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.bak
@@ -0,0 +1,423 @@
+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:M5223_My-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_NPN Q4
+U 1 1 683DAB4D
+P 4500 4850
+F 0 "Q4" H 4400 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 5000 50 0000 R CNN
+F 2 "" H 4700 4950 29 0000 C CNN
+F 3 "" H 4500 4850 60 0000 C CNN
+ 1 4500 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 683DABA1
+P 3550 2850
+F 0 "Q2" H 3450 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 3500 3000 50 0000 R CNN
+F 2 "" H 3750 2950 29 0000 C CNN
+F 3 "" H 3550 2850 60 0000 C CNN
+ 1 3550 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 683DABE1
+P 3100 3300
+F 0 "Q1" H 3000 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 3050 3450 50 0000 R CNN
+F 2 "" H 3300 3400 29 0000 C CNN
+F 3 "" H 3100 3300 60 0000 C CNN
+ 1 3100 3300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 683DABFE
+P 4650 2850
+F 0 "Q5" H 4550 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 3000 50 0000 R CNN
+F 2 "" H 4850 2950 29 0000 C CNN
+F 3 "" H 4650 2850 60 0000 C CNN
+ 1 4650 2850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 683DAC31
+P 5050 3300
+F 0 "Q6" H 4950 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 5000 3450 50 0000 R CNN
+F 2 "" H 5250 3400 29 0000 C CNN
+F 3 "" H 5050 3300 60 0000 C CNN
+ 1 5050 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 683DACF6
+P 3800 4850
+F 0 "Q3" H 3700 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5000 50 0000 R CNN
+F 2 "" H 4000 4950 29 0000 C CNN
+F 3 "" H 3800 4850 60 0000 C CNN
+ 1 3800 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR01
+U 1 1 683DAE76
+P 3200 3600
+F 0 "#PWR01" H 3200 3350 50 0001 C CNN
+F 1 "eSim_GND" H 3200 3450 50 0000 C CNN
+F 2 "" H 3200 3600 50 0001 C CNN
+F 3 "" H 3200 3600 50 0001 C CNN
+ 1 3200 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 683DAE9A
+P 4950 3600
+F 0 "#PWR02" H 4950 3350 50 0001 C CNN
+F 1 "eSim_GND" H 4950 3450 50 0000 C CNN
+F 2 "" H 4950 3600 50 0001 C CNN
+F 3 "" H 4950 3600 50 0001 C CNN
+ 1 4950 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I1
+U 1 1 683DAF62
+P 4150 1950
+F 0 "I1" H 3950 2050 60 0000 C CNN
+F 1 "dc" H 3950 1900 60 0000 C CNN
+F 2 "R1" H 3850 1950 60 0000 C CNN
+F 3 "" H 4150 1950 60 0000 C CNN
+ 1 4150 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 683DB0D0
+P 7800 2700
+F 0 "Q11" H 7700 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 2850 50 0000 R CNN
+F 2 "" H 8000 2800 29 0000 C CNN
+F 3 "" H 7800 2700 60 0000 C CNN
+ 1 7800 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 683DB150
+P 8200 3000
+F 0 "Q12" H 8100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 3150 50 0000 R CNN
+F 2 "" H 8400 3100 29 0000 C CNN
+F 3 "" H 8200 3000 60 0000 C CNN
+ 1 8200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 683DB25B
+P 5450 4450
+F 0 "Q7" H 5350 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 5400 4600 50 0000 R CNN
+F 2 "" H 5650 4550 29 0000 C CNN
+F 3 "" H 5450 4450 60 0000 C CNN
+ 1 5450 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 683DB381
+P 6500 3850
+F 0 "Q8" H 6400 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 6450 4000 50 0000 R CNN
+F 2 "" H 6700 3950 29 0000 C CNN
+F 3 "" H 6500 3850 60 0000 C CNN
+ 1 6500 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 683DB3D6
+P 6950 4100
+F 0 "Q9" H 6850 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6900 4250 50 0000 R CNN
+F 2 "" H 7150 4200 29 0000 C CNN
+F 3 "" H 6950 4100 60 0000 C CNN
+ 1 6950 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 683DB4B0
+P 5550 2100
+F 0 "I2" H 5350 2200 60 0000 C CNN
+F 1 "dc" H 5350 2050 60 0000 C CNN
+F 2 "R1" H 5250 2100 60 0000 C CNN
+F 3 "" H 5550 2100 60 0000 C CNN
+ 1 5550 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 683DB798
+P 7000 2100
+F 0 "I3" H 6800 2200 60 0000 C CNN
+F 1 "dc" H 6800 2050 60 0000 C CNN
+F 2 "R1" H 6700 2100 60 0000 C CNN
+F 3 "" H 7000 2100 60 0000 C CNN
+ 1 7000 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 683DBB6B
+P 7750 3400
+F 0 "Q10" H 7650 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 3550 50 0000 R CNN
+F 2 "" H 7950 3500 29 0000 C CNN
+F 3 "" H 7750 3400 60 0000 C CNN
+ 1 7750 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 683DBD28
+P 7650 4400
+F 0 "I4" H 7450 4500 60 0000 C CNN
+F 1 "dc" H 7450 4350 60 0000 C CNN
+F 2 "R1" H 7350 4400 60 0000 C CNN
+F 3 "" H 7650 4400 60 0000 C CNN
+ 1 7650 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 683DBED0
+P 8200 3900
+F 0 "Q13" H 8100 3950 50 0000 R CNN
+F 1 "eSim_PNP" H 8150 4050 50 0000 R CNN
+F 2 "" H 8400 4000 29 0000 C CNN
+F 3 "" H 8200 3900 60 0000 C CNN
+ 1 8200 3900
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 683DBF22
+P 8400 3450
+F 0 "R3" H 8450 3580 50 0000 C CNN
+F 1 "500" H 8450 3400 50 0000 C CNN
+F 2 "" H 8450 3430 30 0000 C CNN
+F 3 "" V 8450 3500 30 0000 C CNN
+ 1 8400 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 683DB935
+P 5400 2900
+F 0 "C1" H 5425 3000 50 0000 L CNN
+F 1 "15p" H 5425 2800 50 0000 L CNN
+F 2 "" H 5438 2750 30 0000 C CNN
+F 3 "" H 5400 2900 60 0000 C CNN
+ 1 5400 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3650 3050 3650 4650
+Wire Wire Line
+ 3650 4650 3700 4650
+Wire Wire Line
+ 4550 3050 4550 4650
+Wire Wire Line
+ 4550 4650 4600 4650
+Wire Wire Line
+ 4000 4850 4300 4850
+Wire Wire Line
+ 4150 4850 4150 4350
+Wire Wire Line
+ 4150 4350 3650 4350
+Connection ~ 3650 4350
+Connection ~ 4150 4850
+Wire Wire Line
+ 3350 2850 3200 2850
+Wire Wire Line
+ 3200 2850 3200 3100
+Wire Wire Line
+ 4850 2850 4950 2850
+Wire Wire Line
+ 4950 2850 4950 3100
+Wire Wire Line
+ 3200 3500 3200 3600
+Wire Wire Line
+ 4950 3500 4950 3600
+Wire Wire Line
+ 3650 2650 4550 2650
+Wire Wire Line
+ 4150 2400 4150 2650
+Connection ~ 4150 2650
+Wire Wire Line
+ 1850 3300 2900 3300
+Wire Wire Line
+ 5250 3300 5250 4050
+Wire Wire Line
+ 7900 2900 7900 3000
+Wire Wire Line
+ 7900 3000 8000 3000
+Wire Wire Line
+ 8300 1500 8300 2800
+Wire Wire Line
+ 5250 4450 4550 4450
+Connection ~ 4550 4450
+Wire Wire Line
+ 3700 5050 8300 5050
+Wire Wire Line
+ 5550 5050 5550 4650
+Connection ~ 4600 5050
+Wire Wire Line
+ 5550 2550 5550 4250
+Wire Wire Line
+ 6300 3850 5550 3850
+Connection ~ 5550 3850
+Wire Wire Line
+ 6600 4050 6600 4100
+Wire Wire Line
+ 6600 4100 6750 4100
+Wire Wire Line
+ 7050 5050 7050 4300
+Connection ~ 5550 5050
+Wire Wire Line
+ 4150 1500 8300 1500
+Wire Wire Line
+ 5550 1500 5550 1650
+Connection ~ 8300 2500
+Connection ~ 5550 1500
+Wire Wire Line
+ 6600 1500 6600 3650
+Connection ~ 6600 1500
+Wire Wire Line
+ 7000 2550 7000 3900
+Wire Wire Line
+ 7000 3900 8000 3900
+Wire Wire Line
+ 7000 1650 7000 1500
+Connection ~ 7000 1500
+Wire Wire Line
+ 5400 3050 5400 4300
+Wire Wire Line
+ 5400 4300 5200 4300
+Wire Wire Line
+ 5200 4300 5200 4450
+Connection ~ 5200 4450
+Wire Wire Line
+ 5400 2750 7600 2750
+Wire Wire Line
+ 7600 2750 7600 2700
+Wire Wire Line
+ 8300 3200 8300 3400
+Wire Wire Line
+ 8300 3400 7950 3400
+Wire Wire Line
+ 7650 3200 7000 3200
+Connection ~ 7000 3200
+Wire Wire Line
+ 7650 3600 7650 3950
+Wire Wire Line
+ 7650 5050 7650 4850
+Connection ~ 7050 5050
+Wire Wire Line
+ 8300 3300 8450 3300
+Wire Wire Line
+ 8450 3300 8450 3350
+Connection ~ 8300 3300
+Wire Wire Line
+ 8450 3650 8450 3700
+Connection ~ 8450 3700
+Connection ~ 8300 3700
+Connection ~ 7650 3700
+Connection ~ 7050 3900
+Wire Wire Line
+ 8300 5050 8300 4100
+Connection ~ 7650 5050
+Wire Wire Line
+ 6300 5050 6300 5350
+Connection ~ 6300 5050
+Wire Wire Line
+ 8800 1050 7750 1050
+Wire Wire Line
+ 7750 1050 7750 1500
+Connection ~ 7750 1500
+Connection ~ 9100 3700
+Connection ~ 3200 3550
+Connection ~ 9200 3700
+Wire Wire Line
+ 2550 4050 5250 4050
+Wire Wire Line
+ 7650 3700 9500 3700
+Wire Wire Line
+ 7900 2500 7900 1500
+Connection ~ 7900 1500
+Connection ~ 7000 2750
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My.cir b/library/SubcircuitLibrary/M5223_final/M5223_My.cir
new file mode 100644
index 000000000..a8c00953b
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.cir
@@ -0,0 +1,30 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M5223_My\M5223_My.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/05/25 00:22:44
+
+* 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: /
+Q4 Net-_C1-Pad2_ Net-_Q2-Pad1_ Net-_I4-Pad2_ eSim_NPN
+Q2 Net-_Q2-Pad1_ Net-_Q1-Pad3_ Net-_I1-Pad2_ eSim_PNP
+Q1 GND Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q5 Net-_C1-Pad2_ Net-_Q5-Pad2_ Net-_I1-Pad2_ eSim_PNP
+Q6 GND Net-_Q6-Pad2_ Net-_Q5-Pad2_ eSim_PNP
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_I4-Pad2_ eSim_NPN
+I1 Net-_I1-Pad1_ Net-_I1-Pad2_ dc
+Q11 Net-_I1-Pad1_ Net-_C1-Pad1_ Net-_Q11-Pad3_ eSim_NPN
+Q12 Net-_I1-Pad1_ Net-_Q11-Pad3_ Net-_Q10-Pad2_ eSim_NPN
+Q7 Net-_I4-Pad2_ Net-_C1-Pad2_ Net-_I2-Pad2_ eSim_PNP
+Q8 Net-_I1-Pad1_ Net-_I2-Pad2_ Net-_Q8-Pad3_ eSim_NPN
+Q9 Net-_C1-Pad1_ Net-_Q8-Pad3_ Net-_I4-Pad2_ eSim_NPN
+I2 Net-_I1-Pad1_ Net-_I2-Pad2_ dc
+I3 Net-_I1-Pad1_ Net-_C1-Pad1_ dc
+Q10 Net-_C1-Pad1_ Net-_Q10-Pad2_ Net-_I4-Pad1_ eSim_NPN
+I4 Net-_I4-Pad1_ Net-_I4-Pad2_ dc
+Q13 Net-_I4-Pad2_ Net-_C1-Pad1_ Net-_I4-Pad1_ eSim_PNP
+R3 Net-_Q10-Pad2_ Net-_I4-Pad1_ 500
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 15p
+U1 Net-_Q1-Pad2_ Net-_Q6-Pad2_ Net-_I4-Pad2_ Net-_I1-Pad1_ Net-_I4-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My.cir.out b/library/SubcircuitLibrary/M5223_final/M5223_My.cir.out
new file mode 100644
index 000000000..7936c8224
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.cir.out
@@ -0,0 +1,33 @@
+* c:\fossee\esim\library\subcircuitlibrary\m5223_my\m5223_my.cir
+
+.include NPN.lib
+.include PNP.lib
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i4-pad2_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 gnd net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 gnd net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i4-pad2_ Q2N2222
+i1 net-_i1-pad1_ net-_i1-pad2_ dc 100m
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+q7 net-_i4-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_q8-pad3_ Q2N2222
+q9 net-_c1-pad1_ net-_q8-pad3_ net-_i4-pad2_ Q2N2222
+i2 net-_i1-pad1_ net-_i2-pad2_ dc 100m
+i3 net-_i1-pad1_ net-_c1-pad1_ dc 100m
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i4-pad1_ Q2N2222
+i4 net-_i4-pad1_ net-_i4-pad2_ dc 100m
+q13 net-_i4-pad2_ net-_c1-pad1_ net-_i4-pad1_ Q2N2907A
+r3 net-_q10-pad2_ net-_i4-pad1_ 500
+c1 net-_c1-pad1_ net-_c1-pad2_ 15p
+* u1 net-_q1-pad2_ net-_q6-pad2_ net-_i4-pad2_ net-_i1-pad1_ net-_i4-pad1_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My.pro b/library/SubcircuitLibrary/M5223_final/M5223_My.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.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/M5223_final/M5223_My.sch b/library/SubcircuitLibrary/M5223_final/M5223_My.sch
new file mode 100644
index 000000000..68e25c1a1
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.sch
@@ -0,0 +1,486 @@
+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:M5223_My-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_NPN Q4
+U 1 1 683DAB4D
+P 4500 4850
+F 0 "Q4" H 4400 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 5000 50 0000 R CNN
+F 2 "" H 4700 4950 29 0000 C CNN
+F 3 "" H 4500 4850 60 0000 C CNN
+ 1 4500 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 683DABA1
+P 3550 2850
+F 0 "Q2" H 3450 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 3500 3000 50 0000 R CNN
+F 2 "" H 3750 2950 29 0000 C CNN
+F 3 "" H 3550 2850 60 0000 C CNN
+ 1 3550 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 683DABE1
+P 3100 3300
+F 0 "Q1" H 3000 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 3050 3450 50 0000 R CNN
+F 2 "" H 3300 3400 29 0000 C CNN
+F 3 "" H 3100 3300 60 0000 C CNN
+ 1 3100 3300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 683DABFE
+P 4650 2850
+F 0 "Q5" H 4550 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 3000 50 0000 R CNN
+F 2 "" H 4850 2950 29 0000 C CNN
+F 3 "" H 4650 2850 60 0000 C CNN
+ 1 4650 2850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 683DAC31
+P 5050 3300
+F 0 "Q6" H 4950 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 5000 3450 50 0000 R CNN
+F 2 "" H 5250 3400 29 0000 C CNN
+F 3 "" H 5050 3300 60 0000 C CNN
+ 1 5050 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 683DACF6
+P 3800 4850
+F 0 "Q3" H 3700 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5000 50 0000 R CNN
+F 2 "" H 4000 4950 29 0000 C CNN
+F 3 "" H 3800 4850 60 0000 C CNN
+ 1 3800 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR01
+U 1 1 683DAE76
+P 3200 3600
+F 0 "#PWR01" H 3200 3350 50 0001 C CNN
+F 1 "eSim_GND" H 3200 3450 50 0000 C CNN
+F 2 "" H 3200 3600 50 0001 C CNN
+F 3 "" H 3200 3600 50 0001 C CNN
+ 1 3200 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 683DAE9A
+P 4950 3600
+F 0 "#PWR02" H 4950 3350 50 0001 C CNN
+F 1 "eSim_GND" H 4950 3450 50 0000 C CNN
+F 2 "" H 4950 3600 50 0001 C CNN
+F 3 "" H 4950 3600 50 0001 C CNN
+ 1 4950 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I1
+U 1 1 683DAF62
+P 4150 1950
+F 0 "I1" H 3950 2050 60 0000 C CNN
+F 1 "dc" H 3950 1900 60 0000 C CNN
+F 2 "R1" H 3850 1950 60 0000 C CNN
+F 3 "" H 4150 1950 60 0000 C CNN
+ 1 4150 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 683DB0D0
+P 7800 2700
+F 0 "Q11" H 7700 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 2850 50 0000 R CNN
+F 2 "" H 8000 2800 29 0000 C CNN
+F 3 "" H 7800 2700 60 0000 C CNN
+ 1 7800 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 683DB150
+P 8200 3000
+F 0 "Q12" H 8100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 3150 50 0000 R CNN
+F 2 "" H 8400 3100 29 0000 C CNN
+F 3 "" H 8200 3000 60 0000 C CNN
+ 1 8200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 683DB25B
+P 5450 4450
+F 0 "Q7" H 5350 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 5400 4600 50 0000 R CNN
+F 2 "" H 5650 4550 29 0000 C CNN
+F 3 "" H 5450 4450 60 0000 C CNN
+ 1 5450 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 683DB381
+P 6500 3850
+F 0 "Q8" H 6400 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 6450 4000 50 0000 R CNN
+F 2 "" H 6700 3950 29 0000 C CNN
+F 3 "" H 6500 3850 60 0000 C CNN
+ 1 6500 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 683DB3D6
+P 6950 4100
+F 0 "Q9" H 6850 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6900 4250 50 0000 R CNN
+F 2 "" H 7150 4200 29 0000 C CNN
+F 3 "" H 6950 4100 60 0000 C CNN
+ 1 6950 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 683DB4B0
+P 5550 2100
+F 0 "I2" H 5350 2200 60 0000 C CNN
+F 1 "dc" H 5350 2050 60 0000 C CNN
+F 2 "R1" H 5250 2100 60 0000 C CNN
+F 3 "" H 5550 2100 60 0000 C CNN
+ 1 5550 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 683DB798
+P 7000 2100
+F 0 "I3" H 6800 2200 60 0000 C CNN
+F 1 "dc" H 6800 2050 60 0000 C CNN
+F 2 "R1" H 6700 2100 60 0000 C CNN
+F 3 "" H 7000 2100 60 0000 C CNN
+ 1 7000 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 683DBB6B
+P 7750 3400
+F 0 "Q10" H 7650 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 3550 50 0000 R CNN
+F 2 "" H 7950 3500 29 0000 C CNN
+F 3 "" H 7750 3400 60 0000 C CNN
+ 1 7750 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 683DBD28
+P 7650 4400
+F 0 "I4" H 7450 4500 60 0000 C CNN
+F 1 "dc" H 7450 4350 60 0000 C CNN
+F 2 "R1" H 7350 4400 60 0000 C CNN
+F 3 "" H 7650 4400 60 0000 C CNN
+ 1 7650 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 683DBED0
+P 8200 3900
+F 0 "Q13" H 8100 3950 50 0000 R CNN
+F 1 "eSim_PNP" H 8150 4050 50 0000 R CNN
+F 2 "" H 8400 4000 29 0000 C CNN
+F 3 "" H 8200 3900 60 0000 C CNN
+ 1 8200 3900
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 683DBF22
+P 8400 3450
+F 0 "R3" H 8450 3580 50 0000 C CNN
+F 1 "500" H 8450 3400 50 0000 C CNN
+F 2 "" H 8450 3430 30 0000 C CNN
+F 3 "" V 8450 3500 30 0000 C CNN
+ 1 8400 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 683DB935
+P 5400 2900
+F 0 "C1" H 5425 3000 50 0000 L CNN
+F 1 "15p" H 5425 2800 50 0000 L CNN
+F 2 "" H 5438 2750 30 0000 C CNN
+F 3 "" H 5400 2900 60 0000 C CNN
+ 1 5400 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3650 3050 3650 4650
+Wire Wire Line
+ 3650 4650 3700 4650
+Wire Wire Line
+ 4550 3050 4550 4650
+Wire Wire Line
+ 4550 4650 4600 4650
+Wire Wire Line
+ 4000 4850 4300 4850
+Wire Wire Line
+ 4150 4850 4150 4350
+Wire Wire Line
+ 4150 4350 3650 4350
+Connection ~ 3650 4350
+Connection ~ 4150 4850
+Wire Wire Line
+ 3350 2850 3200 2850
+Wire Wire Line
+ 3200 2850 3200 3100
+Wire Wire Line
+ 4850 2850 4950 2850
+Wire Wire Line
+ 4950 2850 4950 3100
+Wire Wire Line
+ 3200 3500 3200 3600
+Wire Wire Line
+ 4950 3500 4950 3600
+Wire Wire Line
+ 3650 2650 4550 2650
+Wire Wire Line
+ 4150 2400 4150 2650
+Connection ~ 4150 2650
+Wire Wire Line
+ 1700 3300 2900 3300
+Wire Wire Line
+ 5250 4050 5250 3300
+Wire Wire Line
+ 7900 2900 7900 3000
+Wire Wire Line
+ 7900 3000 8000 3000
+Wire Wire Line
+ 8300 1500 8300 2800
+Wire Wire Line
+ 5250 4450 4550 4450
+Connection ~ 4550 4450
+Wire Wire Line
+ 3700 5050 8300 5050
+Wire Wire Line
+ 5550 5050 5550 4650
+Connection ~ 4600 5050
+Wire Wire Line
+ 5550 2550 5550 4250
+Wire Wire Line
+ 6300 3850 5550 3850
+Connection ~ 5550 3850
+Wire Wire Line
+ 6600 4050 6600 4100
+Wire Wire Line
+ 6600 4100 6750 4100
+Wire Wire Line
+ 7050 5050 7050 4300
+Connection ~ 5550 5050
+Wire Wire Line
+ 4150 1500 8300 1500
+Wire Wire Line
+ 5550 1500 5550 1650
+Connection ~ 8300 2500
+Connection ~ 5550 1500
+Wire Wire Line
+ 6600 1500 6600 3650
+Connection ~ 6600 1500
+Wire Wire Line
+ 7000 2550 7000 3900
+Wire Wire Line
+ 7000 3900 8000 3900
+Wire Wire Line
+ 7000 1650 7000 1500
+Connection ~ 7000 1500
+Wire Wire Line
+ 5400 3050 5400 4300
+Wire Wire Line
+ 5400 4300 5200 4300
+Wire Wire Line
+ 5200 4300 5200 4450
+Connection ~ 5200 4450
+Wire Wire Line
+ 5400 2750 7600 2750
+Wire Wire Line
+ 7600 2750 7600 2700
+Wire Wire Line
+ 8300 3200 8300 3400
+Wire Wire Line
+ 8300 3400 7950 3400
+Wire Wire Line
+ 7650 3200 7000 3200
+Connection ~ 7000 3200
+Wire Wire Line
+ 7650 3600 7650 3950
+Wire Wire Line
+ 7650 5050 7650 4850
+Connection ~ 7050 5050
+Wire Wire Line
+ 8300 3300 8450 3300
+Wire Wire Line
+ 8450 3300 8450 3350
+Connection ~ 8300 3300
+Wire Wire Line
+ 8450 3650 8450 3700
+Connection ~ 8450 3700
+Connection ~ 8300 3700
+Connection ~ 7650 3700
+Connection ~ 7050 3900
+Wire Wire Line
+ 8300 5050 8300 4100
+Connection ~ 7650 5050
+Wire Wire Line
+ 6300 5050 6300 5350
+Connection ~ 6300 5050
+Wire Wire Line
+ 8800 1050 7750 1050
+Wire Wire Line
+ 7750 1050 7750 1500
+Connection ~ 7750 1500
+Connection ~ 9100 3700
+Connection ~ 3200 3550
+Connection ~ 9200 3700
+Wire Wire Line
+ 2400 4050 5250 4050
+Wire Wire Line
+ 7650 3700 9500 3700
+Wire Wire Line
+ 7900 2500 7900 1500
+Connection ~ 7900 1500
+Connection ~ 7000 2750
+$Comp
+L PORT U?
+U 1 1 6840A0F8
+P 1450 3300
+F 0 "U?" H 1500 3400 30 0000 C CNN
+F 1 "PORT" H 1450 3300 30 0000 C CNN
+F 2 "" H 1450 3300 60 0000 C CNN
+F 3 "" H 1450 3300 60 0000 C CNN
+ 1 1450 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6840A1F1
+P 2150 4050
+F 0 "U?" H 2200 4150 30 0000 C CNN
+F 1 "PORT" H 2150 4050 30 0000 C CNN
+F 2 "" H 2150 4050 60 0000 C CNN
+F 3 "" H 2150 4050 60 0000 C CNN
+ 1 2150 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6840A266
+P 5950 5350
+F 0 "U?" H 6000 5450 30 0000 C CNN
+F 1 "PORT" H 5950 5350 30 0000 C CNN
+F 2 "" H 5950 5350 60 0000 C CNN
+F 3 "" H 5950 5350 60 0000 C CNN
+ 1 5950 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6840A3EC
+P 9250 3900
+F 0 "U?" H 9300 4000 30 0000 C CNN
+F 1 "PORT" H 9250 3900 30 0000 C CNN
+F 2 "" H 9250 3900 60 0000 C CNN
+F 3 "" H 9250 3900 60 0000 C CNN
+ 1 9250 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U?
+U 1 1 6840A51B
+P 8500 1250
+F 0 "U?" H 8550 1350 30 0000 C CNN
+F 1 "PORT" H 8500 1250 30 0000 C CNN
+F 2 "" H 8500 1250 60 0000 C CNN
+F 3 "" H 8500 1250 60 0000 C CNN
+ 1 8500 1250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6300 5350 6200 5350
+Wire Wire Line
+ 9500 3700 9500 3900
+Wire Wire Line
+ 8750 1250 8800 1250
+Wire Wire Line
+ 8800 1250 8800 1050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My.sub b/library/SubcircuitLibrary/M5223_final/M5223_My.sub
new file mode 100644
index 000000000..59101a1b3
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My.sub
@@ -0,0 +1,27 @@
+* Subcircuit M5223_My
+.subckt M5223_My net-_q1-pad2_ net-_q6-pad2_ net-_i4-pad2_ net-_i1-pad1_ net-_i4-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\m5223_my\m5223_my.cir
+.include NPN.lib
+.include PNP.lib
+q4 net-_c1-pad2_ net-_q2-pad1_ net-_i4-pad2_ Q2N2222
+q2 net-_q2-pad1_ net-_q1-pad3_ net-_i1-pad2_ Q2N2907A
+q1 gnd net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+q5 net-_c1-pad2_ net-_q5-pad2_ net-_i1-pad2_ Q2N2907A
+q6 gnd net-_q6-pad2_ net-_q5-pad2_ Q2N2907A
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_i4-pad2_ Q2N2222
+i1 net-_i1-pad1_ net-_i1-pad2_ dc 100m
+q11 net-_i1-pad1_ net-_c1-pad1_ net-_q11-pad3_ Q2N2222
+q12 net-_i1-pad1_ net-_q11-pad3_ net-_q10-pad2_ Q2N2222
+q7 net-_i4-pad2_ net-_c1-pad2_ net-_i2-pad2_ Q2N2907A
+q8 net-_i1-pad1_ net-_i2-pad2_ net-_q8-pad3_ Q2N2222
+q9 net-_c1-pad1_ net-_q8-pad3_ net-_i4-pad2_ Q2N2222
+i2 net-_i1-pad1_ net-_i2-pad2_ dc 100m
+i3 net-_i1-pad1_ net-_c1-pad1_ dc 100m
+q10 net-_c1-pad1_ net-_q10-pad2_ net-_i4-pad1_ Q2N2222
+i4 net-_i4-pad1_ net-_i4-pad2_ dc 100m
+q13 net-_i4-pad2_ net-_c1-pad1_ net-_i4-pad1_ Q2N2907A
+r3 net-_q10-pad2_ net-_i4-pad1_ 500
+c1 net-_c1-pad1_ net-_c1-pad2_ 15p
+* Control Statements
+
+.ends M5223_My
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_My_Previous_Values.xml b/library/SubcircuitLibrary/M5223_final/M5223_My_Previous_Values.xml
new file mode 100644
index 000000000..001b1ce56
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_My_Previous_Values.xml
@@ -0,0 +1 @@
+truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsecdc100mdc100mdc100mdc100mC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.lib
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final-cache.lib b/library/SubcircuitLibrary/M5223_final/M5223_final-cache.lib
new file mode 100644
index 000000000..a94f8ac12
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final-cache.lib
@@ -0,0 +1,61 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# M5223_half
+#
+DEF M5223_half X 0 40 Y Y 1 F N
+F0 "X" 0 150 60 H V C CNN
+F1 "M5223_half" 100 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -400 250 400 -150 0 1 0 N
+X IN(-) 1 -600 100 200 R 50 50 1 1 I
+X IN(+) 2 -600 200 200 R 50 50 1 1 I
+X V(-) 3 -600 0 200 R 50 50 1 1 I
+X V(+) 4 -600 -100 200 R 50 50 1 1 I
+X OUT 5 600 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final.bak b/library/SubcircuitLibrary/M5223_final/M5223_final.bak
new file mode 100644
index 000000000..134841814
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.bak
@@ -0,0 +1,200 @@
+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
+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 M5223_half X1
+U 1 1 6840975E
+P 3400 3450
+F 0 "X1" H 3400 3600 60 0000 C CNN
+F 1 "M5223_half" H 3500 3350 60 0000 C CNN
+F 2 "" H 3400 3450 60 0001 C CNN
+F 3 "" H 3400 3450 60 0001 C CNN
+ 1 3400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L M5223_half X2
+U 1 1 68409795
+P 3400 4450
+F 0 "X2" H 3400 4600 60 0000 C CNN
+F 1 "M5223_half" H 3500 4350 60 0000 C CNN
+F 2 "" H 3400 4450 60 0001 C CNN
+F 3 "" H 3400 4450 60 0001 C CNN
+ 1 3400 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 684097FB
+P 1500 3650
+F 0 "U1" H 1550 3750 30 0000 C CNN
+F 1 "PORT" H 1500 3650 30 0000 C CNN
+F 2 "" H 1500 3650 60 0000 C CNN
+F 3 "" H 1500 3650 60 0000 C CNN
+ 4 1500 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68409837
+P 1500 4050
+F 0 "U1" H 1550 4150 30 0000 C CNN
+F 1 "PORT" H 1500 4050 30 0000 C CNN
+F 2 "" H 1500 4050 60 0000 C CNN
+F 3 "" H 1500 4050 60 0000 C CNN
+ 5 1500 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6840986B
+P 4550 3400
+F 0 "U1" H 4600 3500 30 0000 C CNN
+F 1 "PORT" H 4550 3400 30 0000 C CNN
+F 2 "" H 4550 3400 60 0000 C CNN
+F 3 "" H 4550 3400 60 0000 C CNN
+ 1 4550 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684098B4
+P 4550 4400
+F 0 "U1" H 4600 4500 30 0000 C CNN
+F 1 "PORT" H 4550 4400 30 0000 C CNN
+F 2 "" H 4550 4400 60 0000 C CNN
+F 3 "" H 4550 4400 60 0000 C CNN
+ 8 4550 4400
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4300 3400 4000 3400
+Wire Wire Line
+ 4300 4400 4000 4400
+Wire Wire Line
+ 1750 3650 2500 3650
+Wire Wire Line
+ 2500 3550 2500 4550
+Wire Wire Line
+ 2500 3550 2800 3550
+Wire Wire Line
+ 2500 4550 2800 4550
+Connection ~ 2500 3650
+Wire Wire Line
+ 1750 4050 2100 4050
+Wire Wire Line
+ 2100 3450 2100 4450
+Wire Wire Line
+ 2100 4450 2800 4450
+Wire Wire Line
+ 2100 3450 2800 3450
+Connection ~ 2100 4050
+$Comp
+L PORT U1
+U 3 1 68409A59
+P 1450 3250
+F 0 "U1" H 1500 3350 30 0000 C CNN
+F 1 "PORT" H 1450 3250 30 0000 C CNN
+F 2 "" H 1450 3250 60 0000 C CNN
+F 3 "" H 1450 3250 60 0000 C CNN
+ 3 1450 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 68409A8E
+P 1450 3400
+F 0 "U1" H 1500 3500 30 0000 C CNN
+F 1 "PORT" H 1450 3400 30 0000 C CNN
+F 2 "" H 1450 3400 60 0000 C CNN
+F 3 "" H 1450 3400 60 0000 C CNN
+ 2 1450 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 68409AB8
+P 1450 4250
+F 0 "U1" H 1500 4350 30 0000 C CNN
+F 1 "PORT" H 1450 4250 30 0000 C CNN
+F 2 "" H 1450 4250 60 0000 C CNN
+F 3 "" H 1450 4250 60 0000 C CNN
+ 3 1450 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68409B07
+P 1550 4400
+F 0 "U1" H 1600 4500 30 0000 C CNN
+F 1 "PORT" H 1550 4400 30 0000 C CNN
+F 2 "" H 1550 4400 60 0000 C CNN
+F 3 "" H 1550 4400 60 0000 C CNN
+ 6 1550 4400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1700 3250 2800 3250
+Wire Wire Line
+ 1700 3400 2800 3400
+Wire Wire Line
+ 2800 3400 2800 3350
+Wire Wire Line
+ 1700 4250 2800 4250
+Wire Wire Line
+ 1800 4400 2800 4400
+Wire Wire Line
+ 2800 4400 2800 4350
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final.cir b/library/SubcircuitLibrary/M5223_final/M5223_final.cir
new file mode 100644
index 000000000..5a403d1c5
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.cir
@@ -0,0 +1,13 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M5223_final\M5223_final.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/05/25 00:33:32
+
+* 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: /
+X1 Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad8_ Net-_U1-Pad1_ M5223_half
+X2 Net-_U1-Pad6_ Net-_U1-Pad5_ Net-_U1-Pad4_ Net-_U1-Pad8_ Net-_U1-Pad7_ M5223_half
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final.cir.out b/library/SubcircuitLibrary/M5223_final/M5223_final.cir.out
new file mode 100644
index 000000000..2ff3103af
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.cir.out
@@ -0,0 +1,15 @@
+* c:\fossee\esim\library\subcircuitlibrary\m5223_final\m5223_final.cir
+
+.include M5223_My.sub
+x1 net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad8_ net-_u1-pad1_ M5223_My
+x2 net-_u1-pad6_ net-_u1-pad5_ net-_u1-pad4_ net-_u1-pad8_ net-_u1-pad7_ M5223_My
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final.pro b/library/SubcircuitLibrary/M5223_final/M5223_final.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.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/M5223_final/M5223_final.sch b/library/SubcircuitLibrary/M5223_final/M5223_final.sch
new file mode 100644
index 000000000..8e73534b8
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.sch
@@ -0,0 +1,200 @@
+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
+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 M5223_half X1
+U 1 1 6840975E
+P 3400 3450
+F 0 "X1" H 3400 3600 60 0000 C CNN
+F 1 "M5223_half" H 3500 3350 60 0000 C CNN
+F 2 "" H 3400 3450 60 0001 C CNN
+F 3 "" H 3400 3450 60 0001 C CNN
+ 1 3400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L M5223_half X2
+U 1 1 68409795
+P 3400 4450
+F 0 "X2" H 3400 4600 60 0000 C CNN
+F 1 "M5223_half" H 3500 4350 60 0000 C CNN
+F 2 "" H 3400 4450 60 0001 C CNN
+F 3 "" H 3400 4450 60 0001 C CNN
+ 1 3400 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684097FB
+P 1500 3650
+F 0 "U1" H 1550 3750 30 0000 C CNN
+F 1 "PORT" H 1500 3650 30 0000 C CNN
+F 2 "" H 1500 3650 60 0000 C CNN
+F 3 "" H 1500 3650 60 0000 C CNN
+ 8 1500 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 68409837
+P 1500 4050
+F 0 "U1" H 1550 4150 30 0000 C CNN
+F 1 "PORT" H 1500 4050 30 0000 C CNN
+F 2 "" H 1500 4050 60 0000 C CNN
+F 3 "" H 1500 4050 60 0000 C CNN
+ 4 1500 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6840986B
+P 4550 3400
+F 0 "U1" H 4600 3500 30 0000 C CNN
+F 1 "PORT" H 4550 3400 30 0000 C CNN
+F 2 "" H 4550 3400 60 0000 C CNN
+F 3 "" H 4550 3400 60 0000 C CNN
+ 1 4550 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 684098B4
+P 4550 4400
+F 0 "U1" H 4600 4500 30 0000 C CNN
+F 1 "PORT" H 4550 4400 30 0000 C CNN
+F 2 "" H 4550 4400 60 0000 C CNN
+F 3 "" H 4550 4400 60 0000 C CNN
+ 7 4550 4400
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4300 3400 4000 3400
+Wire Wire Line
+ 4300 4400 4000 4400
+Wire Wire Line
+ 1750 3650 2500 3650
+Wire Wire Line
+ 2500 3550 2500 4550
+Wire Wire Line
+ 2500 3550 2800 3550
+Wire Wire Line
+ 2500 4550 2800 4550
+Connection ~ 2500 3650
+Wire Wire Line
+ 1750 4050 2100 4050
+Wire Wire Line
+ 2100 3450 2100 4450
+Wire Wire Line
+ 2100 4450 2800 4450
+Wire Wire Line
+ 2100 3450 2800 3450
+Connection ~ 2100 4050
+$Comp
+L PORT U1
+U 3 1 68409A59
+P 1450 3250
+F 0 "U1" H 1500 3350 30 0000 C CNN
+F 1 "PORT" H 1450 3250 30 0000 C CNN
+F 2 "" H 1450 3250 60 0000 C CNN
+F 3 "" H 1450 3250 60 0000 C CNN
+ 3 1450 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 68409A8E
+P 1450 3400
+F 0 "U1" H 1500 3500 30 0000 C CNN
+F 1 "PORT" H 1450 3400 30 0000 C CNN
+F 2 "" H 1450 3400 60 0000 C CNN
+F 3 "" H 1450 3400 60 0000 C CNN
+ 2 1450 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68409AB8
+P 1450 4250
+F 0 "U1" H 1500 4350 30 0000 C CNN
+F 1 "PORT" H 1450 4250 30 0000 C CNN
+F 2 "" H 1450 4250 60 0000 C CNN
+F 3 "" H 1450 4250 60 0000 C CNN
+ 5 1450 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68409B07
+P 1550 4400
+F 0 "U1" H 1600 4500 30 0000 C CNN
+F 1 "PORT" H 1550 4400 30 0000 C CNN
+F 2 "" H 1550 4400 60 0000 C CNN
+F 3 "" H 1550 4400 60 0000 C CNN
+ 6 1550 4400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1700 3250 2800 3250
+Wire Wire Line
+ 1700 3400 2800 3400
+Wire Wire Line
+ 2800 3400 2800 3350
+Wire Wire Line
+ 1700 4250 2800 4250
+Wire Wire Line
+ 1800 4400 2800 4400
+Wire Wire Line
+ 2800 4400 2800 4350
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final.sub b/library/SubcircuitLibrary/M5223_final/M5223_final.sub
new file mode 100644
index 000000000..b9b0c43ad
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final.sub
@@ -0,0 +1,9 @@
+* Subcircuit M5223_final
+.subckt M5223_final net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_
+* c:\fossee\esim\library\subcircuitlibrary\m5223_final\m5223_final.cir
+.include M5223_My.sub
+x1 net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad8_ net-_u1-pad1_ M5223_My
+x2 net-_u1-pad6_ net-_u1-pad5_ net-_u1-pad4_ net-_u1-pad8_ net-_u1-pad7_ M5223_My
+* Control Statements
+
+.ends M5223_final
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5223_final/M5223_final_Previous_Values.xml b/library/SubcircuitLibrary/M5223_final/M5223_final_Previous_Values.xml
new file mode 100644
index 000000000..f9d54ef50
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/M5223_final_Previous_Values.xml
@@ -0,0 +1 @@
+truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperessecsecsecC:\FOSSEE\eSim\library\SubcircuitLibrary\M5223_MyC:\FOSSEE\eSim\library\SubcircuitLibrary\M5223_My
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5223_final/NPN.lib b/library/SubcircuitLibrary/M5223_final/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/M5223_final/PNP.lib b/library/SubcircuitLibrary/M5223_final/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/M5223_final/_saved_M5223_My.sch b/library/SubcircuitLibrary/M5223_final/_saved_M5223_My.sch
new file mode 100644
index 000000000..bd065e49e
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/_saved_M5223_My.sch
@@ -0,0 +1,486 @@
+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:M5223_My-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_NPN Q4
+U 1 1 683DAB4D
+P 4500 4850
+F 0 "Q4" H 4400 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 4450 5000 50 0000 R CNN
+F 2 "" H 4700 4950 29 0000 C CNN
+F 3 "" H 4500 4850 60 0000 C CNN
+ 1 4500 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 683DABA1
+P 3550 2850
+F 0 "Q2" H 3450 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 3500 3000 50 0000 R CNN
+F 2 "" H 3750 2950 29 0000 C CNN
+F 3 "" H 3550 2850 60 0000 C CNN
+ 1 3550 2850
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 683DABE1
+P 3100 3300
+F 0 "Q1" H 3000 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 3050 3450 50 0000 R CNN
+F 2 "" H 3300 3400 29 0000 C CNN
+F 3 "" H 3100 3300 60 0000 C CNN
+ 1 3100 3300
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 683DABFE
+P 4650 2850
+F 0 "Q5" H 4550 2900 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 3000 50 0000 R CNN
+F 2 "" H 4850 2950 29 0000 C CNN
+F 3 "" H 4650 2850 60 0000 C CNN
+ 1 4650 2850
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 683DAC31
+P 5050 3300
+F 0 "Q6" H 4950 3350 50 0000 R CNN
+F 1 "eSim_PNP" H 5000 3450 50 0000 R CNN
+F 2 "" H 5250 3400 29 0000 C CNN
+F 3 "" H 5050 3300 60 0000 C CNN
+ 1 5050 3300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 683DACF6
+P 3800 4850
+F 0 "Q3" H 3700 4900 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 5000 50 0000 R CNN
+F 2 "" H 4000 4950 29 0000 C CNN
+F 3 "" H 3800 4850 60 0000 C CNN
+ 1 3800 4850
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR01
+U 1 1 683DAE76
+P 3200 3600
+F 0 "#PWR01" H 3200 3350 50 0001 C CNN
+F 1 "eSim_GND" H 3200 3450 50 0000 C CNN
+F 2 "" H 3200 3600 50 0001 C CNN
+F 3 "" H 3200 3600 50 0001 C CNN
+ 1 3200 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 683DAE9A
+P 4950 3600
+F 0 "#PWR02" H 4950 3350 50 0001 C CNN
+F 1 "eSim_GND" H 4950 3450 50 0000 C CNN
+F 2 "" H 4950 3600 50 0001 C CNN
+F 3 "" H 4950 3600 50 0001 C CNN
+ 1 4950 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I1
+U 1 1 683DAF62
+P 4150 1950
+F 0 "I1" H 3950 2050 60 0000 C CNN
+F 1 "dc" H 3950 1900 60 0000 C CNN
+F 2 "R1" H 3850 1950 60 0000 C CNN
+F 3 "" H 4150 1950 60 0000 C CNN
+ 1 4150 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 683DB0D0
+P 7800 2700
+F 0 "Q11" H 7700 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 7750 2850 50 0000 R CNN
+F 2 "" H 8000 2800 29 0000 C CNN
+F 3 "" H 7800 2700 60 0000 C CNN
+ 1 7800 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 683DB150
+P 8200 3000
+F 0 "Q12" H 8100 3050 50 0000 R CNN
+F 1 "eSim_NPN" H 8150 3150 50 0000 R CNN
+F 2 "" H 8400 3100 29 0000 C CNN
+F 3 "" H 8200 3000 60 0000 C CNN
+ 1 8200 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 683DB25B
+P 5450 4450
+F 0 "Q7" H 5350 4500 50 0000 R CNN
+F 1 "eSim_PNP" H 5400 4600 50 0000 R CNN
+F 2 "" H 5650 4550 29 0000 C CNN
+F 3 "" H 5450 4450 60 0000 C CNN
+ 1 5450 4450
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 683DB381
+P 6500 3850
+F 0 "Q8" H 6400 3900 50 0000 R CNN
+F 1 "eSim_NPN" H 6450 4000 50 0000 R CNN
+F 2 "" H 6700 3950 29 0000 C CNN
+F 3 "" H 6500 3850 60 0000 C CNN
+ 1 6500 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q9
+U 1 1 683DB3D6
+P 6950 4100
+F 0 "Q9" H 6850 4150 50 0000 R CNN
+F 1 "eSim_NPN" H 6900 4250 50 0000 R CNN
+F 2 "" H 7150 4200 29 0000 C CNN
+F 3 "" H 6950 4100 60 0000 C CNN
+ 1 6950 4100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 683DB4B0
+P 5550 2100
+F 0 "I2" H 5350 2200 60 0000 C CNN
+F 1 "dc" H 5350 2050 60 0000 C CNN
+F 2 "R1" H 5250 2100 60 0000 C CNN
+F 3 "" H 5550 2100 60 0000 C CNN
+ 1 5550 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 683DB798
+P 7000 2100
+F 0 "I3" H 6800 2200 60 0000 C CNN
+F 1 "dc" H 6800 2050 60 0000 C CNN
+F 2 "R1" H 6700 2100 60 0000 C CNN
+F 3 "" H 7000 2100 60 0000 C CNN
+ 1 7000 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 683DBB6B
+P 7750 3400
+F 0 "Q10" H 7650 3450 50 0000 R CNN
+F 1 "eSim_NPN" H 7700 3550 50 0000 R CNN
+F 2 "" H 7950 3500 29 0000 C CNN
+F 3 "" H 7750 3400 60 0000 C CNN
+ 1 7750 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L dc I4
+U 1 1 683DBD28
+P 7650 4400
+F 0 "I4" H 7450 4500 60 0000 C CNN
+F 1 "dc" H 7450 4350 60 0000 C CNN
+F 2 "R1" H 7350 4400 60 0000 C CNN
+F 3 "" H 7650 4400 60 0000 C CNN
+ 1 7650 4400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 683DBED0
+P 8200 3900
+F 0 "Q13" H 8100 3950 50 0000 R CNN
+F 1 "eSim_PNP" H 8150 4050 50 0000 R CNN
+F 2 "" H 8400 4000 29 0000 C CNN
+F 3 "" H 8200 3900 60 0000 C CNN
+ 1 8200 3900
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 683DBF22
+P 8400 3450
+F 0 "R3" H 8450 3580 50 0000 C CNN
+F 1 "500" H 8450 3400 50 0000 C CNN
+F 2 "" H 8450 3430 30 0000 C CNN
+F 3 "" V 8450 3500 30 0000 C CNN
+ 1 8400 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 683DB935
+P 5400 2900
+F 0 "C1" H 5425 3000 50 0000 L CNN
+F 1 "15p" H 5425 2800 50 0000 L CNN
+F 2 "" H 5438 2750 30 0000 C CNN
+F 3 "" H 5400 2900 60 0000 C CNN
+ 1 5400 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3650 3050 3650 4650
+Wire Wire Line
+ 3650 4650 3700 4650
+Wire Wire Line
+ 4550 3050 4550 4650
+Wire Wire Line
+ 4550 4650 4600 4650
+Wire Wire Line
+ 4000 4850 4300 4850
+Wire Wire Line
+ 4150 4850 4150 4350
+Wire Wire Line
+ 4150 4350 3650 4350
+Connection ~ 3650 4350
+Connection ~ 4150 4850
+Wire Wire Line
+ 3350 2850 3200 2850
+Wire Wire Line
+ 3200 2850 3200 3100
+Wire Wire Line
+ 4850 2850 4950 2850
+Wire Wire Line
+ 4950 2850 4950 3100
+Wire Wire Line
+ 3200 3500 3200 3600
+Wire Wire Line
+ 4950 3500 4950 3600
+Wire Wire Line
+ 3650 2650 4550 2650
+Wire Wire Line
+ 4150 2400 4150 2650
+Connection ~ 4150 2650
+Wire Wire Line
+ 1700 3300 2900 3300
+Wire Wire Line
+ 5250 4050 5250 3300
+Wire Wire Line
+ 7900 2900 7900 3000
+Wire Wire Line
+ 7900 3000 8000 3000
+Wire Wire Line
+ 8300 1500 8300 2800
+Wire Wire Line
+ 5250 4450 4550 4450
+Connection ~ 4550 4450
+Wire Wire Line
+ 3700 5050 8300 5050
+Wire Wire Line
+ 5550 5050 5550 4650
+Connection ~ 4600 5050
+Wire Wire Line
+ 5550 2550 5550 4250
+Wire Wire Line
+ 6300 3850 5550 3850
+Connection ~ 5550 3850
+Wire Wire Line
+ 6600 4050 6600 4100
+Wire Wire Line
+ 6600 4100 6750 4100
+Wire Wire Line
+ 7050 5050 7050 4300
+Connection ~ 5550 5050
+Wire Wire Line
+ 4150 1500 8300 1500
+Wire Wire Line
+ 5550 1500 5550 1650
+Connection ~ 8300 2500
+Connection ~ 5550 1500
+Wire Wire Line
+ 6600 1500 6600 3650
+Connection ~ 6600 1500
+Wire Wire Line
+ 7000 2550 7000 3900
+Wire Wire Line
+ 7000 3900 8000 3900
+Wire Wire Line
+ 7000 1650 7000 1500
+Connection ~ 7000 1500
+Wire Wire Line
+ 5400 3050 5400 4300
+Wire Wire Line
+ 5400 4300 5200 4300
+Wire Wire Line
+ 5200 4300 5200 4450
+Connection ~ 5200 4450
+Wire Wire Line
+ 5400 2750 7600 2750
+Wire Wire Line
+ 7600 2750 7600 2700
+Wire Wire Line
+ 8300 3200 8300 3400
+Wire Wire Line
+ 8300 3400 7950 3400
+Wire Wire Line
+ 7650 3200 7000 3200
+Connection ~ 7000 3200
+Wire Wire Line
+ 7650 3600 7650 3950
+Wire Wire Line
+ 7650 5050 7650 4850
+Connection ~ 7050 5050
+Wire Wire Line
+ 8300 3300 8450 3300
+Wire Wire Line
+ 8450 3300 8450 3350
+Connection ~ 8300 3300
+Wire Wire Line
+ 8450 3650 8450 3700
+Connection ~ 8450 3700
+Connection ~ 8300 3700
+Connection ~ 7650 3700
+Connection ~ 7050 3900
+Wire Wire Line
+ 8300 5050 8300 4100
+Connection ~ 7650 5050
+Wire Wire Line
+ 6300 5050 6300 5350
+Connection ~ 6300 5050
+Wire Wire Line
+ 8800 1050 7750 1050
+Wire Wire Line
+ 7750 1050 7750 1500
+Connection ~ 7750 1500
+Connection ~ 9100 3700
+Connection ~ 3200 3550
+Connection ~ 9200 3700
+Wire Wire Line
+ 2400 4050 5250 4050
+Wire Wire Line
+ 7650 3700 9500 3700
+Wire Wire Line
+ 7900 2500 7900 1500
+Connection ~ 7900 1500
+Connection ~ 7000 2750
+$Comp
+L PORT U1
+U 1 1 6840A0F8
+P 1450 3300
+F 0 "U1" H 1500 3400 30 0000 C CNN
+F 1 "PORT" H 1450 3300 30 0000 C CNN
+F 2 "" H 1450 3300 60 0000 C CNN
+F 3 "" H 1450 3300 60 0000 C CNN
+ 1 1450 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6840A1F1
+P 2150 4050
+F 0 "U1" H 2200 4150 30 0000 C CNN
+F 1 "PORT" H 2150 4050 30 0000 C CNN
+F 2 "" H 2150 4050 60 0000 C CNN
+F 3 "" H 2150 4050 60 0000 C CNN
+ 2 2150 4050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6840A266
+P 5950 5350
+F 0 "U1" H 6000 5450 30 0000 C CNN
+F 1 "PORT" H 5950 5350 30 0000 C CNN
+F 2 "" H 5950 5350 60 0000 C CNN
+F 3 "" H 5950 5350 60 0000 C CNN
+ 3 5950 5350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6840A3EC
+P 9250 3900
+F 0 "U1" H 9300 4000 30 0000 C CNN
+F 1 "PORT" H 9250 3900 30 0000 C CNN
+F 2 "" H 9250 3900 60 0000 C CNN
+F 3 "" H 9250 3900 60 0000 C CNN
+ 5 9250 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6840A51B
+P 8500 1250
+F 0 "U1" H 8550 1350 30 0000 C CNN
+F 1 "PORT" H 8500 1250 30 0000 C CNN
+F 2 "" H 8500 1250 60 0000 C CNN
+F 3 "" H 8500 1250 60 0000 C CNN
+ 4 8500 1250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6300 5350 6200 5350
+Wire Wire Line
+ 9500 3700 9500 3900
+Wire Wire Line
+ 8750 1250 8800 1250
+Wire Wire Line
+ 8800 1250 8800 1050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5223_final/analysis b/library/SubcircuitLibrary/M5223_final/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/M5223_final/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/M5228/D.lib b/library/SubcircuitLibrary/M5228/D.lib
new file mode 100644
index 000000000..f53bf3e03
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/M5228/M5228-cache.lib b/library/SubcircuitLibrary/M5228/M5228-cache.lib
new file mode 100644
index 000000000..e73249dab
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228-cache.lib
@@ -0,0 +1,165 @@
+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_C
+#
+DEF eSim_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 30 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS capacitor
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+X ~ 1 0 150 110 D 40 40 1 1 P
+X ~ 2 0 -150 110 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NJF
+#
+DEF eSim_NJF J 0 0 Y N 1 F N
+F0 "J" -100 50 50 H V R CNN
+F1 "eSim_NJF" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS jfet_n
+DRAW
+C 50 0 111 0 1 10 N
+P 3 0 1 10 10 75 10 -75 10 -75 N
+P 3 0 1 0 100 -100 100 -50 10 -50 N
+P 3 0 1 0 100 100 100 55 10 55 N
+P 4 0 1 0 0 0 -40 15 -40 -15 0 0 F
+X D 1 100 200 100 D 50 50 1 1 P
+X G 2 -200 0 210 R 50 50 1 1 P
+X S 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M5228/M5228.bak b/library/SubcircuitLibrary/M5228/M5228.bak
new file mode 100644
index 000000000..0eaac7bb0
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.bak
@@ -0,0 +1,2288 @@
+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:M5228_My-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_PNP Q5
+U 1 1 684AAAFE
+P 650 800
+F 0 "Q5" H 550 850 50 0000 R CNN
+F 1 "eSim_PNP" H 600 950 50 0000 R CNN
+F 2 "" H 850 900 29 0000 C CNN
+F 3 "" H 650 800 60 0000 C CNN
+ 1 650 800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 684AAB37
+P 1150 1450
+F 0 "Q9" H 1050 1500 50 0000 R CNN
+F 1 "eSim_PNP" H 1100 1600 50 0000 R CNN
+F 2 "" H 1350 1550 29 0000 C CNN
+F 3 "" H 1150 1450 60 0000 C CNN
+ 1 1150 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 684AAB5F
+P 100 1450
+F 0 "Q1" H 0 1500 50 0000 R CNN
+F 1 "eSim_PNP" H 50 1600 50 0000 R CNN
+F 2 "" H 300 1550 29 0000 C CNN
+F 3 "" H 100 1450 60 0000 C CNN
+ 1 100 1450
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 684AABEC
+P 500 50
+F 0 "R3" H 550 180 50 0000 C CNN
+F 1 "8.7k" H 550 0 50 0000 C CNN
+F 2 "" H 550 30 30 0000 C CNN
+F 3 "" V 550 100 30 0000 C CNN
+ 1 500 50
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 684AACAA
+P 950 3250
+F 0 "Q7" H 850 3300 50 0000 R CNN
+F 1 "eSim_NPN" H 900 3400 50 0000 R CNN
+F 2 "" H 1150 3350 29 0000 C CNN
+F 3 "" H 950 3250 60 0000 C CNN
+ 1 950 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 684AACD2
+P 300 3250
+F 0 "Q3" H 200 3300 50 0000 R CNN
+F 1 "eSim_NPN" H 250 3400 50 0000 R CNN
+F 2 "" H 500 3350 29 0000 C CNN
+F 3 "" H 300 3250 60 0000 C CNN
+ 1 300 3250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 684AAEF1
+P 150 3750
+F 0 "R1" H 200 3880 50 0000 C CNN
+F 1 "5k" H 200 3700 50 0000 C CNN
+F 2 "" H 200 3730 30 0000 C CNN
+F 3 "" V 200 3800 30 0000 C CNN
+ 1 150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 684AAF76
+P 1000 3700
+F 0 "R5" H 1050 3830 50 0000 C CNN
+F 1 "5k" H 1050 3650 50 0000 C CNN
+F 2 "" H 1050 3680 30 0000 C CNN
+F 3 "" V 1050 3750 30 0000 C CNN
+ 1 1000 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 684AB06F
+P 550 3700
+F 0 "C1" H 575 3800 50 0000 L CNN
+F 1 "15p" H 575 3600 50 0000 L CNN
+F 2 "" H 588 3550 30 0000 C CNN
+F 3 "" H 550 3700 60 0000 C CNN
+ 1 550 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 684AB17E
+P 1700 2900
+F 0 "Q11" H 1600 2950 50 0000 R CNN
+F 1 "eSim_NPN" H 1650 3050 50 0000 R CNN
+F 2 "" H 1900 3000 29 0000 C CNN
+F 3 "" H 1700 2900 60 0000 C CNN
+ 1 1700 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 684AB249
+P 1750 3500
+F 0 "R7" H 1800 3630 50 0000 C CNN
+F 1 "50k" H 1800 3450 50 0000 C CNN
+F 2 "" H 1800 3480 30 0000 C CNN
+F 3 "" V 1800 3550 30 0000 C CNN
+ 1 1750 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C3
+U 1 1 684AB4E1
+P 1300 2500
+F 0 "C3" H 1325 2600 50 0000 L CNN
+F 1 "15p" H 1325 2400 50 0000 L CNN
+F 2 "" H 1338 2350 30 0000 C CNN
+F 3 "" H 1300 2500 60 0000 C CNN
+ 1 1300 2500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 684AB538
+P 1300 2250
+F 0 "D1" H 1300 2350 50 0000 C CNN
+F 1 "eSim_Diode" H 1300 2150 50 0000 C CNN
+F 2 "" H 1300 2250 60 0000 C CNN
+F 3 "" H 1300 2250 60 0000 C CNN
+ 1 1300 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 684AB6FE
+P 2700 3300
+F 0 "Q15" H 2600 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 2650 3450 50 0000 R CNN
+F 2 "" H 2900 3400 29 0000 C CNN
+F 3 "" H 2700 3300 60 0000 C CNN
+ 1 2700 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 684AB818
+P 3800 2650
+F 0 "Q22" H 3700 2700 50 0000 R CNN
+F 1 "eSim_PNP" H 3750 2800 50 0000 R CNN
+F 2 "" H 4000 2750 29 0000 C CNN
+F 3 "" H 3800 2650 60 0000 C CNN
+ 1 3800 2650
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 684AB9E6
+P 3850 1900
+F 0 "R12" H 3900 2030 50 0000 C CNN
+F 1 "27" H 3900 1850 50 0000 C CNN
+F 2 "" H 3900 1880 30 0000 C CNN
+F 3 "" V 3900 1950 30 0000 C CNN
+ 1 3850 1900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 684ABAB9
+P 3850 1400
+F 0 "R11" H 3900 1530 50 0000 C CNN
+F 1 "27" H 3900 1350 50 0000 C CNN
+F 2 "" H 3900 1380 30 0000 C CNN
+F 3 "" V 3900 1450 30 0000 C CNN
+ 1 3850 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 684ABB69
+P 3800 750
+F 0 "Q21" H 3700 800 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 900 50 0000 R CNN
+F 2 "" H 4000 850 29 0000 C CNN
+F 3 "" H 3800 750 60 0000 C CNN
+ 1 3800 750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 684ABD21
+P 2250 2150
+F 0 "R9" H 2300 2280 50 0000 C CNN
+F 1 "50k" H 2300 2100 50 0000 C CNN
+F 2 "" H 2300 2130 30 0000 C CNN
+F 3 "" V 2300 2200 30 0000 C CNN
+ 1 2250 2150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 684ABD7E
+P 2850 1900
+F 0 "Q18" H 2750 1950 50 0000 R CNN
+F 1 "eSim_NPN" H 2800 2050 50 0000 R CNN
+F 2 "" H 3050 2000 29 0000 C CNN
+F 3 "" H 2850 1900 60 0000 C CNN
+ 1 2850 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 684ABEF0
+P 2400 1250
+F 0 "Q13" H 2300 1300 50 0000 R CNN
+F 1 "eSim_NPN" H 2350 1400 50 0000 R CNN
+F 2 "" H 2600 1350 29 0000 C CNN
+F 3 "" H 2400 1250 60 0000 C CNN
+ 1 2400 1250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q17
+U 1 1 684AC23B
+P 2850 400
+F 0 "Q17" H 2750 450 50 0000 R CNN
+F 1 "eSim_PNP" H 2800 550 50 0000 R CNN
+F 2 "" H 3050 500 29 0000 C CNN
+F 3 "" H 2850 400 60 0000 C CNN
+ 1 2850 400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q25
+U 1 1 684AC79B
+P 4650 350
+F 0 "Q25" H 4550 400 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 500 50 0000 R CNN
+F 2 "" H 4850 450 29 0000 C CNN
+F 3 "" H 4650 350 60 0000 C CNN
+ 1 4650 350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 684ACA56
+P 4900 2150
+F 0 "Q27" H 4800 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 2300 50 0000 R CNN
+F 2 "" H 5100 2250 29 0000 C CNN
+F 3 "" H 4900 2150 60 0000 C CNN
+ 1 4900 2150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 684ACB14
+P 4750 2850
+F 0 "R15" H 4800 2980 50 0000 C CNN
+F 1 "5.8k" H 4800 2800 50 0000 C CNN
+F 2 "" H 4800 2830 30 0000 C CNN
+F 3 "" V 4800 2900 30 0000 C CNN
+ 1 4750 2850
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 684AD05A
+P 5300 1150
+F 0 "J1" H 5200 1200 50 0000 R CNN
+F 1 "jfet_n" H 5250 1300 50 0000 R CNN
+F 2 "" H 5500 1250 29 0000 C CNN
+F 3 "" H 5300 1150 60 0000 C CNN
+ 1 5300 1150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 684AE2AB
+P 5950 1800
+F 0 "R17" H 6000 1930 50 0000 C CNN
+F 1 "120" H 6000 1750 50 0000 C CNN
+F 2 "" H 6000 1780 30 0000 C CNN
+F 3 "" V 6000 1850 30 0000 C CNN
+ 1 5950 1800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q30
+U 1 1 684AE4F6
+P 5350 2150
+F 0 "Q30" H 5250 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 2300 50 0000 R CNN
+F 2 "" H 5550 2250 29 0000 C CNN
+F 3 "" H 5350 2150 60 0000 C CNN
+ 1 5350 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q29
+U 1 1 684AE7B0
+P 5250 2700
+F 0 "Q29" H 5150 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 5200 2850 50 0000 R CNN
+F 2 "" H 5450 2800 29 0000 C CNN
+F 3 "" H 5250 2700 60 0000 C CNN
+ 1 5250 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q37
+U 1 1 684AF29E
+P 8250 650
+F 0 "Q37" H 8150 700 50 0000 R CNN
+F 1 "eSim_PNP" H 8200 800 50 0000 R CNN
+F 2 "" H 8450 750 29 0000 C CNN
+F 3 "" H 8250 650 60 0000 C CNN
+ 1 8250 650
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q41
+U 1 1 684AF2A4
+P 8750 1300
+F 0 "Q41" H 8650 1350 50 0000 R CNN
+F 1 "eSim_PNP" H 8700 1450 50 0000 R CNN
+F 2 "" H 8950 1400 29 0000 C CNN
+F 3 "" H 8750 1300 60 0000 C CNN
+ 1 8750 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q33
+U 1 1 684AF2AA
+P 7700 1300
+F 0 "Q33" H 7600 1350 50 0000 R CNN
+F 1 "eSim_PNP" H 7650 1450 50 0000 R CNN
+F 2 "" H 7900 1400 29 0000 C CNN
+F 3 "" H 7700 1300 60 0000 C CNN
+ 1 7700 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 684AF2B0
+P 8100 -100
+F 0 "R21" H 8150 30 50 0000 C CNN
+F 1 "8.7k" H 8150 -150 50 0000 C CNN
+F 2 "" H 8150 -120 30 0000 C CNN
+F 3 "" V 8150 -50 30 0000 C CNN
+ 1 8100 -100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q39
+U 1 1 684AF2B6
+P 8550 3100
+F 0 "Q39" H 8450 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 8500 3250 50 0000 R CNN
+F 2 "" H 8750 3200 29 0000 C CNN
+F 3 "" H 8550 3100 60 0000 C CNN
+ 1 8550 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q35
+U 1 1 684AF2BC
+P 7900 3100
+F 0 "Q35" H 7800 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 7850 3250 50 0000 R CNN
+F 2 "" H 8100 3200 29 0000 C CNN
+F 3 "" H 7900 3100 60 0000 C CNN
+ 1 7900 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R19
+U 1 1 684AF2C2
+P 7750 3600
+F 0 "R19" H 7800 3730 50 0000 C CNN
+F 1 "5k" H 7800 3550 50 0000 C CNN
+F 2 "" H 7800 3580 30 0000 C CNN
+F 3 "" V 7800 3650 30 0000 C CNN
+ 1 7750 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 684AF2C8
+P 8600 3550
+F 0 "R23" H 8650 3680 50 0000 C CNN
+F 1 "5k" H 8650 3500 50 0000 C CNN
+F 2 "" H 8650 3530 30 0000 C CNN
+F 3 "" V 8650 3600 30 0000 C CNN
+ 1 8600 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C5
+U 1 1 684AF2CE
+P 8150 3550
+F 0 "C5" H 8175 3650 50 0000 L CNN
+F 1 "15p" H 8175 3450 50 0000 L CNN
+F 2 "" H 8188 3400 30 0000 C CNN
+F 3 "" H 8150 3550 60 0000 C CNN
+ 1 8150 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q43
+U 1 1 684AF2D4
+P 9300 2750
+F 0 "Q43" H 9200 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 9250 2900 50 0000 R CNN
+F 2 "" H 9500 2850 29 0000 C CNN
+F 3 "" H 9300 2750 60 0000 C CNN
+ 1 9300 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 684AF2DA
+P 9350 3350
+F 0 "R25" H 9400 3480 50 0000 C CNN
+F 1 "50k" H 9400 3300 50 0000 C CNN
+F 2 "" H 9400 3330 30 0000 C CNN
+F 3 "" V 9400 3400 30 0000 C CNN
+ 1 9350 3350
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C7
+U 1 1 684AF2FB
+P 8900 2350
+F 0 "C7" H 8925 2450 50 0000 L CNN
+F 1 "15p" H 8925 2250 50 0000 L CNN
+F 2 "" H 8938 2200 30 0000 C CNN
+F 3 "" H 8900 2350 60 0000 C CNN
+ 1 8900 2350
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 684AF301
+P 8900 2100
+F 0 "D3" H 8900 2200 50 0000 C CNN
+F 1 "eSim_Diode" H 8900 2000 50 0000 C CNN
+F 2 "" H 8900 2100 60 0000 C CNN
+F 3 "" H 8900 2100 60 0000 C CNN
+ 1 8900 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q47
+U 1 1 684AF30E
+P 10300 3150
+F 0 "Q47" H 10200 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 10250 3300 50 0000 R CNN
+F 2 "" H 10500 3250 29 0000 C CNN
+F 3 "" H 10300 3150 60 0000 C CNN
+ 1 10300 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q54
+U 1 1 684AF31C
+P 11400 2500
+F 0 "Q54" H 11300 2550 50 0000 R CNN
+F 1 "eSim_PNP" H 11350 2650 50 0000 R CNN
+F 2 "" H 11600 2600 29 0000 C CNN
+F 3 "" H 11400 2500 60 0000 C CNN
+ 1 11400 2500
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R30
+U 1 1 684AF325
+P 11450 1750
+F 0 "R30" H 11500 1880 50 0000 C CNN
+F 1 "27" H 11500 1700 50 0000 C CNN
+F 2 "" H 11500 1730 30 0000 C CNN
+F 3 "" V 11500 1800 30 0000 C CNN
+ 1 11450 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R29
+U 1 1 684AF32C
+P 11450 1250
+F 0 "R29" H 11500 1380 50 0000 C CNN
+F 1 "27" H 11500 1200 50 0000 C CNN
+F 2 "" H 11500 1230 30 0000 C CNN
+F 3 "" V 11500 1300 30 0000 C CNN
+ 1 11450 1250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q53
+U 1 1 684AF333
+P 11400 600
+F 0 "Q53" H 11300 650 50 0000 R CNN
+F 1 "eSim_NPN" H 11350 750 50 0000 R CNN
+F 2 "" H 11600 700 29 0000 C CNN
+F 3 "" H 11400 600 60 0000 C CNN
+ 1 11400 600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R27
+U 1 1 684AF33A
+P 9850 2000
+F 0 "R27" H 9900 2130 50 0000 C CNN
+F 1 "50k" H 9900 1950 50 0000 C CNN
+F 2 "" H 9900 1980 30 0000 C CNN
+F 3 "" V 9900 2050 30 0000 C CNN
+ 1 9850 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q50
+U 1 1 684AF340
+P 10450 1750
+F 0 "Q50" H 10350 1800 50 0000 R CNN
+F 1 "eSim_NPN" H 10400 1900 50 0000 R CNN
+F 2 "" H 10650 1850 29 0000 C CNN
+F 3 "" H 10450 1750 60 0000 C CNN
+ 1 10450 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q45
+U 1 1 684AF34C
+P 10000 1100
+F 0 "Q45" H 9900 1150 50 0000 R CNN
+F 1 "eSim_NPN" H 9950 1250 50 0000 R CNN
+F 2 "" H 10200 1200 29 0000 C CNN
+F 3 "" H 10000 1100 60 0000 C CNN
+ 1 10000 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q49
+U 1 1 684AF359
+P 10450 250
+F 0 "Q49" H 10350 300 50 0000 R CNN
+F 1 "eSim_PNP" H 10400 400 50 0000 R CNN
+F 2 "" H 10650 350 29 0000 C CNN
+F 3 "" H 10450 250 60 0000 C CNN
+ 1 10450 250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q57
+U 1 1 684AF366
+P 12250 200
+F 0 "Q57" H 12150 250 50 0000 R CNN
+F 1 "eSim_PNP" H 12200 350 50 0000 R CNN
+F 2 "" H 12450 300 29 0000 C CNN
+F 3 "" H 12250 200 60 0000 C CNN
+ 1 12250 200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q59
+U 1 1 684AF371
+P 12500 2000
+F 0 "Q59" H 12400 2050 50 0000 R CNN
+F 1 "eSim_NPN" H 12450 2150 50 0000 R CNN
+F 2 "" H 12700 2100 29 0000 C CNN
+F 3 "" H 12500 2000 60 0000 C CNN
+ 1 12500 2000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R33
+U 1 1 684AF377
+P 12350 2700
+F 0 "R33" H 12400 2830 50 0000 C CNN
+F 1 "5.8k" H 12400 2650 50 0000 C CNN
+F 2 "" H 12400 2680 30 0000 C CNN
+F 3 "" V 12400 2750 30 0000 C CNN
+ 1 12350 2700
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J3
+U 1 1 684AF386
+P 12900 1000
+F 0 "J3" H 12800 1050 50 0000 R CNN
+F 1 "jfet_n" H 12850 1150 50 0000 R CNN
+F 2 "" H 13100 1100 29 0000 C CNN
+F 3 "" H 12900 1000 60 0000 C CNN
+ 1 12900 1000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R35
+U 1 1 684AF394
+P 13550 1650
+F 0 "R35" H 13600 1780 50 0000 C CNN
+F 1 "120" H 13600 1600 50 0000 C CNN
+F 2 "" H 13600 1630 30 0000 C CNN
+F 3 "" V 13600 1700 30 0000 C CNN
+ 1 13550 1650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q62
+U 1 1 684AF3A9
+P 12950 2000
+F 0 "Q62" H 12850 2050 50 0000 R CNN
+F 1 "eSim_NPN" H 12900 2150 50 0000 R CNN
+F 2 "" H 13150 2100 29 0000 C CNN
+F 3 "" H 12950 2000 60 0000 C CNN
+ 1 12950 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q61
+U 1 1 684AF3B0
+P 12850 2550
+F 0 "Q61" H 12750 2600 50 0000 R CNN
+F 1 "eSim_NPN" H 12800 2700 50 0000 R CNN
+F 2 "" H 13050 2650 29 0000 C CNN
+F 3 "" H 12850 2550 60 0000 C CNN
+ 1 12850 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 684AF6B3
+P 750 6950
+F 0 "Q6" H 650 7000 50 0000 R CNN
+F 1 "eSim_PNP" H 700 7100 50 0000 R CNN
+F 2 "" H 950 7050 29 0000 C CNN
+F 3 "" H 750 6950 60 0000 C CNN
+ 1 750 6950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q10
+U 1 1 684AF6B9
+P 1250 7600
+F 0 "Q10" H 1150 7650 50 0000 R CNN
+F 1 "eSim_PNP" H 1200 7750 50 0000 R CNN
+F 2 "" H 1450 7700 29 0000 C CNN
+F 3 "" H 1250 7600 60 0000 C CNN
+ 1 1250 7600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 684AF6BF
+P 200 7600
+F 0 "Q2" H 100 7650 50 0000 R CNN
+F 1 "eSim_PNP" H 150 7750 50 0000 R CNN
+F 2 "" H 400 7700 29 0000 C CNN
+F 3 "" H 200 7600 60 0000 C CNN
+ 1 200 7600
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 684AF6C5
+P 600 6200
+F 0 "R4" H 650 6330 50 0000 C CNN
+F 1 "8.7k" H 650 6150 50 0000 C CNN
+F 2 "" H 650 6180 30 0000 C CNN
+F 3 "" V 650 6250 30 0000 C CNN
+ 1 600 6200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 684AF6CB
+P 1050 9400
+F 0 "Q8" H 950 9450 50 0000 R CNN
+F 1 "eSim_NPN" H 1000 9550 50 0000 R CNN
+F 2 "" H 1250 9500 29 0000 C CNN
+F 3 "" H 1050 9400 60 0000 C CNN
+ 1 1050 9400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 684AF6D1
+P 400 9400
+F 0 "Q4" H 300 9450 50 0000 R CNN
+F 1 "eSim_NPN" H 350 9550 50 0000 R CNN
+F 2 "" H 600 9500 29 0000 C CNN
+F 3 "" H 400 9400 60 0000 C CNN
+ 1 400 9400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 684AF6D7
+P 250 9900
+F 0 "R2" H 300 10030 50 0000 C CNN
+F 1 "5k" H 300 9850 50 0000 C CNN
+F 2 "" H 300 9880 30 0000 C CNN
+F 3 "" V 300 9950 30 0000 C CNN
+ 1 250 9900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 684AF6DD
+P 1100 9850
+F 0 "R6" H 1150 9980 50 0000 C CNN
+F 1 "5k" H 1150 9800 50 0000 C CNN
+F 2 "" H 1150 9830 30 0000 C CNN
+F 3 "" V 1150 9900 30 0000 C CNN
+ 1 1100 9850
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 684AF6E3
+P 650 9850
+F 0 "C2" H 675 9950 50 0000 L CNN
+F 1 "15p" H 675 9750 50 0000 L CNN
+F 2 "" H 688 9700 30 0000 C CNN
+F 3 "" H 650 9850 60 0000 C CNN
+ 1 650 9850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 684AF6E9
+P 1800 9050
+F 0 "Q12" H 1700 9100 50 0000 R CNN
+F 1 "eSim_NPN" H 1750 9200 50 0000 R CNN
+F 2 "" H 2000 9150 29 0000 C CNN
+F 3 "" H 1800 9050 60 0000 C CNN
+ 1 1800 9050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 684AF6EF
+P 1850 9650
+F 0 "R8" H 1900 9780 50 0000 C CNN
+F 1 "50k" H 1900 9600 50 0000 C CNN
+F 2 "" H 1900 9630 30 0000 C CNN
+F 3 "" V 1900 9700 30 0000 C CNN
+ 1 1850 9650
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C4
+U 1 1 684AF710
+P 1400 8650
+F 0 "C4" H 1425 8750 50 0000 L CNN
+F 1 "15p" H 1425 8550 50 0000 L CNN
+F 2 "" H 1438 8500 30 0000 C CNN
+F 3 "" H 1400 8650 60 0000 C CNN
+ 1 1400 8650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 684AF716
+P 1400 8400
+F 0 "D2" H 1400 8500 50 0000 C CNN
+F 1 "eSim_Diode" H 1400 8300 50 0000 C CNN
+F 2 "" H 1400 8400 60 0000 C CNN
+F 3 "" H 1400 8400 60 0000 C CNN
+ 1 1400 8400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 684AF723
+P 2800 9450
+F 0 "Q16" H 2700 9500 50 0000 R CNN
+F 1 "eSim_NPN" H 2750 9600 50 0000 R CNN
+F 2 "" H 3000 9550 29 0000 C CNN
+F 3 "" H 2800 9450 60 0000 C CNN
+ 1 2800 9450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 684AF731
+P 3900 8800
+F 0 "Q24" H 3800 8850 50 0000 R CNN
+F 1 "eSim_PNP" H 3850 8950 50 0000 R CNN
+F 2 "" H 4100 8900 29 0000 C CNN
+F 3 "" H 3900 8800 60 0000 C CNN
+ 1 3900 8800
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 684AF73A
+P 3950 8050
+F 0 "R14" H 4000 8180 50 0000 C CNN
+F 1 "27" H 4000 8000 50 0000 C CNN
+F 2 "" H 4000 8030 30 0000 C CNN
+F 3 "" V 4000 8100 30 0000 C CNN
+ 1 3950 8050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 684AF741
+P 3950 7550
+F 0 "R13" H 4000 7680 50 0000 C CNN
+F 1 "27" H 4000 7500 50 0000 C CNN
+F 2 "" H 4000 7530 30 0000 C CNN
+F 3 "" V 4000 7600 30 0000 C CNN
+ 1 3950 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 684AF748
+P 3900 6900
+F 0 "Q23" H 3800 6950 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 7050 50 0000 R CNN
+F 2 "" H 4100 7000 29 0000 C CNN
+F 3 "" H 3900 6900 60 0000 C CNN
+ 1 3900 6900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 684AF74F
+P 2350 8300
+F 0 "R10" H 2400 8430 50 0000 C CNN
+F 1 "50k" H 2400 8250 50 0000 C CNN
+F 2 "" H 2400 8280 30 0000 C CNN
+F 3 "" V 2400 8350 30 0000 C CNN
+ 1 2350 8300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 684AF755
+P 2950 8050
+F 0 "Q20" H 2850 8100 50 0000 R CNN
+F 1 "eSim_NPN" H 2900 8200 50 0000 R CNN
+F 2 "" H 3150 8150 29 0000 C CNN
+F 3 "" H 2950 8050 60 0000 C CNN
+ 1 2950 8050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 684AF761
+P 2500 7400
+F 0 "Q14" H 2400 7450 50 0000 R CNN
+F 1 "eSim_NPN" H 2450 7550 50 0000 R CNN
+F 2 "" H 2700 7500 29 0000 C CNN
+F 3 "" H 2500 7400 60 0000 C CNN
+ 1 2500 7400
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 684AF76E
+P 2950 6550
+F 0 "Q19" H 2850 6600 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 6700 50 0000 R CNN
+F 2 "" H 3150 6650 29 0000 C CNN
+F 3 "" H 2950 6550 60 0000 C CNN
+ 1 2950 6550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 684AF77B
+P 4750 6500
+F 0 "Q26" H 4650 6550 50 0000 R CNN
+F 1 "eSim_PNP" H 4700 6650 50 0000 R CNN
+F 2 "" H 4950 6600 29 0000 C CNN
+F 3 "" H 4750 6500 60 0000 C CNN
+ 1 4750 6500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 684AF786
+P 5000 8300
+F 0 "Q28" H 4900 8350 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 8450 50 0000 R CNN
+F 2 "" H 5200 8400 29 0000 C CNN
+F 3 "" H 5000 8300 60 0000 C CNN
+ 1 5000 8300
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 684AF78C
+P 4850 9000
+F 0 "R16" H 4900 9130 50 0000 C CNN
+F 1 "5.8k" H 4900 8950 50 0000 C CNN
+F 2 "" H 4900 8980 30 0000 C CNN
+F 3 "" V 4900 9050 30 0000 C CNN
+ 1 4850 9000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J2
+U 1 1 684AF79B
+P 5400 7300
+F 0 "J2" H 5300 7350 50 0000 R CNN
+F 1 "jfet_n" H 5350 7450 50 0000 R CNN
+F 2 "" H 5600 7400 29 0000 C CNN
+F 3 "" H 5400 7300 60 0000 C CNN
+ 1 5400 7300
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 684AF7A9
+P 6050 7950
+F 0 "R18" H 6100 8080 50 0000 C CNN
+F 1 "120" H 6100 7900 50 0000 C CNN
+F 2 "" H 6100 7930 30 0000 C CNN
+F 3 "" V 6100 8000 30 0000 C CNN
+ 1 6050 7950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 684AF7BE
+P 5450 8300
+F 0 "Q32" H 5350 8350 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 8450 50 0000 R CNN
+F 2 "" H 5650 8400 29 0000 C CNN
+F 3 "" H 5450 8300 60 0000 C CNN
+ 1 5450 8300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 684AF7C5
+P 5350 8850
+F 0 "Q31" H 5250 8900 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 9000 50 0000 R CNN
+F 2 "" H 5550 8950 29 0000 C CNN
+F 3 "" H 5350 8850 60 0000 C CNN
+ 1 5350 8850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q38
+U 1 1 684AF7D6
+P 8350 6800
+F 0 "Q38" H 8250 6850 50 0000 R CNN
+F 1 "eSim_PNP" H 8300 6950 50 0000 R CNN
+F 2 "" H 8550 6900 29 0000 C CNN
+F 3 "" H 8350 6800 60 0000 C CNN
+ 1 8350 6800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q42
+U 1 1 684AF7DC
+P 8850 7450
+F 0 "Q42" H 8750 7500 50 0000 R CNN
+F 1 "eSim_PNP" H 8800 7600 50 0000 R CNN
+F 2 "" H 9050 7550 29 0000 C CNN
+F 3 "" H 8850 7450 60 0000 C CNN
+ 1 8850 7450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q34
+U 1 1 684AF7E2
+P 7800 7450
+F 0 "Q34" H 7700 7500 50 0000 R CNN
+F 1 "eSim_PNP" H 7750 7600 50 0000 R CNN
+F 2 "" H 8000 7550 29 0000 C CNN
+F 3 "" H 7800 7450 60 0000 C CNN
+ 1 7800 7450
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 684AF7E8
+P 8200 6050
+F 0 "R22" H 8250 6180 50 0000 C CNN
+F 1 "8.7k" H 8250 6000 50 0000 C CNN
+F 2 "" H 8250 6030 30 0000 C CNN
+F 3 "" V 8250 6100 30 0000 C CNN
+ 1 8200 6050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q40
+U 1 1 684AF7EE
+P 8650 9250
+F 0 "Q40" H 8550 9300 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 9400 50 0000 R CNN
+F 2 "" H 8850 9350 29 0000 C CNN
+F 3 "" H 8650 9250 60 0000 C CNN
+ 1 8650 9250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q36
+U 1 1 684AF7F4
+P 8000 9250
+F 0 "Q36" H 7900 9300 50 0000 R CNN
+F 1 "eSim_NPN" H 7950 9400 50 0000 R CNN
+F 2 "" H 8200 9350 29 0000 C CNN
+F 3 "" H 8000 9250 60 0000 C CNN
+ 1 8000 9250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 684AF7FA
+P 7850 9750
+F 0 "R20" H 7900 9880 50 0000 C CNN
+F 1 "5k" H 7900 9700 50 0000 C CNN
+F 2 "" H 7900 9730 30 0000 C CNN
+F 3 "" V 7900 9800 30 0000 C CNN
+ 1 7850 9750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R24
+U 1 1 684AF800
+P 8700 9700
+F 0 "R24" H 8750 9830 50 0000 C CNN
+F 1 "5k" H 8750 9650 50 0000 C CNN
+F 2 "" H 8750 9680 30 0000 C CNN
+F 3 "" V 8750 9750 30 0000 C CNN
+ 1 8700 9700
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C6
+U 1 1 684AF806
+P 8250 9700
+F 0 "C6" H 8275 9800 50 0000 L CNN
+F 1 "15p" H 8275 9600 50 0000 L CNN
+F 2 "" H 8288 9550 30 0000 C CNN
+F 3 "" H 8250 9700 60 0000 C CNN
+ 1 8250 9700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q44
+U 1 1 684AF80C
+P 9400 8900
+F 0 "Q44" H 9300 8950 50 0000 R CNN
+F 1 "eSim_NPN" H 9350 9050 50 0000 R CNN
+F 2 "" H 9600 9000 29 0000 C CNN
+F 3 "" H 9400 8900 60 0000 C CNN
+ 1 9400 8900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R26
+U 1 1 684AF812
+P 9450 9500
+F 0 "R26" H 9500 9630 50 0000 C CNN
+F 1 "50k" H 9500 9450 50 0000 C CNN
+F 2 "" H 9500 9480 30 0000 C CNN
+F 3 "" V 9500 9550 30 0000 C CNN
+ 1 9450 9500
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C8
+U 1 1 684AF833
+P 9000 8500
+F 0 "C8" H 9025 8600 50 0000 L CNN
+F 1 "15p" H 9025 8400 50 0000 L CNN
+F 2 "" H 9038 8350 30 0000 C CNN
+F 3 "" H 9000 8500 60 0000 C CNN
+ 1 9000 8500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 684AF839
+P 9000 8250
+F 0 "D4" H 9000 8350 50 0000 C CNN
+F 1 "eSim_Diode" H 9000 8150 50 0000 C CNN
+F 2 "" H 9000 8250 60 0000 C CNN
+F 3 "" H 9000 8250 60 0000 C CNN
+ 1 9000 8250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q48
+U 1 1 684AF846
+P 10400 9300
+F 0 "Q48" H 10300 9350 50 0000 R CNN
+F 1 "eSim_NPN" H 10350 9450 50 0000 R CNN
+F 2 "" H 10600 9400 29 0000 C CNN
+F 3 "" H 10400 9300 60 0000 C CNN
+ 1 10400 9300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q56
+U 1 1 684AF854
+P 11500 8650
+F 0 "Q56" H 11400 8700 50 0000 R CNN
+F 1 "eSim_PNP" H 11450 8800 50 0000 R CNN
+F 2 "" H 11700 8750 29 0000 C CNN
+F 3 "" H 11500 8650 60 0000 C CNN
+ 1 11500 8650
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R32
+U 1 1 684AF85D
+P 11550 7900
+F 0 "R32" H 11600 8030 50 0000 C CNN
+F 1 "27" H 11600 7850 50 0000 C CNN
+F 2 "" H 11600 7880 30 0000 C CNN
+F 3 "" V 11600 7950 30 0000 C CNN
+ 1 11550 7900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R31
+U 1 1 684AF864
+P 11550 7400
+F 0 "R31" H 11600 7530 50 0000 C CNN
+F 1 "27" H 11600 7350 50 0000 C CNN
+F 2 "" H 11600 7380 30 0000 C CNN
+F 3 "" V 11600 7450 30 0000 C CNN
+ 1 11550 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q55
+U 1 1 684AF86B
+P 11500 6750
+F 0 "Q55" H 11400 6800 50 0000 R CNN
+F 1 "eSim_NPN" H 11450 6900 50 0000 R CNN
+F 2 "" H 11700 6850 29 0000 C CNN
+F 3 "" H 11500 6750 60 0000 C CNN
+ 1 11500 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R28
+U 1 1 684AF872
+P 9950 8150
+F 0 "R28" H 10000 8280 50 0000 C CNN
+F 1 "50k" H 10000 8100 50 0000 C CNN
+F 2 "" H 10000 8130 30 0000 C CNN
+F 3 "" V 10000 8200 30 0000 C CNN
+ 1 9950 8150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q52
+U 1 1 684AF878
+P 10550 7900
+F 0 "Q52" H 10450 7950 50 0000 R CNN
+F 1 "eSim_NPN" H 10500 8050 50 0000 R CNN
+F 2 "" H 10750 8000 29 0000 C CNN
+F 3 "" H 10550 7900 60 0000 C CNN
+ 1 10550 7900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q46
+U 1 1 684AF884
+P 10100 7250
+F 0 "Q46" H 10000 7300 50 0000 R CNN
+F 1 "eSim_NPN" H 10050 7400 50 0000 R CNN
+F 2 "" H 10300 7350 29 0000 C CNN
+F 3 "" H 10100 7250 60 0000 C CNN
+ 1 10100 7250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q51
+U 1 1 684AF891
+P 10550 6400
+F 0 "Q51" H 10450 6450 50 0000 R CNN
+F 1 "eSim_PNP" H 10500 6550 50 0000 R CNN
+F 2 "" H 10750 6500 29 0000 C CNN
+F 3 "" H 10550 6400 60 0000 C CNN
+ 1 10550 6400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q58
+U 1 1 684AF89E
+P 12350 6350
+F 0 "Q58" H 12250 6400 50 0000 R CNN
+F 1 "eSim_PNP" H 12300 6500 50 0000 R CNN
+F 2 "" H 12550 6450 29 0000 C CNN
+F 3 "" H 12350 6350 60 0000 C CNN
+ 1 12350 6350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q60
+U 1 1 684AF8A9
+P 12600 8150
+F 0 "Q60" H 12500 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 12550 8300 50 0000 R CNN
+F 2 "" H 12800 8250 29 0000 C CNN
+F 3 "" H 12600 8150 60 0000 C CNN
+ 1 12600 8150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R34
+U 1 1 684AF8AF
+P 12450 8850
+F 0 "R34" H 12500 8980 50 0000 C CNN
+F 1 "5.8k" H 12500 8800 50 0000 C CNN
+F 2 "" H 12500 8830 30 0000 C CNN
+F 3 "" V 12500 8900 30 0000 C CNN
+ 1 12450 8850
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J4
+U 1 1 684AF8BE
+P 13000 7150
+F 0 "J4" H 12900 7200 50 0000 R CNN
+F 1 "jfet_n" H 12950 7300 50 0000 R CNN
+F 2 "" H 13200 7250 29 0000 C CNN
+F 3 "" H 13000 7150 60 0000 C CNN
+ 1 13000 7150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R36
+U 1 1 684AF8CC
+P 13650 7800
+F 0 "R36" H 13700 7930 50 0000 C CNN
+F 1 "120" H 13700 7750 50 0000 C CNN
+F 2 "" H 13700 7780 30 0000 C CNN
+F 3 "" V 13700 7850 30 0000 C CNN
+ 1 13650 7800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q64
+U 1 1 684AF8E1
+P 13050 8150
+F 0 "Q64" H 12950 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 13000 8300 50 0000 R CNN
+F 2 "" H 13250 8250 29 0000 C CNN
+F 3 "" H 13050 8150 60 0000 C CNN
+ 1 13050 8150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q63
+U 1 1 684AF8E8
+P 12950 8700
+F 0 "Q63" H 12850 8750 50 0000 R CNN
+F 1 "eSim_NPN" H 12900 8850 50 0000 R CNN
+F 2 "" H 13150 8800 29 0000 C CNN
+F 3 "" H 12950 8700 60 0000 C CNN
+ 1 12950 8700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 684B6A20
+P -1000 -150
+F 0 "U1" H -950 -50 30 0000 C CNN
+F 1 "PORT" H -1000 -150 30 0000 C CNN
+F 2 "" H -1000 -150 60 0000 C CNN
+F 3 "" H -1000 -150 60 0000 C CNN
+ 4 -1000 -150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 684B6BAE
+P -900 1450
+F 0 "U1" H -850 1550 30 0000 C CNN
+F 1 "PORT" H -900 1450 30 0000 C CNN
+F 2 "" H -900 1450 60 0000 C CNN
+F 3 "" H -900 1450 60 0000 C CNN
+ 2 -900 1450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 684B70A0
+P -900 1950
+F 0 "U1" H -850 2050 30 0000 C CNN
+F 1 "PORT" H -900 1950 30 0000 C CNN
+F 2 "" H -900 1950 60 0000 C CNN
+F 3 "" H -900 1950 60 0000 C CNN
+ 3 -900 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684B7229
+P -1400 3900
+F 0 "U1" H -1350 4000 30 0000 C CNN
+F 1 "PORT" H -1400 3900 30 0000 C CNN
+F 2 "" H -1400 3900 60 0000 C CNN
+F 3 "" H -1400 3900 60 0000 C CNN
+ 11 -1400 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 684B7567
+P 5800 2450
+F 0 "U1" H 5850 2550 30 0000 C CNN
+F 1 "PORT" H 5800 2450 30 0000 C CNN
+F 2 "" H 5800 2450 60 0000 C CNN
+F 3 "" H 5800 2450 60 0000 C CNN
+ 1 5800 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 684BBC1B
+P 6750 1300
+F 0 "U1" H 6800 1400 30 0000 C CNN
+F 1 "PORT" H 6750 1300 30 0000 C CNN
+F 2 "" H 6750 1300 60 0000 C CNN
+F 3 "" H 6750 1300 60 0000 C CNN
+ 9 6750 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684BC30D
+P 6950 1800
+F 0 "U1" H 7000 1900 30 0000 C CNN
+F 1 "PORT" H 6950 1800 30 0000 C CNN
+F 2 "" H 6950 1800 60 0000 C CNN
+F 3 "" H 6950 1800 60 0000 C CNN
+ 11 6950 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 684BC4A8
+P 13350 2250
+F 0 "U1" H 13400 2350 30 0000 C CNN
+F 1 "PORT" H 13350 2250 30 0000 C CNN
+F 2 "" H 13350 2250 60 0000 C CNN
+F 3 "" H 13350 2250 60 0000 C CNN
+ 13 13350 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 684BF07D
+P -750 7600
+F 0 "U1" H -700 7700 30 0000 C CNN
+F 1 "PORT" H -750 7600 30 0000 C CNN
+F 2 "" H -750 7600 60 0000 C CNN
+F 3 "" H -750 7600 60 0000 C CNN
+ 5 -750 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 684BF472
+P -600 8100
+F 0 "U1" H -550 8200 30 0000 C CNN
+F 1 "PORT" H -600 8100 30 0000 C CNN
+F 2 "" H -600 8100 60 0000 C CNN
+F 3 "" H -600 8100 60 0000 C CNN
+ 6 -600 8100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684BF606
+P 5850 8500
+F 0 "U1" H 5900 8600 30 0000 C CNN
+F 1 "PORT" H 5850 8500 30 0000 C CNN
+F 2 "" H 5850 8500 60 0000 C CNN
+F 3 "" H 5850 8500 60 0000 C CNN
+ 8 5850 8500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 684BFCD0
+P 7050 7950
+F 0 "U1" H 7100 8050 30 0000 C CNN
+F 1 "PORT" H 7050 7950 30 0000 C CNN
+F 2 "" H 7050 7950 60 0000 C CNN
+F 3 "" H 7050 7950 60 0000 C CNN
+ 12 7050 7950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 684C0342
+P 6750 7450
+F 0 "U1" H 6800 7550 30 0000 C CNN
+F 1 "PORT" H 6750 7450 30 0000 C CNN
+F 2 "" H 6750 7450 60 0000 C CNN
+F 3 "" H 6750 7450 60 0000 C CNN
+ 10 6750 7450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 684C076C
+P 13400 8400
+F 0 "U1" H 13450 8500 30 0000 C CNN
+F 1 "PORT" H 13400 8400 30 0000 C CNN
+F 2 "" H 13400 8400 60 0000 C CNN
+F 3 "" H 13400 8400 60 0000 C CNN
+ 14 13400 8400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 13650 8250 13700 8250
+Wire Wire Line
+ 13650 8400 13650 8250
+Wire Wire Line
+ -1150 3900 -1000 3900
+Wire Wire Line
+ 6050 2250 6000 2250
+Wire Wire Line
+ 6050 2450 6050 2250
+Connection ~ 200 4000
+Wire Wire Line
+ -1000 3900 -1000 4000
+Connection ~ 6400 9550
+Connection ~ 7900 10000
+Connection ~ 6400 3400
+Wire Wire Line
+ 6400 3400 6400 10000
+Connection ~ 7800 3850
+Wire Wire Line
+ 6950 3400 6950 3850
+Connection ~ 5300 6100
+Connection ~ 6550 5900
+Connection ~ 6550 -300
+Wire Wire Line
+ 7150 5900 7150 5850
+Wire Wire Line
+ 5300 5900 7150 5900
+Wire Wire Line
+ 6550 -300 6550 5900
+Connection ~ 5200 -50
+Connection ~ 13150 7600
+Wire Wire Line
+ 12800 7600 13150 7600
+Wire Wire Line
+ 12800 8150 12800 7600
+Wire Wire Line
+ 13150 7350 13150 7950
+Wire Wire Line
+ 12900 7350 13150 7350
+Wire Wire Line
+ 13050 9150 13000 9150
+Wire Wire Line
+ 13050 8900 13050 9150
+Connection ~ 13050 8500
+Wire Wire Line
+ 12750 8500 12750 8700
+Wire Wire Line
+ 12750 8500 13150 8500
+Wire Wire Line
+ 13150 8500 13150 8350
+Wire Wire Line
+ 12800 8150 12850 8150
+Connection ~ 7200 7450
+Connection ~ 13700 8200
+Wire Wire Line
+ 7000 7450 7600 7450
+Wire Wire Line
+ 7300 7950 9050 7950
+Wire Wire Line
+ 9050 7950 9050 7450
+Connection ~ 13200 9400
+Connection ~ 8750 5950
+Wire Wire Line
+ 8750 5850 8750 5950
+Wire Wire Line
+ 7150 5850 8750 5850
+Wire Wire Line
+ 13700 8000 13700 8250
+Wire Wire Line
+ 13500 7700 13700 7700
+Wire Wire Line
+ 13500 7750 13500 7700
+Connection ~ 11600 7750
+Wire Wire Line
+ 11600 7750 13500 7750
+Connection ~ 13000 10000
+Wire Wire Line
+ 13200 10000 13200 7150
+Connection ~ 12500 10000
+Wire Wire Line
+ 13000 10000 13000 9150
+Connection ~ 12450 5950
+Wire Wire Line
+ 12900 5950 12900 6950
+Connection ~ 11900 6350
+Connection ~ 12450 6750
+Wire Wire Line
+ 11900 6750 12450 6750
+Wire Wire Line
+ 11900 6350 11900 6750
+Wire Wire Line
+ 12450 7950 12500 7950
+Wire Wire Line
+ 12450 6550 12450 7950
+Connection ~ 11600 10000
+Wire Wire Line
+ 12500 10000 12500 9050
+Wire Wire Line
+ 12500 8350 12500 8750
+Connection ~ 10350 6400
+Wire Wire Line
+ 10800 6350 10800 6400
+Wire Wire Line
+ 12150 6350 10800 6350
+Connection ~ 11600 5950
+Wire Wire Line
+ 12450 5950 12450 6150
+Connection ~ 10650 5950
+Wire Wire Line
+ 10650 6200 10650 5950
+Wire Wire Line
+ 8550 6400 10800 6400
+Wire Wire Line
+ 8550 6800 8550 6400
+Connection ~ 10650 6750
+Connection ~ 9500 5950
+Wire Wire Line
+ 11600 5950 11600 6550
+Connection ~ 10650 7050
+Wire Wire Line
+ 11300 6750 10650 6750
+Connection ~ 10650 7250
+Wire Wire Line
+ 10650 7050 10000 7050
+Wire Wire Line
+ 10650 7250 10300 7250
+Wire Wire Line
+ 10650 6600 10650 7700
+Connection ~ 10000 7900
+Wire Wire Line
+ 10000 7900 10350 7900
+Wire Wire Line
+ 10000 7450 10000 8050
+Connection ~ 10000 8650
+Wire Wire Line
+ 10000 8350 10000 8650
+Connection ~ 10650 8650
+Wire Wire Line
+ 10650 8100 10650 8650
+Wire Wire Line
+ 11600 6950 11600 7300
+Wire Wire Line
+ 11600 7600 11600 7800
+Wire Wire Line
+ 11600 8100 11600 8450
+Connection ~ 10500 10000
+Wire Wire Line
+ 11600 10000 11600 8850
+Connection ~ 10500 8650
+Wire Wire Line
+ 10500 8650 10500 9100
+Wire Wire Line
+ 9350 8650 11300 8650
+Wire Wire Line
+ 9350 8500 9350 8650
+Wire Wire Line
+ 9150 8500 9350 8500
+Connection ~ 9500 9300
+Wire Wire Line
+ 10200 9300 9500 9300
+Connection ~ 9500 10000
+Wire Wire Line
+ 10500 10000 10500 9500
+Wire Wire Line
+ 9150 8250 9150 8500
+Connection ~ 8800 8500
+Wire Wire Line
+ 8800 8400 8800 8500
+Wire Wire Line
+ 8850 8400 8800 8400
+Wire Wire Line
+ 8850 8250 8850 8400
+Connection ~ 8750 8500
+Wire Wire Line
+ 8850 8500 8750 8500
+Wire Wire Line
+ 8250 5950 12900 5950
+Wire Wire Line
+ 9500 8700 9500 5950
+Connection ~ 8750 10000
+Wire Wire Line
+ 9500 10000 9500 9700
+Wire Wire Line
+ 9500 9100 9500 9400
+Connection ~ 8750 8900
+Wire Wire Line
+ 9200 8900 8750 8900
+Connection ~ 7900 9550
+Wire Wire Line
+ 8250 9550 7900 9550
+Connection ~ 8250 10000
+Wire Wire Line
+ 8250 9850 8250 10000
+Wire Wire Line
+ 8750 10000 8750 9900
+Wire Wire Line
+ 6400 10000 13200 10000
+Wire Wire Line
+ 7900 9950 7900 10000
+Wire Wire Line
+ 8750 9450 8750 9600
+Wire Wire Line
+ 7900 9450 7900 9650
+Connection ~ 8350 9250
+Connection ~ 7900 8750
+Wire Wire Line
+ 8350 8750 7900 8750
+Wire Wire Line
+ 8350 9250 8350 8750
+Wire Wire Line
+ 8200 9250 8450 9250
+Wire Wire Line
+ 8750 7650 8750 9050
+Wire Wire Line
+ 7900 7650 7900 9050
+Wire Wire Line
+ 8250 6250 8250 6600
+Connection ~ 8250 7250
+Wire Wire Line
+ 8250 7000 8250 7250
+Wire Wire Line
+ 7900 7250 8750 7250
+Connection ~ 5550 7750
+Wire Wire Line
+ 5200 7750 5550 7750
+Wire Wire Line
+ 5200 8300 5200 7750
+Wire Wire Line
+ 5550 7500 5550 8100
+Wire Wire Line
+ 5300 7500 5550 7500
+Wire Wire Line
+ 5450 9300 5400 9300
+Wire Wire Line
+ 5450 9050 5450 9300
+Connection ~ 5450 8650
+Wire Wire Line
+ 5150 8650 5150 8850
+Wire Wire Line
+ 5150 8650 5550 8650
+Wire Wire Line
+ 5550 8650 5550 8500
+Wire Wire Line
+ 5200 8300 5250 8300
+Connection ~ -400 7600
+Connection ~ 6100 8350
+Wire Wire Line
+ -500 7600 0 7600
+Wire Wire Line
+ -350 8100 1450 8100
+Wire Wire Line
+ 1450 8100 1450 7600
+Connection ~ 5600 9550
+Wire Wire Line
+ 5600 9550 6400 9550
+Connection ~ 1150 6100
+Wire Wire Line
+ 1150 6000 1150 6100
+Wire Wire Line
+ 6100 8150 6100 8500
+Wire Wire Line
+ 5900 7850 6100 7850
+Wire Wire Line
+ 5900 7900 5900 7850
+Connection ~ 4000 7900
+Wire Wire Line
+ 4000 7900 5900 7900
+Connection ~ 5400 10150
+Wire Wire Line
+ 5600 10150 5600 7300
+Connection ~ 4900 10150
+Wire Wire Line
+ 5400 10150 5400 9300
+Connection ~ 4850 6100
+Wire Wire Line
+ 5300 5900 5300 7100
+Connection ~ 4300 6500
+Connection ~ 4850 6900
+Wire Wire Line
+ 4300 6900 4850 6900
+Wire Wire Line
+ 4300 6500 4300 6900
+Wire Wire Line
+ 4850 8100 4900 8100
+Wire Wire Line
+ 4850 6700 4850 8100
+Connection ~ 4000 10150
+Wire Wire Line
+ 4900 10150 4900 9200
+Wire Wire Line
+ 4900 8500 4900 8900
+Connection ~ 2750 6550
+Wire Wire Line
+ 3200 6500 3200 6550
+Wire Wire Line
+ 4550 6500 3200 6500
+Connection ~ 4000 6100
+Wire Wire Line
+ 4850 6100 4850 6300
+Connection ~ 3050 6100
+Wire Wire Line
+ 3050 6350 3050 6100
+Wire Wire Line
+ 950 6550 3200 6550
+Wire Wire Line
+ 950 6950 950 6550
+Connection ~ 3050 6900
+Connection ~ 1900 6100
+Wire Wire Line
+ 4000 6100 4000 6700
+Connection ~ 3050 7200
+Wire Wire Line
+ 3700 6900 3050 6900
+Connection ~ 3050 7400
+Wire Wire Line
+ 3050 7200 2400 7200
+Wire Wire Line
+ 3050 7400 2700 7400
+Wire Wire Line
+ 3050 6750 3050 7850
+Connection ~ 2400 8050
+Wire Wire Line
+ 2400 8050 2750 8050
+Wire Wire Line
+ 2400 7600 2400 8200
+Connection ~ 2400 8800
+Wire Wire Line
+ 2400 8500 2400 8800
+Connection ~ 3050 8800
+Wire Wire Line
+ 3050 8250 3050 8800
+Wire Wire Line
+ 4000 7100 4000 7450
+Wire Wire Line
+ 4000 7750 4000 7950
+Wire Wire Line
+ 4000 8250 4000 8600
+Connection ~ 2900 10150
+Wire Wire Line
+ 4000 10150 4000 9000
+Connection ~ 2900 8800
+Wire Wire Line
+ 2900 8800 2900 9250
+Wire Wire Line
+ 1750 8800 3700 8800
+Wire Wire Line
+ 1750 8650 1750 8800
+Wire Wire Line
+ 1550 8650 1750 8650
+Connection ~ 1900 9450
+Wire Wire Line
+ 2600 9450 1900 9450
+Connection ~ 1900 10150
+Wire Wire Line
+ 2900 10150 2900 9650
+Wire Wire Line
+ 1550 8400 1550 8650
+Connection ~ 1200 8650
+Wire Wire Line
+ 1200 8550 1200 8650
+Wire Wire Line
+ 1250 8550 1200 8550
+Wire Wire Line
+ 1250 8400 1250 8550
+Connection ~ 1150 8650
+Wire Wire Line
+ 1250 8650 1150 8650
+Wire Wire Line
+ 650 6100 5300 6100
+Wire Wire Line
+ 1900 8850 1900 6100
+Connection ~ 1150 10150
+Wire Wire Line
+ 1900 10150 1900 9850
+Wire Wire Line
+ 1900 9250 1900 9550
+Connection ~ 1150 9050
+Wire Wire Line
+ 1600 9050 1150 9050
+Connection ~ 300 9700
+Wire Wire Line
+ 650 9700 300 9700
+Connection ~ 650 10150
+Wire Wire Line
+ 650 10000 650 10150
+Wire Wire Line
+ 1150 10150 1150 10050
+Wire Wire Line
+ 300 10150 5600 10150
+Wire Wire Line
+ 300 10100 300 10150
+Wire Wire Line
+ 1150 9600 1150 9750
+Wire Wire Line
+ 300 9600 300 9800
+Connection ~ 750 9400
+Connection ~ 300 8900
+Wire Wire Line
+ 750 8900 300 8900
+Wire Wire Line
+ 750 9400 750 8900
+Wire Wire Line
+ 600 9400 850 9400
+Wire Wire Line
+ 1150 7800 1150 9200
+Wire Wire Line
+ 300 7800 300 9200
+Wire Wire Line
+ 650 6400 650 6750
+Connection ~ 650 7400
+Wire Wire Line
+ 650 7150 650 7400
+Wire Wire Line
+ 300 7400 1150 7400
+Connection ~ 13050 1450
+Wire Wire Line
+ 12700 1450 13050 1450
+Wire Wire Line
+ 12700 2000 12700 1450
+Wire Wire Line
+ 13050 1200 13050 1800
+Wire Wire Line
+ 12800 1200 13050 1200
+Wire Wire Line
+ 12950 3000 12900 3000
+Wire Wire Line
+ 12950 2750 12950 3000
+Connection ~ 12950 2350
+Wire Wire Line
+ 12650 2350 12650 2550
+Wire Wire Line
+ 12650 2350 13050 2350
+Wire Wire Line
+ 13050 2350 13050 2200
+Wire Wire Line
+ 12700 2000 12750 2000
+Connection ~ 7100 1300
+Connection ~ 13600 2050
+Wire Wire Line
+ 7000 1300 7500 1300
+Wire Wire Line
+ 7200 1800 8950 1800
+Wire Wire Line
+ 8950 1800 8950 1300
+Connection ~ 13100 3250
+Connection ~ 8650 -200
+Wire Wire Line
+ 8650 -300 8650 -200
+Wire Wire Line
+ 5200 -300 8650 -300
+Wire Wire Line
+ 13600 1850 13600 2250
+Wire Wire Line
+ 13400 1550 13600 1550
+Wire Wire Line
+ 13400 1600 13400 1550
+Connection ~ 11500 1600
+Wire Wire Line
+ 11500 1600 13400 1600
+Connection ~ 12900 3850
+Wire Wire Line
+ 13100 3850 13100 1000
+Connection ~ 12400 3850
+Wire Wire Line
+ 12900 3850 12900 3000
+Connection ~ 12350 -200
+Wire Wire Line
+ 12800 -200 12800 800
+Connection ~ 11800 200
+Connection ~ 12350 600
+Wire Wire Line
+ 11800 600 12350 600
+Wire Wire Line
+ 11800 200 11800 600
+Wire Wire Line
+ 12350 1800 12400 1800
+Wire Wire Line
+ 12350 400 12350 1800
+Connection ~ 11500 3850
+Wire Wire Line
+ 12400 3850 12400 2900
+Wire Wire Line
+ 12400 2200 12400 2600
+Connection ~ 10250 250
+Wire Wire Line
+ 10700 200 10700 250
+Wire Wire Line
+ 12050 200 10700 200
+Connection ~ 11500 -200
+Wire Wire Line
+ 12350 -200 12350 0
+Connection ~ 10550 -200
+Wire Wire Line
+ 10550 50 10550 -200
+Wire Wire Line
+ 8450 250 10700 250
+Wire Wire Line
+ 8450 650 8450 250
+Connection ~ 10550 600
+Connection ~ 9400 -200
+Wire Wire Line
+ 11500 -200 11500 400
+Connection ~ 10550 900
+Wire Wire Line
+ 11200 600 10550 600
+Connection ~ 10550 1100
+Wire Wire Line
+ 10550 900 9900 900
+Wire Wire Line
+ 10550 1100 10200 1100
+Wire Wire Line
+ 10550 450 10550 1550
+Connection ~ 9900 1750
+Wire Wire Line
+ 9900 1750 10250 1750
+Wire Wire Line
+ 9900 1300 9900 1900
+Connection ~ 9900 2500
+Wire Wire Line
+ 9900 2200 9900 2500
+Connection ~ 10550 2500
+Wire Wire Line
+ 10550 1950 10550 2500
+Wire Wire Line
+ 11500 800 11500 1150
+Wire Wire Line
+ 11500 1450 11500 1650
+Wire Wire Line
+ 11500 1950 11500 2300
+Connection ~ 10400 3850
+Wire Wire Line
+ 11500 3850 11500 2700
+Connection ~ 10400 2500
+Wire Wire Line
+ 10400 2500 10400 2950
+Wire Wire Line
+ 9250 2500 11200 2500
+Wire Wire Line
+ 9250 2350 9250 2500
+Wire Wire Line
+ 9050 2350 9250 2350
+Connection ~ 9400 3150
+Wire Wire Line
+ 10100 3150 9400 3150
+Connection ~ 9400 3850
+Wire Wire Line
+ 10400 3850 10400 3350
+Wire Wire Line
+ 9050 2100 9050 2350
+Connection ~ 8700 2350
+Wire Wire Line
+ 8700 2250 8700 2350
+Wire Wire Line
+ 8750 2250 8700 2250
+Wire Wire Line
+ 8750 2100 8750 2250
+Connection ~ 8650 2350
+Wire Wire Line
+ 8750 2350 8650 2350
+Wire Wire Line
+ 8150 -200 12800 -200
+Wire Wire Line
+ 9400 2550 9400 -200
+Connection ~ 8650 3850
+Wire Wire Line
+ 9400 3850 9400 3550
+Wire Wire Line
+ 9400 2950 9400 3250
+Connection ~ 8650 2750
+Wire Wire Line
+ 9100 2750 8650 2750
+Connection ~ 7800 3400
+Wire Wire Line
+ 8150 3400 7800 3400
+Connection ~ 8150 3850
+Wire Wire Line
+ 8150 3700 8150 3850
+Wire Wire Line
+ 8650 3850 8650 3750
+Wire Wire Line
+ 6950 3850 13100 3850
+Wire Wire Line
+ 7800 3800 7800 3850
+Wire Wire Line
+ 8650 3300 8650 3450
+Wire Wire Line
+ 7800 3300 7800 3500
+Connection ~ 8250 3100
+Connection ~ 7800 2600
+Wire Wire Line
+ 8250 2600 7800 2600
+Wire Wire Line
+ 8250 3100 8250 2600
+Wire Wire Line
+ 8100 3100 8350 3100
+Wire Wire Line
+ 8650 1500 8650 2900
+Wire Wire Line
+ 7800 1500 7800 2900
+Wire Wire Line
+ 8150 100 8150 450
+Connection ~ 8150 1100
+Wire Wire Line
+ 8150 850 8150 1100
+Wire Wire Line
+ 7800 1100 8650 1100
+Connection ~ 5450 1600
+Wire Wire Line
+ 5100 1600 5450 1600
+Wire Wire Line
+ 5100 2150 5100 1600
+Wire Wire Line
+ 5450 1350 5450 1950
+Wire Wire Line
+ 5200 1350 5450 1350
+Wire Wire Line
+ 5350 3150 5300 3150
+Wire Wire Line
+ 5350 2900 5350 3150
+Connection ~ 5350 2500
+Wire Wire Line
+ 5050 2500 5050 2700
+Wire Wire Line
+ 5050 2500 5450 2500
+Wire Wire Line
+ 5450 2500 5450 2350
+Wire Wire Line
+ 5100 2150 5150 2150
+Connection ~ -500 1450
+Connection ~ 6000 2200
+Wire Wire Line
+ -650 1450 -100 1450
+Wire Wire Line
+ -650 1950 1350 1950
+Wire Wire Line
+ 1350 1950 1350 1450
+Connection ~ 5500 3400
+Wire Wire Line
+ 5500 3400 6950 3400
+Connection ~ 1050 -50
+Wire Wire Line
+ 1050 -150 1050 -50
+Wire Wire Line
+ -750 -150 1050 -150
+Wire Wire Line
+ 6000 2000 6000 2250
+Wire Wire Line
+ 5800 1700 6000 1700
+Wire Wire Line
+ 5800 1750 5800 1700
+Connection ~ 3900 1750
+Wire Wire Line
+ 3900 1750 5800 1750
+Connection ~ 5300 4000
+Wire Wire Line
+ 5500 4000 5500 1150
+Connection ~ 4800 4000
+Wire Wire Line
+ 5300 4000 5300 3150
+Connection ~ 4750 -50
+Wire Wire Line
+ 5200 -300 5200 950
+Connection ~ 4200 350
+Connection ~ 4750 750
+Wire Wire Line
+ 4200 750 4750 750
+Wire Wire Line
+ 4200 350 4200 750
+Wire Wire Line
+ 4750 1950 4800 1950
+Wire Wire Line
+ 4750 550 4750 1950
+Connection ~ 3900 4000
+Wire Wire Line
+ 4800 4000 4800 3050
+Wire Wire Line
+ 4800 2350 4800 2750
+Connection ~ 2650 400
+Wire Wire Line
+ 3100 350 3100 400
+Wire Wire Line
+ 4450 350 3100 350
+Connection ~ 3900 -50
+Wire Wire Line
+ 4750 -50 4750 150
+Connection ~ 2950 -50
+Wire Wire Line
+ 2950 200 2950 -50
+Wire Wire Line
+ 850 400 3100 400
+Wire Wire Line
+ 850 800 850 400
+Connection ~ 2950 750
+Connection ~ 1800 -50
+Wire Wire Line
+ 3900 -50 3900 550
+Connection ~ 2950 1050
+Wire Wire Line
+ 3600 750 2950 750
+Connection ~ 2950 1250
+Wire Wire Line
+ 2950 1050 2300 1050
+Wire Wire Line
+ 2950 1250 2600 1250
+Wire Wire Line
+ 2950 600 2950 1700
+Connection ~ 2300 1900
+Wire Wire Line
+ 2300 1900 2650 1900
+Wire Wire Line
+ 2300 1450 2300 2050
+Connection ~ 2300 2650
+Wire Wire Line
+ 2300 2350 2300 2650
+Connection ~ 2950 2650
+Wire Wire Line
+ 2950 2100 2950 2650
+Wire Wire Line
+ 3900 950 3900 1300
+Wire Wire Line
+ 3900 1600 3900 1800
+Wire Wire Line
+ 3900 2100 3900 2450
+Connection ~ 2800 4000
+Wire Wire Line
+ 3900 4000 3900 2850
+Connection ~ 2800 2650
+Wire Wire Line
+ 2800 2650 2800 3100
+Wire Wire Line
+ 1650 2650 3600 2650
+Wire Wire Line
+ 1650 2500 1650 2650
+Wire Wire Line
+ 1450 2500 1650 2500
+Connection ~ 1800 3300
+Wire Wire Line
+ 2500 3300 1800 3300
+Connection ~ 1800 4000
+Wire Wire Line
+ 2800 4000 2800 3500
+Wire Wire Line
+ 1450 2250 1450 2500
+Connection ~ 1100 2500
+Wire Wire Line
+ 1100 2400 1100 2500
+Wire Wire Line
+ 1150 2400 1100 2400
+Wire Wire Line
+ 1150 2250 1150 2400
+Connection ~ 1050 2500
+Wire Wire Line
+ 1150 2500 1050 2500
+Wire Wire Line
+ 550 -50 5200 -50
+Wire Wire Line
+ 1800 2700 1800 -50
+Connection ~ 1050 4000
+Wire Wire Line
+ 1800 4000 1800 3700
+Wire Wire Line
+ 1800 3100 1800 3400
+Connection ~ 1050 2900
+Wire Wire Line
+ 1500 2900 1050 2900
+Connection ~ 200 3550
+Wire Wire Line
+ 550 3550 200 3550
+Connection ~ 550 4000
+Wire Wire Line
+ 550 3850 550 4000
+Wire Wire Line
+ 1050 4000 1050 3900
+Wire Wire Line
+ -1000 4000 5500 4000
+Wire Wire Line
+ 200 3950 200 4000
+Wire Wire Line
+ 1050 3450 1050 3600
+Wire Wire Line
+ 200 3450 200 3650
+Connection ~ 650 3250
+Connection ~ 200 2750
+Wire Wire Line
+ 650 2750 200 2750
+Wire Wire Line
+ 650 3250 650 2750
+Wire Wire Line
+ 500 3250 750 3250
+Wire Wire Line
+ 1050 1650 1050 3050
+Wire Wire Line
+ 200 1650 200 3050
+Wire Wire Line
+ 550 250 550 600
+Connection ~ 550 1250
+Wire Wire Line
+ 550 1000 550 1250
+Wire Wire Line
+ 200 1250 1050 1250
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5228/M5228.cir b/library/SubcircuitLibrary/M5228/M5228.cir
new file mode 100644
index 000000000..682d9e2d4
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.cir
@@ -0,0 +1,127 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M5228\M5228.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/12/25 14:22:19
+
+* 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: /
+Q5 Net-_Q1-Pad3_ Net-_Q17-Pad2_ Net-_Q5-Pad3_ eSim_PNP
+Q9 Net-_C3-Pad2_ Net-_Q9-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+Q1 Net-_Q1-Pad1_ Net-_Q1-Pad2_ Net-_Q1-Pad3_ eSim_PNP
+R3 Net-_J1-Pad1_ Net-_Q5-Pad3_ 8.7k
+Q7 Net-_C3-Pad2_ Net-_Q1-Pad1_ Net-_Q7-Pad3_ eSim_NPN
+Q3 Net-_Q1-Pad1_ Net-_Q1-Pad1_ Net-_C1-Pad1_ eSim_NPN
+R1 Net-_C1-Pad1_ Net-_C1-Pad2_ 5k
+R5 Net-_Q7-Pad3_ Net-_C1-Pad2_ 5k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 15p
+Q11 Net-_J1-Pad1_ Net-_C3-Pad2_ Net-_Q11-Pad3_ eSim_NPN
+R7 Net-_Q11-Pad3_ Net-_C1-Pad2_ 50k
+C3 Net-_C3-Pad1_ Net-_C3-Pad2_ 15p
+D1 Net-_C3-Pad2_ Net-_C3-Pad1_ eSim_Diode
+Q15 Net-_C3-Pad1_ Net-_Q11-Pad3_ Net-_C1-Pad2_ eSim_NPN
+Q22 Net-_C1-Pad2_ Net-_C3-Pad1_ Net-_Q22-Pad3_ eSim_PNP
+R12 Net-_R11-Pad2_ Net-_Q22-Pad3_ 27
+R11 Net-_Q21-Pad3_ Net-_R11-Pad2_ 27
+Q21 Net-_J1-Pad1_ Net-_Q13-Pad1_ Net-_Q21-Pad3_ eSim_NPN
+R9 Net-_Q13-Pad3_ Net-_C3-Pad1_ 50k
+Q18 Net-_Q13-Pad1_ Net-_Q13-Pad3_ Net-_C3-Pad1_ eSim_NPN
+Q13 Net-_Q13-Pad1_ Net-_Q13-Pad1_ Net-_Q13-Pad3_ eSim_NPN
+Q17 Net-_Q13-Pad1_ Net-_Q17-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q25 Net-_Q17-Pad2_ Net-_Q17-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q27 Net-_Q17-Pad2_ Net-_J1-Pad3_ Net-_Q27-Pad3_ eSim_NPN
+R15 Net-_Q27-Pad3_ Net-_C1-Pad2_ 5.8k
+J1 Net-_J1-Pad1_ Net-_C1-Pad2_ Net-_J1-Pad3_ jfet_n
+R17 Net-_R11-Pad2_ Net-_R17-Pad2_ 120
+Q30 Net-_J1-Pad3_ Net-_J1-Pad3_ Net-_Q29-Pad1_ eSim_NPN
+Q29 Net-_Q29-Pad1_ Net-_Q29-Pad1_ Net-_C1-Pad2_ eSim_NPN
+Q37 Net-_Q33-Pad3_ Net-_Q37-Pad2_ Net-_Q37-Pad3_ eSim_PNP
+Q41 Net-_C7-Pad2_ Net-_Q41-Pad2_ Net-_Q33-Pad3_ eSim_PNP
+Q33 Net-_Q33-Pad1_ Net-_Q33-Pad2_ Net-_Q33-Pad3_ eSim_PNP
+R21 Net-_J1-Pad1_ Net-_Q37-Pad3_ 8.7k
+Q39 Net-_C7-Pad2_ Net-_Q33-Pad1_ Net-_Q39-Pad3_ eSim_NPN
+Q35 Net-_Q33-Pad1_ Net-_Q33-Pad1_ Net-_C5-Pad1_ eSim_NPN
+R19 Net-_C5-Pad1_ Net-_C1-Pad2_ 5k
+R23 Net-_Q39-Pad3_ Net-_C1-Pad2_ 5k
+C5 Net-_C5-Pad1_ Net-_C1-Pad2_ 15p
+Q43 Net-_J1-Pad1_ Net-_C7-Pad2_ Net-_Q43-Pad3_ eSim_NPN
+R25 Net-_Q43-Pad3_ Net-_C1-Pad2_ 50k
+C7 Net-_C7-Pad1_ Net-_C7-Pad2_ 15p
+D3 Net-_C7-Pad2_ Net-_C7-Pad1_ eSim_Diode
+Q47 Net-_C7-Pad1_ Net-_Q43-Pad3_ Net-_C1-Pad2_ eSim_NPN
+Q54 Net-_C1-Pad2_ Net-_C7-Pad1_ Net-_Q54-Pad3_ eSim_PNP
+R30 Net-_R29-Pad2_ Net-_Q54-Pad3_ 27
+R29 Net-_Q53-Pad3_ Net-_R29-Pad2_ 27
+Q53 Net-_J1-Pad1_ Net-_Q45-Pad1_ Net-_Q53-Pad3_ eSim_NPN
+R27 Net-_Q45-Pad3_ Net-_C7-Pad1_ 50k
+Q50 Net-_Q45-Pad1_ Net-_Q45-Pad3_ Net-_C7-Pad1_ eSim_NPN
+Q45 Net-_Q45-Pad1_ Net-_Q45-Pad1_ Net-_Q45-Pad3_ eSim_NPN
+Q49 Net-_Q45-Pad1_ Net-_Q37-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q57 Net-_Q37-Pad2_ Net-_Q37-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q59 Net-_Q37-Pad2_ Net-_J3-Pad3_ Net-_Q59-Pad3_ eSim_NPN
+R33 Net-_Q59-Pad3_ Net-_C1-Pad2_ 5.8k
+J3 Net-_J1-Pad1_ Net-_C1-Pad2_ Net-_J3-Pad3_ jfet_n
+R35 Net-_R29-Pad2_ Net-_R35-Pad2_ 120
+Q62 Net-_J3-Pad3_ Net-_J3-Pad3_ Net-_Q61-Pad1_ eSim_NPN
+Q61 Net-_Q61-Pad1_ Net-_Q61-Pad1_ Net-_C1-Pad2_ eSim_NPN
+Q6 Net-_Q10-Pad3_ Net-_Q19-Pad2_ Net-_Q6-Pad3_ eSim_PNP
+Q10 Net-_C4-Pad2_ Net-_Q10-Pad2_ Net-_Q10-Pad3_ eSim_PNP
+Q2 Net-_Q2-Pad1_ Net-_Q2-Pad2_ Net-_Q10-Pad3_ eSim_PNP
+R4 Net-_J1-Pad1_ Net-_Q6-Pad3_ 8.7k
+Q8 Net-_C4-Pad2_ Net-_Q2-Pad1_ Net-_Q8-Pad3_ eSim_NPN
+Q4 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_C2-Pad1_ eSim_NPN
+R2 Net-_C2-Pad1_ Net-_C1-Pad2_ 5k
+R6 Net-_Q8-Pad3_ Net-_C1-Pad2_ 5k
+C2 Net-_C2-Pad1_ Net-_C1-Pad2_ 15p
+Q12 Net-_J1-Pad1_ Net-_C4-Pad2_ Net-_Q12-Pad3_ eSim_NPN
+R8 Net-_Q12-Pad3_ Net-_C1-Pad2_ 50k
+C4 Net-_C4-Pad1_ Net-_C4-Pad2_ 15p
+D2 Net-_C4-Pad2_ Net-_C4-Pad1_ eSim_Diode
+Q16 Net-_C4-Pad1_ Net-_Q12-Pad3_ Net-_C1-Pad2_ eSim_NPN
+Q24 Net-_C1-Pad2_ Net-_C4-Pad1_ Net-_Q24-Pad3_ eSim_PNP
+R14 Net-_R13-Pad2_ Net-_Q24-Pad3_ 27
+R13 Net-_Q23-Pad3_ Net-_R13-Pad2_ 27
+Q23 Net-_J1-Pad1_ Net-_Q14-Pad1_ Net-_Q23-Pad3_ eSim_NPN
+R10 Net-_Q14-Pad3_ Net-_C4-Pad1_ 50k
+Q20 Net-_Q14-Pad1_ Net-_Q14-Pad3_ Net-_C4-Pad1_ eSim_NPN
+Q14 Net-_Q14-Pad1_ Net-_Q14-Pad1_ Net-_Q14-Pad3_ eSim_NPN
+Q19 Net-_Q14-Pad1_ Net-_Q19-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q26 Net-_Q19-Pad2_ Net-_Q19-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q28 Net-_Q19-Pad2_ Net-_J2-Pad3_ Net-_Q28-Pad3_ eSim_NPN
+R16 Net-_Q28-Pad3_ Net-_C1-Pad2_ 5.8k
+J2 Net-_J1-Pad1_ Net-_C1-Pad2_ Net-_J2-Pad3_ jfet_n
+R18 Net-_R13-Pad2_ Net-_R18-Pad2_ 120
+Q32 Net-_J2-Pad3_ Net-_J2-Pad3_ Net-_Q31-Pad1_ eSim_NPN
+Q31 Net-_Q31-Pad1_ Net-_Q31-Pad1_ Net-_C1-Pad2_ eSim_NPN
+Q38 Net-_Q34-Pad3_ Net-_Q38-Pad2_ Net-_Q38-Pad3_ eSim_PNP
+Q42 Net-_C8-Pad2_ Net-_Q42-Pad2_ Net-_Q34-Pad3_ eSim_PNP
+Q34 Net-_Q34-Pad1_ Net-_Q34-Pad2_ Net-_Q34-Pad3_ eSim_PNP
+R22 Net-_J1-Pad1_ Net-_Q38-Pad3_ 8.7k
+Q40 Net-_C8-Pad2_ Net-_Q34-Pad1_ Net-_Q40-Pad3_ eSim_NPN
+Q36 Net-_Q34-Pad1_ Net-_Q34-Pad1_ Net-_C6-Pad1_ eSim_NPN
+R20 Net-_C6-Pad1_ Net-_C1-Pad2_ 5k
+R24 Net-_Q40-Pad3_ Net-_C1-Pad2_ 5k
+C6 Net-_C6-Pad1_ Net-_C1-Pad2_ 15p
+Q44 Net-_J1-Pad1_ Net-_C8-Pad2_ Net-_Q44-Pad3_ eSim_NPN
+R26 Net-_Q44-Pad3_ Net-_C1-Pad2_ 50k
+C8 Net-_C8-Pad1_ Net-_C8-Pad2_ 15p
+D4 Net-_C8-Pad2_ Net-_C8-Pad1_ eSim_Diode
+Q48 Net-_C8-Pad1_ Net-_Q44-Pad3_ Net-_C1-Pad2_ eSim_NPN
+Q56 Net-_C1-Pad2_ Net-_C8-Pad1_ Net-_Q56-Pad3_ eSim_PNP
+R32 Net-_R31-Pad2_ Net-_Q56-Pad3_ 27
+R31 Net-_Q55-Pad3_ Net-_R31-Pad2_ 27
+Q55 Net-_J1-Pad1_ Net-_Q46-Pad1_ Net-_Q55-Pad3_ eSim_NPN
+R28 Net-_Q46-Pad3_ Net-_C8-Pad1_ 50k
+Q52 Net-_Q46-Pad1_ Net-_Q46-Pad3_ Net-_C8-Pad1_ eSim_NPN
+Q46 Net-_Q46-Pad1_ Net-_Q46-Pad1_ Net-_Q46-Pad3_ eSim_NPN
+Q51 Net-_Q46-Pad1_ Net-_Q38-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q58 Net-_Q38-Pad2_ Net-_Q38-Pad2_ Net-_J1-Pad1_ eSim_PNP
+Q60 Net-_Q38-Pad2_ Net-_J4-Pad3_ Net-_Q60-Pad3_ eSim_NPN
+R34 Net-_Q60-Pad3_ Net-_C1-Pad2_ 5.8k
+J4 Net-_J1-Pad1_ Net-_C1-Pad2_ Net-_J4-Pad3_ jfet_n
+R36 Net-_R31-Pad2_ Net-_R36-Pad2_ 120
+Q64 Net-_J4-Pad3_ Net-_J4-Pad3_ Net-_Q63-Pad1_ eSim_NPN
+Q63 Net-_Q63-Pad1_ Net-_Q63-Pad1_ Net-_C1-Pad2_ eSim_NPN
+U1 Net-_R17-Pad2_ Net-_Q1-Pad2_ Net-_Q9-Pad2_ Net-_J1-Pad1_ Net-_Q10-Pad2_ Net-_Q2-Pad2_ Net-_R18-Pad2_ Net-_R36-Pad2_ Net-_Q34-Pad2_ Net-_Q42-Pad2_ Net-_C1-Pad2_ Net-_Q41-Pad2_ Net-_Q33-Pad2_ Net-_R35-Pad2_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/M5228/M5228.cir.out b/library/SubcircuitLibrary/M5228/M5228.cir.out
new file mode 100644
index 000000000..045003bd0
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.cir.out
@@ -0,0 +1,132 @@
+* c:\fossee\esim\library\subcircuitlibrary\m5228\m5228.cir
+
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+q5 net-_q1-pad3_ net-_q17-pad2_ net-_q5-pad3_ Q2N2907A
+q9 net-_c3-pad2_ net-_q9-pad2_ net-_q1-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+r3 net-_j1-pad1_ net-_q5-pad3_ 8.7k
+q7 net-_c3-pad2_ net-_q1-pad1_ net-_q7-pad3_ Q2N2222
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_c1-pad1_ Q2N2222
+r1 net-_c1-pad1_ net-_c1-pad2_ 5k
+r5 net-_q7-pad3_ net-_c1-pad2_ 5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 15p
+q11 net-_j1-pad1_ net-_c3-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_c1-pad2_ 50k
+c3 net-_c3-pad1_ net-_c3-pad2_ 15p
+d1 net-_c3-pad2_ net-_c3-pad1_ 1N4148
+q15 net-_c3-pad1_ net-_q11-pad3_ net-_c1-pad2_ Q2N2222
+q22 net-_c1-pad2_ net-_c3-pad1_ net-_q22-pad3_ Q2N2907A
+r12 net-_r11-pad2_ net-_q22-pad3_ 27
+r11 net-_q21-pad3_ net-_r11-pad2_ 27
+q21 net-_j1-pad1_ net-_q13-pad1_ net-_q21-pad3_ Q2N2222
+r9 net-_q13-pad3_ net-_c3-pad1_ 50k
+q18 net-_q13-pad1_ net-_q13-pad3_ net-_c3-pad1_ Q2N2222
+q13 net-_q13-pad1_ net-_q13-pad1_ net-_q13-pad3_ Q2N2222
+q17 net-_q13-pad1_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+q25 net-_q17-pad2_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+q27 net-_q17-pad2_ net-_j1-pad3_ net-_q27-pad3_ Q2N2222
+r15 net-_q27-pad3_ net-_c1-pad2_ 5.8k
+j1 net-_j1-pad1_ net-_c1-pad2_ net-_j1-pad3_ J2N3819
+r17 net-_r11-pad2_ net-_r17-pad2_ 120
+q30 net-_j1-pad3_ net-_j1-pad3_ net-_q29-pad1_ Q2N2222
+q29 net-_q29-pad1_ net-_q29-pad1_ net-_c1-pad2_ Q2N2222
+q37 net-_q33-pad3_ net-_q37-pad2_ net-_q37-pad3_ Q2N2907A
+q41 net-_c7-pad2_ net-_q41-pad2_ net-_q33-pad3_ Q2N2907A
+q33 net-_q33-pad1_ net-_q33-pad2_ net-_q33-pad3_ Q2N2907A
+r21 net-_j1-pad1_ net-_q37-pad3_ 8.7k
+q39 net-_c7-pad2_ net-_q33-pad1_ net-_q39-pad3_ Q2N2222
+q35 net-_q33-pad1_ net-_q33-pad1_ net-_c5-pad1_ Q2N2222
+r19 net-_c5-pad1_ net-_c1-pad2_ 5k
+r23 net-_q39-pad3_ net-_c1-pad2_ 5k
+c5 net-_c5-pad1_ net-_c1-pad2_ 15p
+q43 net-_j1-pad1_ net-_c7-pad2_ net-_q43-pad3_ Q2N2222
+r25 net-_q43-pad3_ net-_c1-pad2_ 50k
+c7 net-_c7-pad1_ net-_c7-pad2_ 15p
+d3 net-_c7-pad2_ net-_c7-pad1_ 1N4148
+q47 net-_c7-pad1_ net-_q43-pad3_ net-_c1-pad2_ Q2N2222
+q54 net-_c1-pad2_ net-_c7-pad1_ net-_q54-pad3_ Q2N2907A
+r30 net-_r29-pad2_ net-_q54-pad3_ 27
+r29 net-_q53-pad3_ net-_r29-pad2_ 27
+q53 net-_j1-pad1_ net-_q45-pad1_ net-_q53-pad3_ Q2N2222
+r27 net-_q45-pad3_ net-_c7-pad1_ 50k
+q50 net-_q45-pad1_ net-_q45-pad3_ net-_c7-pad1_ Q2N2222
+q45 net-_q45-pad1_ net-_q45-pad1_ net-_q45-pad3_ Q2N2222
+q49 net-_q45-pad1_ net-_q37-pad2_ net-_j1-pad1_ Q2N2907A
+q57 net-_q37-pad2_ net-_q37-pad2_ net-_j1-pad1_ Q2N2907A
+q59 net-_q37-pad2_ net-_j3-pad3_ net-_q59-pad3_ Q2N2222
+r33 net-_q59-pad3_ net-_c1-pad2_ 5.8k
+j3 net-_j1-pad1_ net-_c1-pad2_ net-_j3-pad3_ J2N3819
+r35 net-_r29-pad2_ net-_r35-pad2_ 120
+q62 net-_j3-pad3_ net-_j3-pad3_ net-_q61-pad1_ Q2N2222
+q61 net-_q61-pad1_ net-_q61-pad1_ net-_c1-pad2_ Q2N2222
+q6 net-_q10-pad3_ net-_q19-pad2_ net-_q6-pad3_ Q2N2907A
+q10 net-_c4-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2907A
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q10-pad3_ Q2N2907A
+r4 net-_j1-pad1_ net-_q6-pad3_ 8.7k
+q8 net-_c4-pad2_ net-_q2-pad1_ net-_q8-pad3_ Q2N2222
+q4 net-_q2-pad1_ net-_q2-pad1_ net-_c2-pad1_ Q2N2222
+r2 net-_c2-pad1_ net-_c1-pad2_ 5k
+r6 net-_q8-pad3_ net-_c1-pad2_ 5k
+c2 net-_c2-pad1_ net-_c1-pad2_ 15p
+q12 net-_j1-pad1_ net-_c4-pad2_ net-_q12-pad3_ Q2N2222
+r8 net-_q12-pad3_ net-_c1-pad2_ 50k
+c4 net-_c4-pad1_ net-_c4-pad2_ 15p
+d2 net-_c4-pad2_ net-_c4-pad1_ 1N4148
+q16 net-_c4-pad1_ net-_q12-pad3_ net-_c1-pad2_ Q2N2222
+q24 net-_c1-pad2_ net-_c4-pad1_ net-_q24-pad3_ Q2N2907A
+r14 net-_r13-pad2_ net-_q24-pad3_ 27
+r13 net-_q23-pad3_ net-_r13-pad2_ 27
+q23 net-_j1-pad1_ net-_q14-pad1_ net-_q23-pad3_ Q2N2222
+r10 net-_q14-pad3_ net-_c4-pad1_ 50k
+q20 net-_q14-pad1_ net-_q14-pad3_ net-_c4-pad1_ Q2N2222
+q14 net-_q14-pad1_ net-_q14-pad1_ net-_q14-pad3_ Q2N2222
+q19 net-_q14-pad1_ net-_q19-pad2_ net-_j1-pad1_ Q2N2907A
+q26 net-_q19-pad2_ net-_q19-pad2_ net-_j1-pad1_ Q2N2907A
+q28 net-_q19-pad2_ net-_j2-pad3_ net-_q28-pad3_ Q2N2222
+r16 net-_q28-pad3_ net-_c1-pad2_ 5.8k
+j2 net-_j1-pad1_ net-_c1-pad2_ net-_j2-pad3_ J2N3819
+r18 net-_r13-pad2_ net-_r18-pad2_ 120
+q32 net-_j2-pad3_ net-_j2-pad3_ net-_q31-pad1_ Q2N2222
+q31 net-_q31-pad1_ net-_q31-pad1_ net-_c1-pad2_ Q2N2222
+q38 net-_q34-pad3_ net-_q38-pad2_ net-_q38-pad3_ Q2N2907A
+q42 net-_c8-pad2_ net-_q42-pad2_ net-_q34-pad3_ Q2N2907A
+q34 net-_q34-pad1_ net-_q34-pad2_ net-_q34-pad3_ Q2N2907A
+r22 net-_j1-pad1_ net-_q38-pad3_ 8.7k
+q40 net-_c8-pad2_ net-_q34-pad1_ net-_q40-pad3_ Q2N2222
+q36 net-_q34-pad1_ net-_q34-pad1_ net-_c6-pad1_ Q2N2222
+r20 net-_c6-pad1_ net-_c1-pad2_ 5k
+r24 net-_q40-pad3_ net-_c1-pad2_ 5k
+c6 net-_c6-pad1_ net-_c1-pad2_ 15p
+q44 net-_j1-pad1_ net-_c8-pad2_ net-_q44-pad3_ Q2N2222
+r26 net-_q44-pad3_ net-_c1-pad2_ 50k
+c8 net-_c8-pad1_ net-_c8-pad2_ 15p
+d4 net-_c8-pad2_ net-_c8-pad1_ 1N4148
+q48 net-_c8-pad1_ net-_q44-pad3_ net-_c1-pad2_ Q2N2222
+q56 net-_c1-pad2_ net-_c8-pad1_ net-_q56-pad3_ Q2N2907A
+r32 net-_r31-pad2_ net-_q56-pad3_ 27
+r31 net-_q55-pad3_ net-_r31-pad2_ 27
+q55 net-_j1-pad1_ net-_q46-pad1_ net-_q55-pad3_ Q2N2222
+r28 net-_q46-pad3_ net-_c8-pad1_ 50k
+q52 net-_q46-pad1_ net-_q46-pad3_ net-_c8-pad1_ Q2N2222
+q46 net-_q46-pad1_ net-_q46-pad1_ net-_q46-pad3_ Q2N2222
+q51 net-_q46-pad1_ net-_q38-pad2_ net-_j1-pad1_ Q2N2907A
+q58 net-_q38-pad2_ net-_q38-pad2_ net-_j1-pad1_ Q2N2907A
+q60 net-_q38-pad2_ net-_j4-pad3_ net-_q60-pad3_ Q2N2222
+r34 net-_q60-pad3_ net-_c1-pad2_ 5.8k
+j4 net-_j1-pad1_ net-_c1-pad2_ net-_j4-pad3_ J2N3819
+r36 net-_r31-pad2_ net-_r36-pad2_ 120
+q64 net-_j4-pad3_ net-_j4-pad3_ net-_q63-pad1_ Q2N2222
+q63 net-_q63-pad1_ net-_q63-pad1_ net-_c1-pad2_ Q2N2222
+* u1 net-_r17-pad2_ net-_q1-pad2_ net-_q9-pad2_ net-_j1-pad1_ net-_q10-pad2_ net-_q2-pad2_ net-_r18-pad2_ net-_r36-pad2_ net-_q34-pad2_ net-_q42-pad2_ net-_c1-pad2_ net-_q41-pad2_ net-_q33-pad2_ net-_r35-pad2_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M5228/M5228.pro b/library/SubcircuitLibrary/M5228/M5228.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.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/M5228/M5228.sch b/library/SubcircuitLibrary/M5228/M5228.sch
new file mode 100644
index 000000000..484bb13f6
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.sch
@@ -0,0 +1,2288 @@
+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:M5228_My-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_PNP Q5
+U 1 1 684AAAFE
+P 650 800
+F 0 "Q5" H 550 850 50 0000 R CNN
+F 1 "eSim_PNP" H 600 950 50 0000 R CNN
+F 2 "" H 850 900 29 0000 C CNN
+F 3 "" H 650 800 60 0000 C CNN
+ 1 650 800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 684AAB37
+P 1150 1450
+F 0 "Q9" H 1050 1500 50 0000 R CNN
+F 1 "eSim_PNP" H 1100 1600 50 0000 R CNN
+F 2 "" H 1350 1550 29 0000 C CNN
+F 3 "" H 1150 1450 60 0000 C CNN
+ 1 1150 1450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 684AAB5F
+P 100 1450
+F 0 "Q1" H 0 1500 50 0000 R CNN
+F 1 "eSim_PNP" H 50 1600 50 0000 R CNN
+F 2 "" H 300 1550 29 0000 C CNN
+F 3 "" H 100 1450 60 0000 C CNN
+ 1 100 1450
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R3
+U 1 1 684AABEC
+P 500 50
+F 0 "R3" H 550 180 50 0000 C CNN
+F 1 "8.7k" H 550 0 50 0000 C CNN
+F 2 "" H 550 30 30 0000 C CNN
+F 3 "" V 550 100 30 0000 C CNN
+ 1 500 50
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 684AACAA
+P 950 3250
+F 0 "Q7" H 850 3300 50 0000 R CNN
+F 1 "eSim_NPN" H 900 3400 50 0000 R CNN
+F 2 "" H 1150 3350 29 0000 C CNN
+F 3 "" H 950 3250 60 0000 C CNN
+ 1 950 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 684AACD2
+P 300 3250
+F 0 "Q3" H 200 3300 50 0000 R CNN
+F 1 "eSim_NPN" H 250 3400 50 0000 R CNN
+F 2 "" H 500 3350 29 0000 C CNN
+F 3 "" H 300 3250 60 0000 C CNN
+ 1 300 3250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 684AAEF1
+P 150 3750
+F 0 "R1" H 200 3880 50 0000 C CNN
+F 1 "5k" H 200 3700 50 0000 C CNN
+F 2 "" H 200 3730 30 0000 C CNN
+F 3 "" V 200 3800 30 0000 C CNN
+ 1 150 3750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R5
+U 1 1 684AAF76
+P 1000 3700
+F 0 "R5" H 1050 3830 50 0000 C CNN
+F 1 "5k" H 1050 3650 50 0000 C CNN
+F 2 "" H 1050 3680 30 0000 C CNN
+F 3 "" V 1050 3750 30 0000 C CNN
+ 1 1000 3700
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C1
+U 1 1 684AB06F
+P 550 3700
+F 0 "C1" H 575 3800 50 0000 L CNN
+F 1 "15p" H 575 3600 50 0000 L CNN
+F 2 "" H 588 3550 30 0000 C CNN
+F 3 "" H 550 3700 60 0000 C CNN
+ 1 550 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q11
+U 1 1 684AB17E
+P 1700 2900
+F 0 "Q11" H 1600 2950 50 0000 R CNN
+F 1 "eSim_NPN" H 1650 3050 50 0000 R CNN
+F 2 "" H 1900 3000 29 0000 C CNN
+F 3 "" H 1700 2900 60 0000 C CNN
+ 1 1700 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R7
+U 1 1 684AB249
+P 1750 3500
+F 0 "R7" H 1800 3630 50 0000 C CNN
+F 1 "50k" H 1800 3450 50 0000 C CNN
+F 2 "" H 1800 3480 30 0000 C CNN
+F 3 "" V 1800 3550 30 0000 C CNN
+ 1 1750 3500
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C3
+U 1 1 684AB4E1
+P 1300 2500
+F 0 "C3" H 1325 2600 50 0000 L CNN
+F 1 "15p" H 1325 2400 50 0000 L CNN
+F 2 "" H 1338 2350 30 0000 C CNN
+F 3 "" H 1300 2500 60 0000 C CNN
+ 1 1300 2500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 684AB538
+P 1300 2250
+F 0 "D1" H 1300 2350 50 0000 C CNN
+F 1 "eSim_Diode" H 1300 2150 50 0000 C CNN
+F 2 "" H 1300 2250 60 0000 C CNN
+F 3 "" H 1300 2250 60 0000 C CNN
+ 1 1300 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 684AB6FE
+P 2700 3300
+F 0 "Q15" H 2600 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 2650 3450 50 0000 R CNN
+F 2 "" H 2900 3400 29 0000 C CNN
+F 3 "" H 2700 3300 60 0000 C CNN
+ 1 2700 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 684AB818
+P 3800 2650
+F 0 "Q22" H 3700 2700 50 0000 R CNN
+F 1 "eSim_PNP" H 3750 2800 50 0000 R CNN
+F 2 "" H 4000 2750 29 0000 C CNN
+F 3 "" H 3800 2650 60 0000 C CNN
+ 1 3800 2650
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R12
+U 1 1 684AB9E6
+P 3850 1900
+F 0 "R12" H 3900 2030 50 0000 C CNN
+F 1 "27" H 3900 1850 50 0000 C CNN
+F 2 "" H 3900 1880 30 0000 C CNN
+F 3 "" V 3900 1950 30 0000 C CNN
+ 1 3850 1900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R11
+U 1 1 684ABAB9
+P 3850 1400
+F 0 "R11" H 3900 1530 50 0000 C CNN
+F 1 "27" H 3900 1350 50 0000 C CNN
+F 2 "" H 3900 1380 30 0000 C CNN
+F 3 "" V 3900 1450 30 0000 C CNN
+ 1 3850 1400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 684ABB69
+P 3800 750
+F 0 "Q21" H 3700 800 50 0000 R CNN
+F 1 "eSim_NPN" H 3750 900 50 0000 R CNN
+F 2 "" H 4000 850 29 0000 C CNN
+F 3 "" H 3800 750 60 0000 C CNN
+ 1 3800 750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 684ABD21
+P 2250 2150
+F 0 "R9" H 2300 2280 50 0000 C CNN
+F 1 "50k" H 2300 2100 50 0000 C CNN
+F 2 "" H 2300 2130 30 0000 C CNN
+F 3 "" V 2300 2200 30 0000 C CNN
+ 1 2250 2150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 684ABD7E
+P 2850 1900
+F 0 "Q18" H 2750 1950 50 0000 R CNN
+F 1 "eSim_NPN" H 2800 2050 50 0000 R CNN
+F 2 "" H 3050 2000 29 0000 C CNN
+F 3 "" H 2850 1900 60 0000 C CNN
+ 1 2850 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q13
+U 1 1 684ABEF0
+P 2400 1250
+F 0 "Q13" H 2300 1300 50 0000 R CNN
+F 1 "eSim_NPN" H 2350 1400 50 0000 R CNN
+F 2 "" H 2600 1350 29 0000 C CNN
+F 3 "" H 2400 1250 60 0000 C CNN
+ 1 2400 1250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q17
+U 1 1 684AC23B
+P 2850 400
+F 0 "Q17" H 2750 450 50 0000 R CNN
+F 1 "eSim_PNP" H 2800 550 50 0000 R CNN
+F 2 "" H 3050 500 29 0000 C CNN
+F 3 "" H 2850 400 60 0000 C CNN
+ 1 2850 400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q25
+U 1 1 684AC79B
+P 4650 350
+F 0 "Q25" H 4550 400 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 500 50 0000 R CNN
+F 2 "" H 4850 450 29 0000 C CNN
+F 3 "" H 4650 350 60 0000 C CNN
+ 1 4650 350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 684ACA56
+P 4900 2150
+F 0 "Q27" H 4800 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 4850 2300 50 0000 R CNN
+F 2 "" H 5100 2250 29 0000 C CNN
+F 3 "" H 4900 2150 60 0000 C CNN
+ 1 4900 2150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R15
+U 1 1 684ACB14
+P 4750 2850
+F 0 "R15" H 4800 2980 50 0000 C CNN
+F 1 "5.8k" H 4800 2800 50 0000 C CNN
+F 2 "" H 4800 2830 30 0000 C CNN
+F 3 "" V 4800 2900 30 0000 C CNN
+ 1 4750 2850
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J1
+U 1 1 684AD05A
+P 5300 1150
+F 0 "J1" H 5200 1200 50 0000 R CNN
+F 1 "jfet_n" H 5250 1300 50 0000 R CNN
+F 2 "" H 5500 1250 29 0000 C CNN
+F 3 "" H 5300 1150 60 0000 C CNN
+ 1 5300 1150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R17
+U 1 1 684AE2AB
+P 5950 1800
+F 0 "R17" H 6000 1930 50 0000 C CNN
+F 1 "120" H 6000 1750 50 0000 C CNN
+F 2 "" H 6000 1780 30 0000 C CNN
+F 3 "" V 6000 1850 30 0000 C CNN
+ 1 5950 1800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q30
+U 1 1 684AE4F6
+P 5350 2150
+F 0 "Q30" H 5250 2200 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 2300 50 0000 R CNN
+F 2 "" H 5550 2250 29 0000 C CNN
+F 3 "" H 5350 2150 60 0000 C CNN
+ 1 5350 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q29
+U 1 1 684AE7B0
+P 5250 2700
+F 0 "Q29" H 5150 2750 50 0000 R CNN
+F 1 "eSim_NPN" H 5200 2850 50 0000 R CNN
+F 2 "" H 5450 2800 29 0000 C CNN
+F 3 "" H 5250 2700 60 0000 C CNN
+ 1 5250 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q37
+U 1 1 684AF29E
+P 8250 650
+F 0 "Q37" H 8150 700 50 0000 R CNN
+F 1 "eSim_PNP" H 8200 800 50 0000 R CNN
+F 2 "" H 8450 750 29 0000 C CNN
+F 3 "" H 8250 650 60 0000 C CNN
+ 1 8250 650
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q41
+U 1 1 684AF2A4
+P 8750 1300
+F 0 "Q41" H 8650 1350 50 0000 R CNN
+F 1 "eSim_PNP" H 8700 1450 50 0000 R CNN
+F 2 "" H 8950 1400 29 0000 C CNN
+F 3 "" H 8750 1300 60 0000 C CNN
+ 1 8750 1300
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q33
+U 1 1 684AF2AA
+P 7700 1300
+F 0 "Q33" H 7600 1350 50 0000 R CNN
+F 1 "eSim_PNP" H 7650 1450 50 0000 R CNN
+F 2 "" H 7900 1400 29 0000 C CNN
+F 3 "" H 7700 1300 60 0000 C CNN
+ 1 7700 1300
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R21
+U 1 1 684AF2B0
+P 8100 -100
+F 0 "R21" H 8150 30 50 0000 C CNN
+F 1 "8.7k" H 8150 -150 50 0000 C CNN
+F 2 "" H 8150 -120 30 0000 C CNN
+F 3 "" V 8150 -50 30 0000 C CNN
+ 1 8100 -100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q39
+U 1 1 684AF2B6
+P 8550 3100
+F 0 "Q39" H 8450 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 8500 3250 50 0000 R CNN
+F 2 "" H 8750 3200 29 0000 C CNN
+F 3 "" H 8550 3100 60 0000 C CNN
+ 1 8550 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q35
+U 1 1 684AF2BC
+P 7900 3100
+F 0 "Q35" H 7800 3150 50 0000 R CNN
+F 1 "eSim_NPN" H 7850 3250 50 0000 R CNN
+F 2 "" H 8100 3200 29 0000 C CNN
+F 3 "" H 7900 3100 60 0000 C CNN
+ 1 7900 3100
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R19
+U 1 1 684AF2C2
+P 7750 3600
+F 0 "R19" H 7800 3730 50 0000 C CNN
+F 1 "5k" H 7800 3550 50 0000 C CNN
+F 2 "" H 7800 3580 30 0000 C CNN
+F 3 "" V 7800 3650 30 0000 C CNN
+ 1 7750 3600
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R23
+U 1 1 684AF2C8
+P 8600 3550
+F 0 "R23" H 8650 3680 50 0000 C CNN
+F 1 "5k" H 8650 3500 50 0000 C CNN
+F 2 "" H 8650 3530 30 0000 C CNN
+F 3 "" V 8650 3600 30 0000 C CNN
+ 1 8600 3550
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C5
+U 1 1 684AF2CE
+P 8150 3550
+F 0 "C5" H 8175 3650 50 0000 L CNN
+F 1 "15p" H 8175 3450 50 0000 L CNN
+F 2 "" H 8188 3400 30 0000 C CNN
+F 3 "" H 8150 3550 60 0000 C CNN
+ 1 8150 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q43
+U 1 1 684AF2D4
+P 9300 2750
+F 0 "Q43" H 9200 2800 50 0000 R CNN
+F 1 "eSim_NPN" H 9250 2900 50 0000 R CNN
+F 2 "" H 9500 2850 29 0000 C CNN
+F 3 "" H 9300 2750 60 0000 C CNN
+ 1 9300 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R25
+U 1 1 684AF2DA
+P 9350 3350
+F 0 "R25" H 9400 3480 50 0000 C CNN
+F 1 "50k" H 9400 3300 50 0000 C CNN
+F 2 "" H 9400 3330 30 0000 C CNN
+F 3 "" V 9400 3400 30 0000 C CNN
+ 1 9350 3350
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C7
+U 1 1 684AF2FB
+P 8900 2350
+F 0 "C7" H 8925 2450 50 0000 L CNN
+F 1 "15p" H 8925 2250 50 0000 L CNN
+F 2 "" H 8938 2200 30 0000 C CNN
+F 3 "" H 8900 2350 60 0000 C CNN
+ 1 8900 2350
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 684AF301
+P 8900 2100
+F 0 "D3" H 8900 2200 50 0000 C CNN
+F 1 "eSim_Diode" H 8900 2000 50 0000 C CNN
+F 2 "" H 8900 2100 60 0000 C CNN
+F 3 "" H 8900 2100 60 0000 C CNN
+ 1 8900 2100
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q47
+U 1 1 684AF30E
+P 10300 3150
+F 0 "Q47" H 10200 3200 50 0000 R CNN
+F 1 "eSim_NPN" H 10250 3300 50 0000 R CNN
+F 2 "" H 10500 3250 29 0000 C CNN
+F 3 "" H 10300 3150 60 0000 C CNN
+ 1 10300 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q54
+U 1 1 684AF31C
+P 11400 2500
+F 0 "Q54" H 11300 2550 50 0000 R CNN
+F 1 "eSim_PNP" H 11350 2650 50 0000 R CNN
+F 2 "" H 11600 2600 29 0000 C CNN
+F 3 "" H 11400 2500 60 0000 C CNN
+ 1 11400 2500
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R30
+U 1 1 684AF325
+P 11450 1750
+F 0 "R30" H 11500 1880 50 0000 C CNN
+F 1 "27" H 11500 1700 50 0000 C CNN
+F 2 "" H 11500 1730 30 0000 C CNN
+F 3 "" V 11500 1800 30 0000 C CNN
+ 1 11450 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R29
+U 1 1 684AF32C
+P 11450 1250
+F 0 "R29" H 11500 1380 50 0000 C CNN
+F 1 "27" H 11500 1200 50 0000 C CNN
+F 2 "" H 11500 1230 30 0000 C CNN
+F 3 "" V 11500 1300 30 0000 C CNN
+ 1 11450 1250
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q53
+U 1 1 684AF333
+P 11400 600
+F 0 "Q53" H 11300 650 50 0000 R CNN
+F 1 "eSim_NPN" H 11350 750 50 0000 R CNN
+F 2 "" H 11600 700 29 0000 C CNN
+F 3 "" H 11400 600 60 0000 C CNN
+ 1 11400 600
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R27
+U 1 1 684AF33A
+P 9850 2000
+F 0 "R27" H 9900 2130 50 0000 C CNN
+F 1 "50k" H 9900 1950 50 0000 C CNN
+F 2 "" H 9900 1980 30 0000 C CNN
+F 3 "" V 9900 2050 30 0000 C CNN
+ 1 9850 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q50
+U 1 1 684AF340
+P 10450 1750
+F 0 "Q50" H 10350 1800 50 0000 R CNN
+F 1 "eSim_NPN" H 10400 1900 50 0000 R CNN
+F 2 "" H 10650 1850 29 0000 C CNN
+F 3 "" H 10450 1750 60 0000 C CNN
+ 1 10450 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q45
+U 1 1 684AF34C
+P 10000 1100
+F 0 "Q45" H 9900 1150 50 0000 R CNN
+F 1 "eSim_NPN" H 9950 1250 50 0000 R CNN
+F 2 "" H 10200 1200 29 0000 C CNN
+F 3 "" H 10000 1100 60 0000 C CNN
+ 1 10000 1100
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q49
+U 1 1 684AF359
+P 10450 250
+F 0 "Q49" H 10350 300 50 0000 R CNN
+F 1 "eSim_PNP" H 10400 400 50 0000 R CNN
+F 2 "" H 10650 350 29 0000 C CNN
+F 3 "" H 10450 250 60 0000 C CNN
+ 1 10450 250
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q57
+U 1 1 684AF366
+P 12250 200
+F 0 "Q57" H 12150 250 50 0000 R CNN
+F 1 "eSim_PNP" H 12200 350 50 0000 R CNN
+F 2 "" H 12450 300 29 0000 C CNN
+F 3 "" H 12250 200 60 0000 C CNN
+ 1 12250 200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q59
+U 1 1 684AF371
+P 12500 2000
+F 0 "Q59" H 12400 2050 50 0000 R CNN
+F 1 "eSim_NPN" H 12450 2150 50 0000 R CNN
+F 2 "" H 12700 2100 29 0000 C CNN
+F 3 "" H 12500 2000 60 0000 C CNN
+ 1 12500 2000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R33
+U 1 1 684AF377
+P 12350 2700
+F 0 "R33" H 12400 2830 50 0000 C CNN
+F 1 "5.8k" H 12400 2650 50 0000 C CNN
+F 2 "" H 12400 2680 30 0000 C CNN
+F 3 "" V 12400 2750 30 0000 C CNN
+ 1 12350 2700
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J3
+U 1 1 684AF386
+P 12900 1000
+F 0 "J3" H 12800 1050 50 0000 R CNN
+F 1 "jfet_n" H 12850 1150 50 0000 R CNN
+F 2 "" H 13100 1100 29 0000 C CNN
+F 3 "" H 12900 1000 60 0000 C CNN
+ 1 12900 1000
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R35
+U 1 1 684AF394
+P 13550 1650
+F 0 "R35" H 13600 1780 50 0000 C CNN
+F 1 "120" H 13600 1600 50 0000 C CNN
+F 2 "" H 13600 1630 30 0000 C CNN
+F 3 "" V 13600 1700 30 0000 C CNN
+ 1 13550 1650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q62
+U 1 1 684AF3A9
+P 12950 2000
+F 0 "Q62" H 12850 2050 50 0000 R CNN
+F 1 "eSim_NPN" H 12900 2150 50 0000 R CNN
+F 2 "" H 13150 2100 29 0000 C CNN
+F 3 "" H 12950 2000 60 0000 C CNN
+ 1 12950 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q61
+U 1 1 684AF3B0
+P 12850 2550
+F 0 "Q61" H 12750 2600 50 0000 R CNN
+F 1 "eSim_NPN" H 12800 2700 50 0000 R CNN
+F 2 "" H 13050 2650 29 0000 C CNN
+F 3 "" H 12850 2550 60 0000 C CNN
+ 1 12850 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 684AF6B3
+P 750 6950
+F 0 "Q6" H 650 7000 50 0000 R CNN
+F 1 "eSim_PNP" H 700 7100 50 0000 R CNN
+F 2 "" H 950 7050 29 0000 C CNN
+F 3 "" H 750 6950 60 0000 C CNN
+ 1 750 6950
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q10
+U 1 1 684AF6B9
+P 1250 7600
+F 0 "Q10" H 1150 7650 50 0000 R CNN
+F 1 "eSim_PNP" H 1200 7750 50 0000 R CNN
+F 2 "" H 1450 7700 29 0000 C CNN
+F 3 "" H 1250 7600 60 0000 C CNN
+ 1 1250 7600
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 684AF6BF
+P 200 7600
+F 0 "Q2" H 100 7650 50 0000 R CNN
+F 1 "eSim_PNP" H 150 7750 50 0000 R CNN
+F 2 "" H 400 7700 29 0000 C CNN
+F 3 "" H 200 7600 60 0000 C CNN
+ 1 200 7600
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R4
+U 1 1 684AF6C5
+P 600 6200
+F 0 "R4" H 650 6330 50 0000 C CNN
+F 1 "8.7k" H 650 6150 50 0000 C CNN
+F 2 "" H 650 6180 30 0000 C CNN
+F 3 "" V 650 6250 30 0000 C CNN
+ 1 600 6200
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 684AF6CB
+P 1050 9400
+F 0 "Q8" H 950 9450 50 0000 R CNN
+F 1 "eSim_NPN" H 1000 9550 50 0000 R CNN
+F 2 "" H 1250 9500 29 0000 C CNN
+F 3 "" H 1050 9400 60 0000 C CNN
+ 1 1050 9400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 684AF6D1
+P 400 9400
+F 0 "Q4" H 300 9450 50 0000 R CNN
+F 1 "eSim_NPN" H 350 9550 50 0000 R CNN
+F 2 "" H 600 9500 29 0000 C CNN
+F 3 "" H 400 9400 60 0000 C CNN
+ 1 400 9400
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R2
+U 1 1 684AF6D7
+P 250 9900
+F 0 "R2" H 300 10030 50 0000 C CNN
+F 1 "5k" H 300 9850 50 0000 C CNN
+F 2 "" H 300 9880 30 0000 C CNN
+F 3 "" V 300 9950 30 0000 C CNN
+ 1 250 9900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R6
+U 1 1 684AF6DD
+P 1100 9850
+F 0 "R6" H 1150 9980 50 0000 C CNN
+F 1 "5k" H 1150 9800 50 0000 C CNN
+F 2 "" H 1150 9830 30 0000 C CNN
+F 3 "" V 1150 9900 30 0000 C CNN
+ 1 1100 9850
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C2
+U 1 1 684AF6E3
+P 650 9850
+F 0 "C2" H 675 9950 50 0000 L CNN
+F 1 "15p" H 675 9750 50 0000 L CNN
+F 2 "" H 688 9700 30 0000 C CNN
+F 3 "" H 650 9850 60 0000 C CNN
+ 1 650 9850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 684AF6E9
+P 1800 9050
+F 0 "Q12" H 1700 9100 50 0000 R CNN
+F 1 "eSim_NPN" H 1750 9200 50 0000 R CNN
+F 2 "" H 2000 9150 29 0000 C CNN
+F 3 "" H 1800 9050 60 0000 C CNN
+ 1 1800 9050
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R8
+U 1 1 684AF6EF
+P 1850 9650
+F 0 "R8" H 1900 9780 50 0000 C CNN
+F 1 "50k" H 1900 9600 50 0000 C CNN
+F 2 "" H 1900 9630 30 0000 C CNN
+F 3 "" V 1900 9700 30 0000 C CNN
+ 1 1850 9650
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C4
+U 1 1 684AF710
+P 1400 8650
+F 0 "C4" H 1425 8750 50 0000 L CNN
+F 1 "15p" H 1425 8550 50 0000 L CNN
+F 2 "" H 1438 8500 30 0000 C CNN
+F 3 "" H 1400 8650 60 0000 C CNN
+ 1 1400 8650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 684AF716
+P 1400 8400
+F 0 "D2" H 1400 8500 50 0000 C CNN
+F 1 "eSim_Diode" H 1400 8300 50 0000 C CNN
+F 2 "" H 1400 8400 60 0000 C CNN
+F 3 "" H 1400 8400 60 0000 C CNN
+ 1 1400 8400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 684AF723
+P 2800 9450
+F 0 "Q16" H 2700 9500 50 0000 R CNN
+F 1 "eSim_NPN" H 2750 9600 50 0000 R CNN
+F 2 "" H 3000 9550 29 0000 C CNN
+F 3 "" H 2800 9450 60 0000 C CNN
+ 1 2800 9450
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 684AF731
+P 3900 8800
+F 0 "Q24" H 3800 8850 50 0000 R CNN
+F 1 "eSim_PNP" H 3850 8950 50 0000 R CNN
+F 2 "" H 4100 8900 29 0000 C CNN
+F 3 "" H 3900 8800 60 0000 C CNN
+ 1 3900 8800
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R14
+U 1 1 684AF73A
+P 3950 8050
+F 0 "R14" H 4000 8180 50 0000 C CNN
+F 1 "27" H 4000 8000 50 0000 C CNN
+F 2 "" H 4000 8030 30 0000 C CNN
+F 3 "" V 4000 8100 30 0000 C CNN
+ 1 3950 8050
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R13
+U 1 1 684AF741
+P 3950 7550
+F 0 "R13" H 4000 7680 50 0000 C CNN
+F 1 "27" H 4000 7500 50 0000 C CNN
+F 2 "" H 4000 7530 30 0000 C CNN
+F 3 "" V 4000 7600 30 0000 C CNN
+ 1 3950 7550
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 684AF748
+P 3900 6900
+F 0 "Q23" H 3800 6950 50 0000 R CNN
+F 1 "eSim_NPN" H 3850 7050 50 0000 R CNN
+F 2 "" H 4100 7000 29 0000 C CNN
+F 3 "" H 3900 6900 60 0000 C CNN
+ 1 3900 6900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R10
+U 1 1 684AF74F
+P 2350 8300
+F 0 "R10" H 2400 8430 50 0000 C CNN
+F 1 "50k" H 2400 8250 50 0000 C CNN
+F 2 "" H 2400 8280 30 0000 C CNN
+F 3 "" V 2400 8350 30 0000 C CNN
+ 1 2350 8300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q20
+U 1 1 684AF755
+P 2950 8050
+F 0 "Q20" H 2850 8100 50 0000 R CNN
+F 1 "eSim_NPN" H 2900 8200 50 0000 R CNN
+F 2 "" H 3150 8150 29 0000 C CNN
+F 3 "" H 2950 8050 60 0000 C CNN
+ 1 2950 8050
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 684AF761
+P 2500 7400
+F 0 "Q14" H 2400 7450 50 0000 R CNN
+F 1 "eSim_NPN" H 2450 7550 50 0000 R CNN
+F 2 "" H 2700 7500 29 0000 C CNN
+F 3 "" H 2500 7400 60 0000 C CNN
+ 1 2500 7400
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q19
+U 1 1 684AF76E
+P 2950 6550
+F 0 "Q19" H 2850 6600 50 0000 R CNN
+F 1 "eSim_PNP" H 2900 6700 50 0000 R CNN
+F 2 "" H 3150 6650 29 0000 C CNN
+F 3 "" H 2950 6550 60 0000 C CNN
+ 1 2950 6550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 684AF77B
+P 4750 6500
+F 0 "Q26" H 4650 6550 50 0000 R CNN
+F 1 "eSim_PNP" H 4700 6650 50 0000 R CNN
+F 2 "" H 4950 6600 29 0000 C CNN
+F 3 "" H 4750 6500 60 0000 C CNN
+ 1 4750 6500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q28
+U 1 1 684AF786
+P 5000 8300
+F 0 "Q28" H 4900 8350 50 0000 R CNN
+F 1 "eSim_NPN" H 4950 8450 50 0000 R CNN
+F 2 "" H 5200 8400 29 0000 C CNN
+F 3 "" H 5000 8300 60 0000 C CNN
+ 1 5000 8300
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R16
+U 1 1 684AF78C
+P 4850 9000
+F 0 "R16" H 4900 9130 50 0000 C CNN
+F 1 "5.8k" H 4900 8950 50 0000 C CNN
+F 2 "" H 4900 8980 30 0000 C CNN
+F 3 "" V 4900 9050 30 0000 C CNN
+ 1 4850 9000
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J2
+U 1 1 684AF79B
+P 5400 7300
+F 0 "J2" H 5300 7350 50 0000 R CNN
+F 1 "jfet_n" H 5350 7450 50 0000 R CNN
+F 2 "" H 5600 7400 29 0000 C CNN
+F 3 "" H 5400 7300 60 0000 C CNN
+ 1 5400 7300
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R18
+U 1 1 684AF7A9
+P 6050 7950
+F 0 "R18" H 6100 8080 50 0000 C CNN
+F 1 "120" H 6100 7900 50 0000 C CNN
+F 2 "" H 6100 7930 30 0000 C CNN
+F 3 "" V 6100 8000 30 0000 C CNN
+ 1 6050 7950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 684AF7BE
+P 5450 8300
+F 0 "Q32" H 5350 8350 50 0000 R CNN
+F 1 "eSim_NPN" H 5400 8450 50 0000 R CNN
+F 2 "" H 5650 8400 29 0000 C CNN
+F 3 "" H 5450 8300 60 0000 C CNN
+ 1 5450 8300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 684AF7C5
+P 5350 8850
+F 0 "Q31" H 5250 8900 50 0000 R CNN
+F 1 "eSim_NPN" H 5300 9000 50 0000 R CNN
+F 2 "" H 5550 8950 29 0000 C CNN
+F 3 "" H 5350 8850 60 0000 C CNN
+ 1 5350 8850
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q38
+U 1 1 684AF7D6
+P 8350 6800
+F 0 "Q38" H 8250 6850 50 0000 R CNN
+F 1 "eSim_PNP" H 8300 6950 50 0000 R CNN
+F 2 "" H 8550 6900 29 0000 C CNN
+F 3 "" H 8350 6800 60 0000 C CNN
+ 1 8350 6800
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q42
+U 1 1 684AF7DC
+P 8850 7450
+F 0 "Q42" H 8750 7500 50 0000 R CNN
+F 1 "eSim_PNP" H 8800 7600 50 0000 R CNN
+F 2 "" H 9050 7550 29 0000 C CNN
+F 3 "" H 8850 7450 60 0000 C CNN
+ 1 8850 7450
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q34
+U 1 1 684AF7E2
+P 7800 7450
+F 0 "Q34" H 7700 7500 50 0000 R CNN
+F 1 "eSim_PNP" H 7750 7600 50 0000 R CNN
+F 2 "" H 8000 7550 29 0000 C CNN
+F 3 "" H 7800 7450 60 0000 C CNN
+ 1 7800 7450
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R22
+U 1 1 684AF7E8
+P 8200 6050
+F 0 "R22" H 8250 6180 50 0000 C CNN
+F 1 "8.7k" H 8250 6000 50 0000 C CNN
+F 2 "" H 8250 6030 30 0000 C CNN
+F 3 "" V 8250 6100 30 0000 C CNN
+ 1 8200 6050
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q40
+U 1 1 684AF7EE
+P 8650 9250
+F 0 "Q40" H 8550 9300 50 0000 R CNN
+F 1 "eSim_NPN" H 8600 9400 50 0000 R CNN
+F 2 "" H 8850 9350 29 0000 C CNN
+F 3 "" H 8650 9250 60 0000 C CNN
+ 1 8650 9250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q36
+U 1 1 684AF7F4
+P 8000 9250
+F 0 "Q36" H 7900 9300 50 0000 R CNN
+F 1 "eSim_NPN" H 7950 9400 50 0000 R CNN
+F 2 "" H 8200 9350 29 0000 C CNN
+F 3 "" H 8000 9250 60 0000 C CNN
+ 1 8000 9250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R20
+U 1 1 684AF7FA
+P 7850 9750
+F 0 "R20" H 7900 9880 50 0000 C CNN
+F 1 "5k" H 7900 9700 50 0000 C CNN
+F 2 "" H 7900 9730 30 0000 C CNN
+F 3 "" V 7900 9800 30 0000 C CNN
+ 1 7850 9750
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R24
+U 1 1 684AF800
+P 8700 9700
+F 0 "R24" H 8750 9830 50 0000 C CNN
+F 1 "5k" H 8750 9650 50 0000 C CNN
+F 2 "" H 8750 9680 30 0000 C CNN
+F 3 "" V 8750 9750 30 0000 C CNN
+ 1 8700 9700
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C6
+U 1 1 684AF806
+P 8250 9700
+F 0 "C6" H 8275 9800 50 0000 L CNN
+F 1 "15p" H 8275 9600 50 0000 L CNN
+F 2 "" H 8288 9550 30 0000 C CNN
+F 3 "" H 8250 9700 60 0000 C CNN
+ 1 8250 9700
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q44
+U 1 1 684AF80C
+P 9400 8900
+F 0 "Q44" H 9300 8950 50 0000 R CNN
+F 1 "eSim_NPN" H 9350 9050 50 0000 R CNN
+F 2 "" H 9600 9000 29 0000 C CNN
+F 3 "" H 9400 8900 60 0000 C CNN
+ 1 9400 8900
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R26
+U 1 1 684AF812
+P 9450 9500
+F 0 "R26" H 9500 9630 50 0000 C CNN
+F 1 "50k" H 9500 9450 50 0000 C CNN
+F 2 "" H 9500 9480 30 0000 C CNN
+F 3 "" V 9500 9550 30 0000 C CNN
+ 1 9450 9500
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor C8
+U 1 1 684AF833
+P 9000 8500
+F 0 "C8" H 9025 8600 50 0000 L CNN
+F 1 "15p" H 9025 8400 50 0000 L CNN
+F 2 "" H 9038 8350 30 0000 C CNN
+F 3 "" H 9000 8500 60 0000 C CNN
+ 1 9000 8500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 684AF839
+P 9000 8250
+F 0 "D4" H 9000 8350 50 0000 C CNN
+F 1 "eSim_Diode" H 9000 8150 50 0000 C CNN
+F 2 "" H 9000 8250 60 0000 C CNN
+F 3 "" H 9000 8250 60 0000 C CNN
+ 1 9000 8250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q48
+U 1 1 684AF846
+P 10400 9300
+F 0 "Q48" H 10300 9350 50 0000 R CNN
+F 1 "eSim_NPN" H 10350 9450 50 0000 R CNN
+F 2 "" H 10600 9400 29 0000 C CNN
+F 3 "" H 10400 9300 60 0000 C CNN
+ 1 10400 9300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q56
+U 1 1 684AF854
+P 11500 8650
+F 0 "Q56" H 11400 8700 50 0000 R CNN
+F 1 "eSim_PNP" H 11450 8800 50 0000 R CNN
+F 2 "" H 11700 8750 29 0000 C CNN
+F 3 "" H 11500 8650 60 0000 C CNN
+ 1 11500 8650
+ 1 0 0 1
+$EndComp
+$Comp
+L resistor R32
+U 1 1 684AF85D
+P 11550 7900
+F 0 "R32" H 11600 8030 50 0000 C CNN
+F 1 "27" H 11600 7850 50 0000 C CNN
+F 2 "" H 11600 7880 30 0000 C CNN
+F 3 "" V 11600 7950 30 0000 C CNN
+ 1 11550 7900
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R31
+U 1 1 684AF864
+P 11550 7400
+F 0 "R31" H 11600 7530 50 0000 C CNN
+F 1 "27" H 11600 7350 50 0000 C CNN
+F 2 "" H 11600 7380 30 0000 C CNN
+F 3 "" V 11600 7450 30 0000 C CNN
+ 1 11550 7400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q55
+U 1 1 684AF86B
+P 11500 6750
+F 0 "Q55" H 11400 6800 50 0000 R CNN
+F 1 "eSim_NPN" H 11450 6900 50 0000 R CNN
+F 2 "" H 11700 6850 29 0000 C CNN
+F 3 "" H 11500 6750 60 0000 C CNN
+ 1 11500 6750
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R28
+U 1 1 684AF872
+P 9950 8150
+F 0 "R28" H 10000 8280 50 0000 C CNN
+F 1 "50k" H 10000 8100 50 0000 C CNN
+F 2 "" H 10000 8130 30 0000 C CNN
+F 3 "" V 10000 8200 30 0000 C CNN
+ 1 9950 8150
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q52
+U 1 1 684AF878
+P 10550 7900
+F 0 "Q52" H 10450 7950 50 0000 R CNN
+F 1 "eSim_NPN" H 10500 8050 50 0000 R CNN
+F 2 "" H 10750 8000 29 0000 C CNN
+F 3 "" H 10550 7900 60 0000 C CNN
+ 1 10550 7900
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q46
+U 1 1 684AF884
+P 10100 7250
+F 0 "Q46" H 10000 7300 50 0000 R CNN
+F 1 "eSim_NPN" H 10050 7400 50 0000 R CNN
+F 2 "" H 10300 7350 29 0000 C CNN
+F 3 "" H 10100 7250 60 0000 C CNN
+ 1 10100 7250
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q51
+U 1 1 684AF891
+P 10550 6400
+F 0 "Q51" H 10450 6450 50 0000 R CNN
+F 1 "eSim_PNP" H 10500 6550 50 0000 R CNN
+F 2 "" H 10750 6500 29 0000 C CNN
+F 3 "" H 10550 6400 60 0000 C CNN
+ 1 10550 6400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q58
+U 1 1 684AF89E
+P 12350 6350
+F 0 "Q58" H 12250 6400 50 0000 R CNN
+F 1 "eSim_PNP" H 12300 6500 50 0000 R CNN
+F 2 "" H 12550 6450 29 0000 C CNN
+F 3 "" H 12350 6350 60 0000 C CNN
+ 1 12350 6350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q60
+U 1 1 684AF8A9
+P 12600 8150
+F 0 "Q60" H 12500 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 12550 8300 50 0000 R CNN
+F 2 "" H 12800 8250 29 0000 C CNN
+F 3 "" H 12600 8150 60 0000 C CNN
+ 1 12600 8150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R34
+U 1 1 684AF8AF
+P 12450 8850
+F 0 "R34" H 12500 8980 50 0000 C CNN
+F 1 "5.8k" H 12500 8800 50 0000 C CNN
+F 2 "" H 12500 8830 30 0000 C CNN
+F 3 "" V 12500 8900 30 0000 C CNN
+ 1 12450 8850
+ 0 1 1 0
+$EndComp
+$Comp
+L jfet_n J4
+U 1 1 684AF8BE
+P 13000 7150
+F 0 "J4" H 12900 7200 50 0000 R CNN
+F 1 "jfet_n" H 12950 7300 50 0000 R CNN
+F 2 "" H 13200 7250 29 0000 C CNN
+F 3 "" H 13000 7150 60 0000 C CNN
+ 1 13000 7150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R36
+U 1 1 684AF8CC
+P 13650 7800
+F 0 "R36" H 13700 7930 50 0000 C CNN
+F 1 "120" H 13700 7750 50 0000 C CNN
+F 2 "" H 13700 7780 30 0000 C CNN
+F 3 "" V 13700 7850 30 0000 C CNN
+ 1 13650 7800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q64
+U 1 1 684AF8E1
+P 13050 8150
+F 0 "Q64" H 12950 8200 50 0000 R CNN
+F 1 "eSim_NPN" H 13000 8300 50 0000 R CNN
+F 2 "" H 13250 8250 29 0000 C CNN
+F 3 "" H 13050 8150 60 0000 C CNN
+ 1 13050 8150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q63
+U 1 1 684AF8E8
+P 12950 8700
+F 0 "Q63" H 12850 8750 50 0000 R CNN
+F 1 "eSim_NPN" H 12900 8850 50 0000 R CNN
+F 2 "" H 13150 8800 29 0000 C CNN
+F 3 "" H 12950 8700 60 0000 C CNN
+ 1 12950 8700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 684B6A20
+P -1000 -150
+F 0 "U1" H -950 -50 30 0000 C CNN
+F 1 "PORT" H -1000 -150 30 0000 C CNN
+F 2 "" H -1000 -150 60 0000 C CNN
+F 3 "" H -1000 -150 60 0000 C CNN
+ 4 -1000 -150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 684B6BAE
+P -900 1450
+F 0 "U1" H -850 1550 30 0000 C CNN
+F 1 "PORT" H -900 1450 30 0000 C CNN
+F 2 "" H -900 1450 60 0000 C CNN
+F 3 "" H -900 1450 60 0000 C CNN
+ 2 -900 1450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 684B70A0
+P -900 1950
+F 0 "U1" H -850 2050 30 0000 C CNN
+F 1 "PORT" H -900 1950 30 0000 C CNN
+F 2 "" H -900 1950 60 0000 C CNN
+F 3 "" H -900 1950 60 0000 C CNN
+ 3 -900 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 684B7229
+P -1400 3900
+F 0 "U1" H -1350 4000 30 0000 C CNN
+F 1 "PORT" H -1400 3900 30 0000 C CNN
+F 2 "" H -1400 3900 60 0000 C CNN
+F 3 "" H -1400 3900 60 0000 C CNN
+ 11 -1400 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 684B7567
+P 5800 2450
+F 0 "U1" H 5850 2550 30 0000 C CNN
+F 1 "PORT" H 5800 2450 30 0000 C CNN
+F 2 "" H 5800 2450 60 0000 C CNN
+F 3 "" H 5800 2450 60 0000 C CNN
+ 1 5800 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 684BBC1B
+P 6750 1300
+F 0 "U1" H 6800 1400 30 0000 C CNN
+F 1 "PORT" H 6750 1300 30 0000 C CNN
+F 2 "" H 6750 1300 60 0000 C CNN
+F 3 "" H 6750 1300 60 0000 C CNN
+ 13 6750 1300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 684BC30D
+P 6950 1800
+F 0 "U1" H 7000 1900 30 0000 C CNN
+F 1 "PORT" H 6950 1800 30 0000 C CNN
+F 2 "" H 6950 1800 60 0000 C CNN
+F 3 "" H 6950 1800 60 0000 C CNN
+ 12 6950 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 684BC4A8
+P 13350 2250
+F 0 "U1" H 13400 2350 30 0000 C CNN
+F 1 "PORT" H 13350 2250 30 0000 C CNN
+F 2 "" H 13350 2250 60 0000 C CNN
+F 3 "" H 13350 2250 60 0000 C CNN
+ 14 13350 2250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 684BF07D
+P -750 7600
+F 0 "U1" H -700 7700 30 0000 C CNN
+F 1 "PORT" H -750 7600 30 0000 C CNN
+F 2 "" H -750 7600 60 0000 C CNN
+F 3 "" H -750 7600 60 0000 C CNN
+ 6 -750 7600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 684BF472
+P -600 8100
+F 0 "U1" H -550 8200 30 0000 C CNN
+F 1 "PORT" H -600 8100 30 0000 C CNN
+F 2 "" H -600 8100 60 0000 C CNN
+F 3 "" H -600 8100 60 0000 C CNN
+ 5 -600 8100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 684BF606
+P 5850 8500
+F 0 "U1" H 5900 8600 30 0000 C CNN
+F 1 "PORT" H 5850 8500 30 0000 C CNN
+F 2 "" H 5850 8500 60 0000 C CNN
+F 3 "" H 5850 8500 60 0000 C CNN
+ 7 5850 8500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 684BFCD0
+P 7050 7950
+F 0 "U1" H 7100 8050 30 0000 C CNN
+F 1 "PORT" H 7050 7950 30 0000 C CNN
+F 2 "" H 7050 7950 60 0000 C CNN
+F 3 "" H 7050 7950 60 0000 C CNN
+ 10 7050 7950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 684C0342
+P 6750 7450
+F 0 "U1" H 6800 7550 30 0000 C CNN
+F 1 "PORT" H 6750 7450 30 0000 C CNN
+F 2 "" H 6750 7450 60 0000 C CNN
+F 3 "" H 6750 7450 60 0000 C CNN
+ 9 6750 7450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 684C076C
+P 13400 8400
+F 0 "U1" H 13450 8500 30 0000 C CNN
+F 1 "PORT" H 13400 8400 30 0000 C CNN
+F 2 "" H 13400 8400 60 0000 C CNN
+F 3 "" H 13400 8400 60 0000 C CNN
+ 8 13400 8400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 13650 8250 13700 8250
+Wire Wire Line
+ 13650 8400 13650 8250
+Wire Wire Line
+ -1150 3900 -1000 3900
+Wire Wire Line
+ 6050 2250 6000 2250
+Wire Wire Line
+ 6050 2450 6050 2250
+Connection ~ 200 4000
+Wire Wire Line
+ -1000 3900 -1000 4000
+Connection ~ 6400 9550
+Connection ~ 7900 10000
+Connection ~ 6400 3400
+Wire Wire Line
+ 6400 3400 6400 10000
+Connection ~ 7800 3850
+Wire Wire Line
+ 6950 3400 6950 3850
+Connection ~ 5300 6100
+Connection ~ 6550 5900
+Connection ~ 6550 -300
+Wire Wire Line
+ 7150 5900 7150 5850
+Wire Wire Line
+ 5300 5900 7150 5900
+Wire Wire Line
+ 6550 -300 6550 5900
+Connection ~ 5200 -50
+Connection ~ 13150 7600
+Wire Wire Line
+ 12800 7600 13150 7600
+Wire Wire Line
+ 12800 8150 12800 7600
+Wire Wire Line
+ 13150 7350 13150 7950
+Wire Wire Line
+ 12900 7350 13150 7350
+Wire Wire Line
+ 13050 9150 13000 9150
+Wire Wire Line
+ 13050 8900 13050 9150
+Connection ~ 13050 8500
+Wire Wire Line
+ 12750 8500 12750 8700
+Wire Wire Line
+ 12750 8500 13150 8500
+Wire Wire Line
+ 13150 8500 13150 8350
+Wire Wire Line
+ 12800 8150 12850 8150
+Connection ~ 7200 7450
+Connection ~ 13700 8200
+Wire Wire Line
+ 7000 7450 7600 7450
+Wire Wire Line
+ 7300 7950 9050 7950
+Wire Wire Line
+ 9050 7950 9050 7450
+Connection ~ 13200 9400
+Connection ~ 8750 5950
+Wire Wire Line
+ 8750 5850 8750 5950
+Wire Wire Line
+ 7150 5850 8750 5850
+Wire Wire Line
+ 13700 8250 13700 8000
+Wire Wire Line
+ 13500 7700 13700 7700
+Wire Wire Line
+ 13500 7750 13500 7700
+Connection ~ 11600 7750
+Wire Wire Line
+ 11600 7750 13500 7750
+Connection ~ 13000 10000
+Wire Wire Line
+ 13200 10000 13200 7150
+Connection ~ 12500 10000
+Wire Wire Line
+ 13000 9150 13000 10000
+Connection ~ 12450 5950
+Wire Wire Line
+ 12900 5950 12900 6950
+Connection ~ 11900 6350
+Connection ~ 12450 6750
+Wire Wire Line
+ 11900 6750 12450 6750
+Wire Wire Line
+ 11900 6350 11900 6750
+Wire Wire Line
+ 12450 7950 12500 7950
+Wire Wire Line
+ 12450 6550 12450 7950
+Connection ~ 11600 10000
+Wire Wire Line
+ 12500 10000 12500 9050
+Wire Wire Line
+ 12500 8350 12500 8750
+Connection ~ 10350 6400
+Wire Wire Line
+ 10800 6350 10800 6400
+Wire Wire Line
+ 12150 6350 10800 6350
+Connection ~ 11600 5950
+Wire Wire Line
+ 12450 5950 12450 6150
+Connection ~ 10650 5950
+Wire Wire Line
+ 10650 6200 10650 5950
+Wire Wire Line
+ 10800 6400 8550 6400
+Wire Wire Line
+ 8550 6400 8550 6800
+Connection ~ 10650 6750
+Connection ~ 9500 5950
+Wire Wire Line
+ 11600 5950 11600 6550
+Connection ~ 10650 7050
+Wire Wire Line
+ 11300 6750 10650 6750
+Connection ~ 10650 7250
+Wire Wire Line
+ 10650 7050 10000 7050
+Wire Wire Line
+ 10650 7250 10300 7250
+Wire Wire Line
+ 10650 6600 10650 7700
+Connection ~ 10000 7900
+Wire Wire Line
+ 10000 7900 10350 7900
+Wire Wire Line
+ 10000 7450 10000 8050
+Connection ~ 10000 8650
+Wire Wire Line
+ 10000 8350 10000 8650
+Connection ~ 10650 8650
+Wire Wire Line
+ 10650 8100 10650 8650
+Wire Wire Line
+ 11600 6950 11600 7300
+Wire Wire Line
+ 11600 7600 11600 7800
+Wire Wire Line
+ 11600 8100 11600 8450
+Connection ~ 10500 10000
+Wire Wire Line
+ 11600 10000 11600 8850
+Connection ~ 10500 8650
+Wire Wire Line
+ 10500 8650 10500 9100
+Wire Wire Line
+ 9350 8650 11300 8650
+Wire Wire Line
+ 9350 8500 9350 8650
+Wire Wire Line
+ 9150 8500 9350 8500
+Connection ~ 9500 9300
+Wire Wire Line
+ 10200 9300 9500 9300
+Connection ~ 9500 10000
+Wire Wire Line
+ 10500 10000 10500 9500
+Wire Wire Line
+ 9150 8250 9150 8500
+Connection ~ 8800 8500
+Wire Wire Line
+ 8800 8400 8800 8500
+Wire Wire Line
+ 8850 8400 8800 8400
+Wire Wire Line
+ 8850 8250 8850 8400
+Connection ~ 8750 8500
+Wire Wire Line
+ 8850 8500 8750 8500
+Wire Wire Line
+ 8250 5950 12900 5950
+Wire Wire Line
+ 9500 8700 9500 5950
+Connection ~ 8750 10000
+Wire Wire Line
+ 9500 10000 9500 9700
+Wire Wire Line
+ 9500 9100 9500 9400
+Connection ~ 8750 8900
+Wire Wire Line
+ 9200 8900 8750 8900
+Connection ~ 7900 9550
+Wire Wire Line
+ 8250 9550 7900 9550
+Connection ~ 8250 10000
+Wire Wire Line
+ 8250 9850 8250 10000
+Wire Wire Line
+ 8750 10000 8750 9900
+Wire Wire Line
+ 6400 10000 13200 10000
+Wire Wire Line
+ 7900 9950 7900 10000
+Wire Wire Line
+ 8750 9450 8750 9600
+Wire Wire Line
+ 7900 9450 7900 9650
+Connection ~ 8350 9250
+Connection ~ 7900 8750
+Wire Wire Line
+ 8350 8750 7900 8750
+Wire Wire Line
+ 8350 9250 8350 8750
+Wire Wire Line
+ 8200 9250 8450 9250
+Wire Wire Line
+ 8750 7650 8750 9050
+Wire Wire Line
+ 7900 7650 7900 9050
+Wire Wire Line
+ 8250 6250 8250 6600
+Connection ~ 8250 7250
+Wire Wire Line
+ 8250 7000 8250 7250
+Wire Wire Line
+ 7900 7250 8750 7250
+Connection ~ 5550 7750
+Wire Wire Line
+ 5200 7750 5550 7750
+Wire Wire Line
+ 5200 8300 5200 7750
+Wire Wire Line
+ 5550 7500 5550 8100
+Wire Wire Line
+ 5300 7500 5550 7500
+Wire Wire Line
+ 5450 9300 5400 9300
+Wire Wire Line
+ 5450 9050 5450 9300
+Connection ~ 5450 8650
+Wire Wire Line
+ 5150 8650 5150 8850
+Wire Wire Line
+ 5150 8650 5550 8650
+Wire Wire Line
+ 5550 8650 5550 8500
+Wire Wire Line
+ 5200 8300 5250 8300
+Connection ~ -400 7600
+Connection ~ 6100 8350
+Wire Wire Line
+ -500 7600 0 7600
+Wire Wire Line
+ -350 8100 1450 8100
+Wire Wire Line
+ 1450 8100 1450 7600
+Connection ~ 5600 9550
+Wire Wire Line
+ 5600 9550 6400 9550
+Connection ~ 1150 6100
+Wire Wire Line
+ 1150 6000 1150 6100
+Wire Wire Line
+ 6100 8150 6100 8500
+Wire Wire Line
+ 5900 7850 6100 7850
+Wire Wire Line
+ 5900 7900 5900 7850
+Connection ~ 4000 7900
+Wire Wire Line
+ 4000 7900 5900 7900
+Connection ~ 5400 10150
+Wire Wire Line
+ 5600 10150 5600 7300
+Connection ~ 4900 10150
+Wire Wire Line
+ 5400 9300 5400 10150
+Connection ~ 4850 6100
+Wire Wire Line
+ 5300 5900 5300 7100
+Connection ~ 4300 6500
+Connection ~ 4850 6900
+Wire Wire Line
+ 4300 6900 4850 6900
+Wire Wire Line
+ 4300 6500 4300 6900
+Wire Wire Line
+ 4850 8100 4900 8100
+Wire Wire Line
+ 4850 6700 4850 8100
+Connection ~ 4000 10150
+Wire Wire Line
+ 4900 10150 4900 9200
+Wire Wire Line
+ 4900 8500 4900 8900
+Connection ~ 2750 6550
+Wire Wire Line
+ 3200 6500 3200 6550
+Wire Wire Line
+ 4550 6500 3200 6500
+Connection ~ 4000 6100
+Wire Wire Line
+ 4850 6100 4850 6300
+Connection ~ 3050 6100
+Wire Wire Line
+ 3050 6350 3050 6100
+Wire Wire Line
+ 3200 6550 950 6550
+Wire Wire Line
+ 950 6550 950 6950
+Connection ~ 3050 6900
+Connection ~ 1900 6100
+Wire Wire Line
+ 4000 6100 4000 6700
+Connection ~ 3050 7200
+Wire Wire Line
+ 3700 6900 3050 6900
+Connection ~ 3050 7400
+Wire Wire Line
+ 3050 7200 2400 7200
+Wire Wire Line
+ 3050 7400 2700 7400
+Wire Wire Line
+ 3050 6750 3050 7850
+Connection ~ 2400 8050
+Wire Wire Line
+ 2400 8050 2750 8050
+Wire Wire Line
+ 2400 7600 2400 8200
+Connection ~ 2400 8800
+Wire Wire Line
+ 2400 8500 2400 8800
+Connection ~ 3050 8800
+Wire Wire Line
+ 3050 8250 3050 8800
+Wire Wire Line
+ 4000 7100 4000 7450
+Wire Wire Line
+ 4000 7750 4000 7950
+Wire Wire Line
+ 4000 8250 4000 8600
+Connection ~ 2900 10150
+Wire Wire Line
+ 4000 10150 4000 9000
+Connection ~ 2900 8800
+Wire Wire Line
+ 2900 8800 2900 9250
+Wire Wire Line
+ 1750 8800 3700 8800
+Wire Wire Line
+ 1750 8650 1750 8800
+Wire Wire Line
+ 1550 8650 1750 8650
+Connection ~ 1900 9450
+Wire Wire Line
+ 2600 9450 1900 9450
+Connection ~ 1900 10150
+Wire Wire Line
+ 2900 10150 2900 9650
+Wire Wire Line
+ 1550 8400 1550 8650
+Connection ~ 1200 8650
+Wire Wire Line
+ 1200 8550 1200 8650
+Wire Wire Line
+ 1250 8550 1200 8550
+Wire Wire Line
+ 1250 8400 1250 8550
+Connection ~ 1150 8650
+Wire Wire Line
+ 1250 8650 1150 8650
+Wire Wire Line
+ 650 6100 5300 6100
+Wire Wire Line
+ 1900 8850 1900 6100
+Connection ~ 1150 10150
+Wire Wire Line
+ 1900 10150 1900 9850
+Wire Wire Line
+ 1900 9250 1900 9550
+Connection ~ 1150 9050
+Wire Wire Line
+ 1600 9050 1150 9050
+Connection ~ 300 9700
+Wire Wire Line
+ 650 9700 300 9700
+Connection ~ 650 10150
+Wire Wire Line
+ 650 10000 650 10150
+Wire Wire Line
+ 1150 10150 1150 10050
+Wire Wire Line
+ 300 10150 5600 10150
+Wire Wire Line
+ 300 10100 300 10150
+Wire Wire Line
+ 1150 9600 1150 9750
+Wire Wire Line
+ 300 9600 300 9800
+Connection ~ 750 9400
+Connection ~ 300 8900
+Wire Wire Line
+ 750 8900 300 8900
+Wire Wire Line
+ 750 9400 750 8900
+Wire Wire Line
+ 600 9400 850 9400
+Wire Wire Line
+ 1150 7800 1150 9200
+Wire Wire Line
+ 300 7800 300 9200
+Wire Wire Line
+ 650 6400 650 6750
+Connection ~ 650 7400
+Wire Wire Line
+ 650 7150 650 7400
+Wire Wire Line
+ 300 7400 1150 7400
+Connection ~ 13050 1450
+Wire Wire Line
+ 12700 1450 13050 1450
+Wire Wire Line
+ 12700 2000 12700 1450
+Wire Wire Line
+ 13050 1200 13050 1800
+Wire Wire Line
+ 12800 1200 13050 1200
+Wire Wire Line
+ 12950 3000 12900 3000
+Wire Wire Line
+ 12950 2750 12950 3000
+Connection ~ 12950 2350
+Wire Wire Line
+ 12650 2350 12650 2550
+Wire Wire Line
+ 12650 2350 13050 2350
+Wire Wire Line
+ 13050 2350 13050 2200
+Wire Wire Line
+ 12700 2000 12750 2000
+Connection ~ 7100 1300
+Connection ~ 13600 2050
+Wire Wire Line
+ 7000 1300 7500 1300
+Wire Wire Line
+ 7200 1800 8950 1800
+Wire Wire Line
+ 8950 1800 8950 1300
+Connection ~ 13100 3250
+Connection ~ 8650 -200
+Wire Wire Line
+ 8650 -300 8650 -200
+Wire Wire Line
+ 5200 -300 8650 -300
+Wire Wire Line
+ 13600 1850 13600 2250
+Wire Wire Line
+ 13400 1550 13600 1550
+Wire Wire Line
+ 13400 1600 13400 1550
+Connection ~ 11500 1600
+Wire Wire Line
+ 11500 1600 13400 1600
+Connection ~ 12900 3850
+Wire Wire Line
+ 13100 3850 13100 1000
+Connection ~ 12400 3850
+Wire Wire Line
+ 12900 3000 12900 3850
+Connection ~ 12350 -200
+Wire Wire Line
+ 12800 -200 12800 800
+Connection ~ 11800 200
+Connection ~ 12350 600
+Wire Wire Line
+ 11800 600 12350 600
+Wire Wire Line
+ 11800 200 11800 600
+Wire Wire Line
+ 12350 1800 12400 1800
+Wire Wire Line
+ 12350 400 12350 1800
+Connection ~ 11500 3850
+Wire Wire Line
+ 12400 3850 12400 2900
+Wire Wire Line
+ 12400 2200 12400 2600
+Connection ~ 10250 250
+Wire Wire Line
+ 10700 200 10700 250
+Wire Wire Line
+ 12050 200 10700 200
+Connection ~ 11500 -200
+Wire Wire Line
+ 12350 -200 12350 0
+Connection ~ 10550 -200
+Wire Wire Line
+ 10550 50 10550 -200
+Wire Wire Line
+ 10700 250 8450 250
+Wire Wire Line
+ 8450 250 8450 650
+Connection ~ 10550 600
+Connection ~ 9400 -200
+Wire Wire Line
+ 11500 -200 11500 400
+Connection ~ 10550 900
+Wire Wire Line
+ 11200 600 10550 600
+Connection ~ 10550 1100
+Wire Wire Line
+ 10550 900 9900 900
+Wire Wire Line
+ 10550 1100 10200 1100
+Wire Wire Line
+ 10550 450 10550 1550
+Connection ~ 9900 1750
+Wire Wire Line
+ 9900 1750 10250 1750
+Wire Wire Line
+ 9900 1300 9900 1900
+Connection ~ 9900 2500
+Wire Wire Line
+ 9900 2200 9900 2500
+Connection ~ 10550 2500
+Wire Wire Line
+ 10550 1950 10550 2500
+Wire Wire Line
+ 11500 800 11500 1150
+Wire Wire Line
+ 11500 1450 11500 1650
+Wire Wire Line
+ 11500 1950 11500 2300
+Connection ~ 10400 3850
+Wire Wire Line
+ 11500 3850 11500 2700
+Connection ~ 10400 2500
+Wire Wire Line
+ 10400 2500 10400 2950
+Wire Wire Line
+ 9250 2500 11200 2500
+Wire Wire Line
+ 9250 2350 9250 2500
+Wire Wire Line
+ 9050 2350 9250 2350
+Connection ~ 9400 3150
+Wire Wire Line
+ 10100 3150 9400 3150
+Connection ~ 9400 3850
+Wire Wire Line
+ 10400 3850 10400 3350
+Wire Wire Line
+ 9050 2100 9050 2350
+Connection ~ 8700 2350
+Wire Wire Line
+ 8700 2250 8700 2350
+Wire Wire Line
+ 8750 2250 8700 2250
+Wire Wire Line
+ 8750 2100 8750 2250
+Connection ~ 8650 2350
+Wire Wire Line
+ 8750 2350 8650 2350
+Wire Wire Line
+ 8150 -200 12800 -200
+Wire Wire Line
+ 9400 2550 9400 -200
+Connection ~ 8650 3850
+Wire Wire Line
+ 9400 3850 9400 3550
+Wire Wire Line
+ 9400 2950 9400 3250
+Connection ~ 8650 2750
+Wire Wire Line
+ 9100 2750 8650 2750
+Connection ~ 7800 3400
+Wire Wire Line
+ 8150 3400 7800 3400
+Connection ~ 8150 3850
+Wire Wire Line
+ 8150 3700 8150 3850
+Wire Wire Line
+ 8650 3850 8650 3750
+Wire Wire Line
+ 6950 3850 13100 3850
+Wire Wire Line
+ 7800 3800 7800 3850
+Wire Wire Line
+ 8650 3300 8650 3450
+Wire Wire Line
+ 7800 3300 7800 3500
+Connection ~ 8250 3100
+Connection ~ 7800 2600
+Wire Wire Line
+ 8250 2600 7800 2600
+Wire Wire Line
+ 8250 3100 8250 2600
+Wire Wire Line
+ 8100 3100 8350 3100
+Wire Wire Line
+ 8650 1500 8650 2900
+Wire Wire Line
+ 7800 1500 7800 2900
+Wire Wire Line
+ 8150 100 8150 450
+Connection ~ 8150 1100
+Wire Wire Line
+ 8150 850 8150 1100
+Wire Wire Line
+ 7800 1100 8650 1100
+Connection ~ 5450 1600
+Wire Wire Line
+ 5100 1600 5450 1600
+Wire Wire Line
+ 5100 2150 5100 1600
+Wire Wire Line
+ 5450 1350 5450 1950
+Wire Wire Line
+ 5200 1350 5450 1350
+Wire Wire Line
+ 5350 3150 5300 3150
+Wire Wire Line
+ 5350 2900 5350 3150
+Connection ~ 5350 2500
+Wire Wire Line
+ 5050 2500 5050 2700
+Wire Wire Line
+ 5050 2500 5450 2500
+Wire Wire Line
+ 5450 2500 5450 2350
+Wire Wire Line
+ 5100 2150 5150 2150
+Connection ~ -500 1450
+Connection ~ 6000 2200
+Wire Wire Line
+ -650 1450 -100 1450
+Wire Wire Line
+ -650 1950 1350 1950
+Wire Wire Line
+ 1350 1950 1350 1450
+Connection ~ 5500 3400
+Wire Wire Line
+ 5500 3400 6950 3400
+Connection ~ 1050 -50
+Wire Wire Line
+ 1050 -150 1050 -50
+Wire Wire Line
+ -750 -150 1050 -150
+Wire Wire Line
+ 6000 2250 6000 2000
+Wire Wire Line
+ 5800 1700 6000 1700
+Wire Wire Line
+ 5800 1750 5800 1700
+Connection ~ 3900 1750
+Wire Wire Line
+ 3900 1750 5800 1750
+Connection ~ 5300 4000
+Wire Wire Line
+ 5500 4000 5500 1150
+Connection ~ 4800 4000
+Wire Wire Line
+ 5300 3150 5300 4000
+Connection ~ 4750 -50
+Wire Wire Line
+ 5200 -300 5200 950
+Connection ~ 4200 350
+Connection ~ 4750 750
+Wire Wire Line
+ 4200 750 4750 750
+Wire Wire Line
+ 4200 350 4200 750
+Wire Wire Line
+ 4750 1950 4800 1950
+Wire Wire Line
+ 4750 550 4750 1950
+Connection ~ 3900 4000
+Wire Wire Line
+ 4800 4000 4800 3050
+Wire Wire Line
+ 4800 2350 4800 2750
+Connection ~ 2650 400
+Wire Wire Line
+ 3100 350 3100 400
+Wire Wire Line
+ 4450 350 3100 350
+Connection ~ 3900 -50
+Wire Wire Line
+ 4750 -50 4750 150
+Connection ~ 2950 -50
+Wire Wire Line
+ 2950 200 2950 -50
+Wire Wire Line
+ 3100 400 850 400
+Wire Wire Line
+ 850 400 850 800
+Connection ~ 2950 750
+Connection ~ 1800 -50
+Wire Wire Line
+ 3900 -50 3900 550
+Connection ~ 2950 1050
+Wire Wire Line
+ 3600 750 2950 750
+Connection ~ 2950 1250
+Wire Wire Line
+ 2950 1050 2300 1050
+Wire Wire Line
+ 2950 1250 2600 1250
+Wire Wire Line
+ 2950 600 2950 1700
+Connection ~ 2300 1900
+Wire Wire Line
+ 2300 1900 2650 1900
+Wire Wire Line
+ 2300 1450 2300 2050
+Connection ~ 2300 2650
+Wire Wire Line
+ 2300 2350 2300 2650
+Connection ~ 2950 2650
+Wire Wire Line
+ 2950 2100 2950 2650
+Wire Wire Line
+ 3900 950 3900 1300
+Wire Wire Line
+ 3900 1600 3900 1800
+Wire Wire Line
+ 3900 2100 3900 2450
+Connection ~ 2800 4000
+Wire Wire Line
+ 3900 4000 3900 2850
+Connection ~ 2800 2650
+Wire Wire Line
+ 2800 2650 2800 3100
+Wire Wire Line
+ 1650 2650 3600 2650
+Wire Wire Line
+ 1650 2500 1650 2650
+Wire Wire Line
+ 1450 2500 1650 2500
+Connection ~ 1800 3300
+Wire Wire Line
+ 2500 3300 1800 3300
+Connection ~ 1800 4000
+Wire Wire Line
+ 2800 4000 2800 3500
+Wire Wire Line
+ 1450 2250 1450 2500
+Connection ~ 1100 2500
+Wire Wire Line
+ 1100 2400 1100 2500
+Wire Wire Line
+ 1150 2400 1100 2400
+Wire Wire Line
+ 1150 2250 1150 2400
+Connection ~ 1050 2500
+Wire Wire Line
+ 1150 2500 1050 2500
+Wire Wire Line
+ 550 -50 5200 -50
+Wire Wire Line
+ 1800 2700 1800 -50
+Connection ~ 1050 4000
+Wire Wire Line
+ 1800 4000 1800 3700
+Wire Wire Line
+ 1800 3100 1800 3400
+Connection ~ 1050 2900
+Wire Wire Line
+ 1500 2900 1050 2900
+Connection ~ 200 3550
+Wire Wire Line
+ 550 3550 200 3550
+Connection ~ 550 4000
+Wire Wire Line
+ 550 3850 550 4000
+Wire Wire Line
+ 1050 4000 1050 3900
+Wire Wire Line
+ -1000 4000 5500 4000
+Wire Wire Line
+ 200 3950 200 4000
+Wire Wire Line
+ 1050 3450 1050 3600
+Wire Wire Line
+ 200 3450 200 3650
+Connection ~ 650 3250
+Connection ~ 200 2750
+Wire Wire Line
+ 650 2750 200 2750
+Wire Wire Line
+ 650 3250 650 2750
+Wire Wire Line
+ 500 3250 750 3250
+Wire Wire Line
+ 1050 1650 1050 3050
+Wire Wire Line
+ 200 1650 200 3050
+Wire Wire Line
+ 550 250 550 600
+Connection ~ 550 1250
+Wire Wire Line
+ 550 1000 550 1250
+Wire Wire Line
+ 200 1250 1050 1250
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5228/M5228.sub b/library/SubcircuitLibrary/M5228/M5228.sub
new file mode 100644
index 000000000..4bb295aa9
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228.sub
@@ -0,0 +1,126 @@
+* Subcircuit M5228
+.subckt M5228 net-_r17-pad2_ net-_q1-pad2_ net-_q9-pad2_ net-_j1-pad1_ net-_q10-pad2_ net-_q2-pad2_ net-_r18-pad2_ net-_r36-pad2_ net-_q34-pad2_ net-_q42-pad2_ net-_c1-pad2_ net-_q41-pad2_ net-_q33-pad2_ net-_r35-pad2_
+* c:\fossee\esim\library\subcircuitlibrary\m5228\m5228.cir
+.include PNP.lib
+.include NPN.lib
+.include D.lib
+.include NJF.lib
+q5 net-_q1-pad3_ net-_q17-pad2_ net-_q5-pad3_ Q2N2907A
+q9 net-_c3-pad2_ net-_q9-pad2_ net-_q1-pad3_ Q2N2907A
+q1 net-_q1-pad1_ net-_q1-pad2_ net-_q1-pad3_ Q2N2907A
+r3 net-_j1-pad1_ net-_q5-pad3_ 8.7k
+q7 net-_c3-pad2_ net-_q1-pad1_ net-_q7-pad3_ Q2N2222
+q3 net-_q1-pad1_ net-_q1-pad1_ net-_c1-pad1_ Q2N2222
+r1 net-_c1-pad1_ net-_c1-pad2_ 5k
+r5 net-_q7-pad3_ net-_c1-pad2_ 5k
+c1 net-_c1-pad1_ net-_c1-pad2_ 15p
+q11 net-_j1-pad1_ net-_c3-pad2_ net-_q11-pad3_ Q2N2222
+r7 net-_q11-pad3_ net-_c1-pad2_ 50k
+c3 net-_c3-pad1_ net-_c3-pad2_ 15p
+d1 net-_c3-pad2_ net-_c3-pad1_ 1N4148
+q15 net-_c3-pad1_ net-_q11-pad3_ net-_c1-pad2_ Q2N2222
+q22 net-_c1-pad2_ net-_c3-pad1_ net-_q22-pad3_ Q2N2907A
+r12 net-_r11-pad2_ net-_q22-pad3_ 27
+r11 net-_q21-pad3_ net-_r11-pad2_ 27
+q21 net-_j1-pad1_ net-_q13-pad1_ net-_q21-pad3_ Q2N2222
+r9 net-_q13-pad3_ net-_c3-pad1_ 50k
+q18 net-_q13-pad1_ net-_q13-pad3_ net-_c3-pad1_ Q2N2222
+q13 net-_q13-pad1_ net-_q13-pad1_ net-_q13-pad3_ Q2N2222
+q17 net-_q13-pad1_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+q25 net-_q17-pad2_ net-_q17-pad2_ net-_j1-pad1_ Q2N2907A
+q27 net-_q17-pad2_ net-_j1-pad3_ net-_q27-pad3_ Q2N2222
+r15 net-_q27-pad3_ net-_c1-pad2_ 5.8k
+j1 net-_j1-pad1_ net-_c1-pad2_ net-_j1-pad3_ J2N3819
+r17 net-_r11-pad2_ net-_r17-pad2_ 120
+q30 net-_j1-pad3_ net-_j1-pad3_ net-_q29-pad1_ Q2N2222
+q29 net-_q29-pad1_ net-_q29-pad1_ net-_c1-pad2_ Q2N2222
+q37 net-_q33-pad3_ net-_q37-pad2_ net-_q37-pad3_ Q2N2907A
+q41 net-_c7-pad2_ net-_q41-pad2_ net-_q33-pad3_ Q2N2907A
+q33 net-_q33-pad1_ net-_q33-pad2_ net-_q33-pad3_ Q2N2907A
+r21 net-_j1-pad1_ net-_q37-pad3_ 8.7k
+q39 net-_c7-pad2_ net-_q33-pad1_ net-_q39-pad3_ Q2N2222
+q35 net-_q33-pad1_ net-_q33-pad1_ net-_c5-pad1_ Q2N2222
+r19 net-_c5-pad1_ net-_c1-pad2_ 5k
+r23 net-_q39-pad3_ net-_c1-pad2_ 5k
+c5 net-_c5-pad1_ net-_c1-pad2_ 15p
+q43 net-_j1-pad1_ net-_c7-pad2_ net-_q43-pad3_ Q2N2222
+r25 net-_q43-pad3_ net-_c1-pad2_ 50k
+c7 net-_c7-pad1_ net-_c7-pad2_ 15p
+d3 net-_c7-pad2_ net-_c7-pad1_ 1N4148
+q47 net-_c7-pad1_ net-_q43-pad3_ net-_c1-pad2_ Q2N2222
+q54 net-_c1-pad2_ net-_c7-pad1_ net-_q54-pad3_ Q2N2907A
+r30 net-_r29-pad2_ net-_q54-pad3_ 27
+r29 net-_q53-pad3_ net-_r29-pad2_ 27
+q53 net-_j1-pad1_ net-_q45-pad1_ net-_q53-pad3_ Q2N2222
+r27 net-_q45-pad3_ net-_c7-pad1_ 50k
+q50 net-_q45-pad1_ net-_q45-pad3_ net-_c7-pad1_ Q2N2222
+q45 net-_q45-pad1_ net-_q45-pad1_ net-_q45-pad3_ Q2N2222
+q49 net-_q45-pad1_ net-_q37-pad2_ net-_j1-pad1_ Q2N2907A
+q57 net-_q37-pad2_ net-_q37-pad2_ net-_j1-pad1_ Q2N2907A
+q59 net-_q37-pad2_ net-_j3-pad3_ net-_q59-pad3_ Q2N2222
+r33 net-_q59-pad3_ net-_c1-pad2_ 5.8k
+j3 net-_j1-pad1_ net-_c1-pad2_ net-_j3-pad3_ J2N3819
+r35 net-_r29-pad2_ net-_r35-pad2_ 120
+q62 net-_j3-pad3_ net-_j3-pad3_ net-_q61-pad1_ Q2N2222
+q61 net-_q61-pad1_ net-_q61-pad1_ net-_c1-pad2_ Q2N2222
+q6 net-_q10-pad3_ net-_q19-pad2_ net-_q6-pad3_ Q2N2907A
+q10 net-_c4-pad2_ net-_q10-pad2_ net-_q10-pad3_ Q2N2907A
+q2 net-_q2-pad1_ net-_q2-pad2_ net-_q10-pad3_ Q2N2907A
+r4 net-_j1-pad1_ net-_q6-pad3_ 8.7k
+q8 net-_c4-pad2_ net-_q2-pad1_ net-_q8-pad3_ Q2N2222
+q4 net-_q2-pad1_ net-_q2-pad1_ net-_c2-pad1_ Q2N2222
+r2 net-_c2-pad1_ net-_c1-pad2_ 5k
+r6 net-_q8-pad3_ net-_c1-pad2_ 5k
+c2 net-_c2-pad1_ net-_c1-pad2_ 15p
+q12 net-_j1-pad1_ net-_c4-pad2_ net-_q12-pad3_ Q2N2222
+r8 net-_q12-pad3_ net-_c1-pad2_ 50k
+c4 net-_c4-pad1_ net-_c4-pad2_ 15p
+d2 net-_c4-pad2_ net-_c4-pad1_ 1N4148
+q16 net-_c4-pad1_ net-_q12-pad3_ net-_c1-pad2_ Q2N2222
+q24 net-_c1-pad2_ net-_c4-pad1_ net-_q24-pad3_ Q2N2907A
+r14 net-_r13-pad2_ net-_q24-pad3_ 27
+r13 net-_q23-pad3_ net-_r13-pad2_ 27
+q23 net-_j1-pad1_ net-_q14-pad1_ net-_q23-pad3_ Q2N2222
+r10 net-_q14-pad3_ net-_c4-pad1_ 50k
+q20 net-_q14-pad1_ net-_q14-pad3_ net-_c4-pad1_ Q2N2222
+q14 net-_q14-pad1_ net-_q14-pad1_ net-_q14-pad3_ Q2N2222
+q19 net-_q14-pad1_ net-_q19-pad2_ net-_j1-pad1_ Q2N2907A
+q26 net-_q19-pad2_ net-_q19-pad2_ net-_j1-pad1_ Q2N2907A
+q28 net-_q19-pad2_ net-_j2-pad3_ net-_q28-pad3_ Q2N2222
+r16 net-_q28-pad3_ net-_c1-pad2_ 5.8k
+j2 net-_j1-pad1_ net-_c1-pad2_ net-_j2-pad3_ J2N3819
+r18 net-_r13-pad2_ net-_r18-pad2_ 120
+q32 net-_j2-pad3_ net-_j2-pad3_ net-_q31-pad1_ Q2N2222
+q31 net-_q31-pad1_ net-_q31-pad1_ net-_c1-pad2_ Q2N2222
+q38 net-_q34-pad3_ net-_q38-pad2_ net-_q38-pad3_ Q2N2907A
+q42 net-_c8-pad2_ net-_q42-pad2_ net-_q34-pad3_ Q2N2907A
+q34 net-_q34-pad1_ net-_q34-pad2_ net-_q34-pad3_ Q2N2907A
+r22 net-_j1-pad1_ net-_q38-pad3_ 8.7k
+q40 net-_c8-pad2_ net-_q34-pad1_ net-_q40-pad3_ Q2N2222
+q36 net-_q34-pad1_ net-_q34-pad1_ net-_c6-pad1_ Q2N2222
+r20 net-_c6-pad1_ net-_c1-pad2_ 5k
+r24 net-_q40-pad3_ net-_c1-pad2_ 5k
+c6 net-_c6-pad1_ net-_c1-pad2_ 15p
+q44 net-_j1-pad1_ net-_c8-pad2_ net-_q44-pad3_ Q2N2222
+r26 net-_q44-pad3_ net-_c1-pad2_ 50k
+c8 net-_c8-pad1_ net-_c8-pad2_ 15p
+d4 net-_c8-pad2_ net-_c8-pad1_ 1N4148
+q48 net-_c8-pad1_ net-_q44-pad3_ net-_c1-pad2_ Q2N2222
+q56 net-_c1-pad2_ net-_c8-pad1_ net-_q56-pad3_ Q2N2907A
+r32 net-_r31-pad2_ net-_q56-pad3_ 27
+r31 net-_q55-pad3_ net-_r31-pad2_ 27
+q55 net-_j1-pad1_ net-_q46-pad1_ net-_q55-pad3_ Q2N2222
+r28 net-_q46-pad3_ net-_c8-pad1_ 50k
+q52 net-_q46-pad1_ net-_q46-pad3_ net-_c8-pad1_ Q2N2222
+q46 net-_q46-pad1_ net-_q46-pad1_ net-_q46-pad3_ Q2N2222
+q51 net-_q46-pad1_ net-_q38-pad2_ net-_j1-pad1_ Q2N2907A
+q58 net-_q38-pad2_ net-_q38-pad2_ net-_j1-pad1_ Q2N2907A
+q60 net-_q38-pad2_ net-_j4-pad3_ net-_q60-pad3_ Q2N2222
+r34 net-_q60-pad3_ net-_c1-pad2_ 5.8k
+j4 net-_j1-pad1_ net-_c1-pad2_ net-_j4-pad3_ J2N3819
+r36 net-_r31-pad2_ net-_r36-pad2_ 120
+q64 net-_j4-pad3_ net-_j4-pad3_ net-_q63-pad1_ Q2N2222
+q63 net-_q63-pad1_ net-_q63-pad1_ net-_c1-pad2_ Q2N2222
+* Control Statements
+
+.ends M5228
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5228/M5228_Previous_Values.xml b/library/SubcircuitLibrary/M5228/M5228_Previous_Values.xml
new file mode 100644
index 000000000..b277de2ec
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/M5228_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\JFET\NJF.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5228/NJF.lib b/library/SubcircuitLibrary/M5228/NJF.lib
new file mode 100644
index 000000000..dbb2cbae5
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/NJF.lib
@@ -0,0 +1,4 @@
+.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
++ Af=1)
diff --git a/library/SubcircuitLibrary/M5228/NPN.lib b/library/SubcircuitLibrary/M5228/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/M5228/PNP.lib b/library/SubcircuitLibrary/M5228/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/M5228/analysis b/library/SubcircuitLibrary/M5228/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/M5228/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/M5234_final/D.lib b/library/SubcircuitLibrary/M5234_final/D.lib
new file mode 100644
index 000000000..f53bf3e03
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My-cache.lib b/library/SubcircuitLibrary/M5234_final/M5234_My-cache.lib
new file mode 100644
index 000000000..3394d0352
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My-cache.lib
@@ -0,0 +1,147 @@
+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
+#
+# dc
+#
+DEF dc I 0 40 Y Y 1 F N
+F0 "I" -200 100 60 H V C CNN
+F1 "dc" -200 -50 60 H V C CNN
+F2 "R1" -300 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ 1_pin
+$ENDFPLIST
+DRAW
+C 0 0 150 0 1 0 N
+P 2 0 1 0 0 -100 0 -100 N
+P 2 0 1 0 0 100 -50 50 N
+P 2 0 1 0 0 100 0 -100 N
+P 2 0 1 0 0 100 50 50 N
+X ~ 1 0 450 300 D 50 50 1 1 P
+X ~ 2 0 -450 300 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My.bak b/library/SubcircuitLibrary/M5234_final/M5234_My.bak
new file mode 100644
index 000000000..48a2e44ac
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.bak
@@ -0,0 +1,400 @@
+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:M5234_My-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_NPN Q8
+U 1 1 682D83FE
+P 9450 3800
+F 0 "Q8" H 9350 3850 50 0000 R CNN
+F 1 "eSim_NPN" H 9400 3950 50 0000 R CNN
+F 2 "" H 9650 3900 29 0000 C CNN
+F 3 "" H 9450 3800 60 0000 C CNN
+ 1 9450 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 682D8472
+P 8950 4150
+F 0 "Q7" H 8850 4200 50 0000 R CNN
+F 1 "eSim_NPN" H 8900 4300 50 0000 R CNN
+F 2 "" H 9150 4250 29 0000 C CNN
+F 3 "" H 8950 4150 60 0000 C CNN
+ 1 8950 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 682D848F
+P 7300 4500
+F 0 "Q4" H 7200 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 4650 50 0000 R CNN
+F 2 "" H 7500 4600 29 0000 C CNN
+F 3 "" H 7300 4500 60 0000 C CNN
+ 1 7300 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 682D84B9
+P 6450 4500
+F 0 "Q3" H 6350 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 4650 50 0000 R CNN
+F 2 "" H 6650 4600 29 0000 C CNN
+F 3 "" H 6450 4500 60 0000 C CNN
+ 1 6450 4500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 682D8531
+P 5800 3500
+F 0 "Q1" H 5700 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 5750 3650 50 0000 R CNN
+F 2 "" H 6000 3600 29 0000 C CNN
+F 3 "" H 5800 3500 60 0000 C CNN
+ 1 5800 3500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 682D85B2
+P 8250 2900
+F 0 "D4" H 8250 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 8250 2800 50 0000 C CNN
+F 2 "" H 8250 2900 60 0000 C CNN
+F 3 "" H 8250 2900 60 0000 C CNN
+ 1 8250 2900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 682D85E4
+P 5400 2900
+F 0 "D1" H 5400 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 5400 2800 50 0000 C CNN
+F 2 "" H 5400 2900 60 0000 C CNN
+F 3 "" H 5400 2900 60 0000 C CNN
+ 1 5400 2900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 682D8617
+P 6000 2600
+F 0 "D2" H 6000 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 6000 2500 50 0000 C CNN
+F 2 "" H 6000 2600 60 0000 C CNN
+F 3 "" H 6000 2600 60 0000 C CNN
+ 1 6000 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L dc I4
+U 1 1 682D8675
+P 8950 1800
+F 0 "I4" H 8750 1900 60 0000 C CNN
+F 1 "dc" H 8750 1750 60 0000 C CNN
+F 2 "R1" H 8650 1800 60 0000 C CNN
+F 3 "" H 8950 1800 60 0000 C CNN
+ 1 8950 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 682D8A5A
+P 6250 3100
+F 0 "Q2" H 6150 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 6200 3250 50 0000 R CNN
+F 2 "" H 6450 3200 29 0000 C CNN
+F 3 "" H 6250 3100 60 0000 C CNN
+ 1 6250 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 682D8A99
+P 7500 3100
+F 0 "Q5" H 7400 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 7450 3250 50 0000 R CNN
+F 2 "" H 7700 3200 29 0000 C CNN
+F 3 "" H 7500 3100 60 0000 C CNN
+ 1 7500 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 682D8AF4
+P 8200 3400
+F 0 "Q6" H 8100 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 8150 3550 50 0000 R CNN
+F 2 "" H 8400 3500 29 0000 C CNN
+F 3 "" H 8200 3400 60 0000 C CNN
+ 1 8200 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I1
+U 1 1 682D9149
+P 6000 1850
+F 0 "I1" H 5800 1950 60 0000 C CNN
+F 1 "dc" H 5800 1800 60 0000 C CNN
+F 2 "R1" H 5700 1850 60 0000 C CNN
+F 3 "" H 6000 1850 60 0000 C CNN
+ 1 6000 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 682D9392
+P 6800 1850
+F 0 "I2" H 6600 1950 60 0000 C CNN
+F 1 "dc" H 6600 1800 60 0000 C CNN
+F 2 "R1" H 6500 1850 60 0000 C CNN
+F 3 "" H 6800 1850 60 0000 C CNN
+ 1 6800 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 682D93DF
+P 7800 1800
+F 0 "I3" H 7600 1900 60 0000 C CNN
+F 1 "dc" H 7600 1750 60 0000 C CNN
+F 2 "R1" H 7500 1800 60 0000 C CNN
+F 3 "" H 7800 1800 60 0000 C CNN
+ 1 7800 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 682D98E4
+P 7800 2550
+F 0 "D3" H 7800 2650 50 0000 C CNN
+F 1 "eSim_Diode" H 7800 2450 50 0000 C CNN
+F 2 "" H 7800 2550 60 0000 C CNN
+F 3 "" H 7800 2550 60 0000 C CNN
+ 1 7800 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 682DA61A
+P 5100 3850
+F 0 "U1" H 5150 3950 30 0000 C CNN
+F 1 "PORT" H 5100 3850 30 0000 C CNN
+F 2 "" H 5100 3850 60 0000 C CNN
+F 3 "" H 5100 3850 60 0000 C CNN
+ 2 5100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 682DA808
+P 4650 3500
+F 0 "U1" H 4700 3600 30 0000 C CNN
+F 1 "PORT" H 4650 3500 30 0000 C CNN
+F 2 "" H 4650 3500 60 0000 C CNN
+F 3 "" H 4650 3500 60 0000 C CNN
+ 1 4650 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 682DA887
+P 7500 900
+F 0 "U1" H 7550 1000 30 0000 C CNN
+F 1 "PORT" H 7500 900 30 0000 C CNN
+F 2 "" H 7500 900 60 0000 C CNN
+F 3 "" H 7500 900 60 0000 C CNN
+ 5 7500 900
+ 0 -1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 682DAA6F
+P 9950 3600
+F 0 "U1" H 10000 3700 30 0000 C CNN
+F 1 "PORT" H 9950 3600 30 0000 C CNN
+F 2 "" H 9950 3600 60 0000 C CNN
+F 3 "" H 9950 3600 60 0000 C CNN
+ 4 9950 3600
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 6834C683
+P 9550 2350
+F 0 "R1" H 9600 2480 50 0000 C CNN
+F 1 "10k" H 9600 2300 50 0000 C CNN
+F 2 "" H 9600 2330 30 0000 C CNN
+F 3 "" V 9600 2400 30 0000 C CNN
+ 1 9550 2350
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6350 3300 6350 4300
+Wire Wire Line
+ 6650 4500 7100 4500
+Wire Wire Line
+ 7400 3300 7400 4300
+Wire Wire Line
+ 6050 3100 5900 3100
+Wire Wire Line
+ 5900 3100 5900 3300
+Wire Wire Line
+ 7700 3100 8100 3100
+Wire Wire Line
+ 8100 3100 8100 3200
+Wire Wire Line
+ 8950 3800 9250 3800
+Wire Wire Line
+ 9050 3800 9050 3950
+Wire Wire Line
+ 8750 4150 7400 4150
+Connection ~ 7400 4150
+Wire Wire Line
+ 6350 2900 7400 2900
+Wire Wire Line
+ 6000 2300 6000 2450
+Wire Wire Line
+ 6000 2750 6000 3100
+Connection ~ 6000 3100
+Wire Wire Line
+ 6800 2300 6800 2900
+Connection ~ 6800 2900
+Wire Wire Line
+ 7800 2250 7800 2400
+Wire Wire Line
+ 7800 2700 7800 3100
+Connection ~ 7800 3100
+Wire Wire Line
+ 8950 2250 8950 3800
+Connection ~ 9050 3800
+Wire Wire Line
+ 7700 1400 7700 1350
+Wire Wire Line
+ 7700 1350 9550 1350
+Connection ~ 7800 1350
+Wire Wire Line
+ 6000 1400 7700 1400
+Connection ~ 6800 1400
+Wire Wire Line
+ 4900 3500 5600 3500
+Wire Wire Line
+ 5550 2900 6000 2900
+Connection ~ 6000 2900
+Wire Wire Line
+ 5250 2900 5250 3500
+Connection ~ 5250 3500
+Wire Wire Line
+ 8400 2900 8400 3850
+Wire Wire Line
+ 8100 2900 7800 2900
+Connection ~ 7800 2900
+Wire Wire Line
+ 6350 4000 6800 4000
+Wire Wire Line
+ 6800 4000 6800 4500
+Connection ~ 6800 4500
+Connection ~ 6350 4000
+Wire Wire Line
+ 8400 3850 5350 3850
+Connection ~ 8400 3400
+Wire Wire Line
+ 7500 1150 7500 1400
+Connection ~ 7500 1400
+Wire Wire Line
+ 9700 3600 9550 3600
+Wire Wire Line
+ 5900 4900 9550 4900
+Wire Wire Line
+ 6350 4900 6350 4700
+Wire Wire Line
+ 7400 4900 7400 4700
+Connection ~ 6900 4900
+Wire Wire Line
+ 9050 4900 9050 4350
+Connection ~ 7400 4900
+Wire Wire Line
+ 9550 4900 9550 4000
+Connection ~ 9050 4900
+Wire Wire Line
+ 8100 3600 8100 4900
+Connection ~ 8100 4900
+Wire Wire Line
+ 5900 3700 5900 4900
+Connection ~ 6350 4900
+Connection ~ 8950 1350
+Wire Wire Line
+ 9550 1350 9550 2250
+Wire Wire Line
+ 9550 2250 9600 2250
+Wire Wire Line
+ 9600 2550 9600 3600
+Connection ~ 9600 3600
+$Comp
+L PORT U1
+U 3 1 682DA683
+P 6900 5150
+F 0 "U1" H 6950 5250 30 0000 C CNN
+F 1 "PORT" H 6900 5150 30 0000 C CNN
+F 2 "" H 6900 5150 60 0000 C CNN
+F 3 "" H 6900 5150 60 0000 C CNN
+ 3 6900 5150
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My.cir b/library/SubcircuitLibrary/M5234_final/M5234_My.cir
new file mode 100644
index 000000000..73a43d353
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.cir
@@ -0,0 +1,28 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_My\M5234_My.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/02/25 19:55:33
+
+* 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: /
+Q8 Net-_Q8-Pad1_ Net-_I4-Pad2_ Net-_Q1-Pad1_ eSim_NPN
+Q7 Net-_I4-Pad2_ Net-_Q4-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q4 Net-_Q4-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q3 Net-_Q2-Pad1_ Net-_Q2-Pad1_ Net-_Q1-Pad1_ eSim_NPN
+Q1 Net-_Q1-Pad1_ Net-_D1-Pad2_ Net-_D1-Pad1_ eSim_PNP
+D4 Net-_D4-Pad1_ Net-_D3-Pad2_ eSim_Diode
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+D2 Net-_D2-Pad1_ Net-_D1-Pad1_ eSim_Diode
+I4 Net-_I1-Pad1_ Net-_I4-Pad2_ dc
+Q2 Net-_Q2-Pad1_ Net-_D1-Pad1_ Net-_I2-Pad2_ eSim_PNP
+Q5 Net-_Q4-Pad1_ Net-_D3-Pad2_ Net-_I2-Pad2_ eSim_PNP
+Q6 Net-_Q1-Pad1_ Net-_D4-Pad1_ Net-_D3-Pad2_ eSim_PNP
+I1 Net-_I1-Pad1_ Net-_D2-Pad1_ dc
+I2 Net-_I1-Pad1_ Net-_I2-Pad2_ dc
+I3 Net-_I1-Pad1_ Net-_D3-Pad1_ dc
+D3 Net-_D3-Pad1_ Net-_D3-Pad2_ eSim_Diode
+U1 Net-_D1-Pad2_ Net-_D4-Pad1_ Net-_Q1-Pad1_ Net-_Q8-Pad1_ Net-_I1-Pad1_ PORT
+R1 Net-_I1-Pad1_ Net-_Q8-Pad1_ 10k
+
+.end
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My.cir.out b/library/SubcircuitLibrary/M5234_final/M5234_My.cir.out
new file mode 100644
index 000000000..7ff5dcaa8
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.cir.out
@@ -0,0 +1,32 @@
+* c:\fossee\esim\library\subcircuitlibrary\m5234_my\m5234_my.cir
+
+.include NPN.lib
+.include PNP.lib
+.include D.lib
+q8 net-_q8-pad1_ net-_i4-pad2_ net-_q1-pad1_ Q2N2222
+q7 net-_i4-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+d4 net-_d4-pad1_ net-_d3-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d2-pad1_ net-_d1-pad1_ 1N4148
+i4 net-_i1-pad1_ net-_i4-pad2_ dc 80u
+q2 net-_q2-pad1_ net-_d1-pad1_ net-_i2-pad2_ Q2N2907A
+q5 net-_q4-pad1_ net-_d3-pad2_ net-_i2-pad2_ Q2N2907A
+q6 net-_q1-pad1_ net-_d4-pad1_ net-_d3-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_d2-pad1_ dc 80u
+i2 net-_i1-pad1_ net-_i2-pad2_ dc 80u
+i3 net-_i1-pad1_ net-_d3-pad1_ dc 80u
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+* u1 net-_d1-pad2_ net-_d4-pad1_ net-_q1-pad1_ net-_q8-pad1_ net-_i1-pad1_ port
+r1 net-_i1-pad1_ net-_q8-pad1_ 10k
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My.pro b/library/SubcircuitLibrary/M5234_final/M5234_My.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.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/M5234_final/M5234_My.sch b/library/SubcircuitLibrary/M5234_final/M5234_My.sch
new file mode 100644
index 000000000..48a2e44ac
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.sch
@@ -0,0 +1,400 @@
+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:M5234_My-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_NPN Q8
+U 1 1 682D83FE
+P 9450 3800
+F 0 "Q8" H 9350 3850 50 0000 R CNN
+F 1 "eSim_NPN" H 9400 3950 50 0000 R CNN
+F 2 "" H 9650 3900 29 0000 C CNN
+F 3 "" H 9450 3800 60 0000 C CNN
+ 1 9450 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q7
+U 1 1 682D8472
+P 8950 4150
+F 0 "Q7" H 8850 4200 50 0000 R CNN
+F 1 "eSim_NPN" H 8900 4300 50 0000 R CNN
+F 2 "" H 9150 4250 29 0000 C CNN
+F 3 "" H 8950 4150 60 0000 C CNN
+ 1 8950 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 682D848F
+P 7300 4500
+F 0 "Q4" H 7200 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 7250 4650 50 0000 R CNN
+F 2 "" H 7500 4600 29 0000 C CNN
+F 3 "" H 7300 4500 60 0000 C CNN
+ 1 7300 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 682D84B9
+P 6450 4500
+F 0 "Q3" H 6350 4550 50 0000 R CNN
+F 1 "eSim_NPN" H 6400 4650 50 0000 R CNN
+F 2 "" H 6650 4600 29 0000 C CNN
+F 3 "" H 6450 4500 60 0000 C CNN
+ 1 6450 4500
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q1
+U 1 1 682D8531
+P 5800 3500
+F 0 "Q1" H 5700 3550 50 0000 R CNN
+F 1 "eSim_PNP" H 5750 3650 50 0000 R CNN
+F 2 "" H 6000 3600 29 0000 C CNN
+F 3 "" H 5800 3500 60 0000 C CNN
+ 1 5800 3500
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 682D85B2
+P 8250 2900
+F 0 "D4" H 8250 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 8250 2800 50 0000 C CNN
+F 2 "" H 8250 2900 60 0000 C CNN
+F 3 "" H 8250 2900 60 0000 C CNN
+ 1 8250 2900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 682D85E4
+P 5400 2900
+F 0 "D1" H 5400 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 5400 2800 50 0000 C CNN
+F 2 "" H 5400 2900 60 0000 C CNN
+F 3 "" H 5400 2900 60 0000 C CNN
+ 1 5400 2900
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 682D8617
+P 6000 2600
+F 0 "D2" H 6000 2700 50 0000 C CNN
+F 1 "eSim_Diode" H 6000 2500 50 0000 C CNN
+F 2 "" H 6000 2600 60 0000 C CNN
+F 3 "" H 6000 2600 60 0000 C CNN
+ 1 6000 2600
+ 0 1 1 0
+$EndComp
+$Comp
+L dc I4
+U 1 1 682D8675
+P 8950 1800
+F 0 "I4" H 8750 1900 60 0000 C CNN
+F 1 "dc" H 8750 1750 60 0000 C CNN
+F 2 "R1" H 8650 1800 60 0000 C CNN
+F 3 "" H 8950 1800 60 0000 C CNN
+ 1 8950 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_PNP Q2
+U 1 1 682D8A5A
+P 6250 3100
+F 0 "Q2" H 6150 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 6200 3250 50 0000 R CNN
+F 2 "" H 6450 3200 29 0000 C CNN
+F 3 "" H 6250 3100 60 0000 C CNN
+ 1 6250 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 682D8A99
+P 7500 3100
+F 0 "Q5" H 7400 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 7450 3250 50 0000 R CNN
+F 2 "" H 7700 3200 29 0000 C CNN
+F 3 "" H 7500 3100 60 0000 C CNN
+ 1 7500 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q6
+U 1 1 682D8AF4
+P 8200 3400
+F 0 "Q6" H 8100 3450 50 0000 R CNN
+F 1 "eSim_PNP" H 8150 3550 50 0000 R CNN
+F 2 "" H 8400 3500 29 0000 C CNN
+F 3 "" H 8200 3400 60 0000 C CNN
+ 1 8200 3400
+ -1 0 0 1
+$EndComp
+$Comp
+L dc I1
+U 1 1 682D9149
+P 6000 1850
+F 0 "I1" H 5800 1950 60 0000 C CNN
+F 1 "dc" H 5800 1800 60 0000 C CNN
+F 2 "R1" H 5700 1850 60 0000 C CNN
+F 3 "" H 6000 1850 60 0000 C CNN
+ 1 6000 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I2
+U 1 1 682D9392
+P 6800 1850
+F 0 "I2" H 6600 1950 60 0000 C CNN
+F 1 "dc" H 6600 1800 60 0000 C CNN
+F 2 "R1" H 6500 1850 60 0000 C CNN
+F 3 "" H 6800 1850 60 0000 C CNN
+ 1 6800 1850
+ 1 0 0 -1
+$EndComp
+$Comp
+L dc I3
+U 1 1 682D93DF
+P 7800 1800
+F 0 "I3" H 7600 1900 60 0000 C CNN
+F 1 "dc" H 7600 1750 60 0000 C CNN
+F 2 "R1" H 7500 1800 60 0000 C CNN
+F 3 "" H 7800 1800 60 0000 C CNN
+ 1 7800 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 682D98E4
+P 7800 2550
+F 0 "D3" H 7800 2650 50 0000 C CNN
+F 1 "eSim_Diode" H 7800 2450 50 0000 C CNN
+F 2 "" H 7800 2550 60 0000 C CNN
+F 3 "" H 7800 2550 60 0000 C CNN
+ 1 7800 2550
+ 0 1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 682DA61A
+P 5100 3850
+F 0 "U1" H 5150 3950 30 0000 C CNN
+F 1 "PORT" H 5100 3850 30 0000 C CNN
+F 2 "" H 5100 3850 60 0000 C CNN
+F 3 "" H 5100 3850 60 0000 C CNN
+ 2 5100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 682DA808
+P 4650 3500
+F 0 "U1" H 4700 3600 30 0000 C CNN
+F 1 "PORT" H 4650 3500 30 0000 C CNN
+F 2 "" H 4650 3500 60 0000 C CNN
+F 3 "" H 4650 3500 60 0000 C CNN
+ 1 4650 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 682DA887
+P 7500 900
+F 0 "U1" H 7550 1000 30 0000 C CNN
+F 1 "PORT" H 7500 900 30 0000 C CNN
+F 2 "" H 7500 900 60 0000 C CNN
+F 3 "" H 7500 900 60 0000 C CNN
+ 5 7500 900
+ 0 -1 1 0
+$EndComp
+$Comp
+L PORT U1
+U 4 1 682DAA6F
+P 9950 3600
+F 0 "U1" H 10000 3700 30 0000 C CNN
+F 1 "PORT" H 9950 3600 30 0000 C CNN
+F 2 "" H 9950 3600 60 0000 C CNN
+F 3 "" H 9950 3600 60 0000 C CNN
+ 4 9950 3600
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 6834C683
+P 9550 2350
+F 0 "R1" H 9600 2480 50 0000 C CNN
+F 1 "10k" H 9600 2300 50 0000 C CNN
+F 2 "" H 9600 2330 30 0000 C CNN
+F 3 "" V 9600 2400 30 0000 C CNN
+ 1 9550 2350
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 6350 3300 6350 4300
+Wire Wire Line
+ 6650 4500 7100 4500
+Wire Wire Line
+ 7400 3300 7400 4300
+Wire Wire Line
+ 6050 3100 5900 3100
+Wire Wire Line
+ 5900 3100 5900 3300
+Wire Wire Line
+ 7700 3100 8100 3100
+Wire Wire Line
+ 8100 3100 8100 3200
+Wire Wire Line
+ 8950 3800 9250 3800
+Wire Wire Line
+ 9050 3800 9050 3950
+Wire Wire Line
+ 8750 4150 7400 4150
+Connection ~ 7400 4150
+Wire Wire Line
+ 6350 2900 7400 2900
+Wire Wire Line
+ 6000 2300 6000 2450
+Wire Wire Line
+ 6000 2750 6000 3100
+Connection ~ 6000 3100
+Wire Wire Line
+ 6800 2300 6800 2900
+Connection ~ 6800 2900
+Wire Wire Line
+ 7800 2250 7800 2400
+Wire Wire Line
+ 7800 2700 7800 3100
+Connection ~ 7800 3100
+Wire Wire Line
+ 8950 2250 8950 3800
+Connection ~ 9050 3800
+Wire Wire Line
+ 7700 1400 7700 1350
+Wire Wire Line
+ 7700 1350 9550 1350
+Connection ~ 7800 1350
+Wire Wire Line
+ 6000 1400 7700 1400
+Connection ~ 6800 1400
+Wire Wire Line
+ 4900 3500 5600 3500
+Wire Wire Line
+ 5550 2900 6000 2900
+Connection ~ 6000 2900
+Wire Wire Line
+ 5250 2900 5250 3500
+Connection ~ 5250 3500
+Wire Wire Line
+ 8400 2900 8400 3850
+Wire Wire Line
+ 8100 2900 7800 2900
+Connection ~ 7800 2900
+Wire Wire Line
+ 6350 4000 6800 4000
+Wire Wire Line
+ 6800 4000 6800 4500
+Connection ~ 6800 4500
+Connection ~ 6350 4000
+Wire Wire Line
+ 8400 3850 5350 3850
+Connection ~ 8400 3400
+Wire Wire Line
+ 7500 1150 7500 1400
+Connection ~ 7500 1400
+Wire Wire Line
+ 9700 3600 9550 3600
+Wire Wire Line
+ 5900 4900 9550 4900
+Wire Wire Line
+ 6350 4900 6350 4700
+Wire Wire Line
+ 7400 4900 7400 4700
+Connection ~ 6900 4900
+Wire Wire Line
+ 9050 4900 9050 4350
+Connection ~ 7400 4900
+Wire Wire Line
+ 9550 4900 9550 4000
+Connection ~ 9050 4900
+Wire Wire Line
+ 8100 3600 8100 4900
+Connection ~ 8100 4900
+Wire Wire Line
+ 5900 3700 5900 4900
+Connection ~ 6350 4900
+Connection ~ 8950 1350
+Wire Wire Line
+ 9550 1350 9550 2250
+Wire Wire Line
+ 9550 2250 9600 2250
+Wire Wire Line
+ 9600 2550 9600 3600
+Connection ~ 9600 3600
+$Comp
+L PORT U1
+U 3 1 682DA683
+P 6900 5150
+F 0 "U1" H 6950 5250 30 0000 C CNN
+F 1 "PORT" H 6900 5150 30 0000 C CNN
+F 2 "" H 6900 5150 60 0000 C CNN
+F 3 "" H 6900 5150 60 0000 C CNN
+ 3 6900 5150
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My.sub b/library/SubcircuitLibrary/M5234_final/M5234_My.sub
new file mode 100644
index 000000000..6e6787516
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My.sub
@@ -0,0 +1,26 @@
+* Subcircuit M5234_My
+.subckt M5234_My net-_d1-pad2_ net-_d4-pad1_ net-_q1-pad1_ net-_q8-pad1_ net-_i1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\m5234_my\m5234_my.cir
+.include NPN.lib
+.include PNP.lib
+.include D.lib
+q8 net-_q8-pad1_ net-_i4-pad2_ net-_q1-pad1_ Q2N2222
+q7 net-_i4-pad2_ net-_q4-pad1_ net-_q1-pad1_ Q2N2222
+q4 net-_q4-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q3 net-_q2-pad1_ net-_q2-pad1_ net-_q1-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_d1-pad2_ net-_d1-pad1_ Q2N2907A
+d4 net-_d4-pad1_ net-_d3-pad2_ 1N4148
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+d2 net-_d2-pad1_ net-_d1-pad1_ 1N4148
+i4 net-_i1-pad1_ net-_i4-pad2_ dc 80u
+q2 net-_q2-pad1_ net-_d1-pad1_ net-_i2-pad2_ Q2N2907A
+q5 net-_q4-pad1_ net-_d3-pad2_ net-_i2-pad2_ Q2N2907A
+q6 net-_q1-pad1_ net-_d4-pad1_ net-_d3-pad2_ Q2N2907A
+i1 net-_i1-pad1_ net-_d2-pad1_ dc 80u
+i2 net-_i1-pad1_ net-_i2-pad2_ dc 80u
+i3 net-_i1-pad1_ net-_d3-pad1_ dc 80u
+d3 net-_d3-pad1_ net-_d3-pad2_ 1N4148
+r1 net-_i1-pad1_ net-_q8-pad1_ 10k
+* Control Statements
+
+.ends M5234_My
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_My_Previous_Values.xml b/library/SubcircuitLibrary/M5234_final/M5234_My_Previous_Values.xml
new file mode 100644
index 000000000..fdaab763a
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_My_Previous_Values.xml
@@ -0,0 +1 @@
+truefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsecdc80udc80udc80udc80uC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.lib
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final-cache.lib b/library/SubcircuitLibrary/M5234_final/M5234_final-cache.lib
new file mode 100644
index 000000000..39ec607ad
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final-cache.lib
@@ -0,0 +1,61 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# COMPARATOR
+#
+DEF COMPARATOR X 0 40 Y Y 1 F N
+F0 "X" 200 200 60 H V C CNN
+F1 "COMPARATOR" 250 -150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -500 300 600 -200 0 1 0 N
+X NON_INV_INP 1 -700 200 200 R 50 50 1 1 I
+X INV_INP 2 -700 100 200 R 50 50 1 1 I
+X GND 3 -700 0 200 R 50 50 1 1 I
+X OUT 4 800 50 200 L 50 50 1 1 O
+X VCC 5 -700 -100 200 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final.bak b/library/SubcircuitLibrary/M5234_final/M5234_final.bak
new file mode 100644
index 000000000..b0bb7a31a
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.bak
@@ -0,0 +1,313 @@
+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
+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 COMPARATOR X2
+U 1 1 683DD308
+P 5200 4000
+F 0 "X2" H 5400 4200 60 0000 C CNN
+F 1 "COMPARATOR" H 5450 3850 60 0000 C CNN
+F 2 "" H 5200 4000 60 0001 C CNN
+F 3 "" H 5200 4000 60 0001 C CNN
+ 1 5200 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X4
+U 1 1 683DD32F
+P 7850 4000
+F 0 "X4" H 8050 4200 60 0000 C CNN
+F 1 "COMPARATOR" H 8100 3850 60 0000 C CNN
+F 2 "" H 7850 4000 60 0001 C CNN
+F 3 "" H 7850 4000 60 0001 C CNN
+ 1 7850 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X1
+U 1 1 683DD351
+P 5150 5050
+F 0 "X1" H 5350 5250 60 0000 C CNN
+F 1 "COMPARATOR" H 5400 4900 60 0000 C CNN
+F 2 "" H 5150 5050 60 0001 C CNN
+F 3 "" H 5150 5050 60 0001 C CNN
+ 1 5150 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X3
+U 1 1 683DD376
+P 7800 5000
+F 0 "X3" H 8000 5200 60 0000 C CNN
+F 1 "COMPARATOR" H 8050 4850 60 0000 C CNN
+F 2 "" H 7800 5000 60 0001 C CNN
+F 3 "" H 7800 5000 60 0001 C CNN
+ 1 7800 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 683DD3A8
+P 3050 4000
+F 0 "U1" H 3100 4100 30 0000 C CNN
+F 1 "PORT" H 3050 4000 30 0000 C CNN
+F 2 "" H 3050 4000 60 0000 C CNN
+F 3 "" H 3050 4000 60 0000 C CNN
+ 12 3050 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 683DD40B
+P 3050 4450
+F 0 "U1" H 3100 4550 30 0000 C CNN
+F 1 "PORT" H 3050 4450 30 0000 C CNN
+F 2 "" H 3050 4450 60 0000 C CNN
+F 3 "" H 3050 4450 60 0000 C CNN
+ 3 3050 4450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3300 4000 4500 4000
+Wire Wire Line
+ 4050 4000 4050 5050
+Wire Wire Line
+ 4050 5050 4450 5050
+Connection ~ 4050 4000
+Wire Wire Line
+ 4050 4600 7000 4600
+Wire Wire Line
+ 7000 4000 7000 5000
+Wire Wire Line
+ 7000 5000 7100 5000
+Connection ~ 4050 4600
+Wire Wire Line
+ 7000 4000 7150 4000
+Connection ~ 7000 4600
+Wire Wire Line
+ 3300 4450 6950 4450
+Wire Wire Line
+ 4400 4100 4400 5150
+Wire Wire Line
+ 4400 4100 4500 4100
+Wire Wire Line
+ 4400 5150 4450 5150
+Connection ~ 4400 4450
+Wire Wire Line
+ 6950 4100 6950 5100
+Wire Wire Line
+ 6950 5100 7100 5100
+Wire Wire Line
+ 6950 4100 7150 4100
+Connection ~ 6950 4450
+$Comp
+L PORT U1
+U 7 1 683DD682
+P 4150 3800
+F 0 "U1" H 4200 3900 30 0000 C CNN
+F 1 "PORT" H 4150 3800 30 0000 C CNN
+F 2 "" H 4150 3800 60 0000 C CNN
+F 3 "" H 4150 3800 60 0000 C CNN
+ 7 4150 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 683DD6C9
+P 3800 3900
+F 0 "U1" H 3850 4000 30 0000 C CNN
+F 1 "PORT" H 3800 3900 30 0000 C CNN
+F 2 "" H 3800 3900 60 0000 C CNN
+F 3 "" H 3800 3900 60 0000 C CNN
+ 6 3800 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 683DD799
+P 3750 4850
+F 0 "U1" H 3800 4950 30 0000 C CNN
+F 1 "PORT" H 3750 4850 30 0000 C CNN
+F 2 "" H 3750 4850 60 0000 C CNN
+F 3 "" H 3750 4850 60 0000 C CNN
+ 4 3750 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 683DD79F
+P 3400 4950
+F 0 "U1" H 3450 5050 30 0000 C CNN
+F 1 "PORT" H 3400 4950 30 0000 C CNN
+F 2 "" H 3400 4950 60 0000 C CNN
+F 3 "" H 3400 4950 60 0000 C CNN
+ 3 3400 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 683DD829
+P 6850 3800
+F 0 "U1" H 6900 3900 30 0000 C CNN
+F 1 "PORT" H 6850 3800 30 0000 C CNN
+F 2 "" H 6850 3800 60 0000 C CNN
+F 3 "" H 6850 3800 60 0000 C CNN
+ 12 6850 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 683DD82F
+P 6500 3900
+F 0 "U1" H 6550 4000 30 0000 C CNN
+F 1 "PORT" H 6500 3900 30 0000 C CNN
+F 2 "" H 6500 3900 60 0000 C CNN
+F 3 "" H 6500 3900 60 0000 C CNN
+ 10 6500 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 683DD899
+P 6650 4800
+F 0 "U1" H 6700 4900 30 0000 C CNN
+F 1 "PORT" H 6650 4800 30 0000 C CNN
+F 2 "" H 6650 4800 60 0000 C CNN
+F 3 "" H 6650 4800 60 0000 C CNN
+ 11 6650 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 683DD89F
+P 6300 4900
+F 0 "U1" H 6350 5000 30 0000 C CNN
+F 1 "PORT" H 6300 4900 30 0000 C CNN
+F 2 "" H 6300 4900 60 0000 C CNN
+F 3 "" H 6300 4900 60 0000 C CNN
+ 9 6300 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 683DD8C1
+P 5750 3450
+F 0 "U1" H 5800 3550 30 0000 C CNN
+F 1 "PORT" H 5750 3450 30 0000 C CNN
+F 2 "" H 5750 3450 60 0000 C CNN
+F 3 "" H 5750 3450 60 0000 C CNN
+ 1 5750 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 683DD928
+P 8350 3450
+F 0 "U1" H 8400 3550 30 0000 C CNN
+F 1 "PORT" H 8350 3450 30 0000 C CNN
+F 2 "" H 8350 3450 60 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 13 8350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 683DD9D2
+P 8350 4500
+F 0 "U1" H 8400 4600 30 0000 C CNN
+F 1 "PORT" H 8350 4500 30 0000 C CNN
+F 2 "" H 8350 4500 60 0000 C CNN
+F 3 "" H 8350 4500 60 0000 C CNN
+ 14 8350 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 683DDA43
+P 5700 5500
+F 0 "U1" H 5750 5600 30 0000 C CNN
+F 1 "PORT" H 5700 5500 30 0000 C CNN
+F 2 "" H 5700 5500 60 0000 C CNN
+F 3 "" H 5700 5500 60 0000 C CNN
+ 7 5700 5500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4000 4850 4450 4850
+Wire Wire Line
+ 3650 4950 4450 4950
+Wire Wire Line
+ 4400 3800 4500 3800
+Wire Wire Line
+ 4050 3900 4500 3900
+Wire Wire Line
+ 6000 3450 6000 3950
+Wire Wire Line
+ 7100 3800 7150 3800
+Wire Wire Line
+ 6750 3900 7150 3900
+Wire Wire Line
+ 8600 3450 8650 3450
+Wire Wire Line
+ 8650 3450 8650 3950
+Wire Wire Line
+ 8600 4500 8600 4950
+Wire Wire Line
+ 5950 5500 5950 5000
+Wire Wire Line
+ 6900 4800 7100 4800
+Wire Wire Line
+ 6550 4900 7100 4900
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final.cir b/library/SubcircuitLibrary/M5234_final/M5234_final.cir
new file mode 100644
index 000000000..960060a44
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.cir
@@ -0,0 +1,15 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_final\M5234_final.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/12/25 14:19:05
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+* Sheet Name: /
+X2 Net-_U1-Pad7_ Net-_U1-Pad6_ Net-_U1-Pad12_ Net-_U1-Pad1_ Net-_U1-Pad3_ COMPARATOR
+X4 Net-_U1-Pad11_ Net-_U1-Pad10_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad3_ COMPARATOR
+X1 Net-_U1-Pad5_ Net-_U1-Pad4_ Net-_U1-Pad12_ Net-_U1-Pad2_ Net-_U1-Pad3_ COMPARATOR
+X3 Net-_U1-Pad9_ Net-_U1-Pad8_ Net-_U1-Pad12_ Net-_U1-Pad14_ Net-_U1-Pad3_ COMPARATOR
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ Net-_U1-Pad7_ Net-_U1-Pad8_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ Net-_U1-Pad14_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final.cir.out b/library/SubcircuitLibrary/M5234_final/M5234_final.cir.out
new file mode 100644
index 000000000..06179a0d8
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.cir.out
@@ -0,0 +1,17 @@
+* c:\fossee\esim\library\subcircuitlibrary\m5234_final\m5234_final.cir
+
+.include M5234_My.sub
+x2 net-_u1-pad7_ net-_u1-pad6_ net-_u1-pad12_ net-_u1-pad1_ net-_u1-pad3_ M5234_My
+x4 net-_u1-pad11_ net-_u1-pad10_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad3_ M5234_My
+x1 net-_u1-pad5_ net-_u1-pad4_ net-_u1-pad12_ net-_u1-pad2_ net-_u1-pad3_ M5234_My
+x3 net-_u1-pad9_ net-_u1-pad8_ net-_u1-pad12_ net-_u1-pad14_ net-_u1-pad3_ M5234_My
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final.pro b/library/SubcircuitLibrary/M5234_final/M5234_final.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.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/M5234_final/M5234_final.sch b/library/SubcircuitLibrary/M5234_final/M5234_final.sch
new file mode 100644
index 000000000..52567cd11
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.sch
@@ -0,0 +1,313 @@
+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
+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 COMPARATOR X2
+U 1 1 683DD308
+P 5200 4000
+F 0 "X2" H 5400 4200 60 0000 C CNN
+F 1 "COMPARATOR" H 5450 3850 60 0000 C CNN
+F 2 "" H 5200 4000 60 0001 C CNN
+F 3 "" H 5200 4000 60 0001 C CNN
+ 1 5200 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X4
+U 1 1 683DD32F
+P 7850 4000
+F 0 "X4" H 8050 4200 60 0000 C CNN
+F 1 "COMPARATOR" H 8100 3850 60 0000 C CNN
+F 2 "" H 7850 4000 60 0001 C CNN
+F 3 "" H 7850 4000 60 0001 C CNN
+ 1 7850 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X1
+U 1 1 683DD351
+P 5150 5050
+F 0 "X1" H 5350 5250 60 0000 C CNN
+F 1 "COMPARATOR" H 5400 4900 60 0000 C CNN
+F 2 "" H 5150 5050 60 0001 C CNN
+F 3 "" H 5150 5050 60 0001 C CNN
+ 1 5150 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L COMPARATOR X3
+U 1 1 683DD376
+P 7800 5000
+F 0 "X3" H 8000 5200 60 0000 C CNN
+F 1 "COMPARATOR" H 8050 4850 60 0000 C CNN
+F 2 "" H 7800 5000 60 0001 C CNN
+F 3 "" H 7800 5000 60 0001 C CNN
+ 1 7800 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 683DD3A8
+P 3050 4000
+F 0 "U1" H 3100 4100 30 0000 C CNN
+F 1 "PORT" H 3050 4000 30 0000 C CNN
+F 2 "" H 3050 4000 60 0000 C CNN
+F 3 "" H 3050 4000 60 0000 C CNN
+ 12 3050 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 683DD40B
+P 3050 4450
+F 0 "U1" H 3100 4550 30 0000 C CNN
+F 1 "PORT" H 3050 4450 30 0000 C CNN
+F 2 "" H 3050 4450 60 0000 C CNN
+F 3 "" H 3050 4450 60 0000 C CNN
+ 3 3050 4450
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3300 4000 4500 4000
+Wire Wire Line
+ 4050 4000 4050 5050
+Wire Wire Line
+ 4050 5050 4450 5050
+Connection ~ 4050 4000
+Wire Wire Line
+ 4050 4600 7000 4600
+Wire Wire Line
+ 7000 4000 7000 5000
+Wire Wire Line
+ 7000 5000 7100 5000
+Connection ~ 4050 4600
+Wire Wire Line
+ 7000 4000 7150 4000
+Connection ~ 7000 4600
+Wire Wire Line
+ 3300 4450 6950 4450
+Wire Wire Line
+ 4400 4100 4400 5150
+Wire Wire Line
+ 4400 4100 4500 4100
+Wire Wire Line
+ 4400 5150 4450 5150
+Connection ~ 4400 4450
+Wire Wire Line
+ 6950 4100 6950 5100
+Wire Wire Line
+ 6950 5100 7100 5100
+Wire Wire Line
+ 6950 4100 7150 4100
+Connection ~ 6950 4450
+$Comp
+L PORT U1
+U 7 1 683DD682
+P 4150 3800
+F 0 "U1" H 4200 3900 30 0000 C CNN
+F 1 "PORT" H 4150 3800 30 0000 C CNN
+F 2 "" H 4150 3800 60 0000 C CNN
+F 3 "" H 4150 3800 60 0000 C CNN
+ 7 4150 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 683DD6C9
+P 3800 3900
+F 0 "U1" H 3850 4000 30 0000 C CNN
+F 1 "PORT" H 3800 3900 30 0000 C CNN
+F 2 "" H 3800 3900 60 0000 C CNN
+F 3 "" H 3800 3900 60 0000 C CNN
+ 6 3800 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 683DD799
+P 3750 4850
+F 0 "U1" H 3800 4950 30 0000 C CNN
+F 1 "PORT" H 3750 4850 30 0000 C CNN
+F 2 "" H 3750 4850 60 0000 C CNN
+F 3 "" H 3750 4850 60 0000 C CNN
+ 5 3750 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 683DD79F
+P 3400 4950
+F 0 "U1" H 3450 5050 30 0000 C CNN
+F 1 "PORT" H 3400 4950 30 0000 C CNN
+F 2 "" H 3400 4950 60 0000 C CNN
+F 3 "" H 3400 4950 60 0000 C CNN
+ 4 3400 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 683DD829
+P 6850 3800
+F 0 "U1" H 6900 3900 30 0000 C CNN
+F 1 "PORT" H 6850 3800 30 0000 C CNN
+F 2 "" H 6850 3800 60 0000 C CNN
+F 3 "" H 6850 3800 60 0000 C CNN
+ 11 6850 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 683DD82F
+P 6500 3900
+F 0 "U1" H 6550 4000 30 0000 C CNN
+F 1 "PORT" H 6500 3900 30 0000 C CNN
+F 2 "" H 6500 3900 60 0000 C CNN
+F 3 "" H 6500 3900 60 0000 C CNN
+ 10 6500 3900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 683DD899
+P 6650 4800
+F 0 "U1" H 6700 4900 30 0000 C CNN
+F 1 "PORT" H 6650 4800 30 0000 C CNN
+F 2 "" H 6650 4800 60 0000 C CNN
+F 3 "" H 6650 4800 60 0000 C CNN
+ 9 6650 4800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 683DD89F
+P 6300 4900
+F 0 "U1" H 6350 5000 30 0000 C CNN
+F 1 "PORT" H 6300 4900 30 0000 C CNN
+F 2 "" H 6300 4900 60 0000 C CNN
+F 3 "" H 6300 4900 60 0000 C CNN
+ 8 6300 4900
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 683DD8C1
+P 5750 3450
+F 0 "U1" H 5800 3550 30 0000 C CNN
+F 1 "PORT" H 5750 3450 30 0000 C CNN
+F 2 "" H 5750 3450 60 0000 C CNN
+F 3 "" H 5750 3450 60 0000 C CNN
+ 1 5750 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 683DD928
+P 8350 3450
+F 0 "U1" H 8400 3550 30 0000 C CNN
+F 1 "PORT" H 8350 3450 30 0000 C CNN
+F 2 "" H 8350 3450 60 0000 C CNN
+F 3 "" H 8350 3450 60 0000 C CNN
+ 13 8350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 683DD9D2
+P 8350 4500
+F 0 "U1" H 8400 4600 30 0000 C CNN
+F 1 "PORT" H 8350 4500 30 0000 C CNN
+F 2 "" H 8350 4500 60 0000 C CNN
+F 3 "" H 8350 4500 60 0000 C CNN
+ 14 8350 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 683DDA43
+P 5700 5500
+F 0 "U1" H 5750 5600 30 0000 C CNN
+F 1 "PORT" H 5700 5500 30 0000 C CNN
+F 2 "" H 5700 5500 60 0000 C CNN
+F 3 "" H 5700 5500 60 0000 C CNN
+ 2 5700 5500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4000 4850 4450 4850
+Wire Wire Line
+ 3650 4950 4450 4950
+Wire Wire Line
+ 4400 3800 4500 3800
+Wire Wire Line
+ 4050 3900 4500 3900
+Wire Wire Line
+ 6000 3450 6000 3950
+Wire Wire Line
+ 7100 3800 7150 3800
+Wire Wire Line
+ 6750 3900 7150 3900
+Wire Wire Line
+ 8600 3450 8650 3450
+Wire Wire Line
+ 8650 3450 8650 3950
+Wire Wire Line
+ 8600 4500 8600 4950
+Wire Wire Line
+ 5950 5500 5950 5000
+Wire Wire Line
+ 6900 4800 7100 4800
+Wire Wire Line
+ 6550 4900 7100 4900
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final.sub b/library/SubcircuitLibrary/M5234_final/M5234_final.sub
new file mode 100644
index 000000000..4554a2ca1
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final.sub
@@ -0,0 +1,11 @@
+* Subcircuit M5234_final
+.subckt M5234_final net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad14_
+* c:\fossee\esim\library\subcircuitlibrary\m5234_final\m5234_final.cir
+.include M5234_My.sub
+x2 net-_u1-pad7_ net-_u1-pad6_ net-_u1-pad12_ net-_u1-pad1_ net-_u1-pad3_ M5234_My
+x4 net-_u1-pad11_ net-_u1-pad10_ net-_u1-pad12_ net-_u1-pad13_ net-_u1-pad3_ M5234_My
+x1 net-_u1-pad5_ net-_u1-pad4_ net-_u1-pad12_ net-_u1-pad2_ net-_u1-pad3_ M5234_My
+x3 net-_u1-pad9_ net-_u1-pad8_ net-_u1-pad12_ net-_u1-pad14_ net-_u1-pad3_ M5234_My
+* Control Statements
+
+.ends M5234_final
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5234_final/M5234_final_Previous_Values.xml b/library/SubcircuitLibrary/M5234_final/M5234_final_Previous_Values.xml
new file mode 100644
index 000000000..f6a4ce4a1
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/M5234_final_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_MyC:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_MyC:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_MyC:\FOSSEE\eSim\library\SubcircuitLibrary\M5234_MytruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/M5234_final/NPN.lib b/library/SubcircuitLibrary/M5234_final/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/M5234_final/PNP.lib b/library/SubcircuitLibrary/M5234_final/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/M5234_final/analysis b/library/SubcircuitLibrary/M5234_final/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/M5234_final/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB-cache.lib b/library/SubcircuitLibrary/MC14501UB/MC14501UB-cache.lib
new file mode 100644
index 000000000..348446c2e
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB-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/MC14501UB/MC14501UB.bak b/library/SubcircuitLibrary/MC14501UB/MC14501UB.bak
new file mode 100644
index 000000000..dcb0beb4c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.bak
@@ -0,0 +1,805 @@
+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:MC14501UB-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 mosfet_p M9
+U 1 1 685C06C7
+P 4750 2900
+F 0 "M9" H 4700 2950 50 0000 R CNN
+F 1 "mosfet_p" H 4800 3050 50 0000 R CNN
+F 2 "" H 5000 3000 29 0000 C CNN
+F 3 "" H 4800 2900 60 0000 C CNN
+ 1 4750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M10
+U 1 1 685C06FC
+P 5300 2900
+F 0 "M10" H 5250 2950 50 0000 R CNN
+F 1 "mosfet_p" H 5350 3050 50 0000 R CNN
+F 2 "" H 5550 3000 29 0000 C CNN
+F 3 "" H 5350 2900 60 0000 C CNN
+ 1 5300 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 685C071A
+P 5800 2900
+F 0 "M11" H 5750 2950 50 0000 R CNN
+F 1 "mosfet_p" H 5850 3050 50 0000 R CNN
+F 2 "" H 6050 3000 29 0000 C CNN
+F 3 "" H 5850 2900 60 0000 C CNN
+ 1 5800 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M12
+U 1 1 685C073D
+P 6350 2900
+F 0 "M12" H 6300 2950 50 0000 R CNN
+F 1 "mosfet_p" H 6400 3050 50 0000 R CNN
+F 2 "" H 6600 3000 29 0000 C CNN
+F 3 "" H 6400 2900 60 0000 C CNN
+ 1 6350 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M13
+U 1 1 685C0765
+P 6350 3450
+F 0 "M13" H 6350 3300 50 0000 R CNN
+F 1 "mosfet_n" H 6450 3400 50 0000 R CNN
+F 2 "" H 6650 3150 29 0000 C CNN
+F 3 "" H 6450 3250 60 0000 C CNN
+ 1 6350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 685C0793
+P 6350 4000
+F 0 "M14" H 6350 3850 50 0000 R CNN
+F 1 "mosfet_n" H 6450 3950 50 0000 R CNN
+F 2 "" H 6650 3700 29 0000 C CNN
+F 3 "" H 6450 3800 60 0000 C CNN
+ 1 6350 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 685C07E9
+P 6350 4550
+F 0 "M15" H 6350 4400 50 0000 R CNN
+F 1 "mosfet_n" H 6450 4500 50 0000 R CNN
+F 2 "" H 6650 4250 29 0000 C CNN
+F 3 "" H 6450 4350 60 0000 C CNN
+ 1 6350 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M16
+U 1 1 685C0816
+P 6350 5100
+F 0 "M16" H 6350 4950 50 0000 R CNN
+F 1 "mosfet_n" H 6450 5050 50 0000 R CNN
+F 2 "" H 6650 4800 29 0000 C CNN
+F 3 "" H 6450 4900 60 0000 C CNN
+ 1 6350 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M18
+U 1 1 685C0F13
+P 9250 2850
+F 0 "M18" H 9200 2900 50 0000 R CNN
+F 1 "mosfet_p" H 9300 3000 50 0000 R CNN
+F 2 "" H 9500 2950 29 0000 C CNN
+F 3 "" H 9300 2850 60 0000 C CNN
+ 1 9250 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M19
+U 1 1 685C0F54
+P 9250 3400
+F 0 "M19" H 9200 3450 50 0000 R CNN
+F 1 "mosfet_p" H 9300 3550 50 0000 R CNN
+F 2 "" H 9500 3500 29 0000 C CNN
+F 3 "" H 9300 3400 60 0000 C CNN
+ 1 9250 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M17
+U 1 1 685C0F90
+P 8900 3800
+F 0 "M17" H 8900 3650 50 0000 R CNN
+F 1 "mosfet_n" H 9000 3750 50 0000 R CNN
+F 2 "" H 9200 3500 29 0000 C CNN
+F 3 "" H 9000 3600 60 0000 C CNN
+ 1 8900 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M20
+U 1 1 685C0FF5
+P 9450 3800
+F 0 "M20" H 9450 3650 50 0000 R CNN
+F 1 "mosfet_n" H 9550 3750 50 0000 R CNN
+F 2 "" H 9750 3500 29 0000 C CNN
+F 3 "" H 9550 3600 60 0000 C CNN
+ 1 9450 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M22
+U 1 1 685C1613
+P 10300 4250
+F 0 "M22" H 10250 4300 50 0000 R CNN
+F 1 "mosfet_p" H 10350 4400 50 0000 R CNN
+F 2 "" H 10550 4350 29 0000 C CNN
+F 3 "" H 10350 4250 60 0000 C CNN
+ 1 10300 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M21
+U 1 1 685C1660
+P 10250 4600
+F 0 "M21" H 10250 4450 50 0000 R CNN
+F 1 "mosfet_n" H 10350 4550 50 0000 R CNN
+F 2 "" H 10550 4300 29 0000 C CNN
+F 3 "" H 10350 4400 60 0000 C CNN
+ 1 10250 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M1
+U 1 1 685C39E7
+P 200 2900
+F 0 "M1" H 150 2950 50 0000 R CNN
+F 1 "mosfet_p" H 250 3050 50 0000 R CNN
+F 2 "" H 450 3000 29 0000 C CNN
+F 3 "" H 250 2900 60 0000 C CNN
+ 1 200 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M2
+U 1 1 685C39ED
+P 750 2900
+F 0 "M2" H 700 2950 50 0000 R CNN
+F 1 "mosfet_p" H 800 3050 50 0000 R CNN
+F 2 "" H 1000 3000 29 0000 C CNN
+F 3 "" H 800 2900 60 0000 C CNN
+ 1 750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M3
+U 1 1 685C39F3
+P 1250 2900
+F 0 "M3" H 1200 2950 50 0000 R CNN
+F 1 "mosfet_p" H 1300 3050 50 0000 R CNN
+F 2 "" H 1500 3000 29 0000 C CNN
+F 3 "" H 1300 2900 60 0000 C CNN
+ 1 1250 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M4
+U 1 1 685C39F9
+P 1800 2900
+F 0 "M4" H 1750 2950 50 0000 R CNN
+F 1 "mosfet_p" H 1850 3050 50 0000 R CNN
+F 2 "" H 2050 3000 29 0000 C CNN
+F 3 "" H 1850 2900 60 0000 C CNN
+ 1 1800 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 685C39FF
+P 1800 3450
+F 0 "M5" H 1800 3300 50 0000 R CNN
+F 1 "mosfet_n" H 1900 3400 50 0000 R CNN
+F 2 "" H 2100 3150 29 0000 C CNN
+F 3 "" H 1900 3250 60 0000 C CNN
+ 1 1800 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M6
+U 1 1 685C3A05
+P 1800 4000
+F 0 "M6" H 1800 3850 50 0000 R CNN
+F 1 "mosfet_n" H 1900 3950 50 0000 R CNN
+F 2 "" H 2100 3700 29 0000 C CNN
+F 3 "" H 1900 3800 60 0000 C CNN
+ 1 1800 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M7
+U 1 1 685C3A0B
+P 1800 4550
+F 0 "M7" H 1800 4400 50 0000 R CNN
+F 1 "mosfet_n" H 1900 4500 50 0000 R CNN
+F 2 "" H 2100 4250 29 0000 C CNN
+F 3 "" H 1900 4350 60 0000 C CNN
+ 1 1800 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M8
+U 1 1 685C3A11
+P 1800 5100
+F 0 "M8" H 1800 4950 50 0000 R CNN
+F 1 "mosfet_n" H 1900 5050 50 0000 R CNN
+F 2 "" H 2100 4800 29 0000 C CNN
+F 3 "" H 1900 4900 60 0000 C CNN
+ 1 1800 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 685CEE05
+P 7550 2850
+F 0 "U1" H 7600 2950 30 0000 C CNN
+F 1 "PORT" H 7550 2850 30 0000 C CNN
+F 2 "" H 7550 2850 60 0000 C CNN
+F 3 "" H 7550 2850 60 0000 C CNN
+ 11 7550 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 685CEEFF
+P 7550 3400
+F 0 "U1" H 7600 3500 30 0000 C CNN
+F 1 "PORT" H 7550 3400 30 0000 C CNN
+F 2 "" H 7550 3400 60 0000 C CNN
+F 3 "" H 7550 3400 60 0000 C CNN
+ 12 7550 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 685CEFCF
+P 6950 3550
+F 0 "U1" H 7000 3650 30 0000 C CNN
+F 1 "PORT" H 6950 3550 30 0000 C CNN
+F 2 "" H 6950 3550 60 0000 C CNN
+F 3 "" H 6950 3550 60 0000 C CNN
+ 10 6950 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 685CF046
+P 10650 3650
+F 0 "U1" H 10700 3750 30 0000 C CNN
+F 1 "PORT" H 10650 3650 30 0000 C CNN
+F 2 "" H 10650 3650 60 0000 C CNN
+F 3 "" H 10650 3650 60 0000 C CNN
+ 14 10650 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 685CF10A
+P 10800 4450
+F 0 "U1" H 10850 4550 30 0000 C CNN
+F 1 "PORT" H 10800 4450 30 0000 C CNN
+F 2 "" H 10800 4450 60 0000 C CNN
+F 3 "" H 10800 4450 60 0000 C CNN
+ 15 10800 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 685CF181
+P 4900 2200
+F 0 "U1" H 4950 2300 30 0000 C CNN
+F 1 "PORT" H 4900 2200 30 0000 C CNN
+F 2 "" H 4900 2200 60 0000 C CNN
+F 3 "" H 4900 2200 60 0000 C CNN
+ 16 4900 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 685CF28D
+P 5900 5950
+F 0 "U1" H 5950 6050 30 0000 C CNN
+F 1 "PORT" H 5900 5950 30 0000 C CNN
+F 2 "" H 5900 5950 60 0000 C CNN
+F 3 "" H 5900 5950 60 0000 C CNN
+ 8 5900 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 685CF59D
+P 4050 5300
+F 0 "U1" H 4100 5400 30 0000 C CNN
+F 1 "PORT" H 4050 5300 30 0000 C CNN
+F 2 "" H 4050 5300 60 0000 C CNN
+F 3 "" H 4050 5300 60 0000 C CNN
+ 5 4050 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 685CF631
+P 4050 4700
+F 0 "U1" H 4100 4800 30 0000 C CNN
+F 1 "PORT" H 4050 4700 30 0000 C CNN
+F 2 "" H 4050 4700 60 0000 C CNN
+F 3 "" H 4050 4700 60 0000 C CNN
+ 7 4050 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 685CF71F
+P 4050 4200
+F 0 "U1" H 4100 4300 30 0000 C CNN
+F 1 "PORT" H 4050 4200 30 0000 C CNN
+F 2 "" H 4050 4200 60 0000 C CNN
+F 3 "" H 4050 4200 60 0000 C CNN
+ 6 4050 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 685CF83D
+P 4150 3650
+F 0 "U1" H 4200 3750 30 0000 C CNN
+F 1 "PORT" H 4150 3650 30 0000 C CNN
+F 2 "" H 4150 3650 60 0000 C CNN
+F 3 "" H 4150 3650 60 0000 C CNN
+ 9 4150 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 685CF8BA
+P -600 5300
+F 0 "U1" H -550 5400 30 0000 C CNN
+F 1 "PORT" H -600 5300 30 0000 C CNN
+F 2 "" H -600 5300 60 0000 C CNN
+F 3 "" H -600 5300 60 0000 C CNN
+ 1 -600 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 685CFA40
+P -550 4700
+F 0 "U1" H -500 4800 30 0000 C CNN
+F 1 "PORT" H -550 4700 30 0000 C CNN
+F 2 "" H -550 4700 60 0000 C CNN
+F 3 "" H -550 4700 60 0000 C CNN
+ 3 -550 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 685CFACF
+P -550 4200
+F 0 "U1" H -500 4300 30 0000 C CNN
+F 1 "PORT" H -550 4200 30 0000 C CNN
+F 2 "" H -550 4200 60 0000 C CNN
+F 3 "" H -550 4200 60 0000 C CNN
+ 2 -550 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 685CFB5B
+P -500 3600
+F 0 "U1" H -450 3700 30 0000 C CNN
+F 1 "PORT" H -500 3600 30 0000 C CNN
+F 2 "" H -500 3600 60 0000 C CNN
+F 3 "" H -500 3600 60 0000 C CNN
+ 4 -500 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 685CFBEC
+P 2500 2900
+F 0 "U1" H 2550 3000 30 0000 C CNN
+F 1 "PORT" H 2500 2900 30 0000 C CNN
+F 2 "" H 2500 2900 60 0000 C CNN
+F 3 "" H 2500 2900 60 0000 C CNN
+ 13 2500 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5000 3050 5050 3050
+Wire Wire Line
+ 5050 3050 5050 2700
+Wire Wire Line
+ 5050 2700 4900 2700
+Wire Wire Line
+ 5550 3050 5600 3050
+Wire Wire Line
+ 5600 3050 5600 2700
+Wire Wire Line
+ 5600 2700 5450 2700
+Wire Wire Line
+ 6050 3050 6100 3050
+Wire Wire Line
+ 6100 3050 6100 2700
+Wire Wire Line
+ 6100 2700 5950 2700
+Wire Wire Line
+ 6600 3050 6650 3050
+Wire Wire Line
+ 6650 3050 6650 2700
+Wire Wire Line
+ 6650 2700 6500 2700
+Wire Wire Line
+ 5650 2250 5650 2550
+Wire Wire Line
+ 450 2450 10450 2450
+Wire Wire Line
+ 5000 2450 5000 2700
+Connection ~ 5000 2700
+Wire Wire Line
+ 5550 2550 6000 2550
+Wire Wire Line
+ 5550 2550 5550 2700
+Connection ~ 5550 2700
+Connection ~ 5650 2450
+Wire Wire Line
+ 6000 2550 6000 2700
+Connection ~ 6000 2700
+Connection ~ 5650 2550
+Wire Wire Line
+ 6600 2450 6600 2700
+Connection ~ 6600 2700
+Wire Wire Line
+ 4900 3100 6500 3100
+Connection ~ 5450 3100
+Connection ~ 5950 3100
+Wire Wire Line
+ 6500 3100 6500 3450
+Wire Wire Line
+ 6500 3450 6550 3450
+Wire Wire Line
+ 6500 3250 7250 3250
+Connection ~ 6500 3250
+Wire Wire Line
+ 6550 3850 6550 4000
+Wire Wire Line
+ 6550 4400 6550 4550
+Wire Wire Line
+ 6550 4950 6550 5100
+Wire Wire Line
+ 6650 5450 6650 5500
+Wire Wire Line
+ 6650 5500 6550 5500
+Wire Wire Line
+ 6550 5500 6550 5950
+Wire Wire Line
+ 6800 4900 6650 4900
+Wire Wire Line
+ 6800 3800 6800 5550
+Wire Wire Line
+ 6800 5550 6550 5550
+Connection ~ 6550 5550
+Wire Wire Line
+ 6650 4350 6800 4350
+Connection ~ 6800 4900
+Wire Wire Line
+ 6650 3800 6800 3800
+Connection ~ 6800 4350
+Wire Wire Line
+ 4600 2900 4600 5300
+Wire Wire Line
+ 4300 5300 6250 5300
+Wire Wire Line
+ 5150 2900 5150 4750
+Wire Wire Line
+ 5150 4750 6250 4750
+Wire Wire Line
+ 5650 2900 5650 4200
+Wire Wire Line
+ 4300 4200 6250 4200
+Wire Wire Line
+ 6200 2900 6200 3650
+Wire Wire Line
+ 4400 3650 6250 3650
+Wire Wire Line
+ 9500 3000 9550 3000
+Wire Wire Line
+ 9550 2650 9550 3550
+Wire Wire Line
+ 9400 2650 9550 2650
+Wire Wire Line
+ 9550 3550 9500 3550
+Connection ~ 9550 3000
+Wire Wire Line
+ 9400 3050 9400 3200
+Wire Wire Line
+ 9100 3800 11050 3800
+Wire Wire Line
+ 9400 3600 9400 3800
+Connection ~ 9400 3800
+Wire Wire Line
+ 9200 4150 9200 4200
+Wire Wire Line
+ 9100 4200 9750 4200
+Wire Wire Line
+ 9750 4200 9750 4150
+Connection ~ 9650 4200
+Connection ~ 9200 4200
+Wire Wire Line
+ 9450 4200 9450 5650
+Wire Wire Line
+ 2000 5650 10450 5650
+Connection ~ 6550 5650
+Connection ~ 9450 4200
+Wire Wire Line
+ 8800 4000 8300 4000
+Wire Wire Line
+ 8300 4000 8300 2850
+Wire Wire Line
+ 7800 2850 9100 2850
+Wire Wire Line
+ 9350 4000 9250 4000
+Wire Wire Line
+ 9250 4000 9250 3600
+Wire Wire Line
+ 9250 3600 9100 3600
+Wire Wire Line
+ 9100 3600 9100 3400
+Wire Wire Line
+ 9450 2450 9450 2650
+Connection ~ 6600 2450
+Connection ~ 9450 2650
+Wire Wire Line
+ 10450 2450 10450 4050
+Connection ~ 9450 2450
+Wire Wire Line
+ 10450 5650 10450 5000
+Connection ~ 9450 5650
+Wire Wire Line
+ 10150 3800 10150 4800
+Connection ~ 9650 3800
+Connection ~ 10150 3800
+Connection ~ 10150 4250
+Wire Wire Line
+ 10450 4450 10450 4600
+Wire Wire Line
+ 10550 4400 10600 4400
+Wire Wire Line
+ 10600 4400 10600 3950
+Wire Wire Line
+ 10600 3950 10450 3950
+Connection ~ 10450 3950
+Wire Wire Line
+ 10550 4950 10550 5100
+Wire Wire Line
+ 10550 5100 10450 5100
+Connection ~ 10450 5100
+Wire Wire Line
+ 5500 2250 5650 2250
+Connection ~ 6200 3650
+Connection ~ 5650 4200
+Wire Wire Line
+ 4300 4700 5150 4700
+Connection ~ 5150 4700
+Connection ~ 4600 5300
+Wire Wire Line
+ 6550 5950 6150 5950
+Connection ~ 8300 2850
+Wire Wire Line
+ 9100 3400 7800 3400
+Wire Wire Line
+ 450 3050 500 3050
+Wire Wire Line
+ 500 3050 500 2700
+Wire Wire Line
+ 500 2700 350 2700
+Wire Wire Line
+ 1000 3050 1050 3050
+Wire Wire Line
+ 1050 3050 1050 2700
+Wire Wire Line
+ 1050 2700 900 2700
+Wire Wire Line
+ 1500 3050 1550 3050
+Wire Wire Line
+ 1550 3050 1550 2700
+Wire Wire Line
+ 1550 2700 1400 2700
+Wire Wire Line
+ 2050 3050 2100 3050
+Wire Wire Line
+ 2100 3050 2100 2700
+Wire Wire Line
+ 2100 2700 1950 2700
+Wire Wire Line
+ 450 2450 450 2700
+Connection ~ 450 2700
+Wire Wire Line
+ 1000 2550 1450 2550
+Wire Wire Line
+ 1000 2550 1000 2700
+Connection ~ 1000 2700
+Connection ~ 1100 2450
+Wire Wire Line
+ 1450 2550 1450 2700
+Connection ~ 1450 2700
+Connection ~ 1100 2550
+Wire Wire Line
+ 2050 2450 2050 2700
+Connection ~ 2050 2700
+Wire Wire Line
+ 350 3100 1950 3100
+Connection ~ 900 3100
+Connection ~ 1400 3100
+Wire Wire Line
+ 1950 3100 1950 3450
+Wire Wire Line
+ 1950 3450 2000 3450
+Wire Wire Line
+ 1950 3250 2800 3250
+Connection ~ 1950 3250
+Wire Wire Line
+ 2000 3850 2000 4000
+Wire Wire Line
+ 2000 4400 2000 4550
+Wire Wire Line
+ 2000 4950 2000 5100
+Wire Wire Line
+ 2100 5450 2100 5500
+Wire Wire Line
+ 2100 5500 2000 5500
+Wire Wire Line
+ 2000 5500 2000 5950
+Wire Wire Line
+ 2250 4900 2100 4900
+Wire Wire Line
+ 2250 3800 2250 5550
+Wire Wire Line
+ 2250 5550 2000 5550
+Connection ~ 2000 5550
+Wire Wire Line
+ 2100 4350 2250 4350
+Connection ~ 2250 4900
+Wire Wire Line
+ 2100 3800 2250 3800
+Connection ~ 2250 4350
+Wire Wire Line
+ 50 2900 50 5300
+Wire Wire Line
+ -350 5300 1700 5300
+Wire Wire Line
+ 600 2900 600 4750
+Wire Wire Line
+ 600 4750 1700 4750
+Wire Wire Line
+ 1100 2900 1100 4200
+Wire Wire Line
+ -300 4200 1700 4200
+Wire Wire Line
+ 1650 2900 1650 3650
+Wire Wire Line
+ -100 3650 1700 3650
+Connection ~ 2000 5650
+Connection ~ 2050 2450
+Connection ~ 1650 3650
+Connection ~ 1100 4200
+Wire Wire Line
+ -300 4700 600 4700
+Connection ~ 600 4700
+Connection ~ 50 5300
+Connection ~ 5000 2450
+Wire Wire Line
+ 11050 3800 11050 3650
+Wire Wire Line
+ 11050 4500 11050 4700
+Wire Wire Line
+ 5150 2200 5500 2200
+Wire Wire Line
+ 5500 2200 5500 2250
+Wire Wire Line
+ 7250 3250 7250 3550
+Wire Wire Line
+ 11050 3650 10900 3650
+Wire Wire Line
+ 11100 4400 11100 4500
+Wire Wire Line
+ 11100 4500 11050 4500
+Wire Wire Line
+ -250 3600 -100 3600
+Wire Wire Line
+ -100 3600 -100 3650
+Wire Wire Line
+ 2750 3250 2750 2900
+Wire Wire Line
+ 7200 3550 7300 3550
+Wire Wire Line
+ 11050 4450 11050 4400
+Wire Wire Line
+ 11050 4400 11100 4400
+Wire Wire Line
+ 2800 3250 2800 3300
+Connection ~ 2750 3250
+Connection ~ 11050 4600
+Wire Wire Line
+ 11200 3750 11050 3750
+Connection ~ 11050 3750
+Wire Wire Line
+ 7300 3550 7300 3650
+Connection ~ 7250 3550
+Wire Wire Line
+ 10450 4500 10650 4500
+Wire Wire Line
+ 10650 4500 10650 4600
+Wire Wire Line
+ 10650 4600 11050 4600
+Connection ~ 10450 4500
+Wire Wire Line
+ 1100 2550 1100 2450
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir b/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir
new file mode 100644
index 000000000..386e0aec4
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir
@@ -0,0 +1,33 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC14501UB\MC14501UB.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 06/26/25 10:03:18
+
+* 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 Net-_M1-Pad1_ Net-_M16-Pad2_ Net-_M10-Pad3_ Net-_M1-Pad1_ mosfet_p
+M10 Net-_M1-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M1-Pad1_ mosfet_p
+M11 Net-_M1-Pad1_ Net-_M11-Pad2_ Net-_M10-Pad3_ Net-_M1-Pad1_ mosfet_p
+M12 Net-_M1-Pad1_ Net-_M12-Pad2_ Net-_M10-Pad3_ Net-_M1-Pad1_ mosfet_p
+M13 Net-_M10-Pad3_ Net-_M12-Pad2_ Net-_M13-Pad3_ Net-_M13-Pad4_ mosfet_n
+M14 Net-_M13-Pad3_ Net-_M11-Pad2_ Net-_M14-Pad3_ Net-_M13-Pad4_ mosfet_n
+M15 Net-_M14-Pad3_ Net-_M10-Pad2_ Net-_M15-Pad3_ Net-_M13-Pad4_ mosfet_n
+M16 Net-_M15-Pad3_ Net-_M16-Pad2_ Net-_M13-Pad4_ Net-_M13-Pad4_ mosfet_n
+M18 Net-_M1-Pad1_ Net-_M17-Pad2_ Net-_M18-Pad3_ Net-_M1-Pad1_ mosfet_p
+M19 Net-_M18-Pad3_ Net-_M19-Pad2_ Net-_M17-Pad1_ Net-_M1-Pad1_ mosfet_p
+M17 Net-_M17-Pad1_ Net-_M17-Pad2_ Net-_M13-Pad4_ Net-_M13-Pad4_ mosfet_n
+M20 Net-_M17-Pad1_ Net-_M19-Pad2_ Net-_M13-Pad4_ Net-_M13-Pad4_ mosfet_n
+M22 Net-_M1-Pad1_ Net-_M17-Pad1_ Net-_M21-Pad1_ Net-_M1-Pad1_ mosfet_p
+M21 Net-_M21-Pad1_ Net-_M17-Pad1_ Net-_M13-Pad4_ Net-_M13-Pad4_ mosfet_n
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad1_ mosfet_p
+M2 Net-_M1-Pad1_ Net-_M2-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad1_ mosfet_p
+M3 Net-_M1-Pad1_ Net-_M3-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad1_ mosfet_p
+M4 Net-_M1-Pad1_ Net-_M4-Pad2_ Net-_M1-Pad3_ Net-_M1-Pad1_ mosfet_p
+M5 Net-_M1-Pad3_ Net-_M4-Pad2_ Net-_M5-Pad3_ Net-_M13-Pad4_ mosfet_n
+M6 Net-_M5-Pad3_ Net-_M3-Pad2_ Net-_M6-Pad3_ Net-_M13-Pad4_ mosfet_n
+M7 Net-_M6-Pad3_ Net-_M2-Pad2_ Net-_M7-Pad3_ Net-_M13-Pad4_ mosfet_n
+M8 Net-_M7-Pad3_ Net-_M1-Pad2_ Net-_M13-Pad4_ Net-_M13-Pad4_ mosfet_n
+U1 Net-_M1-Pad2_ Net-_M3-Pad2_ Net-_M2-Pad2_ Net-_M4-Pad2_ Net-_M16-Pad2_ Net-_M11-Pad2_ Net-_M10-Pad2_ Net-_M13-Pad4_ Net-_M12-Pad2_ Net-_M10-Pad3_ Net-_M17-Pad2_ Net-_M19-Pad2_ Net-_M1-Pad3_ Net-_M17-Pad1_ Net-_M21-Pad1_ Net-_M1-Pad1_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir.out b/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir.out
new file mode 100644
index 000000000..26c5f1ee1
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.cir.out
@@ -0,0 +1,36 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc14501ub\mc14501ub.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 net-_m1-pad1_ net-_m16-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m10 net-_m1-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 net-_m1-pad1_ net-_m12-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m12-pad2_ net-_m13-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m11-pad2_ net-_m14-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m15 net-_m14-pad3_ net-_m10-pad2_ net-_m15-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m16-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m17-pad2_ net-_m18-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_m18-pad3_ net-_m19-pad2_ net-_m17-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m17 net-_m17-pad1_ net-_m17-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m20 net-_m17-pad1_ net-_m19-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m22 net-_m1-pad1_ net-_m17-pad1_ net-_m21-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m17-pad1_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad3_ net-_m4-pad2_ net-_m5-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m3-pad2_ net-_m6-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m7 net-_m6-pad3_ net-_m2-pad2_ net-_m7-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m1-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+* u1 net-_m1-pad2_ net-_m3-pad2_ net-_m2-pad2_ net-_m4-pad2_ net-_m16-pad2_ net-_m11-pad2_ net-_m10-pad2_ net-_m13-pad4_ net-_m12-pad2_ net-_m10-pad3_ net-_m17-pad2_ net-_m19-pad2_ net-_m1-pad3_ net-_m17-pad1_ net-_m21-pad1_ net-_m1-pad1_ port
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB.pro b/library/SubcircuitLibrary/MC14501UB/MC14501UB.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.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/MC14501UB/MC14501UB.sch b/library/SubcircuitLibrary/MC14501UB/MC14501UB.sch
new file mode 100644
index 000000000..dcb0beb4c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.sch
@@ -0,0 +1,805 @@
+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:MC14501UB-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 mosfet_p M9
+U 1 1 685C06C7
+P 4750 2900
+F 0 "M9" H 4700 2950 50 0000 R CNN
+F 1 "mosfet_p" H 4800 3050 50 0000 R CNN
+F 2 "" H 5000 3000 29 0000 C CNN
+F 3 "" H 4800 2900 60 0000 C CNN
+ 1 4750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M10
+U 1 1 685C06FC
+P 5300 2900
+F 0 "M10" H 5250 2950 50 0000 R CNN
+F 1 "mosfet_p" H 5350 3050 50 0000 R CNN
+F 2 "" H 5550 3000 29 0000 C CNN
+F 3 "" H 5350 2900 60 0000 C CNN
+ 1 5300 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 685C071A
+P 5800 2900
+F 0 "M11" H 5750 2950 50 0000 R CNN
+F 1 "mosfet_p" H 5850 3050 50 0000 R CNN
+F 2 "" H 6050 3000 29 0000 C CNN
+F 3 "" H 5850 2900 60 0000 C CNN
+ 1 5800 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M12
+U 1 1 685C073D
+P 6350 2900
+F 0 "M12" H 6300 2950 50 0000 R CNN
+F 1 "mosfet_p" H 6400 3050 50 0000 R CNN
+F 2 "" H 6600 3000 29 0000 C CNN
+F 3 "" H 6400 2900 60 0000 C CNN
+ 1 6350 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M13
+U 1 1 685C0765
+P 6350 3450
+F 0 "M13" H 6350 3300 50 0000 R CNN
+F 1 "mosfet_n" H 6450 3400 50 0000 R CNN
+F 2 "" H 6650 3150 29 0000 C CNN
+F 3 "" H 6450 3250 60 0000 C CNN
+ 1 6350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 685C0793
+P 6350 4000
+F 0 "M14" H 6350 3850 50 0000 R CNN
+F 1 "mosfet_n" H 6450 3950 50 0000 R CNN
+F 2 "" H 6650 3700 29 0000 C CNN
+F 3 "" H 6450 3800 60 0000 C CNN
+ 1 6350 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 685C07E9
+P 6350 4550
+F 0 "M15" H 6350 4400 50 0000 R CNN
+F 1 "mosfet_n" H 6450 4500 50 0000 R CNN
+F 2 "" H 6650 4250 29 0000 C CNN
+F 3 "" H 6450 4350 60 0000 C CNN
+ 1 6350 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M16
+U 1 1 685C0816
+P 6350 5100
+F 0 "M16" H 6350 4950 50 0000 R CNN
+F 1 "mosfet_n" H 6450 5050 50 0000 R CNN
+F 2 "" H 6650 4800 29 0000 C CNN
+F 3 "" H 6450 4900 60 0000 C CNN
+ 1 6350 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M18
+U 1 1 685C0F13
+P 9250 2850
+F 0 "M18" H 9200 2900 50 0000 R CNN
+F 1 "mosfet_p" H 9300 3000 50 0000 R CNN
+F 2 "" H 9500 2950 29 0000 C CNN
+F 3 "" H 9300 2850 60 0000 C CNN
+ 1 9250 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M19
+U 1 1 685C0F54
+P 9250 3400
+F 0 "M19" H 9200 3450 50 0000 R CNN
+F 1 "mosfet_p" H 9300 3550 50 0000 R CNN
+F 2 "" H 9500 3500 29 0000 C CNN
+F 3 "" H 9300 3400 60 0000 C CNN
+ 1 9250 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M17
+U 1 1 685C0F90
+P 8900 3800
+F 0 "M17" H 8900 3650 50 0000 R CNN
+F 1 "mosfet_n" H 9000 3750 50 0000 R CNN
+F 2 "" H 9200 3500 29 0000 C CNN
+F 3 "" H 9000 3600 60 0000 C CNN
+ 1 8900 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M20
+U 1 1 685C0FF5
+P 9450 3800
+F 0 "M20" H 9450 3650 50 0000 R CNN
+F 1 "mosfet_n" H 9550 3750 50 0000 R CNN
+F 2 "" H 9750 3500 29 0000 C CNN
+F 3 "" H 9550 3600 60 0000 C CNN
+ 1 9450 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M22
+U 1 1 685C1613
+P 10300 4250
+F 0 "M22" H 10250 4300 50 0000 R CNN
+F 1 "mosfet_p" H 10350 4400 50 0000 R CNN
+F 2 "" H 10550 4350 29 0000 C CNN
+F 3 "" H 10350 4250 60 0000 C CNN
+ 1 10300 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M21
+U 1 1 685C1660
+P 10250 4600
+F 0 "M21" H 10250 4450 50 0000 R CNN
+F 1 "mosfet_n" H 10350 4550 50 0000 R CNN
+F 2 "" H 10550 4300 29 0000 C CNN
+F 3 "" H 10350 4400 60 0000 C CNN
+ 1 10250 4600
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M1
+U 1 1 685C39E7
+P 200 2900
+F 0 "M1" H 150 2950 50 0000 R CNN
+F 1 "mosfet_p" H 250 3050 50 0000 R CNN
+F 2 "" H 450 3000 29 0000 C CNN
+F 3 "" H 250 2900 60 0000 C CNN
+ 1 200 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M2
+U 1 1 685C39ED
+P 750 2900
+F 0 "M2" H 700 2950 50 0000 R CNN
+F 1 "mosfet_p" H 800 3050 50 0000 R CNN
+F 2 "" H 1000 3000 29 0000 C CNN
+F 3 "" H 800 2900 60 0000 C CNN
+ 1 750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M3
+U 1 1 685C39F3
+P 1250 2900
+F 0 "M3" H 1200 2950 50 0000 R CNN
+F 1 "mosfet_p" H 1300 3050 50 0000 R CNN
+F 2 "" H 1500 3000 29 0000 C CNN
+F 3 "" H 1300 2900 60 0000 C CNN
+ 1 1250 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M4
+U 1 1 685C39F9
+P 1800 2900
+F 0 "M4" H 1750 2950 50 0000 R CNN
+F 1 "mosfet_p" H 1850 3050 50 0000 R CNN
+F 2 "" H 2050 3000 29 0000 C CNN
+F 3 "" H 1850 2900 60 0000 C CNN
+ 1 1800 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 685C39FF
+P 1800 3450
+F 0 "M5" H 1800 3300 50 0000 R CNN
+F 1 "mosfet_n" H 1900 3400 50 0000 R CNN
+F 2 "" H 2100 3150 29 0000 C CNN
+F 3 "" H 1900 3250 60 0000 C CNN
+ 1 1800 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M6
+U 1 1 685C3A05
+P 1800 4000
+F 0 "M6" H 1800 3850 50 0000 R CNN
+F 1 "mosfet_n" H 1900 3950 50 0000 R CNN
+F 2 "" H 2100 3700 29 0000 C CNN
+F 3 "" H 1900 3800 60 0000 C CNN
+ 1 1800 4000
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M7
+U 1 1 685C3A0B
+P 1800 4550
+F 0 "M7" H 1800 4400 50 0000 R CNN
+F 1 "mosfet_n" H 1900 4500 50 0000 R CNN
+F 2 "" H 2100 4250 29 0000 C CNN
+F 3 "" H 1900 4350 60 0000 C CNN
+ 1 1800 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M8
+U 1 1 685C3A11
+P 1800 5100
+F 0 "M8" H 1800 4950 50 0000 R CNN
+F 1 "mosfet_n" H 1900 5050 50 0000 R CNN
+F 2 "" H 2100 4800 29 0000 C CNN
+F 3 "" H 1900 4900 60 0000 C CNN
+ 1 1800 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 685CEE05
+P 7550 2850
+F 0 "U1" H 7600 2950 30 0000 C CNN
+F 1 "PORT" H 7550 2850 30 0000 C CNN
+F 2 "" H 7550 2850 60 0000 C CNN
+F 3 "" H 7550 2850 60 0000 C CNN
+ 11 7550 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 685CEEFF
+P 7550 3400
+F 0 "U1" H 7600 3500 30 0000 C CNN
+F 1 "PORT" H 7550 3400 30 0000 C CNN
+F 2 "" H 7550 3400 60 0000 C CNN
+F 3 "" H 7550 3400 60 0000 C CNN
+ 12 7550 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 685CEFCF
+P 6950 3550
+F 0 "U1" H 7000 3650 30 0000 C CNN
+F 1 "PORT" H 6950 3550 30 0000 C CNN
+F 2 "" H 6950 3550 60 0000 C CNN
+F 3 "" H 6950 3550 60 0000 C CNN
+ 10 6950 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 685CF046
+P 10650 3650
+F 0 "U1" H 10700 3750 30 0000 C CNN
+F 1 "PORT" H 10650 3650 30 0000 C CNN
+F 2 "" H 10650 3650 60 0000 C CNN
+F 3 "" H 10650 3650 60 0000 C CNN
+ 14 10650 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 685CF10A
+P 10800 4450
+F 0 "U1" H 10850 4550 30 0000 C CNN
+F 1 "PORT" H 10800 4450 30 0000 C CNN
+F 2 "" H 10800 4450 60 0000 C CNN
+F 3 "" H 10800 4450 60 0000 C CNN
+ 15 10800 4450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 685CF181
+P 4900 2200
+F 0 "U1" H 4950 2300 30 0000 C CNN
+F 1 "PORT" H 4900 2200 30 0000 C CNN
+F 2 "" H 4900 2200 60 0000 C CNN
+F 3 "" H 4900 2200 60 0000 C CNN
+ 16 4900 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 685CF28D
+P 5900 5950
+F 0 "U1" H 5950 6050 30 0000 C CNN
+F 1 "PORT" H 5900 5950 30 0000 C CNN
+F 2 "" H 5900 5950 60 0000 C CNN
+F 3 "" H 5900 5950 60 0000 C CNN
+ 8 5900 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 685CF59D
+P 4050 5300
+F 0 "U1" H 4100 5400 30 0000 C CNN
+F 1 "PORT" H 4050 5300 30 0000 C CNN
+F 2 "" H 4050 5300 60 0000 C CNN
+F 3 "" H 4050 5300 60 0000 C CNN
+ 5 4050 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 685CF631
+P 4050 4700
+F 0 "U1" H 4100 4800 30 0000 C CNN
+F 1 "PORT" H 4050 4700 30 0000 C CNN
+F 2 "" H 4050 4700 60 0000 C CNN
+F 3 "" H 4050 4700 60 0000 C CNN
+ 7 4050 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 685CF71F
+P 4050 4200
+F 0 "U1" H 4100 4300 30 0000 C CNN
+F 1 "PORT" H 4050 4200 30 0000 C CNN
+F 2 "" H 4050 4200 60 0000 C CNN
+F 3 "" H 4050 4200 60 0000 C CNN
+ 6 4050 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 685CF83D
+P 4150 3650
+F 0 "U1" H 4200 3750 30 0000 C CNN
+F 1 "PORT" H 4150 3650 30 0000 C CNN
+F 2 "" H 4150 3650 60 0000 C CNN
+F 3 "" H 4150 3650 60 0000 C CNN
+ 9 4150 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 685CF8BA
+P -600 5300
+F 0 "U1" H -550 5400 30 0000 C CNN
+F 1 "PORT" H -600 5300 30 0000 C CNN
+F 2 "" H -600 5300 60 0000 C CNN
+F 3 "" H -600 5300 60 0000 C CNN
+ 1 -600 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 685CFA40
+P -550 4700
+F 0 "U1" H -500 4800 30 0000 C CNN
+F 1 "PORT" H -550 4700 30 0000 C CNN
+F 2 "" H -550 4700 60 0000 C CNN
+F 3 "" H -550 4700 60 0000 C CNN
+ 3 -550 4700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 685CFACF
+P -550 4200
+F 0 "U1" H -500 4300 30 0000 C CNN
+F 1 "PORT" H -550 4200 30 0000 C CNN
+F 2 "" H -550 4200 60 0000 C CNN
+F 3 "" H -550 4200 60 0000 C CNN
+ 2 -550 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 685CFB5B
+P -500 3600
+F 0 "U1" H -450 3700 30 0000 C CNN
+F 1 "PORT" H -500 3600 30 0000 C CNN
+F 2 "" H -500 3600 60 0000 C CNN
+F 3 "" H -500 3600 60 0000 C CNN
+ 4 -500 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 685CFBEC
+P 2500 2900
+F 0 "U1" H 2550 3000 30 0000 C CNN
+F 1 "PORT" H 2500 2900 30 0000 C CNN
+F 2 "" H 2500 2900 60 0000 C CNN
+F 3 "" H 2500 2900 60 0000 C CNN
+ 13 2500 2900
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5000 3050 5050 3050
+Wire Wire Line
+ 5050 3050 5050 2700
+Wire Wire Line
+ 5050 2700 4900 2700
+Wire Wire Line
+ 5550 3050 5600 3050
+Wire Wire Line
+ 5600 3050 5600 2700
+Wire Wire Line
+ 5600 2700 5450 2700
+Wire Wire Line
+ 6050 3050 6100 3050
+Wire Wire Line
+ 6100 3050 6100 2700
+Wire Wire Line
+ 6100 2700 5950 2700
+Wire Wire Line
+ 6600 3050 6650 3050
+Wire Wire Line
+ 6650 3050 6650 2700
+Wire Wire Line
+ 6650 2700 6500 2700
+Wire Wire Line
+ 5650 2250 5650 2550
+Wire Wire Line
+ 450 2450 10450 2450
+Wire Wire Line
+ 5000 2450 5000 2700
+Connection ~ 5000 2700
+Wire Wire Line
+ 5550 2550 6000 2550
+Wire Wire Line
+ 5550 2550 5550 2700
+Connection ~ 5550 2700
+Connection ~ 5650 2450
+Wire Wire Line
+ 6000 2550 6000 2700
+Connection ~ 6000 2700
+Connection ~ 5650 2550
+Wire Wire Line
+ 6600 2450 6600 2700
+Connection ~ 6600 2700
+Wire Wire Line
+ 4900 3100 6500 3100
+Connection ~ 5450 3100
+Connection ~ 5950 3100
+Wire Wire Line
+ 6500 3100 6500 3450
+Wire Wire Line
+ 6500 3450 6550 3450
+Wire Wire Line
+ 6500 3250 7250 3250
+Connection ~ 6500 3250
+Wire Wire Line
+ 6550 3850 6550 4000
+Wire Wire Line
+ 6550 4400 6550 4550
+Wire Wire Line
+ 6550 4950 6550 5100
+Wire Wire Line
+ 6650 5450 6650 5500
+Wire Wire Line
+ 6650 5500 6550 5500
+Wire Wire Line
+ 6550 5500 6550 5950
+Wire Wire Line
+ 6800 4900 6650 4900
+Wire Wire Line
+ 6800 3800 6800 5550
+Wire Wire Line
+ 6800 5550 6550 5550
+Connection ~ 6550 5550
+Wire Wire Line
+ 6650 4350 6800 4350
+Connection ~ 6800 4900
+Wire Wire Line
+ 6650 3800 6800 3800
+Connection ~ 6800 4350
+Wire Wire Line
+ 4600 2900 4600 5300
+Wire Wire Line
+ 4300 5300 6250 5300
+Wire Wire Line
+ 5150 2900 5150 4750
+Wire Wire Line
+ 5150 4750 6250 4750
+Wire Wire Line
+ 5650 2900 5650 4200
+Wire Wire Line
+ 4300 4200 6250 4200
+Wire Wire Line
+ 6200 2900 6200 3650
+Wire Wire Line
+ 4400 3650 6250 3650
+Wire Wire Line
+ 9500 3000 9550 3000
+Wire Wire Line
+ 9550 2650 9550 3550
+Wire Wire Line
+ 9400 2650 9550 2650
+Wire Wire Line
+ 9550 3550 9500 3550
+Connection ~ 9550 3000
+Wire Wire Line
+ 9400 3050 9400 3200
+Wire Wire Line
+ 9100 3800 11050 3800
+Wire Wire Line
+ 9400 3600 9400 3800
+Connection ~ 9400 3800
+Wire Wire Line
+ 9200 4150 9200 4200
+Wire Wire Line
+ 9100 4200 9750 4200
+Wire Wire Line
+ 9750 4200 9750 4150
+Connection ~ 9650 4200
+Connection ~ 9200 4200
+Wire Wire Line
+ 9450 4200 9450 5650
+Wire Wire Line
+ 2000 5650 10450 5650
+Connection ~ 6550 5650
+Connection ~ 9450 4200
+Wire Wire Line
+ 8800 4000 8300 4000
+Wire Wire Line
+ 8300 4000 8300 2850
+Wire Wire Line
+ 7800 2850 9100 2850
+Wire Wire Line
+ 9350 4000 9250 4000
+Wire Wire Line
+ 9250 4000 9250 3600
+Wire Wire Line
+ 9250 3600 9100 3600
+Wire Wire Line
+ 9100 3600 9100 3400
+Wire Wire Line
+ 9450 2450 9450 2650
+Connection ~ 6600 2450
+Connection ~ 9450 2650
+Wire Wire Line
+ 10450 2450 10450 4050
+Connection ~ 9450 2450
+Wire Wire Line
+ 10450 5650 10450 5000
+Connection ~ 9450 5650
+Wire Wire Line
+ 10150 3800 10150 4800
+Connection ~ 9650 3800
+Connection ~ 10150 3800
+Connection ~ 10150 4250
+Wire Wire Line
+ 10450 4450 10450 4600
+Wire Wire Line
+ 10550 4400 10600 4400
+Wire Wire Line
+ 10600 4400 10600 3950
+Wire Wire Line
+ 10600 3950 10450 3950
+Connection ~ 10450 3950
+Wire Wire Line
+ 10550 4950 10550 5100
+Wire Wire Line
+ 10550 5100 10450 5100
+Connection ~ 10450 5100
+Wire Wire Line
+ 5500 2250 5650 2250
+Connection ~ 6200 3650
+Connection ~ 5650 4200
+Wire Wire Line
+ 4300 4700 5150 4700
+Connection ~ 5150 4700
+Connection ~ 4600 5300
+Wire Wire Line
+ 6550 5950 6150 5950
+Connection ~ 8300 2850
+Wire Wire Line
+ 9100 3400 7800 3400
+Wire Wire Line
+ 450 3050 500 3050
+Wire Wire Line
+ 500 3050 500 2700
+Wire Wire Line
+ 500 2700 350 2700
+Wire Wire Line
+ 1000 3050 1050 3050
+Wire Wire Line
+ 1050 3050 1050 2700
+Wire Wire Line
+ 1050 2700 900 2700
+Wire Wire Line
+ 1500 3050 1550 3050
+Wire Wire Line
+ 1550 3050 1550 2700
+Wire Wire Line
+ 1550 2700 1400 2700
+Wire Wire Line
+ 2050 3050 2100 3050
+Wire Wire Line
+ 2100 3050 2100 2700
+Wire Wire Line
+ 2100 2700 1950 2700
+Wire Wire Line
+ 450 2450 450 2700
+Connection ~ 450 2700
+Wire Wire Line
+ 1000 2550 1450 2550
+Wire Wire Line
+ 1000 2550 1000 2700
+Connection ~ 1000 2700
+Connection ~ 1100 2450
+Wire Wire Line
+ 1450 2550 1450 2700
+Connection ~ 1450 2700
+Connection ~ 1100 2550
+Wire Wire Line
+ 2050 2450 2050 2700
+Connection ~ 2050 2700
+Wire Wire Line
+ 350 3100 1950 3100
+Connection ~ 900 3100
+Connection ~ 1400 3100
+Wire Wire Line
+ 1950 3100 1950 3450
+Wire Wire Line
+ 1950 3450 2000 3450
+Wire Wire Line
+ 1950 3250 2800 3250
+Connection ~ 1950 3250
+Wire Wire Line
+ 2000 3850 2000 4000
+Wire Wire Line
+ 2000 4400 2000 4550
+Wire Wire Line
+ 2000 4950 2000 5100
+Wire Wire Line
+ 2100 5450 2100 5500
+Wire Wire Line
+ 2100 5500 2000 5500
+Wire Wire Line
+ 2000 5500 2000 5950
+Wire Wire Line
+ 2250 4900 2100 4900
+Wire Wire Line
+ 2250 3800 2250 5550
+Wire Wire Line
+ 2250 5550 2000 5550
+Connection ~ 2000 5550
+Wire Wire Line
+ 2100 4350 2250 4350
+Connection ~ 2250 4900
+Wire Wire Line
+ 2100 3800 2250 3800
+Connection ~ 2250 4350
+Wire Wire Line
+ 50 2900 50 5300
+Wire Wire Line
+ -350 5300 1700 5300
+Wire Wire Line
+ 600 2900 600 4750
+Wire Wire Line
+ 600 4750 1700 4750
+Wire Wire Line
+ 1100 2900 1100 4200
+Wire Wire Line
+ -300 4200 1700 4200
+Wire Wire Line
+ 1650 2900 1650 3650
+Wire Wire Line
+ -100 3650 1700 3650
+Connection ~ 2000 5650
+Connection ~ 2050 2450
+Connection ~ 1650 3650
+Connection ~ 1100 4200
+Wire Wire Line
+ -300 4700 600 4700
+Connection ~ 600 4700
+Connection ~ 50 5300
+Connection ~ 5000 2450
+Wire Wire Line
+ 11050 3800 11050 3650
+Wire Wire Line
+ 11050 4500 11050 4700
+Wire Wire Line
+ 5150 2200 5500 2200
+Wire Wire Line
+ 5500 2200 5500 2250
+Wire Wire Line
+ 7250 3250 7250 3550
+Wire Wire Line
+ 11050 3650 10900 3650
+Wire Wire Line
+ 11100 4400 11100 4500
+Wire Wire Line
+ 11100 4500 11050 4500
+Wire Wire Line
+ -250 3600 -100 3600
+Wire Wire Line
+ -100 3600 -100 3650
+Wire Wire Line
+ 2750 3250 2750 2900
+Wire Wire Line
+ 7200 3550 7300 3550
+Wire Wire Line
+ 11050 4450 11050 4400
+Wire Wire Line
+ 11050 4400 11100 4400
+Wire Wire Line
+ 2800 3250 2800 3300
+Connection ~ 2750 3250
+Connection ~ 11050 4600
+Wire Wire Line
+ 11200 3750 11050 3750
+Connection ~ 11050 3750
+Wire Wire Line
+ 7300 3550 7300 3650
+Connection ~ 7250 3550
+Wire Wire Line
+ 10450 4500 10650 4500
+Wire Wire Line
+ 10650 4500 10650 4600
+Wire Wire Line
+ 10650 4600 11050 4600
+Connection ~ 10450 4500
+Wire Wire Line
+ 1100 2550 1100 2450
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB.sub b/library/SubcircuitLibrary/MC14501UB/MC14501UB.sub
new file mode 100644
index 000000000..c9083b1cd
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB.sub
@@ -0,0 +1,30 @@
+* Subcircuit MC14501UB
+.subckt MC14501UB net-_m1-pad2_ net-_m3-pad2_ net-_m2-pad2_ net-_m4-pad2_ net-_m16-pad2_ net-_m11-pad2_ net-_m10-pad2_ net-_m13-pad4_ net-_m12-pad2_ net-_m10-pad3_ net-_m17-pad2_ net-_m19-pad2_ net-_m1-pad3_ net-_m17-pad1_ net-_m21-pad1_ net-_m1-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc14501ub\mc14501ub.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m9 net-_m1-pad1_ net-_m16-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m10 net-_m1-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m1-pad1_ net-_m11-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m12 net-_m1-pad1_ net-_m12-pad2_ net-_m10-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m13 net-_m10-pad3_ net-_m12-pad2_ net-_m13-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m11-pad2_ net-_m14-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m15 net-_m14-pad3_ net-_m10-pad2_ net-_m15-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m16 net-_m15-pad3_ net-_m16-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m18 net-_m1-pad1_ net-_m17-pad2_ net-_m18-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m19 net-_m18-pad3_ net-_m19-pad2_ net-_m17-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m17 net-_m17-pad1_ net-_m17-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m20 net-_m17-pad1_ net-_m19-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m22 net-_m1-pad1_ net-_m17-pad1_ net-_m21-pad1_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m21 net-_m21-pad1_ net-_m17-pad1_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m2 net-_m1-pad1_ net-_m2-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m1-pad1_ net-_m3-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m4 net-_m1-pad1_ net-_m4-pad2_ net-_m1-pad3_ net-_m1-pad1_ CMOSP W=100u L=100u M=1
+m5 net-_m1-pad3_ net-_m4-pad2_ net-_m5-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m6 net-_m5-pad3_ net-_m3-pad2_ net-_m6-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m7 net-_m6-pad3_ net-_m2-pad2_ net-_m7-pad3_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+m8 net-_m7-pad3_ net-_m1-pad2_ net-_m13-pad4_ net-_m13-pad4_ CMOSN W=100u L=100u M=1
+* Control Statements
+
+.ends MC14501UB
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC14501UB/MC14501UB_Previous_Values.xml b/library/SubcircuitLibrary/MC14501UB/MC14501UB_Previous_Values.xml
new file mode 100644
index 000000000..aeb3ce545
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/MC14501UB_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC14501UB/NMOS-180nm.lib b/library/SubcircuitLibrary/MC14501UB/NMOS-180nm.lib
new file mode 100644
index 000000000..51e9b1196
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/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/MC14501UB/PMOS-180nm.lib b/library/SubcircuitLibrary/MC14501UB/PMOS-180nm.lib
new file mode 100644
index 000000000..032b5b95e
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/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/MC14501UB/analysis b/library/SubcircuitLibrary/MC14501UB/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14501UB/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/MC14572/MC14572-cache.lib b/library/SubcircuitLibrary/MC14572/MC14572-cache.lib
new file mode 100644
index 000000000..a90070507
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572-cache.lib
@@ -0,0 +1,113 @@
+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_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# 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/MC14572/MC14572.bak b/library/SubcircuitLibrary/MC14572/MC14572.bak
new file mode 100644
index 000000000..75895913c
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.bak
@@ -0,0 +1,717 @@
+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:MC14572_My-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 mosfet_n M7
+U 1 1 6856C0E2
+P 18600 2950
+F 0 "M7" H 18600 2800 50 0000 R CNN
+F 1 "mosfet_n" H 18700 2900 50 0000 R CNN
+F 2 "" H 18900 2650 29 0000 C CNN
+F 3 "" H 18700 2750 60 0000 C CNN
+ 1 18600 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M8
+U 1 1 6856C0FE
+P 18650 2600
+F 0 "M8" H 18600 2650 50 0000 R CNN
+F 1 "mosfet_p" H 18700 2750 50 0000 R CNN
+F 2 "" H 18900 2700 29 0000 C CNN
+F 3 "" H 18700 2600 60 0000 C CNN
+ 1 18650 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR4
+U 1 1 6856C1C3
+P 18800 3450
+F 0 "#PWR4" H 18800 3200 50 0001 C CNN
+F 1 "eSim_GND" H 18800 3300 50 0000 C CNN
+F 2 "" H 18800 3450 50 0001 C CNN
+F 3 "" H 18800 3450 50 0001 C CNN
+ 1 18800 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 6856C1F4
+P 18100 2850
+F 0 "U1" H 18150 2950 30 0000 C CNN
+F 1 "PORT" H 18100 2850 30 0000 C CNN
+F 2 "" H 18100 2850 60 0000 C CNN
+F 3 "" H 18100 2850 60 0000 C CNN
+ 12 18100 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 6856C21A
+P 19200 2900
+F 0 "U1" H 19250 3000 30 0000 C CNN
+F 1 "PORT" H 19200 2900 30 0000 C CNN
+F 2 "" H 19200 2900 60 0000 C CNN
+F 3 "" H 19200 2900 60 0000 C CNN
+ 11 19200 2900
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 6856C396
+P 18950 2000
+F 0 "U1" H 19000 2100 30 0000 C CNN
+F 1 "PORT" H 18950 2000 30 0000 C CNN
+F 2 "" H 18950 2000 60 0000 C CNN
+F 3 "" H 18950 2000 60 0000 C CNN
+ 16 18950 2000
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_p M10
+U 1 1 6856C4D3
+P 21350 1800
+F 0 "M10" H 21300 1850 50 0000 R CNN
+F 1 "mosfet_p" H 21400 1950 50 0000 R CNN
+F 2 "" H 21600 1900 29 0000 C CNN
+F 3 "" H 21400 1800 60 0000 C CNN
+ 1 21350 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 6856C513
+P 21350 2350
+F 0 "M11" H 21300 2400 50 0000 R CNN
+F 1 "mosfet_p" H 21400 2500 50 0000 R CNN
+F 2 "" H 21600 2450 29 0000 C CNN
+F 3 "" H 21400 2350 60 0000 C CNN
+ 1 21350 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M9
+U 1 1 6856C57E
+P 20950 2750
+F 0 "M9" H 20950 2600 50 0000 R CNN
+F 1 "mosfet_n" H 21050 2700 50 0000 R CNN
+F 2 "" H 21250 2450 29 0000 C CNN
+F 3 "" H 21050 2550 60 0000 C CNN
+ 1 20950 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M12
+U 1 1 6856C5B8
+P 21600 2750
+F 0 "M12" H 21600 2600 50 0000 R CNN
+F 1 "mosfet_n" H 21700 2700 50 0000 R CNN
+F 2 "" H 21900 2450 29 0000 C CNN
+F 3 "" H 21700 2550 60 0000 C CNN
+ 1 21600 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6856C706
+P 20250 1750
+F 0 "U1" H 20300 1850 30 0000 C CNN
+F 1 "PORT" H 20250 1750 30 0000 C CNN
+F 2 "" H 20250 1750 60 0000 C CNN
+F 3 "" H 20250 1750 60 0000 C CNN
+ 6 20250 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6856C766
+P 20300 2350
+F 0 "U1" H 20350 2450 30 0000 C CNN
+F 1 "PORT" H 20300 2350 30 0000 C CNN
+F 2 "" H 20300 2350 60 0000 C CNN
+F 3 "" H 20300 2350 60 0000 C CNN
+ 7 20300 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR6
+U 1 1 6856C9E5
+P 21500 3250
+F 0 "#PWR6" H 21500 3000 50 0001 C CNN
+F 1 "eSim_GND" H 21500 3100 50 0000 C CNN
+F 2 "" H 21500 3250 50 0001 C CNN
+F 3 "" H 21500 3250 50 0001 C CNN
+ 1 21500 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6856CB71
+P 22150 2650
+F 0 "U1" H 22200 2750 30 0000 C CNN
+F 1 "PORT" H 22150 2650 30 0000 C CNN
+F 2 "" H 22150 2650 60 0000 C CNN
+F 3 "" H 22150 2650 60 0000 C CNN
+ 5 22150 2650
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M13
+U 1 1 6856CF91
+P 23450 1700
+F 0 "M13" H 23400 1750 50 0000 R CNN
+F 1 "mosfet_p" H 23500 1850 50 0000 R CNN
+F 2 "" H 23700 1800 29 0000 C CNN
+F 3 "" H 23500 1700 60 0000 C CNN
+ 1 23450 1700
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M16
+U 1 1 6856D002
+P 24250 1700
+F 0 "M16" H 24200 1750 50 0000 R CNN
+F 1 "mosfet_p" H 24300 1850 50 0000 R CNN
+F 2 "" H 24500 1800 29 0000 C CNN
+F 3 "" H 24300 1700 60 0000 C CNN
+ 1 24250 1700
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 6856D054
+P 23800 2150
+F 0 "M14" H 23800 2000 50 0000 R CNN
+F 1 "mosfet_n" H 23900 2100 50 0000 R CNN
+F 2 "" H 24100 1850 29 0000 C CNN
+F 3 "" H 23900 1950 60 0000 C CNN
+ 1 23800 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 6856D0B9
+P 23800 2800
+F 0 "M15" H 23800 2650 50 0000 R CNN
+F 1 "mosfet_n" H 23900 2750 50 0000 R CNN
+F 2 "" H 24100 2500 29 0000 C CNN
+F 3 "" H 23900 2600 60 0000 C CNN
+ 1 23800 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR7
+U 1 1 6856D407
+P 24000 3300
+F 0 "#PWR7" H 24000 3050 50 0001 C CNN
+F 1 "eSim_GND" H 24000 3150 50 0000 C CNN
+F 2 "" H 24000 3300 50 0001 C CNN
+F 3 "" H 24000 3300 50 0001 C CNN
+ 1 24000 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 6856D67F
+P 23100 2350
+F 0 "U1" H 23150 2450 30 0000 C CNN
+F 1 "PORT" H 23100 2350 30 0000 C CNN
+F 2 "" H 23100 2350 60 0000 C CNN
+F 3 "" H 23100 2350 60 0000 C CNN
+ 14 23100 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 6856D7E3
+P 23050 3000
+F 0 "U1" H 23100 3100 30 0000 C CNN
+F 1 "PORT" H 23050 3000 30 0000 C CNN
+F 2 "" H 23050 3000 60 0000 C CNN
+F 3 "" H 23050 3000 60 0000 C CNN
+ 15 23050 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 6856D9C8
+P 24700 2000
+F 0 "U1" H 24750 2100 30 0000 C CNN
+F 1 "PORT" H 24700 2000 30 0000 C CNN
+F 2 "" H 24700 2000 60 0000 C CNN
+F 3 "" H 24700 2000 60 0000 C CNN
+ 13 24700 2000
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 6856DF10
+P 17150 2950
+F 0 "M5" H 17150 2800 50 0000 R CNN
+F 1 "mosfet_n" H 17250 2900 50 0000 R CNN
+F 2 "" H 17450 2650 29 0000 C CNN
+F 3 "" H 17250 2750 60 0000 C CNN
+ 1 17150 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M6
+U 1 1 6856DF16
+P 17200 2600
+F 0 "M6" H 17150 2650 50 0000 R CNN
+F 1 "mosfet_p" H 17250 2750 50 0000 R CNN
+F 2 "" H 17450 2700 29 0000 C CNN
+F 3 "" H 17250 2600 60 0000 C CNN
+ 1 17200 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR3
+U 1 1 6856DF1C
+P 17350 3450
+F 0 "#PWR3" H 17350 3200 50 0001 C CNN
+F 1 "eSim_GND" H 17350 3300 50 0000 C CNN
+F 2 "" H 17350 3450 50 0001 C CNN
+F 3 "" H 17350 3450 50 0001 C CNN
+ 1 17350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6856DF22
+P 16650 2850
+F 0 "U1" H 16700 2950 30 0000 C CNN
+F 1 "PORT" H 16650 2850 30 0000 C CNN
+F 2 "" H 16650 2850 60 0000 C CNN
+F 3 "" H 16650 2850 60 0000 C CNN
+ 10 16650 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 6856DF28
+P 17750 2900
+F 0 "U1" H 17800 3000 30 0000 C CNN
+F 1 "PORT" H 17750 2900 30 0000 C CNN
+F 2 "" H 17750 2900 60 0000 C CNN
+F 3 "" H 17750 2900 60 0000 C CNN
+ 9 17750 2900
+ -1 0 0 1
+$EndComp
+$Comp
+L mosfet_n M3
+U 1 1 6856E007
+P 15750 2900
+F 0 "M3" H 15750 2750 50 0000 R CNN
+F 1 "mosfet_n" H 15850 2850 50 0000 R CNN
+F 2 "" H 16050 2600 29 0000 C CNN
+F 3 "" H 15850 2700 60 0000 C CNN
+ 1 15750 2900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M4
+U 1 1 6856E00D
+P 15800 2550
+F 0 "M4" H 15750 2600 50 0000 R CNN
+F 1 "mosfet_p" H 15850 2700 50 0000 R CNN
+F 2 "" H 16050 2650 29 0000 C CNN
+F 3 "" H 15850 2550 60 0000 C CNN
+ 1 15800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR2
+U 1 1 6856E013
+P 15950 3400
+F 0 "#PWR2" H 15950 3150 50 0001 C CNN
+F 1 "eSim_GND" H 15950 3250 50 0000 C CNN
+F 2 "" H 15950 3400 50 0001 C CNN
+F 3 "" H 15950 3400 50 0001 C CNN
+ 1 15950 3400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6856E019
+P 15250 2800
+F 0 "U1" H 15300 2900 30 0000 C CNN
+F 1 "PORT" H 15250 2800 30 0000 C CNN
+F 2 "" H 15250 2800 60 0000 C CNN
+F 3 "" H 15250 2800 60 0000 C CNN
+ 4 15250 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6856E01F
+P 16350 2850
+F 0 "U1" H 16400 2950 30 0000 C CNN
+F 1 "PORT" H 16350 2850 30 0000 C CNN
+F 2 "" H 16350 2850 60 0000 C CNN
+F 3 "" H 16350 2850 60 0000 C CNN
+ 3 16350 2850
+ -1 0 0 1
+$EndComp
+$Comp
+L mosfet_n M1
+U 1 1 6856E165
+P 14150 2950
+F 0 "M1" H 14150 2800 50 0000 R CNN
+F 1 "mosfet_n" H 14250 2900 50 0000 R CNN
+F 2 "" H 14450 2650 29 0000 C CNN
+F 3 "" H 14250 2750 60 0000 C CNN
+ 1 14150 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M2
+U 1 1 6856E16B
+P 14200 2600
+F 0 "M2" H 14150 2650 50 0000 R CNN
+F 1 "mosfet_p" H 14250 2750 50 0000 R CNN
+F 2 "" H 14450 2700 29 0000 C CNN
+F 3 "" H 14250 2600 60 0000 C CNN
+ 1 14200 2600
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR1
+U 1 1 6856E171
+P 14350 3450
+F 0 "#PWR1" H 14350 3200 50 0001 C CNN
+F 1 "eSim_GND" H 14350 3300 50 0000 C CNN
+F 2 "" H 14350 3450 50 0001 C CNN
+F 3 "" H 14350 3450 50 0001 C CNN
+ 1 14350 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6856E177
+P 13650 2850
+F 0 "U1" H 13700 2950 30 0000 C CNN
+F 1 "PORT" H 13650 2850 30 0000 C CNN
+F 2 "" H 13650 2850 60 0000 C CNN
+F 3 "" H 13650 2850 60 0000 C CNN
+ 2 13650 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6856E17D
+P 14750 2900
+F 0 "U1" H 14800 3000 30 0000 C CNN
+F 1 "PORT" H 14750 2900 30 0000 C CNN
+F 2 "" H 14750 2900 60 0000 C CNN
+F 3 "" H 14750 2900 60 0000 C CNN
+ 1 14750 2900
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 18500 2600 18500 3150
+Wire Wire Line
+ 18900 2750 19000 2750
+Wire Wire Line
+ 19000 2750 19000 2400
+Wire Wire Line
+ 19000 2400 18800 2400
+Wire Wire Line
+ 18900 3300 18900 3350
+Wire Wire Line
+ 18900 3350 18800 3350
+Wire Wire Line
+ 18800 2800 18800 2950
+Wire Wire Line
+ 18800 3350 18800 3450
+Wire Wire Line
+ 18350 2850 18500 2850
+Connection ~ 18500 2850
+Wire Wire Line
+ 18950 2900 18800 2900
+Connection ~ 18800 2900
+Wire Wire Line
+ 18950 2250 18950 2400
+Connection ~ 18950 2400
+Wire Wire Line
+ 21600 1950 21750 1950
+Wire Wire Line
+ 21750 1600 21750 2500
+Wire Wire Line
+ 21750 1600 21500 1600
+Wire Wire Line
+ 21750 2500 21600 2500
+Connection ~ 21750 1950
+Wire Wire Line
+ 21500 2000 21500 2150
+Wire Wire Line
+ 20500 1750 21200 1750
+Wire Wire Line
+ 21200 1750 21200 1800
+Wire Wire Line
+ 20550 2350 21200 2350
+Wire Wire Line
+ 21150 2350 21150 2650
+Wire Wire Line
+ 21150 2650 21500 2650
+Wire Wire Line
+ 21500 2650 21500 2950
+Connection ~ 21150 2350
+Wire Wire Line
+ 20600 1750 20600 2950
+Wire Wire Line
+ 20600 2950 20850 2950
+Connection ~ 20600 1750
+Wire Wire Line
+ 21900 3150 21900 3100
+Wire Wire Line
+ 21150 3150 21900 3150
+Wire Wire Line
+ 21250 3100 21250 3150
+Connection ~ 21800 3150
+Connection ~ 21250 3150
+Wire Wire Line
+ 21500 2550 21800 2550
+Wire Wire Line
+ 21800 2550 21800 2750
+Wire Wire Line
+ 21800 2750 21150 2750
+Wire Wire Line
+ 21500 3250 21500 3150
+Connection ~ 21500 3150
+Wire Wire Line
+ 21900 2650 21800 2650
+Connection ~ 21800 2650
+Wire Wire Line
+ 18850 2300 19750 2300
+Wire Wire Line
+ 19750 2300 19750 1200
+Wire Wire Line
+ 19750 1200 23800 1200
+Wire Wire Line
+ 21600 1200 21600 1600
+Connection ~ 21600 1600
+Connection ~ 18950 2300
+Wire Wire Line
+ 23800 1850 23700 1850
+Wire Wire Line
+ 23800 1200 23800 1850
+Wire Wire Line
+ 23800 1500 23600 1500
+Wire Wire Line
+ 24600 1850 24500 1850
+Wire Wire Line
+ 24600 1400 24600 1850
+Wire Wire Line
+ 24600 1500 24400 1500
+Wire Wire Line
+ 24400 1900 24400 2150
+Wire Wire Line
+ 24400 2150 24000 2150
+Wire Wire Line
+ 23600 1900 24400 1900
+Wire Wire Line
+ 24000 2550 24000 2800
+Wire Wire Line
+ 24100 3150 24100 3250
+Wire Wire Line
+ 24100 2500 24100 2950
+Wire Wire Line
+ 24100 2950 24200 2950
+Wire Wire Line
+ 24200 2950 24200 3250
+Connection ~ 24000 3250
+Wire Wire Line
+ 24100 1700 23850 1700
+Wire Wire Line
+ 23850 1700 23850 2150
+Wire Wire Line
+ 23850 2150 23700 2150
+Wire Wire Line
+ 23700 2150 23700 2350
+Wire Wire Line
+ 23700 2350 23350 2350
+Wire Wire Line
+ 23300 3000 23700 3000
+Wire Wire Line
+ 23300 1700 23300 2200
+Wire Wire Line
+ 23300 2200 23450 2200
+Wire Wire Line
+ 23450 2200 23450 3000
+Connection ~ 23450 3000
+Wire Wire Line
+ 24450 2000 24400 2000
+Connection ~ 24400 2000
+Connection ~ 23800 1500
+Connection ~ 21600 1200
+Wire Wire Line
+ 24600 1400 23800 1400
+Connection ~ 23800 1400
+Connection ~ 24600 1500
+Wire Wire Line
+ 17050 2600 17050 3150
+Wire Wire Line
+ 17450 2750 17550 2750
+Wire Wire Line
+ 17550 2750 17550 2400
+Wire Wire Line
+ 17550 2400 17350 2400
+Wire Wire Line
+ 17450 3300 17450 3350
+Wire Wire Line
+ 17450 3350 17350 3350
+Wire Wire Line
+ 17350 2800 17350 2950
+Wire Wire Line
+ 17350 3350 17350 3450
+Wire Wire Line
+ 16900 2850 17050 2850
+Connection ~ 17050 2850
+Wire Wire Line
+ 17500 2900 17350 2900
+Connection ~ 17350 2900
+Wire Wire Line
+ 17500 2200 17500 2400
+Connection ~ 17500 2400
+Wire Wire Line
+ 15650 2550 15650 3100
+Wire Wire Line
+ 16050 2700 16150 2700
+Wire Wire Line
+ 16150 2700 16150 2350
+Wire Wire Line
+ 16150 2350 15950 2350
+Wire Wire Line
+ 16050 3250 16050 3300
+Wire Wire Line
+ 16050 3300 15950 3300
+Wire Wire Line
+ 15950 2750 15950 2900
+Wire Wire Line
+ 15950 3300 15950 3400
+Wire Wire Line
+ 15500 2800 15650 2800
+Connection ~ 15650 2800
+Wire Wire Line
+ 16100 2850 15950 2850
+Connection ~ 15950 2850
+Wire Wire Line
+ 16100 2200 16100 2350
+Connection ~ 16100 2350
+Wire Wire Line
+ 14050 2600 14050 3150
+Wire Wire Line
+ 14450 2750 14550 2750
+Wire Wire Line
+ 14550 2750 14550 2400
+Wire Wire Line
+ 14550 2400 14350 2400
+Wire Wire Line
+ 14450 3300 14450 3350
+Wire Wire Line
+ 14450 3350 14350 3350
+Wire Wire Line
+ 14350 2800 14350 2950
+Wire Wire Line
+ 14350 3350 14350 3450
+Wire Wire Line
+ 13900 2850 14050 2850
+Connection ~ 14050 2850
+Wire Wire Line
+ 14500 2900 14350 2900
+Connection ~ 14350 2900
+Wire Wire Line
+ 14500 2200 14500 2400
+Connection ~ 14500 2400
+Wire Wire Line
+ 14500 2200 18850 2200
+Connection ~ 16100 2200
+Wire Wire Line
+ 18850 2200 18850 2300
+Connection ~ 17500 2200
+Wire Wire Line
+ 24000 3200 24000 3300
+Wire Wire Line
+ 24200 3250 24000 3250
+Connection ~ 24100 3250
+$Comp
+L PORT U1
+U 8 1 6856C552
+P 6900 5000
+F 0 "U1" H 6950 5100 30 0000 C CNN
+F 1 "PORT" H 6900 5000 30 0000 C CNN
+F 2 "" H 6900 5000 60 0000 C CNN
+F 3 "" H 6900 5000 60 0000 C CNN
+ 8 6900 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR5
+U 1 1 6856C688
+P 7750 5050
+F 0 "#PWR5" H 7750 4800 50 0001 C CNN
+F 1 "eSim_GND" H 7750 4900 50 0000 C CNN
+F 2 "" H 7750 5050 50 0001 C CNN
+F 3 "" H 7750 5050 50 0001 C CNN
+ 1 7750 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7150 5000 7750 5000
+Wire Wire Line
+ 7750 5000 7750 5050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC14572/MC14572.cir b/library/SubcircuitLibrary/MC14572/MC14572.cir
new file mode 100644
index 000000000..e0d4f4471
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.cir
@@ -0,0 +1,27 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\MC14572\MC14572.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/12/25 14:08:44
+
+* 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: /
+M7 Net-_M7-Pad1_ Net-_M7-Pad2_ GND GND mosfet_n
+M8 Net-_M10-Pad1_ Net-_M7-Pad2_ Net-_M7-Pad1_ Net-_M10-Pad1_ mosfet_p
+U1 Net-_M1-Pad1_ Net-_M1-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad2_ Net-_M11-Pad3_ Net-_M10-Pad2_ Net-_M11-Pad2_ GND Net-_M5-Pad1_ Net-_M5-Pad2_ Net-_M7-Pad1_ Net-_M7-Pad2_ Net-_M13-Pad3_ Net-_M14-Pad2_ Net-_M13-Pad2_ Net-_M10-Pad1_ PORT
+M10 Net-_M10-Pad1_ Net-_M10-Pad2_ Net-_M10-Pad3_ Net-_M10-Pad1_ mosfet_p
+M11 Net-_M10-Pad3_ Net-_M11-Pad2_ Net-_M11-Pad3_ Net-_M10-Pad1_ mosfet_p
+M9 Net-_M11-Pad3_ Net-_M10-Pad2_ GND GND mosfet_n
+M12 Net-_M11-Pad3_ Net-_M11-Pad2_ GND GND mosfet_n
+M13 Net-_M10-Pad1_ Net-_M13-Pad2_ Net-_M13-Pad3_ Net-_M10-Pad1_ mosfet_p
+M16 Net-_M10-Pad1_ Net-_M14-Pad2_ Net-_M13-Pad3_ Net-_M10-Pad1_ mosfet_p
+M14 Net-_M13-Pad3_ Net-_M14-Pad2_ Net-_M14-Pad3_ GND mosfet_n
+M15 Net-_M14-Pad3_ Net-_M13-Pad2_ GND GND mosfet_n
+M5 Net-_M5-Pad1_ Net-_M5-Pad2_ GND GND mosfet_n
+M6 Net-_M10-Pad1_ Net-_M5-Pad2_ Net-_M5-Pad1_ Net-_M10-Pad1_ mosfet_p
+M3 Net-_M3-Pad1_ Net-_M3-Pad2_ GND GND mosfet_n
+M4 Net-_M10-Pad1_ Net-_M3-Pad2_ Net-_M3-Pad1_ Net-_M10-Pad1_ mosfet_p
+M1 Net-_M1-Pad1_ Net-_M1-Pad2_ GND GND mosfet_n
+M2 Net-_M10-Pad1_ Net-_M1-Pad2_ Net-_M1-Pad1_ Net-_M10-Pad1_ mosfet_p
+
+.end
diff --git a/library/SubcircuitLibrary/MC14572/MC14572.cir.out b/library/SubcircuitLibrary/MC14572/MC14572.cir.out
new file mode 100644
index 000000000..7df7af633
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.cir.out
@@ -0,0 +1,30 @@
+* c:\fossee\esim\library\subcircuitlibrary\mc14572\mc14572.cir
+
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m7 net-_m7-pad1_ net-_m7-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m8 net-_m10-pad1_ net-_m7-pad2_ net-_m7-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+* u1 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m10-pad2_ net-_m11-pad2_ gnd net-_m5-pad1_ net-_m5-pad2_ net-_m7-pad1_ net-_m7-pad2_ net-_m13-pad3_ net-_m14-pad2_ net-_m13-pad2_ net-_m10-pad1_ port
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m10-pad3_ net-_m11-pad2_ net-_m11-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad3_ net-_m10-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m12 net-_m11-pad3_ net-_m11-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m13-pad2_ net-_m13-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m13-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m14-pad3_ gnd CMOSN W=100u L=100u M=1
+m15 net-_m14-pad3_ net-_m13-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m6 net-_m10-pad1_ net-_m5-pad2_ net-_m5-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m4 net-_m10-pad1_ net-_m3-pad2_ net-_m3-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m2 net-_m10-pad1_ net-_m1-pad2_ net-_m1-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/MC14572/MC14572.pro b/library/SubcircuitLibrary/MC14572/MC14572.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.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/MC14572/MC14572.sch b/library/SubcircuitLibrary/MC14572/MC14572.sch
new file mode 100644
index 000000000..2fbb48c20
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.sch
@@ -0,0 +1,717 @@
+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:MC14572-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 mosfet_n M7
+U 1 1 6856C0E2
+P 5100 3150
+F 0 "M7" H 5100 3000 50 0000 R CNN
+F 1 "mosfet_n" H 5200 3100 50 0000 R CNN
+F 2 "" H 5400 2850 29 0000 C CNN
+F 3 "" H 5200 2950 60 0000 C CNN
+ 1 5100 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M8
+U 1 1 6856C0FE
+P 5150 2800
+F 0 "M8" H 5100 2850 50 0000 R CNN
+F 1 "mosfet_p" H 5200 2950 50 0000 R CNN
+F 2 "" H 5400 2900 29 0000 C CNN
+F 3 "" H 5200 2800 60 0000 C CNN
+ 1 5150 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR4
+U 1 1 6856C1C3
+P 5300 3650
+F 0 "#PWR4" H 5300 3400 50 0001 C CNN
+F 1 "eSim_GND" H 5300 3500 50 0000 C CNN
+F 2 "" H 5300 3650 50 0001 C CNN
+F 3 "" H 5300 3650 50 0001 C CNN
+ 1 5300 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 6856C1F4
+P 4600 3050
+F 0 "U1" H 4650 3150 30 0000 C CNN
+F 1 "PORT" H 4600 3050 30 0000 C CNN
+F 2 "" H 4600 3050 60 0000 C CNN
+F 3 "" H 4600 3050 60 0000 C CNN
+ 12 4600 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 6856C21A
+P 5700 3100
+F 0 "U1" H 5750 3200 30 0000 C CNN
+F 1 "PORT" H 5700 3100 30 0000 C CNN
+F 2 "" H 5700 3100 60 0000 C CNN
+F 3 "" H 5700 3100 60 0000 C CNN
+ 11 5700 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 6856C396
+P 5450 2200
+F 0 "U1" H 5500 2300 30 0000 C CNN
+F 1 "PORT" H 5450 2200 30 0000 C CNN
+F 2 "" H 5450 2200 60 0000 C CNN
+F 3 "" H 5450 2200 60 0000 C CNN
+ 16 5450 2200
+ 0 1 1 0
+$EndComp
+$Comp
+L mosfet_p M10
+U 1 1 6856C4D3
+P 7850 2000
+F 0 "M10" H 7800 2050 50 0000 R CNN
+F 1 "mosfet_p" H 7900 2150 50 0000 R CNN
+F 2 "" H 8100 2100 29 0000 C CNN
+F 3 "" H 7900 2000 60 0000 C CNN
+ 1 7850 2000
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M11
+U 1 1 6856C513
+P 7850 2550
+F 0 "M11" H 7800 2600 50 0000 R CNN
+F 1 "mosfet_p" H 7900 2700 50 0000 R CNN
+F 2 "" H 8100 2650 29 0000 C CNN
+F 3 "" H 7900 2550 60 0000 C CNN
+ 1 7850 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M9
+U 1 1 6856C57E
+P 7450 2950
+F 0 "M9" H 7450 2800 50 0000 R CNN
+F 1 "mosfet_n" H 7550 2900 50 0000 R CNN
+F 2 "" H 7750 2650 29 0000 C CNN
+F 3 "" H 7550 2750 60 0000 C CNN
+ 1 7450 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M12
+U 1 1 6856C5B8
+P 8100 2950
+F 0 "M12" H 8100 2800 50 0000 R CNN
+F 1 "mosfet_n" H 8200 2900 50 0000 R CNN
+F 2 "" H 8400 2650 29 0000 C CNN
+F 3 "" H 8200 2750 60 0000 C CNN
+ 1 8100 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6856C706
+P 6750 1950
+F 0 "U1" H 6800 2050 30 0000 C CNN
+F 1 "PORT" H 6750 1950 30 0000 C CNN
+F 2 "" H 6750 1950 60 0000 C CNN
+F 3 "" H 6750 1950 60 0000 C CNN
+ 6 6750 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6856C766
+P 6800 2550
+F 0 "U1" H 6850 2650 30 0000 C CNN
+F 1 "PORT" H 6800 2550 30 0000 C CNN
+F 2 "" H 6800 2550 60 0000 C CNN
+F 3 "" H 6800 2550 60 0000 C CNN
+ 7 6800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR6
+U 1 1 6856C9E5
+P 8000 3450
+F 0 "#PWR6" H 8000 3200 50 0001 C CNN
+F 1 "eSim_GND" H 8000 3300 50 0000 C CNN
+F 2 "" H 8000 3450 50 0001 C CNN
+F 3 "" H 8000 3450 50 0001 C CNN
+ 1 8000 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6856CB71
+P 8650 2850
+F 0 "U1" H 8700 2950 30 0000 C CNN
+F 1 "PORT" H 8650 2850 30 0000 C CNN
+F 2 "" H 8650 2850 60 0000 C CNN
+F 3 "" H 8650 2850 60 0000 C CNN
+ 5 8650 2850
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M13
+U 1 1 6856CF91
+P 9950 1900
+F 0 "M13" H 9900 1950 50 0000 R CNN
+F 1 "mosfet_p" H 10000 2050 50 0000 R CNN
+F 2 "" H 10200 2000 29 0000 C CNN
+F 3 "" H 10000 1900 60 0000 C CNN
+ 1 9950 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M16
+U 1 1 6856D002
+P 10750 1900
+F 0 "M16" H 10700 1950 50 0000 R CNN
+F 1 "mosfet_p" H 10800 2050 50 0000 R CNN
+F 2 "" H 11000 2000 29 0000 C CNN
+F 3 "" H 10800 1900 60 0000 C CNN
+ 1 10750 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M14
+U 1 1 6856D054
+P 10300 2350
+F 0 "M14" H 10300 2200 50 0000 R CNN
+F 1 "mosfet_n" H 10400 2300 50 0000 R CNN
+F 2 "" H 10600 2050 29 0000 C CNN
+F 3 "" H 10400 2150 60 0000 C CNN
+ 1 10300 2350
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M15
+U 1 1 6856D0B9
+P 10300 3000
+F 0 "M15" H 10300 2850 50 0000 R CNN
+F 1 "mosfet_n" H 10400 2950 50 0000 R CNN
+F 2 "" H 10600 2700 29 0000 C CNN
+F 3 "" H 10400 2800 60 0000 C CNN
+ 1 10300 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR7
+U 1 1 6856D407
+P 10500 3500
+F 0 "#PWR7" H 10500 3250 50 0001 C CNN
+F 1 "eSim_GND" H 10500 3350 50 0000 C CNN
+F 2 "" H 10500 3500 50 0001 C CNN
+F 3 "" H 10500 3500 50 0001 C CNN
+ 1 10500 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 6856D67F
+P 9600 2550
+F 0 "U1" H 9650 2650 30 0000 C CNN
+F 1 "PORT" H 9600 2550 30 0000 C CNN
+F 2 "" H 9600 2550 60 0000 C CNN
+F 3 "" H 9600 2550 60 0000 C CNN
+ 14 9600 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 15 1 6856D7E3
+P 9550 3200
+F 0 "U1" H 9600 3300 30 0000 C CNN
+F 1 "PORT" H 9550 3200 30 0000 C CNN
+F 2 "" H 9550 3200 60 0000 C CNN
+F 3 "" H 9550 3200 60 0000 C CNN
+ 15 9550 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 6856D9C8
+P 11200 2200
+F 0 "U1" H 11250 2300 30 0000 C CNN
+F 1 "PORT" H 11200 2200 30 0000 C CNN
+F 2 "" H 11200 2200 60 0000 C CNN
+F 3 "" H 11200 2200 60 0000 C CNN
+ 13 11200 2200
+ -1 0 0 -1
+$EndComp
+$Comp
+L mosfet_n M5
+U 1 1 6856DF10
+P 3650 3150
+F 0 "M5" H 3650 3000 50 0000 R CNN
+F 1 "mosfet_n" H 3750 3100 50 0000 R CNN
+F 2 "" H 3950 2850 29 0000 C CNN
+F 3 "" H 3750 2950 60 0000 C CNN
+ 1 3650 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M6
+U 1 1 6856DF16
+P 3700 2800
+F 0 "M6" H 3650 2850 50 0000 R CNN
+F 1 "mosfet_p" H 3750 2950 50 0000 R CNN
+F 2 "" H 3950 2900 29 0000 C CNN
+F 3 "" H 3750 2800 60 0000 C CNN
+ 1 3700 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR3
+U 1 1 6856DF1C
+P 3850 3650
+F 0 "#PWR3" H 3850 3400 50 0001 C CNN
+F 1 "eSim_GND" H 3850 3500 50 0000 C CNN
+F 2 "" H 3850 3650 50 0001 C CNN
+F 3 "" H 3850 3650 50 0001 C CNN
+ 1 3850 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6856DF22
+P 3150 3050
+F 0 "U1" H 3200 3150 30 0000 C CNN
+F 1 "PORT" H 3150 3050 30 0000 C CNN
+F 2 "" H 3150 3050 60 0000 C CNN
+F 3 "" H 3150 3050 60 0000 C CNN
+ 10 3150 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 6856DF28
+P 4250 3100
+F 0 "U1" H 4300 3200 30 0000 C CNN
+F 1 "PORT" H 4250 3100 30 0000 C CNN
+F 2 "" H 4250 3100 60 0000 C CNN
+F 3 "" H 4250 3100 60 0000 C CNN
+ 9 4250 3100
+ -1 0 0 1
+$EndComp
+$Comp
+L mosfet_n M3
+U 1 1 6856E007
+P 2250 3100
+F 0 "M3" H 2250 2950 50 0000 R CNN
+F 1 "mosfet_n" H 2350 3050 50 0000 R CNN
+F 2 "" H 2550 2800 29 0000 C CNN
+F 3 "" H 2350 2900 60 0000 C CNN
+ 1 2250 3100
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M4
+U 1 1 6856E00D
+P 2300 2750
+F 0 "M4" H 2250 2800 50 0000 R CNN
+F 1 "mosfet_p" H 2350 2900 50 0000 R CNN
+F 2 "" H 2550 2850 29 0000 C CNN
+F 3 "" H 2350 2750 60 0000 C CNN
+ 1 2300 2750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR2
+U 1 1 6856E013
+P 2450 3600
+F 0 "#PWR2" H 2450 3350 50 0001 C CNN
+F 1 "eSim_GND" H 2450 3450 50 0000 C CNN
+F 2 "" H 2450 3600 50 0001 C CNN
+F 3 "" H 2450 3600 50 0001 C CNN
+ 1 2450 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6856E019
+P 1750 3000
+F 0 "U1" H 1800 3100 30 0000 C CNN
+F 1 "PORT" H 1750 3000 30 0000 C CNN
+F 2 "" H 1750 3000 60 0000 C CNN
+F 3 "" H 1750 3000 60 0000 C CNN
+ 4 1750 3000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6856E01F
+P 2850 3050
+F 0 "U1" H 2900 3150 30 0000 C CNN
+F 1 "PORT" H 2850 3050 30 0000 C CNN
+F 2 "" H 2850 3050 60 0000 C CNN
+F 3 "" H 2850 3050 60 0000 C CNN
+ 3 2850 3050
+ -1 0 0 1
+$EndComp
+$Comp
+L mosfet_n M1
+U 1 1 6856E165
+P 650 3150
+F 0 "M1" H 650 3000 50 0000 R CNN
+F 1 "mosfet_n" H 750 3100 50 0000 R CNN
+F 2 "" H 950 2850 29 0000 C CNN
+F 3 "" H 750 2950 60 0000 C CNN
+ 1 650 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L mosfet_p M2
+U 1 1 6856E16B
+P 700 2800
+F 0 "M2" H 650 2850 50 0000 R CNN
+F 1 "mosfet_p" H 750 2950 50 0000 R CNN
+F 2 "" H 950 2900 29 0000 C CNN
+F 3 "" H 750 2800 60 0000 C CNN
+ 1 700 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR1
+U 1 1 6856E171
+P 850 3650
+F 0 "#PWR1" H 850 3400 50 0001 C CNN
+F 1 "eSim_GND" H 850 3500 50 0000 C CNN
+F 2 "" H 850 3650 50 0001 C CNN
+F 3 "" H 850 3650 50 0001 C CNN
+ 1 850 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6856E177
+P 150 3050
+F 0 "U1" H 200 3150 30 0000 C CNN
+F 1 "PORT" H 150 3050 30 0000 C CNN
+F 2 "" H 150 3050 60 0000 C CNN
+F 3 "" H 150 3050 60 0000 C CNN
+ 2 150 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 6856E17D
+P 1250 3100
+F 0 "U1" H 1300 3200 30 0000 C CNN
+F 1 "PORT" H 1250 3100 30 0000 C CNN
+F 2 "" H 1250 3100 60 0000 C CNN
+F 3 "" H 1250 3100 60 0000 C CNN
+ 1 1250 3100
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 5000 2800 5000 3350
+Wire Wire Line
+ 5400 2950 5500 2950
+Wire Wire Line
+ 5500 2950 5500 2600
+Wire Wire Line
+ 5500 2600 5300 2600
+Wire Wire Line
+ 5400 3500 5400 3550
+Wire Wire Line
+ 5400 3550 5300 3550
+Wire Wire Line
+ 5300 3000 5300 3150
+Wire Wire Line
+ 5300 3550 5300 3650
+Wire Wire Line
+ 4850 3050 5000 3050
+Connection ~ 5000 3050
+Wire Wire Line
+ 5450 3100 5300 3100
+Connection ~ 5300 3100
+Wire Wire Line
+ 5450 2450 5450 2600
+Connection ~ 5450 2600
+Wire Wire Line
+ 8100 2150 8250 2150
+Wire Wire Line
+ 8250 1800 8250 2700
+Wire Wire Line
+ 8250 1800 8000 1800
+Wire Wire Line
+ 8250 2700 8100 2700
+Connection ~ 8250 2150
+Wire Wire Line
+ 8000 2200 8000 2350
+Wire Wire Line
+ 7000 1950 7700 1950
+Wire Wire Line
+ 7700 1950 7700 2000
+Wire Wire Line
+ 7050 2550 7700 2550
+Wire Wire Line
+ 7650 2550 7650 2850
+Wire Wire Line
+ 7650 2850 8000 2850
+Wire Wire Line
+ 8000 2850 8000 3150
+Connection ~ 7650 2550
+Wire Wire Line
+ 7100 1950 7100 3150
+Wire Wire Line
+ 7100 3150 7350 3150
+Connection ~ 7100 1950
+Wire Wire Line
+ 8400 3350 8400 3300
+Wire Wire Line
+ 7650 3350 8400 3350
+Wire Wire Line
+ 7750 3300 7750 3350
+Connection ~ 8300 3350
+Connection ~ 7750 3350
+Wire Wire Line
+ 8000 2750 8300 2750
+Wire Wire Line
+ 8300 2750 8300 2950
+Wire Wire Line
+ 8300 2950 7650 2950
+Wire Wire Line
+ 8000 3450 8000 3350
+Connection ~ 8000 3350
+Wire Wire Line
+ 8400 2850 8300 2850
+Connection ~ 8300 2850
+Wire Wire Line
+ 5350 2500 6250 2500
+Wire Wire Line
+ 6250 2500 6250 1400
+Wire Wire Line
+ 6250 1400 10300 1400
+Wire Wire Line
+ 8100 1400 8100 1800
+Connection ~ 8100 1800
+Connection ~ 5450 2500
+Wire Wire Line
+ 10300 2050 10200 2050
+Wire Wire Line
+ 10300 1400 10300 2050
+Wire Wire Line
+ 10300 1700 10100 1700
+Wire Wire Line
+ 11100 2050 11000 2050
+Wire Wire Line
+ 11100 1600 11100 2050
+Wire Wire Line
+ 11100 1700 10900 1700
+Wire Wire Line
+ 10900 2100 10900 2350
+Wire Wire Line
+ 10900 2350 10500 2350
+Wire Wire Line
+ 10100 2100 10900 2100
+Wire Wire Line
+ 10500 2750 10500 3000
+Wire Wire Line
+ 10600 3350 10600 3450
+Wire Wire Line
+ 10600 2700 10600 3150
+Wire Wire Line
+ 10600 3150 10700 3150
+Wire Wire Line
+ 10700 3150 10700 3450
+Connection ~ 10500 3450
+Wire Wire Line
+ 10600 1900 10350 1900
+Wire Wire Line
+ 10350 1900 10350 2350
+Wire Wire Line
+ 10350 2350 10200 2350
+Wire Wire Line
+ 10200 2350 10200 2550
+Wire Wire Line
+ 10200 2550 9850 2550
+Wire Wire Line
+ 9800 3200 10200 3200
+Wire Wire Line
+ 9800 1900 9800 2400
+Wire Wire Line
+ 9800 2400 9950 2400
+Wire Wire Line
+ 9950 2400 9950 3200
+Connection ~ 9950 3200
+Wire Wire Line
+ 10950 2200 10900 2200
+Connection ~ 10900 2200
+Connection ~ 10300 1700
+Connection ~ 8100 1400
+Wire Wire Line
+ 11100 1600 10300 1600
+Connection ~ 10300 1600
+Connection ~ 11100 1700
+Wire Wire Line
+ 3550 2800 3550 3350
+Wire Wire Line
+ 3950 2950 4050 2950
+Wire Wire Line
+ 4050 2950 4050 2600
+Wire Wire Line
+ 4050 2600 3850 2600
+Wire Wire Line
+ 3950 3500 3950 3550
+Wire Wire Line
+ 3950 3550 3850 3550
+Wire Wire Line
+ 3850 3000 3850 3150
+Wire Wire Line
+ 3850 3550 3850 3650
+Wire Wire Line
+ 3400 3050 3550 3050
+Connection ~ 3550 3050
+Wire Wire Line
+ 4000 3100 3850 3100
+Connection ~ 3850 3100
+Wire Wire Line
+ 4000 2400 4000 2600
+Connection ~ 4000 2600
+Wire Wire Line
+ 2150 2750 2150 3300
+Wire Wire Line
+ 2550 2900 2650 2900
+Wire Wire Line
+ 2650 2900 2650 2550
+Wire Wire Line
+ 2650 2550 2450 2550
+Wire Wire Line
+ 2550 3450 2550 3500
+Wire Wire Line
+ 2550 3500 2450 3500
+Wire Wire Line
+ 2450 2950 2450 3100
+Wire Wire Line
+ 2450 3500 2450 3600
+Wire Wire Line
+ 2000 3000 2150 3000
+Connection ~ 2150 3000
+Wire Wire Line
+ 2600 3050 2450 3050
+Connection ~ 2450 3050
+Wire Wire Line
+ 2600 2400 2600 2550
+Connection ~ 2600 2550
+Wire Wire Line
+ 550 2800 550 3350
+Wire Wire Line
+ 950 2950 1050 2950
+Wire Wire Line
+ 1050 2950 1050 2600
+Wire Wire Line
+ 1050 2600 850 2600
+Wire Wire Line
+ 950 3500 950 3550
+Wire Wire Line
+ 950 3550 850 3550
+Wire Wire Line
+ 850 3000 850 3150
+Wire Wire Line
+ 850 3550 850 3650
+Wire Wire Line
+ 400 3050 550 3050
+Connection ~ 550 3050
+Wire Wire Line
+ 1000 3100 850 3100
+Connection ~ 850 3100
+Wire Wire Line
+ 1000 2400 1000 2600
+Connection ~ 1000 2600
+Wire Wire Line
+ 1000 2400 5350 2400
+Connection ~ 2600 2400
+Wire Wire Line
+ 5350 2400 5350 2500
+Connection ~ 4000 2400
+Wire Wire Line
+ 10500 3400 10500 3500
+Wire Wire Line
+ 10700 3450 10500 3450
+Connection ~ 10600 3450
+$Comp
+L PORT U1
+U 8 1 6856C552
+P 6900 5000
+F 0 "U1" H 6950 5100 30 0000 C CNN
+F 1 "PORT" H 6900 5000 30 0000 C CNN
+F 2 "" H 6900 5000 60 0000 C CNN
+F 3 "" H 6900 5000 60 0000 C CNN
+ 8 6900 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR5
+U 1 1 6856C688
+P 7750 5050
+F 0 "#PWR5" H 7750 4800 50 0001 C CNN
+F 1 "eSim_GND" H 7750 4900 50 0000 C CNN
+F 2 "" H 7750 5050 50 0001 C CNN
+F 3 "" H 7750 5050 50 0001 C CNN
+ 1 7750 5050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7150 5000 7750 5000
+Wire Wire Line
+ 7750 5000 7750 5050
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/MC14572/MC14572.sub b/library/SubcircuitLibrary/MC14572/MC14572.sub
new file mode 100644
index 000000000..7d5104686
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572.sub
@@ -0,0 +1,24 @@
+* Subcircuit MC14572
+.subckt MC14572 net-_m1-pad1_ net-_m1-pad2_ net-_m3-pad1_ net-_m3-pad2_ net-_m11-pad3_ net-_m10-pad2_ net-_m11-pad2_ gnd net-_m5-pad1_ net-_m5-pad2_ net-_m7-pad1_ net-_m7-pad2_ net-_m13-pad3_ net-_m14-pad2_ net-_m13-pad2_ net-_m10-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\mc14572\mc14572.cir
+.include NMOS-180nm.lib
+.include PMOS-180nm.lib
+m7 net-_m7-pad1_ net-_m7-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m8 net-_m10-pad1_ net-_m7-pad2_ net-_m7-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m10 net-_m10-pad1_ net-_m10-pad2_ net-_m10-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m11 net-_m10-pad3_ net-_m11-pad2_ net-_m11-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m9 net-_m11-pad3_ net-_m10-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m12 net-_m11-pad3_ net-_m11-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m13 net-_m10-pad1_ net-_m13-pad2_ net-_m13-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m16 net-_m10-pad1_ net-_m14-pad2_ net-_m13-pad3_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m14 net-_m13-pad3_ net-_m14-pad2_ net-_m14-pad3_ gnd CMOSN W=100u L=100u M=1
+m15 net-_m14-pad3_ net-_m13-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m6 net-_m10-pad1_ net-_m5-pad2_ net-_m5-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_m3-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m4 net-_m10-pad1_ net-_m3-pad2_ net-_m3-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+m1 net-_m1-pad1_ net-_m1-pad2_ gnd gnd CMOSN W=100u L=100u M=1
+m2 net-_m10-pad1_ net-_m1-pad2_ net-_m1-pad1_ net-_m10-pad1_ CMOSP W=100u L=100u M=1
+* Control Statements
+
+.ends MC14572
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC14572/MC14572_Previous_Values.xml b/library/SubcircuitLibrary/MC14572/MC14572_Previous_Values.xml
new file mode 100644
index 000000000..e43ea9cf2
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/MC14572_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-180nm.libC:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-180nm.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/MC14572/NMOS-180nm.lib b/library/SubcircuitLibrary/MC14572/NMOS-180nm.lib
new file mode 100644
index 000000000..51e9b1196
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/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/MC14572/PMOS-180nm.lib b/library/SubcircuitLibrary/MC14572/PMOS-180nm.lib
new file mode 100644
index 000000000..032b5b95e
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/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/MC14572/analysis b/library/SubcircuitLibrary/MC14572/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/MC14572/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/NE5517/D.lib b/library/SubcircuitLibrary/NE5517/D.lib
new file mode 100644
index 000000000..f53bf3e03
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/D.lib
@@ -0,0 +1,2 @@
+.model 1N4148 D(is=2.495E-09 rs=4.755E-01 n=1.679E+00 tt=3.030E-09 cjo=1.700E-12 vj=1 m=1.959E-01 bv=1.000E+02 ibv=1.000E-04)
+
diff --git a/library/SubcircuitLibrary/NE5517/NE5517-cache.lib b/library/SubcircuitLibrary/NE5517/NE5517-cache.lib
new file mode 100644
index 000000000..6184ddb38
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517-cache.lib
@@ -0,0 +1,126 @@
+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_Diode
+#
+DEF eSim_Diode D 0 40 N N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "eSim_Diode" 0 -100 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+$FPLIST
+ TO-???*
+ *SingleDiode
+ *_Diode_*
+ *SingleDiode*
+ D_*
+$ENDFPLIST
+DRAW
+T 0 -100 50 60 0 0 0 A Normal 0 C C
+T 0 100 50 60 0 0 0 K Normal 0 C C
+P 2 0 1 6 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+X A 1 -150 0 100 R 40 40 1 1 P
+X K 2 150 0 100 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_NPN
+#
+DEF eSim_NPN Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_NPN" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS BC547 Q2N2222
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_PNP
+#
+DEF eSim_PNP Q 0 0 Y N 1 F N
+F0 "Q" -100 50 50 H V R CNN
+F1 "eSim_PNP" -50 150 50 H V R CNN
+F2 "" 200 100 29 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 50 0 111 0 1 10 N
+P 2 0 1 0 25 25 100 100 N
+P 3 0 1 0 25 -25 100 -100 100 -100 N
+P 3 0 1 20 25 75 25 -75 25 -75 N
+P 5 0 1 0 90 -70 70 -90 50 -50 90 -70 90 -70 F
+X C 1 100 200 100 D 50 50 1 1 P
+X B 2 -200 0 225 R 50 50 1 1 P
+X E 3 100 -200 100 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_R
+#
+DEF eSim_R R 0 0 N Y 1 F N
+F0 "R" 50 130 50 H V C CNN
+F1 "eSim_R" 50 -50 50 H V C CNN
+F2 "" 50 -20 30 H V C CNN
+F3 "" 50 50 30 V V C CNN
+ALIAS resistor
+$FPLIST
+ R_*
+ Resistor_*
+$ENDFPLIST
+DRAW
+S 150 10 -50 90 0 1 10 N
+X ~ 1 -100 50 50 R 60 60 1 1 P
+X ~ 2 200 50 50 L 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.bak b/library/SubcircuitLibrary/NE5517/NE5517.bak
new file mode 100644
index 000000000..d5095a1d6
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.bak
@@ -0,0 +1,1191 @@
+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:NE5517_My-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_PNP Q3
+U 1 1 6853D8BF
+P 4350 3150
+F 0 "Q3" H 4250 3200 50 0000 R CNN
+F 1 "eSim_PNP" H 4300 3300 50 0000 R CNN
+F 2 "" H 4550 3250 29 0000 C CNN
+F 3 "" H 4350 3150 60 0000 C CNN
+ 1 4350 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 6853D8FC
+P 4650 3550
+F 0 "Q5" H 4550 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 3700 50 0000 R CNN
+F 2 "" H 4850 3650 29 0000 C CNN
+F 3 "" H 4650 3550 60 0000 C CNN
+ 1 4650 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 6853D93D
+P 4750 2900
+F 0 "D2" H 4750 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 4750 2800 50 0000 C CNN
+F 2 "" H 4750 2900 60 0000 C CNN
+F 3 "" H 4750 2900 60 0000 C CNN
+ 1 4750 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 6853D9E3
+P 4150 4650
+F 0 "Q2" H 4050 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 4800 50 0000 R CNN
+F 2 "" H 4350 4750 29 0000 C CNN
+F 3 "" H 4150 4650 60 0000 C CNN
+ 1 4150 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 6853D9FC
+P 4850 4650
+F 0 "Q6" H 4750 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 4800 50 0000 R CNN
+F 2 "" H 5050 4750 29 0000 C CNN
+F 3 "" H 4850 4650 60 0000 C CNN
+ 1 4850 4650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 6853DAFE
+P 4450 5300
+F 0 "Q4" H 4350 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 4400 5450 50 0000 R CNN
+F 2 "" H 4650 5400 29 0000 C CNN
+F 3 "" H 4450 5300 60 0000 C CNN
+ 1 4450 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6853DB38
+P 4050 5600
+F 0 "Q1" H 3950 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 4000 5750 50 0000 R CNN
+F 2 "" H 4250 5700 29 0000 C CNN
+F 3 "" H 4050 5600 60 0000 C CNN
+ 1 4050 5600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 6853DBD3
+P 4550 5850
+F 0 "D1" H 4550 5950 50 0000 C CNN
+F 1 "eSim_Diode" H 4550 5750 50 0000 C CNN
+F 2 "" H 4550 5850 60 0000 C CNN
+F 3 "" H 4550 5850 60 0000 C CNN
+ 1 4550 5850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 6853DDBE
+P 6250 3150
+F 0 "Q7" H 6150 3200 50 0000 R CNN
+F 1 "eSim_PNP" H 6200 3300 50 0000 R CNN
+F 2 "" H 6450 3250 29 0000 C CNN
+F 3 "" H 6250 3150 60 0000 C CNN
+ 1 6250 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 6853DDC4
+P 6550 3550
+F 0 "Q9" H 6450 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 6500 3700 50 0000 R CNN
+F 2 "" H 6750 3650 29 0000 C CNN
+F 3 "" H 6550 3550 60 0000 C CNN
+ 1 6550 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 6853DDCE
+P 6650 2900
+F 0 "D3" H 6650 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 6650 2800 50 0000 C CNN
+F 2 "" H 6650 2900 60 0000 C CNN
+F 3 "" H 6650 2900 60 0000 C CNN
+ 1 6650 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6853DF83
+P 6650 5150
+F 0 "Q10" H 6550 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 6600 5300 50 0000 R CNN
+F 2 "" H 6850 5250 29 0000 C CNN
+F 3 "" H 6650 5150 60 0000 C CNN
+ 1 6650 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 6853DF89
+P 6250 5450
+F 0 "Q8" H 6150 5500 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 5600 50 0000 R CNN
+F 2 "" H 6450 5550 29 0000 C CNN
+F 3 "" H 6250 5450 60 0000 C CNN
+ 1 6250 5450
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 6853DF93
+P 6750 5700
+F 0 "D4" H 6750 5800 50 0000 C CNN
+F 1 "eSim_Diode" H 6750 5600 50 0000 C CNN
+F 2 "" H 6750 5700 60 0000 C CNN
+F 3 "" H 6750 5700 60 0000 C CNN
+ 1 6750 5700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q11
+U 1 1 6853E497
+P 7900 3100
+F 0 "Q11" H 7800 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 7850 3250 50 0000 R CNN
+F 2 "" H 8100 3200 29 0000 C CNN
+F 3 "" H 7900 3100 60 0000 C CNN
+ 1 7900 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 6853E536
+P 8300 3100
+F 0 "Q13" H 8200 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 8250 3250 50 0000 R CNN
+F 2 "" H 8500 3200 29 0000 C CNN
+F 3 "" H 8300 3100 60 0000 C CNN
+ 1 8300 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 6853E9E9
+P 7900 5150
+F 0 "Q12" H 7800 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 7850 5300 50 0000 R CNN
+F 2 "" H 8100 5250 29 0000 C CNN
+F 3 "" H 7900 5150 60 0000 C CNN
+ 1 7900 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 6853E9EF
+P 8600 5150
+F 0 "Q14" H 8500 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 5300 50 0000 R CNN
+F 2 "" H 8800 5250 29 0000 C CNN
+F 3 "" H 8600 5150 60 0000 C CNN
+ 1 8600 5150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 6853ED9F
+P 8250 5650
+F 0 "R6" H 8300 5780 50 0000 C CNN
+F 1 "1k" H 8300 5600 50 0000 C CNN
+F 2 "" H 8300 5630 30 0000 C CNN
+F 3 "" V 8300 5700 30 0000 C CNN
+ 1 8250 5650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 6853F179
+P 8800 5400
+F 0 "D5" H 8800 5500 50 0000 C CNN
+F 1 "eSim_Diode" H 8800 5300 50 0000 C CNN
+F 2 "" H 8800 5400 60 0000 C CNN
+F 3 "" H 8800 5400 60 0000 C CNN
+ 1 8800 5400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 6853F277
+P 8800 5800
+F 0 "D6" H 8800 5900 50 0000 C CNN
+F 1 "eSim_Diode" H 8800 5700 50 0000 C CNN
+F 2 "" H 8800 5800 60 0000 C CNN
+F 3 "" H 8800 5800 60 0000 C CNN
+ 1 8800 5800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 6853F52C
+P 9700 5300
+F 0 "Q16" H 9600 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 9650 5450 50 0000 R CNN
+F 2 "" H 9900 5400 29 0000 C CNN
+F 3 "" H 9700 5300 60 0000 C CNN
+ 1 9700 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6853F73D
+P 9450 3200
+F 0 "Q15" H 9350 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 9400 3350 50 0000 R CNN
+F 2 "" H 9650 3300 29 0000 C CNN
+F 3 "" H 9450 3200 60 0000 C CNN
+ 1 9450 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 6853F7D6
+P 10000 3450
+F 0 "Q17" H 9900 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 9950 3600 50 0000 R CNN
+F 2 "" H 10200 3550 29 0000 C CNN
+F 3 "" H 10000 3450 60 0000 C CNN
+ 1 10000 3450
+ 1 0 0 -1
+$EndComp
+Connection ~ 3400 2750
+Connection ~ 10100 3700
+Connection ~ 10100 2750
+Connection ~ 9800 6000
+Wire Wire Line
+ 10100 3800 10100 3650
+Connection ~ 3750 4650
+Wire Wire Line
+ 2400 5000 5300 5000
+Connection ~ 9650 3450
+Wire Wire Line
+ 9650 5100 9800 5100
+Wire Wire Line
+ 9650 3450 9650 5100
+Wire Wire Line
+ 9550 3450 9800 3450
+Wire Wire Line
+ 9550 3400 9550 3450
+Connection ~ 9550 2750
+Wire Wire Line
+ 10100 2750 10100 3250
+Connection ~ 8200 2750
+Wire Wire Line
+ 9550 2750 9550 3000
+Connection ~ 8800 5600
+Wire Wire Line
+ 9500 5600 9500 5300
+Wire Wire Line
+ 8800 5600 9500 5600
+Connection ~ 8800 6000
+Wire Wire Line
+ 9800 6000 9800 5500
+Connection ~ 8300 6000
+Wire Wire Line
+ 8800 6000 8800 5950
+Wire Wire Line
+ 8800 5550 8800 5650
+Connection ~ 8800 5150
+Wire Wire Line
+ 8800 3300 8800 5250
+Wire Wire Line
+ 8400 3300 8800 3300
+Connection ~ 8000 3600
+Connection ~ 8150 4950
+Wire Wire Line
+ 8150 4850 8150 4950
+Wire Wire Line
+ 8000 4850 8150 4850
+Connection ~ 6150 6000
+Wire Wire Line
+ 8300 6000 8300 5850
+Connection ~ 8300 5350
+Wire Wire Line
+ 8300 5550 8300 5350
+Wire Wire Line
+ 5050 4850 5050 5600
+Wire Wire Line
+ 7700 4850 5050 4850
+Wire Wire Line
+ 7700 5150 7700 4850
+Wire Wire Line
+ 8000 5350 8500 5350
+Wire Wire Line
+ 8000 4950 8500 4950
+Connection ~ 7700 3100
+Wire Wire Line
+ 8000 3300 8000 4850
+Wire Wire Line
+ 7300 3600 8000 3600
+Wire Wire Line
+ 7300 3100 7300 3600
+Connection ~ 8200 2900
+Connection ~ 6650 2750
+Wire Wire Line
+ 8200 2750 8200 2900
+Connection ~ 6150 2750
+Connection ~ 4750 2750
+Wire Wire Line
+ 8000 2900 8400 2900
+Wire Wire Line
+ 7300 3100 8100 3100
+Connection ~ 6750 4450
+Wire Wire Line
+ 6750 3750 6650 3750
+Wire Wire Line
+ 6750 4950 6750 3750
+Wire Wire Line
+ 5650 3750 5650 5150
+Wire Wire Line
+ 4750 3750 5650 3750
+Connection ~ 4550 6000
+Wire Wire Line
+ 6150 5850 6750 5850
+Wire Wire Line
+ 5650 5150 6450 5150
+Connection ~ 6150 5150
+Connection ~ 6150 5850
+Wire Wire Line
+ 6150 5650 6150 6000
+Connection ~ 6750 5450
+Wire Wire Line
+ 6750 5350 6750 5550
+Wire Wire Line
+ 6450 5450 6750 5450
+Wire Wire Line
+ 6150 5250 6150 5150
+Wire Wire Line
+ 4750 4150 6150 4150
+Wire Wire Line
+ 4750 4450 4750 4150
+Wire Wire Line
+ 6150 4150 6150 3350
+Connection ~ 6150 3550
+Wire Wire Line
+ 6150 2750 6150 2950
+Connection ~ 6650 3150
+Wire Wire Line
+ 6150 3550 6350 3550
+Wire Wire Line
+ 6650 3050 6650 3350
+Wire Wire Line
+ 6450 3150 6650 3150
+Connection ~ 4250 2750
+Wire Wire Line
+ 5300 5000 5300 4550
+Wire Wire Line
+ 5050 4650 5300 4650
+Wire Wire Line
+ 2900 4650 3950 4650
+Connection ~ 3950 5300
+Connection ~ 3950 6000
+Wire Wire Line
+ 3050 6000 3050 5950
+Wire Wire Line
+ 3050 6000 12400 6000
+Wire Wire Line
+ 3950 5800 3950 6000
+Connection ~ 4550 5600
+Wire Wire Line
+ 4550 5500 4550 5700
+Wire Wire Line
+ 5050 5600 4250 5600
+Wire Wire Line
+ 2950 5300 4250 5300
+Wire Wire Line
+ 3950 5400 3950 5300
+Connection ~ 4550 4850
+Wire Wire Line
+ 4550 5100 4550 4850
+Wire Wire Line
+ 4250 4850 4750 4850
+Connection ~ 4250 3550
+Wire Wire Line
+ 4250 2750 4250 2950
+Wire Wire Line
+ 3300 2750 12500 2750
+Connection ~ 4750 3150
+Wire Wire Line
+ 4250 3550 4450 3550
+Wire Wire Line
+ 4250 3350 4250 4450
+Wire Wire Line
+ 4750 3050 4750 3350
+Wire Wire Line
+ 4550 3150 4750 3150
+$Comp
+L eSim_Diode D7
+U 1 1 6854325C
+P 3750 4300
+F 0 "D7" H 3750 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 4200 50 0000 C CNN
+F 2 "" H 3750 4300 60 0000 C CNN
+F 3 "" H 3750 4300 60 0000 C CNN
+ 1 3750 4300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 685432DD
+P 5300 4400
+F 0 "D8" H 5300 4500 50 0000 C CNN
+F 1 "eSim_Diode" H 5300 4300 50 0000 C CNN
+F 2 "" H 5300 4400 60 0000 C CNN
+F 3 "" H 5300 4400 60 0000 C CNN
+ 1 5300 4400
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3750 4450 3750 4650
+Connection ~ 5300 4650
+Wire Wire Line
+ 5300 4250 3900 4250
+Wire Wire Line
+ 3900 4250 3900 4150
+Wire Wire Line
+ 3900 4150 2900 4150
+Connection ~ 3750 4150
+$Comp
+L PORT U1
+U 11 1 6854387D
+P 2850 2700
+F 0 "U1" H 2900 2800 30 0000 C CNN
+F 1 "PORT" H 2850 2700 30 0000 C CNN
+F 2 "" H 2850 2700 60 0000 C CNN
+F 3 "" H 2850 2700 60 0000 C CNN
+ 11 2850 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 68543A65
+P 2650 4150
+F 0 "U1" H 2700 4250 30 0000 C CNN
+F 1 "PORT" H 2650 4150 30 0000 C CNN
+F 2 "" H 2650 4150 60 0000 C CNN
+F 3 "" H 2650 4150 60 0000 C CNN
+ 2 2650 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 68543B01
+P 2650 4650
+F 0 "U1" H 2700 4750 30 0000 C CNN
+F 1 "PORT" H 2650 4650 30 0000 C CNN
+F 2 "" H 2650 4650 60 0000 C CNN
+F 3 "" H 2650 4650 60 0000 C CNN
+ 4 2650 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 68543B7A
+P 2150 5000
+F 0 "U1" H 2200 5100 30 0000 C CNN
+F 1 "PORT" H 2150 5000 30 0000 C CNN
+F 2 "" H 2150 5000 60 0000 C CNN
+F 3 "" H 2150 5000 60 0000 C CNN
+ 3 2150 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 68543C5C
+P 2700 5300
+F 0 "U1" H 2750 5400 30 0000 C CNN
+F 1 "PORT" H 2700 5300 30 0000 C CNN
+F 2 "" H 2700 5300 60 0000 C CNN
+F 3 "" H 2700 5300 60 0000 C CNN
+ 1 2700 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68543CE3
+P 2750 5950
+F 0 "U1" H 2800 6050 30 0000 C CNN
+F 1 "PORT" H 2750 5950 30 0000 C CNN
+F 2 "" H 2750 5950 60 0000 C CNN
+F 3 "" H 2750 5950 60 0000 C CNN
+ 6 2750 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68543D65
+P 7050 4450
+F 0 "U1" H 7100 4550 30 0000 C CNN
+F 1 "PORT" H 7050 4450 30 0000 C CNN
+F 2 "" H 7050 4450 60 0000 C CNN
+F 3 "" H 7050 4450 60 0000 C CNN
+ 5 7050 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6854411A
+P 8950 3150
+F 0 "U1" H 9000 3250 30 0000 C CNN
+F 1 "PORT" H 8950 3150 30 0000 C CNN
+F 2 "" H 8950 3150 60 0000 C CNN
+F 3 "" H 8950 3150 60 0000 C CNN
+ 7 8950 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 68544206
+P 10050 4050
+F 0 "U1" H 10100 4150 30 0000 C CNN
+F 1 "PORT" H 10050 4050 30 0000 C CNN
+F 2 "" H 10050 4050 60 0000 C CNN
+F 3 "" H 10050 4050 60 0000 C CNN
+ 8 10050 4050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3100 2700 3300 2700
+Wire Wire Line
+ 3300 2700 3300 2750
+Wire Wire Line
+ 3050 5950 3000 5950
+Wire Wire Line
+ 6800 4450 6750 4450
+Wire Wire Line
+ 10300 4050 10300 3800
+Wire Wire Line
+ 10300 3800 10100 3800
+Wire Wire Line
+ 9200 3150 9250 3150
+Wire Wire Line
+ 9250 3150 9250 3200
+$Comp
+L eSim_PNP Q20
+U 1 1 6854582E
+P 13750 3250
+F 0 "Q20" H 13650 3300 50 0000 R CNN
+F 1 "eSim_PNP" H 13700 3400 50 0000 R CNN
+F 2 "" H 13950 3350 29 0000 C CNN
+F 3 "" H 13750 3250 60 0000 C CNN
+ 1 13750 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 68545834
+P 14050 3650
+F 0 "Q22" H 13950 3700 50 0000 R CNN
+F 1 "eSim_PNP" H 14000 3800 50 0000 R CNN
+F 2 "" H 14250 3750 29 0000 C CNN
+F 3 "" H 14050 3650 60 0000 C CNN
+ 1 14050 3650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 6854583A
+P 14150 3000
+F 0 "D11" H 14150 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 14150 2900 50 0000 C CNN
+F 2 "" H 14150 3000 60 0000 C CNN
+F 3 "" H 14150 3000 60 0000 C CNN
+ 1 14150 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 68545840
+P 13550 4750
+F 0 "Q19" H 13450 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 13500 4900 50 0000 R CNN
+F 2 "" H 13750 4850 29 0000 C CNN
+F 3 "" H 13550 4750 60 0000 C CNN
+ 1 13550 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 68545846
+P 14250 4750
+F 0 "Q23" H 14150 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 14200 4900 50 0000 R CNN
+F 2 "" H 14450 4850 29 0000 C CNN
+F 3 "" H 14250 4750 60 0000 C CNN
+ 1 14250 4750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 6854584C
+P 13850 5400
+F 0 "Q21" H 13750 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 13800 5550 50 0000 R CNN
+F 2 "" H 14050 5500 29 0000 C CNN
+F 3 "" H 13850 5400 60 0000 C CNN
+ 1 13850 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 68545852
+P 13450 5700
+F 0 "Q18" H 13350 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 13400 5850 50 0000 R CNN
+F 2 "" H 13650 5800 29 0000 C CNN
+F 3 "" H 13450 5700 60 0000 C CNN
+ 1 13450 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 68545858
+P 13950 5950
+F 0 "D10" H 13950 6050 50 0000 C CNN
+F 1 "eSim_Diode" H 13950 5850 50 0000 C CNN
+F 2 "" H 13950 5950 60 0000 C CNN
+F 3 "" H 13950 5950 60 0000 C CNN
+ 1 13950 5950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 6854585E
+P 15650 3250
+F 0 "Q24" H 15550 3300 50 0000 R CNN
+F 1 "eSim_PNP" H 15600 3400 50 0000 R CNN
+F 2 "" H 15850 3350 29 0000 C CNN
+F 3 "" H 15650 3250 60 0000 C CNN
+ 1 15650 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 68545864
+P 15950 3650
+F 0 "Q26" H 15850 3700 50 0000 R CNN
+F 1 "eSim_PNP" H 15900 3800 50 0000 R CNN
+F 2 "" H 16150 3750 29 0000 C CNN
+F 3 "" H 15950 3650 60 0000 C CNN
+ 1 15950 3650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D13
+U 1 1 6854586A
+P 16050 3000
+F 0 "D13" H 16050 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 16050 2900 50 0000 C CNN
+F 2 "" H 16050 3000 60 0000 C CNN
+F 3 "" H 16050 3000 60 0000 C CNN
+ 1 16050 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 68545870
+P 16050 5250
+F 0 "Q27" H 15950 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 16000 5400 50 0000 R CNN
+F 2 "" H 16250 5350 29 0000 C CNN
+F 3 "" H 16050 5250 60 0000 C CNN
+ 1 16050 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 68545876
+P 15650 5550
+F 0 "Q25" H 15550 5600 50 0000 R CNN
+F 1 "eSim_NPN" H 15600 5700 50 0000 R CNN
+F 2 "" H 15850 5650 29 0000 C CNN
+F 3 "" H 15650 5550 60 0000 C CNN
+ 1 15650 5550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 6854587C
+P 16150 5800
+F 0 "D14" H 16150 5900 50 0000 C CNN
+F 1 "eSim_Diode" H 16150 5700 50 0000 C CNN
+F 2 "" H 16150 5800 60 0000 C CNN
+F 3 "" H 16150 5800 60 0000 C CNN
+ 1 16150 5800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q28
+U 1 1 68545882
+P 17300 3200
+F 0 "Q28" H 17200 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 17250 3350 50 0000 R CNN
+F 2 "" H 17500 3300 29 0000 C CNN
+F 3 "" H 17300 3200 60 0000 C CNN
+ 1 17300 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q30
+U 1 1 68545888
+P 17700 3200
+F 0 "Q30" H 17600 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 17650 3350 50 0000 R CNN
+F 2 "" H 17900 3300 29 0000 C CNN
+F 3 "" H 17700 3200 60 0000 C CNN
+ 1 17700 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q29
+U 1 1 6854588E
+P 17300 5250
+F 0 "Q29" H 17200 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 17250 5400 50 0000 R CNN
+F 2 "" H 17500 5350 29 0000 C CNN
+F 3 "" H 17300 5250 60 0000 C CNN
+ 1 17300 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 68545894
+P 18000 5250
+F 0 "Q31" H 17900 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 17950 5400 50 0000 R CNN
+F 2 "" H 18200 5350 29 0000 C CNN
+F 3 "" H 18000 5250 60 0000 C CNN
+ 1 18000 5250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 6854589A
+P 17650 5750
+F 0 "R1" H 17700 5880 50 0000 C CNN
+F 1 "1k" H 17700 5700 50 0000 C CNN
+F 2 "" H 17700 5730 30 0000 C CNN
+F 3 "" V 17700 5800 30 0000 C CNN
+ 1 17650 5750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D15
+U 1 1 685458A0
+P 18200 5500
+F 0 "D15" H 18200 5600 50 0000 C CNN
+F 1 "eSim_Diode" H 18200 5400 50 0000 C CNN
+F 2 "" H 18200 5500 60 0000 C CNN
+F 3 "" H 18200 5500 60 0000 C CNN
+ 1 18200 5500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 685458A6
+P 18200 5900
+F 0 "D16" H 18200 6000 50 0000 C CNN
+F 1 "eSim_Diode" H 18200 5800 50 0000 C CNN
+F 2 "" H 18200 5900 60 0000 C CNN
+F 3 "" H 18200 5900 60 0000 C CNN
+ 1 18200 5900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q33
+U 1 1 685458AC
+P 19100 5400
+F 0 "Q33" H 19000 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 19050 5550 50 0000 R CNN
+F 2 "" H 19300 5500 29 0000 C CNN
+F 3 "" H 19100 5400 60 0000 C CNN
+ 1 19100 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 685458B2
+P 18850 3300
+F 0 "Q32" H 18750 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 18800 3450 50 0000 R CNN
+F 2 "" H 19050 3400 29 0000 C CNN
+F 3 "" H 18850 3300 60 0000 C CNN
+ 1 18850 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q34
+U 1 1 685458B8
+P 19400 3550
+F 0 "Q34" H 19300 3600 50 0000 R CNN
+F 1 "eSim_NPN" H 19350 3700 50 0000 R CNN
+F 2 "" H 19600 3650 29 0000 C CNN
+F 3 "" H 19400 3550 60 0000 C CNN
+ 1 19400 3550
+ 1 0 0 -1
+$EndComp
+Connection ~ 12800 2850
+Connection ~ 19500 3800
+Connection ~ 19500 2850
+Connection ~ 19200 6100
+Wire Wire Line
+ 19500 3900 19500 3750
+Connection ~ 13150 4750
+Wire Wire Line
+ 11800 5100 14700 5100
+Connection ~ 19050 3550
+Wire Wire Line
+ 19050 5200 19200 5200
+Wire Wire Line
+ 19050 3550 19050 5200
+Wire Wire Line
+ 18950 3550 19200 3550
+Wire Wire Line
+ 18950 3500 18950 3550
+Connection ~ 18950 2850
+Wire Wire Line
+ 19500 2850 19500 3350
+Connection ~ 17600 2850
+Wire Wire Line
+ 18950 2850 18950 3100
+Connection ~ 18200 5700
+Wire Wire Line
+ 18900 5700 18900 5400
+Wire Wire Line
+ 18200 5700 18900 5700
+Connection ~ 18200 6100
+Wire Wire Line
+ 19200 6100 19200 5600
+Connection ~ 17700 6100
+Wire Wire Line
+ 18200 6100 18200 6050
+Wire Wire Line
+ 18200 5650 18200 5750
+Connection ~ 18200 5250
+Wire Wire Line
+ 18200 3400 18200 5350
+Wire Wire Line
+ 17800 3400 18200 3400
+Connection ~ 17400 3700
+Connection ~ 17550 5050
+Wire Wire Line
+ 17550 4950 17550 5050
+Wire Wire Line
+ 17400 4950 17550 4950
+Connection ~ 15550 6100
+Wire Wire Line
+ 17700 6100 17700 5950
+Connection ~ 17700 5450
+Wire Wire Line
+ 17700 5650 17700 5450
+Wire Wire Line
+ 14450 4950 14450 5700
+Wire Wire Line
+ 17100 4950 14450 4950
+Wire Wire Line
+ 17100 5250 17100 4950
+Wire Wire Line
+ 17400 5450 17900 5450
+Wire Wire Line
+ 17400 5050 17900 5050
+Connection ~ 17100 3200
+Wire Wire Line
+ 17400 3400 17400 4950
+Wire Wire Line
+ 16700 3700 17400 3700
+Wire Wire Line
+ 16700 3200 16700 3700
+Connection ~ 17600 3000
+Connection ~ 16050 2850
+Wire Wire Line
+ 17600 2850 17600 3000
+Connection ~ 15550 2850
+Connection ~ 14150 2850
+Wire Wire Line
+ 17400 3000 17800 3000
+Wire Wire Line
+ 16700 3200 17500 3200
+Connection ~ 16150 4550
+Wire Wire Line
+ 16150 3850 16050 3850
+Wire Wire Line
+ 16150 5050 16150 3850
+Wire Wire Line
+ 15050 3850 15050 5250
+Wire Wire Line
+ 14150 3850 15050 3850
+Connection ~ 13950 6100
+Wire Wire Line
+ 15550 5950 16150 5950
+Wire Wire Line
+ 15050 5250 15850 5250
+Connection ~ 15550 5250
+Connection ~ 15550 5950
+Wire Wire Line
+ 15550 5750 15550 6100
+Connection ~ 16150 5550
+Wire Wire Line
+ 16150 5450 16150 5650
+Wire Wire Line
+ 15850 5550 16150 5550
+Wire Wire Line
+ 15550 5350 15550 5250
+Wire Wire Line
+ 14150 4250 15550 4250
+Wire Wire Line
+ 14150 4550 14150 4250
+Wire Wire Line
+ 15550 4250 15550 3450
+Connection ~ 15550 3650
+Wire Wire Line
+ 15550 2850 15550 3050
+Connection ~ 16050 3250
+Wire Wire Line
+ 15550 3650 15750 3650
+Wire Wire Line
+ 16050 3150 16050 3450
+Wire Wire Line
+ 15850 3250 16050 3250
+Connection ~ 13650 2850
+Wire Wire Line
+ 14700 5100 14700 4650
+Wire Wire Line
+ 14450 4750 14700 4750
+Wire Wire Line
+ 12300 4750 13350 4750
+Connection ~ 13350 5400
+Connection ~ 13350 6100
+Wire Wire Line
+ 12450 6100 12450 6050
+Wire Wire Line
+ 12450 6100 19500 6100
+Wire Wire Line
+ 13350 5900 13350 6100
+Connection ~ 13950 5700
+Wire Wire Line
+ 13950 5600 13950 5800
+Wire Wire Line
+ 14450 5700 13650 5700
+Wire Wire Line
+ 12350 5400 13650 5400
+Wire Wire Line
+ 13350 5500 13350 5400
+Connection ~ 13950 4950
+Wire Wire Line
+ 13950 5200 13950 4950
+Wire Wire Line
+ 13650 4950 14150 4950
+Connection ~ 13650 3650
+Wire Wire Line
+ 13650 2850 13650 3050
+Wire Wire Line
+ 12700 2850 19700 2850
+Connection ~ 14150 3250
+Wire Wire Line
+ 13650 3650 13850 3650
+Wire Wire Line
+ 13650 3450 13650 4550
+Wire Wire Line
+ 14150 3150 14150 3450
+Wire Wire Line
+ 13950 3250 14150 3250
+$Comp
+L eSim_Diode D9
+U 1 1 68545922
+P 13150 4400
+F 0 "D9" H 13150 4500 50 0000 C CNN
+F 1 "eSim_Diode" H 13150 4300 50 0000 C CNN
+F 2 "" H 13150 4400 60 0000 C CNN
+F 3 "" H 13150 4400 60 0000 C CNN
+ 1 13150 4400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 68545928
+P 14700 4500
+F 0 "D12" H 14700 4600 50 0000 C CNN
+F 1 "eSim_Diode" H 14700 4400 50 0000 C CNN
+F 2 "" H 14700 4500 60 0000 C CNN
+F 3 "" H 14700 4500 60 0000 C CNN
+ 1 14700 4500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 13150 4550 13150 4750
+Connection ~ 14700 4750
+Wire Wire Line
+ 14700 4350 13300 4350
+Wire Wire Line
+ 13300 4350 13300 4250
+Wire Wire Line
+ 13300 4250 12300 4250
+Connection ~ 13150 4250
+$Comp
+L PORT U1
+U 11 1 6854593A
+P 12050 4250
+F 0 "U1" H 12100 4350 30 0000 C CNN
+F 1 "PORT" H 12050 4250 30 0000 C CNN
+F 2 "" H 12050 4250 60 0000 C CNN
+F 3 "" H 12050 4250 60 0000 C CNN
+ 11 12050 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 68545940
+P 12050 4750
+F 0 "U1" H 12100 4850 30 0000 C CNN
+F 1 "PORT" H 12050 4750 30 0000 C CNN
+F 2 "" H 12050 4750 60 0000 C CNN
+F 3 "" H 12050 4750 60 0000 C CNN
+ 12 12050 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 68545946
+P 11550 5100
+F 0 "U1" H 11600 5200 30 0000 C CNN
+F 1 "PORT" H 11550 5100 30 0000 C CNN
+F 2 "" H 11550 5100 60 0000 C CNN
+F 3 "" H 11550 5100 60 0000 C CNN
+ 10 11550 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 6854594C
+P 12100 5400
+F 0 "U1" H 12150 5500 30 0000 C CNN
+F 1 "PORT" H 12100 5400 30 0000 C CNN
+F 2 "" H 12100 5400 60 0000 C CNN
+F 3 "" H 12100 5400 60 0000 C CNN
+ 13 12100 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 68545958
+P 16450 4550
+F 0 "U1" H 16500 4650 30 0000 C CNN
+F 1 "PORT" H 16450 4550 30 0000 C CNN
+F 2 "" H 16450 4550 60 0000 C CNN
+F 3 "" H 16450 4550 60 0000 C CNN
+ 14 16450 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6854595E
+P 18350 3250
+F 0 "U1" H 18400 3350 30 0000 C CNN
+F 1 "PORT" H 18350 3250 30 0000 C CNN
+F 2 "" H 18350 3250 60 0000 C CNN
+F 3 "" H 18350 3250 60 0000 C CNN
+ 10 18350 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 68545964
+P 19450 4150
+F 0 "U1" H 19500 4250 30 0000 C CNN
+F 1 "PORT" H 19450 4150 30 0000 C CNN
+F 2 "" H 19450 4150 60 0000 C CNN
+F 3 "" H 19450 4150 60 0000 C CNN
+ 9 19450 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 12500 2800 12700 2800
+Wire Wire Line
+ 12700 2800 12700 2850
+Wire Wire Line
+ 12450 6050 12400 6050
+Wire Wire Line
+ 16200 4550 16150 4550
+Wire Wire Line
+ 19700 4150 19700 3900
+Wire Wire Line
+ 19700 3900 19500 3900
+Wire Wire Line
+ 18600 3250 18650 3250
+Wire Wire Line
+ 18650 3250 18650 3300
+Wire Wire Line
+ 12500 2750 12500 2800
+Wire Wire Line
+ 12400 6050 12400 6000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.cir b/library/SubcircuitLibrary/NE5517/NE5517.cir
new file mode 100644
index 000000000..64c8fe1ab
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.cir
@@ -0,0 +1,63 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\NE5517\NE5517.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/12/25 12:59:32
+
+* 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: /
+Q3 Net-_Q2-Pad1_ Net-_D2-Pad2_ Net-_D11-Pad1_ eSim_PNP
+Q5 Net-_Q10-Pad2_ Net-_Q2-Pad1_ Net-_D2-Pad2_ eSim_PNP
+D2 Net-_D11-Pad1_ Net-_D2-Pad2_ eSim_Diode
+Q2 Net-_Q2-Pad1_ Net-_D7-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+Q6 Net-_Q6-Pad1_ Net-_D8-Pad2_ Net-_Q2-Pad3_ eSim_NPN
+Q4 Net-_Q2-Pad3_ Net-_Q1-Pad1_ Net-_D1-Pad1_ eSim_NPN
+Q1 Net-_Q1-Pad1_ Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_NPN
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q7 Net-_Q6-Pad1_ Net-_D3-Pad2_ Net-_D11-Pad1_ eSim_PNP
+Q9 Net-_Q10-Pad1_ Net-_Q6-Pad1_ Net-_D3-Pad2_ eSim_PNP
+D3 Net-_D11-Pad1_ Net-_D3-Pad2_ eSim_Diode
+Q10 Net-_Q10-Pad1_ Net-_Q10-Pad2_ Net-_D4-Pad1_ eSim_NPN
+Q8 Net-_Q10-Pad2_ Net-_D4-Pad1_ Net-_D1-Pad2_ eSim_NPN
+D4 Net-_D4-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q11 Net-_Q11-Pad1_ Net-_Q11-Pad1_ Net-_D11-Pad1_ eSim_PNP
+Q13 Net-_D5-Pad1_ Net-_Q11-Pad1_ Net-_D11-Pad1_ eSim_PNP
+Q12 Net-_Q11-Pad1_ Net-_D1-Pad1_ Net-_Q12-Pad3_ eSim_NPN
+Q14 Net-_Q11-Pad1_ Net-_D5-Pad1_ Net-_Q12-Pad3_ eSim_NPN
+R6 Net-_Q12-Pad3_ Net-_D1-Pad2_ 1k
+D5 Net-_D5-Pad1_ Net-_D5-Pad2_ eSim_Diode
+D6 Net-_D5-Pad2_ Net-_D1-Pad2_ eSim_Diode
+Q16 Net-_Q15-Pad3_ Net-_D5-Pad2_ Net-_D1-Pad2_ eSim_NPN
+Q15 Net-_D11-Pad1_ Net-_Q15-Pad2_ Net-_Q15-Pad3_ eSim_NPN
+Q17 Net-_D11-Pad1_ Net-_Q15-Pad3_ Net-_Q17-Pad3_ eSim_NPN
+D7 Net-_D7-Pad1_ Net-_D7-Pad2_ eSim_Diode
+D8 Net-_D7-Pad1_ Net-_D8-Pad2_ eSim_Diode
+U1 Net-_Q1-Pad1_ Net-_D7-Pad1_ Net-_D8-Pad2_ Net-_D7-Pad2_ Net-_Q10-Pad1_ Net-_D1-Pad2_ Net-_Q15-Pad2_ Net-_Q17-Pad3_ Net-_Q34-Pad3_ Net-_Q32-Pad2_ Net-_D11-Pad1_ Net-_Q26-Pad1_ Net-_D9-Pad2_ Net-_D12-Pad2_ Net-_D12-Pad1_ Net-_Q18-Pad1_ PORT
+Q20 Net-_Q19-Pad1_ Net-_D11-Pad2_ Net-_D11-Pad1_ eSim_PNP
+Q22 Net-_Q22-Pad1_ Net-_Q19-Pad1_ Net-_D11-Pad2_ eSim_PNP
+D11 Net-_D11-Pad1_ Net-_D11-Pad2_ eSim_Diode
+Q19 Net-_Q19-Pad1_ Net-_D9-Pad2_ Net-_Q19-Pad3_ eSim_NPN
+Q23 Net-_Q23-Pad1_ Net-_D12-Pad2_ Net-_Q19-Pad3_ eSim_NPN
+Q21 Net-_Q19-Pad3_ Net-_Q18-Pad1_ Net-_D10-Pad1_ eSim_NPN
+Q18 Net-_Q18-Pad1_ Net-_D10-Pad1_ Net-_D1-Pad2_ eSim_NPN
+D10 Net-_D10-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q24 Net-_Q23-Pad1_ Net-_D13-Pad2_ Net-_D11-Pad1_ eSim_PNP
+Q26 Net-_Q26-Pad1_ Net-_Q23-Pad1_ Net-_D13-Pad2_ eSim_PNP
+D13 Net-_D11-Pad1_ Net-_D13-Pad2_ eSim_Diode
+Q27 Net-_Q26-Pad1_ Net-_Q22-Pad1_ Net-_D14-Pad1_ eSim_NPN
+Q25 Net-_Q22-Pad1_ Net-_D14-Pad1_ Net-_D1-Pad2_ eSim_NPN
+D14 Net-_D14-Pad1_ Net-_D1-Pad2_ eSim_Diode
+Q28 Net-_Q28-Pad1_ Net-_Q28-Pad1_ Net-_D11-Pad1_ eSim_PNP
+Q30 Net-_D15-Pad1_ Net-_Q28-Pad1_ Net-_D11-Pad1_ eSim_PNP
+Q29 Net-_Q28-Pad1_ Net-_D10-Pad1_ Net-_Q29-Pad3_ eSim_NPN
+Q31 Net-_Q28-Pad1_ Net-_D15-Pad1_ Net-_Q29-Pad3_ eSim_NPN
+R1 Net-_Q29-Pad3_ Net-_D1-Pad2_ 1k
+D15 Net-_D15-Pad1_ Net-_D15-Pad2_ eSim_Diode
+D16 Net-_D15-Pad2_ Net-_D1-Pad2_ eSim_Diode
+Q33 Net-_Q32-Pad3_ Net-_D15-Pad2_ Net-_D1-Pad2_ eSim_NPN
+Q32 Net-_D11-Pad1_ Net-_Q32-Pad2_ Net-_Q32-Pad3_ eSim_NPN
+Q34 Net-_D11-Pad1_ Net-_Q32-Pad3_ Net-_Q34-Pad3_ eSim_NPN
+D9 Net-_D12-Pad1_ Net-_D9-Pad2_ eSim_Diode
+D12 Net-_D12-Pad1_ Net-_D12-Pad2_ eSim_Diode
+
+.end
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.cir.out b/library/SubcircuitLibrary/NE5517/NE5517.cir.out
new file mode 100644
index 000000000..1f2456f98
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.cir.out
@@ -0,0 +1,67 @@
+* c:\fossee\esim\library\subcircuitlibrary\ne5517\ne5517.cir
+
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+q3 net-_q2-pad1_ net-_d2-pad2_ net-_d11-pad1_ Q2N2907A
+q5 net-_q10-pad2_ net-_q2-pad1_ net-_d2-pad2_ Q2N2907A
+d2 net-_d11-pad1_ net-_d2-pad2_ 1N4148
+q2 net-_q2-pad1_ net-_d7-pad2_ net-_q2-pad3_ Q2N2222
+q6 net-_q6-pad1_ net-_d8-pad2_ net-_q2-pad3_ Q2N2222
+q4 net-_q2-pad3_ net-_q1-pad1_ net-_d1-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_d1-pad1_ net-_d1-pad2_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q7 net-_q6-pad1_ net-_d3-pad2_ net-_d11-pad1_ Q2N2907A
+q9 net-_q10-pad1_ net-_q6-pad1_ net-_d3-pad2_ Q2N2907A
+d3 net-_d11-pad1_ net-_d3-pad2_ 1N4148
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d4-pad1_ Q2N2222
+q8 net-_q10-pad2_ net-_d4-pad1_ net-_d1-pad2_ Q2N2222
+d4 net-_d4-pad1_ net-_d1-pad2_ 1N4148
+q11 net-_q11-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q13 net-_d5-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d1-pad1_ net-_q12-pad3_ Q2N2222
+q14 net-_q11-pad1_ net-_d5-pad1_ net-_q12-pad3_ Q2N2222
+r6 net-_q12-pad3_ net-_d1-pad2_ 1k
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N4148
+d6 net-_d5-pad2_ net-_d1-pad2_ 1N4148
+q16 net-_q15-pad3_ net-_d5-pad2_ net-_d1-pad2_ Q2N2222
+q15 net-_d11-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+q17 net-_d11-pad1_ net-_q15-pad3_ net-_q17-pad3_ Q2N2222
+d7 net-_d7-pad1_ net-_d7-pad2_ 1N4148
+d8 net-_d7-pad1_ net-_d8-pad2_ 1N4148
+* u1 net-_q1-pad1_ net-_d7-pad1_ net-_d8-pad2_ net-_d7-pad2_ net-_q10-pad1_ net-_d1-pad2_ net-_q15-pad2_ net-_q17-pad3_ net-_q34-pad3_ net-_q32-pad2_ net-_d11-pad1_ net-_q26-pad1_ net-_d9-pad2_ net-_d12-pad2_ net-_d12-pad1_ net-_q18-pad1_ port
+q20 net-_q19-pad1_ net-_d11-pad2_ net-_d11-pad1_ Q2N2907A
+q22 net-_q22-pad1_ net-_q19-pad1_ net-_d11-pad2_ Q2N2907A
+d11 net-_d11-pad1_ net-_d11-pad2_ 1N4148
+q19 net-_q19-pad1_ net-_d9-pad2_ net-_q19-pad3_ Q2N2222
+q23 net-_q23-pad1_ net-_d12-pad2_ net-_q19-pad3_ Q2N2222
+q21 net-_q19-pad3_ net-_q18-pad1_ net-_d10-pad1_ Q2N2222
+q18 net-_q18-pad1_ net-_d10-pad1_ net-_d1-pad2_ Q2N2222
+d10 net-_d10-pad1_ net-_d1-pad2_ 1N4148
+q24 net-_q23-pad1_ net-_d13-pad2_ net-_d11-pad1_ Q2N2907A
+q26 net-_q26-pad1_ net-_q23-pad1_ net-_d13-pad2_ Q2N2907A
+d13 net-_d11-pad1_ net-_d13-pad2_ 1N4148
+q27 net-_q26-pad1_ net-_q22-pad1_ net-_d14-pad1_ Q2N2222
+q25 net-_q22-pad1_ net-_d14-pad1_ net-_d1-pad2_ Q2N2222
+d14 net-_d14-pad1_ net-_d1-pad2_ 1N4148
+q28 net-_q28-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q30 net-_d15-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q29 net-_q28-pad1_ net-_d10-pad1_ net-_q29-pad3_ Q2N2222
+q31 net-_q28-pad1_ net-_d15-pad1_ net-_q29-pad3_ Q2N2222
+r1 net-_q29-pad3_ net-_d1-pad2_ 1k
+d15 net-_d15-pad1_ net-_d15-pad2_ 1N4148
+d16 net-_d15-pad2_ net-_d1-pad2_ 1N4148
+q33 net-_q32-pad3_ net-_d15-pad2_ net-_d1-pad2_ Q2N2222
+q32 net-_d11-pad1_ net-_q32-pad2_ net-_q32-pad3_ Q2N2222
+q34 net-_d11-pad1_ net-_q32-pad3_ net-_q34-pad3_ Q2N2222
+d9 net-_d12-pad1_ net-_d9-pad2_ 1N4148
+d12 net-_d12-pad1_ net-_d12-pad2_ 1N4148
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.out b/library/SubcircuitLibrary/NE5517/NE5517.out
new file mode 100644
index 000000000..8ff8547b4
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.out
@@ -0,0 +1,67 @@
+* c:\fossee\esim\library\subcircuitlibrary\ne5517_my\ne5517_my.cir
+
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+q3 net-_q2-pad1_ net-_d2-pad2_ net-_d11-pad1_ Q2N2907A
+q5 net-_q10-pad2_ net-_q2-pad1_ net-_d2-pad2_ Q2N2907A
+d2 net-_d11-pad1_ net-_d2-pad2_ 1N4148
+q2 net-_q2-pad1_ net-_d7-pad2_ net-_q2-pad3_ Q2N2222
+q6 net-_q6-pad1_ net-_d8-pad2_ net-_q2-pad3_ Q2N2222
+q4 net-_q2-pad3_ net-_q1-pad1_ net-_d1-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_d1-pad1_ net-_d1-pad2_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q7 net-_q6-pad1_ net-_d3-pad2_ net-_d11-pad1_ Q2N2907A
+q9 net-_q10-pad1_ net-_q6-pad1_ net-_d3-pad2_ Q2N2907A
+d3 net-_d11-pad1_ net-_d3-pad2_ 1N4148
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d4-pad1_ Q2N2222
+q8 net-_q10-pad2_ net-_d4-pad1_ net-_d1-pad2_ Q2N2222
+d4 net-_d4-pad1_ net-_d1-pad2_ 1N4148
+q11 net-_q11-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q13 net-_d5-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d1-pad1_ net-_q12-pad3_ Q2N2222
+q14 net-_q11-pad1_ net-_d5-pad1_ net-_q12-pad3_ Q2N2222
+r6 net-_q12-pad3_ net-_d1-pad2_ 1k
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N4148
+d6 net-_d5-pad2_ net-_d1-pad2_ 1N4148
+q16 net-_q15-pad3_ net-_d5-pad2_ net-_d1-pad2_ Q2N2222
+q15 net-_d11-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+q17 net-_d11-pad1_ net-_q15-pad3_ net-_q17-pad3_ Q2N2222
+d7 net-_d7-pad1_ net-_d7-pad2_ 1N4148
+d8 net-_d7-pad1_ net-_d8-pad2_ 1N4148
+* u1 net-_q1-pad1_ net-_d7-pad1_ net-_d8-pad2_ net-_d7-pad2_ net-_q10-pad1_ net-_d1-pad2_ net-_q15-pad2_ net-_q17-pad3_ net-_q34-pad3_ net-_q32-pad2_ net-_d11-pad1_ net-_q26-pad1_ net-_d9-pad2_ net-_d12-pad2_ net-_d12-pad1_ net-_q18-pad1_ port
+q20 net-_q19-pad1_ net-_d11-pad2_ net-_d11-pad1_ Q2N2907A
+q22 net-_q22-pad1_ net-_q19-pad1_ net-_d11-pad2_ Q2N2907A
+d11 net-_d11-pad1_ net-_d11-pad2_ 1N4148
+q19 net-_q19-pad1_ net-_d9-pad2_ net-_q19-pad3_ Q2N2222
+q23 net-_q23-pad1_ net-_d12-pad2_ net-_q19-pad3_ Q2N2222
+q21 net-_q19-pad3_ net-_q18-pad1_ net-_d10-pad1_ Q2N2222
+q18 net-_q18-pad1_ net-_d10-pad1_ net-_d1-pad2_ Q2N2222
+d10 net-_d10-pad1_ net-_d1-pad2_ 1N4148
+q24 net-_q23-pad1_ net-_d13-pad2_ net-_d11-pad1_ Q2N2907A
+q26 net-_q26-pad1_ net-_q23-pad1_ net-_d13-pad2_ Q2N2907A
+d13 net-_d11-pad1_ net-_d13-pad2_ 1N4148
+q27 net-_q26-pad1_ net-_q22-pad1_ net-_d14-pad1_ Q2N2222
+q25 net-_q22-pad1_ net-_d14-pad1_ net-_d1-pad2_ Q2N2222
+d14 net-_d14-pad1_ net-_d1-pad2_ 1N4148
+q28 net-_q28-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q30 net-_d15-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q29 net-_q28-pad1_ net-_d10-pad1_ net-_q29-pad3_ Q2N2222
+q31 net-_q28-pad1_ net-_d15-pad1_ net-_q29-pad3_ Q2N2222
+r1 net-_q29-pad3_ net-_d1-pad2_ 1k
+d15 net-_d15-pad1_ net-_d15-pad2_ 1N4148
+d16 net-_d15-pad2_ net-_d1-pad2_ 1N4148
+q33 net-_q32-pad3_ net-_d15-pad2_ net-_d1-pad2_ Q2N2222
+q32 net-_d11-pad1_ net-_q32-pad2_ net-_q32-pad3_ Q2N2222
+q34 net-_d11-pad1_ net-_q32-pad3_ net-_q34-pad3_ Q2N2222
+d9 net-_d12-pad1_ net-_d9-pad2_ 1N4148
+d12 net-_d12-pad1_ net-_d12-pad2_ 1N4148
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.pro b/library/SubcircuitLibrary/NE5517/NE5517.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.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/NE5517/NE5517.sch b/library/SubcircuitLibrary/NE5517/NE5517.sch
new file mode 100644
index 000000000..af0ebd40f
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.sch
@@ -0,0 +1,1191 @@
+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:NE5517_My-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_PNP Q3
+U 1 1 6853D8BF
+P 4350 3150
+F 0 "Q3" H 4250 3200 50 0000 R CNN
+F 1 "eSim_PNP" H 4300 3300 50 0000 R CNN
+F 2 "" H 4550 3250 29 0000 C CNN
+F 3 "" H 4350 3150 60 0000 C CNN
+ 1 4350 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q5
+U 1 1 6853D8FC
+P 4650 3550
+F 0 "Q5" H 4550 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 4600 3700 50 0000 R CNN
+F 2 "" H 4850 3650 29 0000 C CNN
+F 3 "" H 4650 3550 60 0000 C CNN
+ 1 4650 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D2
+U 1 1 6853D93D
+P 4750 2900
+F 0 "D2" H 4750 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 4750 2800 50 0000 C CNN
+F 2 "" H 4750 2900 60 0000 C CNN
+F 3 "" H 4750 2900 60 0000 C CNN
+ 1 4750 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 6853D9E3
+P 4150 4650
+F 0 "Q2" H 4050 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 4100 4800 50 0000 R CNN
+F 2 "" H 4350 4750 29 0000 C CNN
+F 3 "" H 4150 4650 60 0000 C CNN
+ 1 4150 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q6
+U 1 1 6853D9FC
+P 4850 4650
+F 0 "Q6" H 4750 4700 50 0000 R CNN
+F 1 "eSim_NPN" H 4800 4800 50 0000 R CNN
+F 2 "" H 5050 4750 29 0000 C CNN
+F 3 "" H 4850 4650 60 0000 C CNN
+ 1 4850 4650
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q4
+U 1 1 6853DAFE
+P 4450 5300
+F 0 "Q4" H 4350 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 4400 5450 50 0000 R CNN
+F 2 "" H 4650 5400 29 0000 C CNN
+F 3 "" H 4450 5300 60 0000 C CNN
+ 1 4450 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 6853DB38
+P 4050 5600
+F 0 "Q1" H 3950 5650 50 0000 R CNN
+F 1 "eSim_NPN" H 4000 5750 50 0000 R CNN
+F 2 "" H 4250 5700 29 0000 C CNN
+F 3 "" H 4050 5600 60 0000 C CNN
+ 1 4050 5600
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D1
+U 1 1 6853DBD3
+P 4550 5850
+F 0 "D1" H 4550 5950 50 0000 C CNN
+F 1 "eSim_Diode" H 4550 5750 50 0000 C CNN
+F 2 "" H 4550 5850 60 0000 C CNN
+F 3 "" H 4550 5850 60 0000 C CNN
+ 1 4550 5850
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q7
+U 1 1 6853DDBE
+P 6250 3150
+F 0 "Q7" H 6150 3200 50 0000 R CNN
+F 1 "eSim_PNP" H 6200 3300 50 0000 R CNN
+F 2 "" H 6450 3250 29 0000 C CNN
+F 3 "" H 6250 3150 60 0000 C CNN
+ 1 6250 3150
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q9
+U 1 1 6853DDC4
+P 6550 3550
+F 0 "Q9" H 6450 3600 50 0000 R CNN
+F 1 "eSim_PNP" H 6500 3700 50 0000 R CNN
+F 2 "" H 6750 3650 29 0000 C CNN
+F 3 "" H 6550 3550 60 0000 C CNN
+ 1 6550 3550
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 6853DDCE
+P 6650 2900
+F 0 "D3" H 6650 3000 50 0000 C CNN
+F 1 "eSim_Diode" H 6650 2800 50 0000 C CNN
+F 2 "" H 6650 2900 60 0000 C CNN
+F 3 "" H 6650 2900 60 0000 C CNN
+ 1 6650 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q10
+U 1 1 6853DF83
+P 6650 5150
+F 0 "Q10" H 6550 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 6600 5300 50 0000 R CNN
+F 2 "" H 6850 5250 29 0000 C CNN
+F 3 "" H 6650 5150 60 0000 C CNN
+ 1 6650 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q8
+U 1 1 6853DF89
+P 6250 5450
+F 0 "Q8" H 6150 5500 50 0000 R CNN
+F 1 "eSim_NPN" H 6200 5600 50 0000 R CNN
+F 2 "" H 6450 5550 29 0000 C CNN
+F 3 "" H 6250 5450 60 0000 C CNN
+ 1 6250 5450
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 6853DF93
+P 6750 5700
+F 0 "D4" H 6750 5800 50 0000 C CNN
+F 1 "eSim_Diode" H 6750 5600 50 0000 C CNN
+F 2 "" H 6750 5700 60 0000 C CNN
+F 3 "" H 6750 5700 60 0000 C CNN
+ 1 6750 5700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q11
+U 1 1 6853E497
+P 7900 3100
+F 0 "Q11" H 7800 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 7850 3250 50 0000 R CNN
+F 2 "" H 8100 3200 29 0000 C CNN
+F 3 "" H 7900 3100 60 0000 C CNN
+ 1 7900 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q13
+U 1 1 6853E536
+P 8300 3100
+F 0 "Q13" H 8200 3150 50 0000 R CNN
+F 1 "eSim_PNP" H 8250 3250 50 0000 R CNN
+F 2 "" H 8500 3200 29 0000 C CNN
+F 3 "" H 8300 3100 60 0000 C CNN
+ 1 8300 3100
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q12
+U 1 1 6853E9E9
+P 7900 5150
+F 0 "Q12" H 7800 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 7850 5300 50 0000 R CNN
+F 2 "" H 8100 5250 29 0000 C CNN
+F 3 "" H 7900 5150 60 0000 C CNN
+ 1 7900 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q14
+U 1 1 6853E9EF
+P 8600 5150
+F 0 "Q14" H 8500 5200 50 0000 R CNN
+F 1 "eSim_NPN" H 8550 5300 50 0000 R CNN
+F 2 "" H 8800 5250 29 0000 C CNN
+F 3 "" H 8600 5150 60 0000 C CNN
+ 1 8600 5150
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 6853ED9F
+P 8250 5650
+F 0 "R6" H 8300 5780 50 0000 C CNN
+F 1 "1k" H 8300 5600 50 0000 C CNN
+F 2 "" H 8300 5630 30 0000 C CNN
+F 3 "" V 8300 5700 30 0000 C CNN
+ 1 8250 5650
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D5
+U 1 1 6853F179
+P 8800 5400
+F 0 "D5" H 8800 5500 50 0000 C CNN
+F 1 "eSim_Diode" H 8800 5300 50 0000 C CNN
+F 2 "" H 8800 5400 60 0000 C CNN
+F 3 "" H 8800 5400 60 0000 C CNN
+ 1 8800 5400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D6
+U 1 1 6853F277
+P 8800 5800
+F 0 "D6" H 8800 5900 50 0000 C CNN
+F 1 "eSim_Diode" H 8800 5700 50 0000 C CNN
+F 2 "" H 8800 5800 60 0000 C CNN
+F 3 "" H 8800 5800 60 0000 C CNN
+ 1 8800 5800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q16
+U 1 1 6853F52C
+P 9700 5300
+F 0 "Q16" H 9600 5350 50 0000 R CNN
+F 1 "eSim_NPN" H 9650 5450 50 0000 R CNN
+F 2 "" H 9900 5400 29 0000 C CNN
+F 3 "" H 9700 5300 60 0000 C CNN
+ 1 9700 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q15
+U 1 1 6853F73D
+P 9450 3200
+F 0 "Q15" H 9350 3250 50 0000 R CNN
+F 1 "eSim_NPN" H 9400 3350 50 0000 R CNN
+F 2 "" H 9650 3300 29 0000 C CNN
+F 3 "" H 9450 3200 60 0000 C CNN
+ 1 9450 3200
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q17
+U 1 1 6853F7D6
+P 10000 3450
+F 0 "Q17" H 9900 3500 50 0000 R CNN
+F 1 "eSim_NPN" H 9950 3600 50 0000 R CNN
+F 2 "" H 10200 3550 29 0000 C CNN
+F 3 "" H 10000 3450 60 0000 C CNN
+ 1 10000 3450
+ 1 0 0 -1
+$EndComp
+Connection ~ 3400 2750
+Connection ~ 10100 3700
+Connection ~ 10100 2750
+Connection ~ 9800 6000
+Wire Wire Line
+ 10100 3800 10100 3650
+Connection ~ 3750 4650
+Wire Wire Line
+ 2400 5000 5300 5000
+Connection ~ 9650 3450
+Wire Wire Line
+ 9650 5100 9800 5100
+Wire Wire Line
+ 9650 3450 9650 5100
+Wire Wire Line
+ 9550 3450 9800 3450
+Wire Wire Line
+ 9550 3400 9550 3450
+Connection ~ 9550 2750
+Wire Wire Line
+ 10100 2750 10100 3250
+Connection ~ 8200 2750
+Wire Wire Line
+ 9550 2750 9550 3000
+Connection ~ 8800 5600
+Wire Wire Line
+ 9500 5600 9500 5300
+Wire Wire Line
+ 8800 5600 9500 5600
+Connection ~ 8800 6000
+Wire Wire Line
+ 9800 6000 9800 5500
+Connection ~ 8300 6000
+Wire Wire Line
+ 8800 6000 8800 5950
+Wire Wire Line
+ 8800 5550 8800 5650
+Connection ~ 8800 5150
+Wire Wire Line
+ 8800 3300 8800 5250
+Wire Wire Line
+ 8400 3300 8800 3300
+Connection ~ 8000 3600
+Connection ~ 8150 4950
+Wire Wire Line
+ 8150 4850 8150 4950
+Wire Wire Line
+ 8000 4850 8150 4850
+Connection ~ 6150 6000
+Wire Wire Line
+ 8300 6000 8300 5850
+Connection ~ 8300 5350
+Wire Wire Line
+ 8300 5550 8300 5350
+Wire Wire Line
+ 5050 4850 5050 5600
+Wire Wire Line
+ 7700 4850 5050 4850
+Wire Wire Line
+ 7700 5150 7700 4850
+Wire Wire Line
+ 8000 5350 8500 5350
+Wire Wire Line
+ 8000 4950 8500 4950
+Connection ~ 7700 3100
+Wire Wire Line
+ 8000 3300 8000 4850
+Wire Wire Line
+ 7300 3600 8000 3600
+Wire Wire Line
+ 7300 3100 7300 3600
+Connection ~ 8200 2900
+Connection ~ 6650 2750
+Wire Wire Line
+ 8200 2750 8200 2900
+Connection ~ 6150 2750
+Connection ~ 4750 2750
+Wire Wire Line
+ 8000 2900 8400 2900
+Wire Wire Line
+ 7300 3100 8100 3100
+Connection ~ 6750 4450
+Wire Wire Line
+ 6750 3750 6650 3750
+Wire Wire Line
+ 6750 4950 6750 3750
+Wire Wire Line
+ 5650 3750 5650 5150
+Wire Wire Line
+ 4750 3750 5650 3750
+Connection ~ 4550 6000
+Wire Wire Line
+ 6150 5850 6750 5850
+Wire Wire Line
+ 5650 5150 6450 5150
+Connection ~ 6150 5150
+Connection ~ 6150 5850
+Wire Wire Line
+ 6150 5650 6150 6000
+Connection ~ 6750 5450
+Wire Wire Line
+ 6750 5350 6750 5550
+Wire Wire Line
+ 6450 5450 6750 5450
+Wire Wire Line
+ 6150 5250 6150 5150
+Wire Wire Line
+ 4750 4150 6150 4150
+Wire Wire Line
+ 4750 4450 4750 4150
+Wire Wire Line
+ 6150 4150 6150 3350
+Connection ~ 6150 3550
+Wire Wire Line
+ 6150 2750 6150 2950
+Connection ~ 6650 3150
+Wire Wire Line
+ 6150 3550 6350 3550
+Wire Wire Line
+ 6650 3050 6650 3350
+Wire Wire Line
+ 6450 3150 6650 3150
+Connection ~ 4250 2750
+Wire Wire Line
+ 5300 5000 5300 4550
+Wire Wire Line
+ 5050 4650 5300 4650
+Wire Wire Line
+ 2900 4650 3950 4650
+Connection ~ 3950 5300
+Connection ~ 3950 6000
+Wire Wire Line
+ 3050 6000 3050 5950
+Wire Wire Line
+ 3050 6000 12400 6000
+Wire Wire Line
+ 3950 5800 3950 6000
+Connection ~ 4550 5600
+Wire Wire Line
+ 4550 5500 4550 5700
+Wire Wire Line
+ 5050 5600 4250 5600
+Wire Wire Line
+ 2950 5300 4250 5300
+Wire Wire Line
+ 3950 5400 3950 5300
+Connection ~ 4550 4850
+Wire Wire Line
+ 4550 5100 4550 4850
+Wire Wire Line
+ 4250 4850 4750 4850
+Connection ~ 4250 3550
+Wire Wire Line
+ 4250 2750 4250 2950
+Wire Wire Line
+ 3300 2750 12500 2750
+Connection ~ 4750 3150
+Wire Wire Line
+ 4250 3550 4450 3550
+Wire Wire Line
+ 4250 3350 4250 4450
+Wire Wire Line
+ 4750 3050 4750 3350
+Wire Wire Line
+ 4550 3150 4750 3150
+$Comp
+L eSim_Diode D7
+U 1 1 6854325C
+P 3750 4300
+F 0 "D7" H 3750 4400 50 0000 C CNN
+F 1 "eSim_Diode" H 3750 4200 50 0000 C CNN
+F 2 "" H 3750 4300 60 0000 C CNN
+F 3 "" H 3750 4300 60 0000 C CNN
+ 1 3750 4300
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D8
+U 1 1 685432DD
+P 5300 4400
+F 0 "D8" H 5300 4500 50 0000 C CNN
+F 1 "eSim_Diode" H 5300 4300 50 0000 C CNN
+F 2 "" H 5300 4400 60 0000 C CNN
+F 3 "" H 5300 4400 60 0000 C CNN
+ 1 5300 4400
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 3750 4450 3750 4650
+Connection ~ 5300 4650
+Wire Wire Line
+ 5300 4250 3900 4250
+Wire Wire Line
+ 3900 4250 3900 4150
+Wire Wire Line
+ 3900 4150 2900 4150
+Connection ~ 3750 4150
+$Comp
+L PORT U1
+U 11 1 6854387D
+P 2850 2700
+F 0 "U1" H 2900 2800 30 0000 C CNN
+F 1 "PORT" H 2850 2700 30 0000 C CNN
+F 2 "" H 2850 2700 60 0000 C CNN
+F 3 "" H 2850 2700 60 0000 C CNN
+ 11 2850 2700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 68543A65
+P 2650 4150
+F 0 "U1" H 2700 4250 30 0000 C CNN
+F 1 "PORT" H 2650 4150 30 0000 C CNN
+F 2 "" H 2650 4150 60 0000 C CNN
+F 3 "" H 2650 4150 60 0000 C CNN
+ 2 2650 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 68543B01
+P 2650 4650
+F 0 "U1" H 2700 4750 30 0000 C CNN
+F 1 "PORT" H 2650 4650 30 0000 C CNN
+F 2 "" H 2650 4650 60 0000 C CNN
+F 3 "" H 2650 4650 60 0000 C CNN
+ 4 2650 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 68543B7A
+P 2150 5000
+F 0 "U1" H 2200 5100 30 0000 C CNN
+F 1 "PORT" H 2150 5000 30 0000 C CNN
+F 2 "" H 2150 5000 60 0000 C CNN
+F 3 "" H 2150 5000 60 0000 C CNN
+ 3 2150 5000
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 68543C5C
+P 2700 5300
+F 0 "U1" H 2750 5400 30 0000 C CNN
+F 1 "PORT" H 2700 5300 30 0000 C CNN
+F 2 "" H 2700 5300 60 0000 C CNN
+F 3 "" H 2700 5300 60 0000 C CNN
+ 1 2700 5300
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 68543CE3
+P 2750 5950
+F 0 "U1" H 2800 6050 30 0000 C CNN
+F 1 "PORT" H 2750 5950 30 0000 C CNN
+F 2 "" H 2750 5950 60 0000 C CNN
+F 3 "" H 2750 5950 60 0000 C CNN
+ 6 2750 5950
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 68543D65
+P 7050 4450
+F 0 "U1" H 7100 4550 30 0000 C CNN
+F 1 "PORT" H 7050 4450 30 0000 C CNN
+F 2 "" H 7050 4450 60 0000 C CNN
+F 3 "" H 7050 4450 60 0000 C CNN
+ 5 7050 4450
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 6854411A
+P 8950 3150
+F 0 "U1" H 9000 3250 30 0000 C CNN
+F 1 "PORT" H 8950 3150 30 0000 C CNN
+F 2 "" H 8950 3150 60 0000 C CNN
+F 3 "" H 8950 3150 60 0000 C CNN
+ 7 8950 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 68544206
+P 10050 4050
+F 0 "U1" H 10100 4150 30 0000 C CNN
+F 1 "PORT" H 10050 4050 30 0000 C CNN
+F 2 "" H 10050 4050 60 0000 C CNN
+F 3 "" H 10050 4050 60 0000 C CNN
+ 8 10050 4050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3100 2700 3300 2700
+Wire Wire Line
+ 3300 2700 3300 2750
+Wire Wire Line
+ 3050 5950 3000 5950
+Wire Wire Line
+ 6800 4450 6750 4450
+Wire Wire Line
+ 10300 4050 10300 3800
+Wire Wire Line
+ 10300 3800 10100 3800
+Wire Wire Line
+ 9200 3150 9250 3150
+Wire Wire Line
+ 9250 3150 9250 3200
+$Comp
+L eSim_PNP Q20
+U 1 1 6854582E
+P 13750 3250
+F 0 "Q20" H 13650 3300 50 0000 R CNN
+F 1 "eSim_PNP" H 13700 3400 50 0000 R CNN
+F 2 "" H 13950 3350 29 0000 C CNN
+F 3 "" H 13750 3250 60 0000 C CNN
+ 1 13750 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q22
+U 1 1 68545834
+P 14050 3650
+F 0 "Q22" H 13950 3700 50 0000 R CNN
+F 1 "eSim_PNP" H 14000 3800 50 0000 R CNN
+F 2 "" H 14250 3750 29 0000 C CNN
+F 3 "" H 14050 3650 60 0000 C CNN
+ 1 14050 3650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D11
+U 1 1 6854583A
+P 14150 3000
+F 0 "D11" H 14150 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 14150 2900 50 0000 C CNN
+F 2 "" H 14150 3000 60 0000 C CNN
+F 3 "" H 14150 3000 60 0000 C CNN
+ 1 14150 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q19
+U 1 1 68545840
+P 13550 4750
+F 0 "Q19" H 13450 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 13500 4900 50 0000 R CNN
+F 2 "" H 13750 4850 29 0000 C CNN
+F 3 "" H 13550 4750 60 0000 C CNN
+ 1 13550 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q23
+U 1 1 68545846
+P 14250 4750
+F 0 "Q23" H 14150 4800 50 0000 R CNN
+F 1 "eSim_NPN" H 14200 4900 50 0000 R CNN
+F 2 "" H 14450 4850 29 0000 C CNN
+F 3 "" H 14250 4750 60 0000 C CNN
+ 1 14250 4750
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q21
+U 1 1 6854584C
+P 13850 5400
+F 0 "Q21" H 13750 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 13800 5550 50 0000 R CNN
+F 2 "" H 14050 5500 29 0000 C CNN
+F 3 "" H 13850 5400 60 0000 C CNN
+ 1 13850 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q18
+U 1 1 68545852
+P 13450 5700
+F 0 "Q18" H 13350 5750 50 0000 R CNN
+F 1 "eSim_NPN" H 13400 5850 50 0000 R CNN
+F 2 "" H 13650 5800 29 0000 C CNN
+F 3 "" H 13450 5700 60 0000 C CNN
+ 1 13450 5700
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D10
+U 1 1 68545858
+P 13950 5950
+F 0 "D10" H 13950 6050 50 0000 C CNN
+F 1 "eSim_Diode" H 13950 5850 50 0000 C CNN
+F 2 "" H 13950 5950 60 0000 C CNN
+F 3 "" H 13950 5950 60 0000 C CNN
+ 1 13950 5950
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q24
+U 1 1 6854585E
+P 15650 3250
+F 0 "Q24" H 15550 3300 50 0000 R CNN
+F 1 "eSim_PNP" H 15600 3400 50 0000 R CNN
+F 2 "" H 15850 3350 29 0000 C CNN
+F 3 "" H 15650 3250 60 0000 C CNN
+ 1 15650 3250
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q26
+U 1 1 68545864
+P 15950 3650
+F 0 "Q26" H 15850 3700 50 0000 R CNN
+F 1 "eSim_PNP" H 15900 3800 50 0000 R CNN
+F 2 "" H 16150 3750 29 0000 C CNN
+F 3 "" H 15950 3650 60 0000 C CNN
+ 1 15950 3650
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_Diode D13
+U 1 1 6854586A
+P 16050 3000
+F 0 "D13" H 16050 3100 50 0000 C CNN
+F 1 "eSim_Diode" H 16050 2900 50 0000 C CNN
+F 2 "" H 16050 3000 60 0000 C CNN
+F 3 "" H 16050 3000 60 0000 C CNN
+ 1 16050 3000
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q27
+U 1 1 68545870
+P 16050 5250
+F 0 "Q27" H 15950 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 16000 5400 50 0000 R CNN
+F 2 "" H 16250 5350 29 0000 C CNN
+F 3 "" H 16050 5250 60 0000 C CNN
+ 1 16050 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q25
+U 1 1 68545876
+P 15650 5550
+F 0 "Q25" H 15550 5600 50 0000 R CNN
+F 1 "eSim_NPN" H 15600 5700 50 0000 R CNN
+F 2 "" H 15850 5650 29 0000 C CNN
+F 3 "" H 15650 5550 60 0000 C CNN
+ 1 15650 5550
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_Diode D14
+U 1 1 6854587C
+P 16150 5800
+F 0 "D14" H 16150 5900 50 0000 C CNN
+F 1 "eSim_Diode" H 16150 5700 50 0000 C CNN
+F 2 "" H 16150 5800 60 0000 C CNN
+F 3 "" H 16150 5800 60 0000 C CNN
+ 1 16150 5800
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_PNP Q28
+U 1 1 68545882
+P 17300 3200
+F 0 "Q28" H 17200 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 17250 3350 50 0000 R CNN
+F 2 "" H 17500 3300 29 0000 C CNN
+F 3 "" H 17300 3200 60 0000 C CNN
+ 1 17300 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_PNP Q30
+U 1 1 68545888
+P 17700 3200
+F 0 "Q30" H 17600 3250 50 0000 R CNN
+F 1 "eSim_PNP" H 17650 3350 50 0000 R CNN
+F 2 "" H 17900 3300 29 0000 C CNN
+F 3 "" H 17700 3200 60 0000 C CNN
+ 1 17700 3200
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_NPN Q29
+U 1 1 6854588E
+P 17300 5250
+F 0 "Q29" H 17200 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 17250 5400 50 0000 R CNN
+F 2 "" H 17500 5350 29 0000 C CNN
+F 3 "" H 17300 5250 60 0000 C CNN
+ 1 17300 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q31
+U 1 1 68545894
+P 18000 5250
+F 0 "Q31" H 17900 5300 50 0000 R CNN
+F 1 "eSim_NPN" H 17950 5400 50 0000 R CNN
+F 2 "" H 18200 5350 29 0000 C CNN
+F 3 "" H 18000 5250 60 0000 C CNN
+ 1 18000 5250
+ -1 0 0 -1
+$EndComp
+$Comp
+L resistor R1
+U 1 1 6854589A
+P 17650 5750
+F 0 "R1" H 17700 5880 50 0000 C CNN
+F 1 "1k" H 17700 5700 50 0000 C CNN
+F 2 "" H 17700 5730 30 0000 C CNN
+F 3 "" V 17700 5800 30 0000 C CNN
+ 1 17650 5750
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D15
+U 1 1 685458A0
+P 18200 5500
+F 0 "D15" H 18200 5600 50 0000 C CNN
+F 1 "eSim_Diode" H 18200 5400 50 0000 C CNN
+F 2 "" H 18200 5500 60 0000 C CNN
+F 3 "" H 18200 5500 60 0000 C CNN
+ 1 18200 5500
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D16
+U 1 1 685458A6
+P 18200 5900
+F 0 "D16" H 18200 6000 50 0000 C CNN
+F 1 "eSim_Diode" H 18200 5800 50 0000 C CNN
+F 2 "" H 18200 5900 60 0000 C CNN
+F 3 "" H 18200 5900 60 0000 C CNN
+ 1 18200 5900
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q33
+U 1 1 685458AC
+P 19100 5400
+F 0 "Q33" H 19000 5450 50 0000 R CNN
+F 1 "eSim_NPN" H 19050 5550 50 0000 R CNN
+F 2 "" H 19300 5500 29 0000 C CNN
+F 3 "" H 19100 5400 60 0000 C CNN
+ 1 19100 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q32
+U 1 1 685458B2
+P 18850 3300
+F 0 "Q32" H 18750 3350 50 0000 R CNN
+F 1 "eSim_NPN" H 18800 3450 50 0000 R CNN
+F 2 "" H 19050 3400 29 0000 C CNN
+F 3 "" H 18850 3300 60 0000 C CNN
+ 1 18850 3300
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q34
+U 1 1 685458B8
+P 19400 3550
+F 0 "Q34" H 19300 3600 50 0000 R CNN
+F 1 "eSim_NPN" H 19350 3700 50 0000 R CNN
+F 2 "" H 19600 3650 29 0000 C CNN
+F 3 "" H 19400 3550 60 0000 C CNN
+ 1 19400 3550
+ 1 0 0 -1
+$EndComp
+Connection ~ 12800 2850
+Connection ~ 19500 3800
+Connection ~ 19500 2850
+Connection ~ 19200 6100
+Wire Wire Line
+ 19500 3900 19500 3750
+Connection ~ 13150 4750
+Wire Wire Line
+ 11800 5100 14700 5100
+Connection ~ 19050 3550
+Wire Wire Line
+ 19050 5200 19200 5200
+Wire Wire Line
+ 19050 3550 19050 5200
+Wire Wire Line
+ 18950 3550 19200 3550
+Wire Wire Line
+ 18950 3500 18950 3550
+Connection ~ 18950 2850
+Wire Wire Line
+ 19500 2850 19500 3350
+Connection ~ 17600 2850
+Wire Wire Line
+ 18950 2850 18950 3100
+Connection ~ 18200 5700
+Wire Wire Line
+ 18900 5700 18900 5400
+Wire Wire Line
+ 18200 5700 18900 5700
+Connection ~ 18200 6100
+Wire Wire Line
+ 19200 6100 19200 5600
+Connection ~ 17700 6100
+Wire Wire Line
+ 18200 6100 18200 6050
+Wire Wire Line
+ 18200 5650 18200 5750
+Connection ~ 18200 5250
+Wire Wire Line
+ 18200 3400 18200 5350
+Wire Wire Line
+ 17800 3400 18200 3400
+Connection ~ 17400 3700
+Connection ~ 17550 5050
+Wire Wire Line
+ 17550 4950 17550 5050
+Wire Wire Line
+ 17400 4950 17550 4950
+Connection ~ 15550 6100
+Wire Wire Line
+ 17700 6100 17700 5950
+Connection ~ 17700 5450
+Wire Wire Line
+ 17700 5650 17700 5450
+Wire Wire Line
+ 14450 4950 14450 5700
+Wire Wire Line
+ 17100 4950 14450 4950
+Wire Wire Line
+ 17100 5250 17100 4950
+Wire Wire Line
+ 17400 5450 17900 5450
+Wire Wire Line
+ 17400 5050 17900 5050
+Connection ~ 17100 3200
+Wire Wire Line
+ 17400 3400 17400 4950
+Wire Wire Line
+ 16700 3700 17400 3700
+Wire Wire Line
+ 16700 3200 16700 3700
+Connection ~ 17600 3000
+Connection ~ 16050 2850
+Wire Wire Line
+ 17600 2850 17600 3000
+Connection ~ 15550 2850
+Connection ~ 14150 2850
+Wire Wire Line
+ 17400 3000 17800 3000
+Wire Wire Line
+ 16700 3200 17500 3200
+Connection ~ 16150 4550
+Wire Wire Line
+ 16150 3850 16050 3850
+Wire Wire Line
+ 16150 5050 16150 3850
+Wire Wire Line
+ 15050 3850 15050 5250
+Wire Wire Line
+ 14150 3850 15050 3850
+Connection ~ 13950 6100
+Wire Wire Line
+ 15550 5950 16150 5950
+Wire Wire Line
+ 15050 5250 15850 5250
+Connection ~ 15550 5250
+Connection ~ 15550 5950
+Wire Wire Line
+ 15550 5750 15550 6100
+Connection ~ 16150 5550
+Wire Wire Line
+ 16150 5450 16150 5650
+Wire Wire Line
+ 15850 5550 16150 5550
+Wire Wire Line
+ 15550 5350 15550 5250
+Wire Wire Line
+ 14150 4250 15550 4250
+Wire Wire Line
+ 14150 4550 14150 4250
+Wire Wire Line
+ 15550 4250 15550 3450
+Connection ~ 15550 3650
+Wire Wire Line
+ 15550 2850 15550 3050
+Connection ~ 16050 3250
+Wire Wire Line
+ 15550 3650 15750 3650
+Wire Wire Line
+ 16050 3150 16050 3450
+Wire Wire Line
+ 15850 3250 16050 3250
+Connection ~ 13650 2850
+Wire Wire Line
+ 14700 5100 14700 4650
+Wire Wire Line
+ 14450 4750 14700 4750
+Wire Wire Line
+ 12300 4750 13350 4750
+Connection ~ 13350 5400
+Connection ~ 13350 6100
+Wire Wire Line
+ 12450 6100 12450 6050
+Wire Wire Line
+ 12450 6100 19500 6100
+Wire Wire Line
+ 13350 5900 13350 6100
+Connection ~ 13950 5700
+Wire Wire Line
+ 13950 5600 13950 5800
+Wire Wire Line
+ 14450 5700 13650 5700
+Wire Wire Line
+ 12350 5400 13650 5400
+Wire Wire Line
+ 13350 5500 13350 5400
+Connection ~ 13950 4950
+Wire Wire Line
+ 13950 5200 13950 4950
+Wire Wire Line
+ 13650 4950 14150 4950
+Connection ~ 13650 3650
+Wire Wire Line
+ 13650 2850 13650 3050
+Wire Wire Line
+ 12700 2850 19700 2850
+Connection ~ 14150 3250
+Wire Wire Line
+ 13650 3650 13850 3650
+Wire Wire Line
+ 13650 3450 13650 4550
+Wire Wire Line
+ 14150 3150 14150 3450
+Wire Wire Line
+ 13950 3250 14150 3250
+$Comp
+L eSim_Diode D9
+U 1 1 68545922
+P 13150 4400
+F 0 "D9" H 13150 4500 50 0000 C CNN
+F 1 "eSim_Diode" H 13150 4300 50 0000 C CNN
+F 2 "" H 13150 4400 60 0000 C CNN
+F 3 "" H 13150 4400 60 0000 C CNN
+ 1 13150 4400
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D12
+U 1 1 68545928
+P 14700 4500
+F 0 "D12" H 14700 4600 50 0000 C CNN
+F 1 "eSim_Diode" H 14700 4400 50 0000 C CNN
+F 2 "" H 14700 4500 60 0000 C CNN
+F 3 "" H 14700 4500 60 0000 C CNN
+ 1 14700 4500
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 13150 4550 13150 4750
+Connection ~ 14700 4750
+Wire Wire Line
+ 14700 4350 13300 4350
+Wire Wire Line
+ 13300 4350 13300 4250
+Wire Wire Line
+ 13300 4250 12300 4250
+Connection ~ 13150 4250
+$Comp
+L PORT U1
+U 15 1 6854593A
+P 12050 4250
+F 0 "U1" H 12100 4350 30 0000 C CNN
+F 1 "PORT" H 12050 4250 30 0000 C CNN
+F 2 "" H 12050 4250 60 0000 C CNN
+F 3 "" H 12050 4250 60 0000 C CNN
+ 15 12050 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 68545940
+P 12050 4750
+F 0 "U1" H 12100 4850 30 0000 C CNN
+F 1 "PORT" H 12050 4750 30 0000 C CNN
+F 2 "" H 12050 4750 60 0000 C CNN
+F 3 "" H 12050 4750 60 0000 C CNN
+ 13 12050 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 68545946
+P 11550 5100
+F 0 "U1" H 11600 5200 30 0000 C CNN
+F 1 "PORT" H 11550 5100 30 0000 C CNN
+F 2 "" H 11550 5100 60 0000 C CNN
+F 3 "" H 11550 5100 60 0000 C CNN
+ 14 11550 5100
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 16 1 6854594C
+P 12100 5400
+F 0 "U1" H 12150 5500 30 0000 C CNN
+F 1 "PORT" H 12100 5400 30 0000 C CNN
+F 2 "" H 12100 5400 60 0000 C CNN
+F 3 "" H 12100 5400 60 0000 C CNN
+ 16 12100 5400
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 68545958
+P 16450 4550
+F 0 "U1" H 16500 4650 30 0000 C CNN
+F 1 "PORT" H 16450 4550 30 0000 C CNN
+F 2 "" H 16450 4550 60 0000 C CNN
+F 3 "" H 16450 4550 60 0000 C CNN
+ 12 16450 4550
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 6854595E
+P 18350 3250
+F 0 "U1" H 18400 3350 30 0000 C CNN
+F 1 "PORT" H 18350 3250 30 0000 C CNN
+F 2 "" H 18350 3250 60 0000 C CNN
+F 3 "" H 18350 3250 60 0000 C CNN
+ 10 18350 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 68545964
+P 19450 4150
+F 0 "U1" H 19500 4250 30 0000 C CNN
+F 1 "PORT" H 19450 4150 30 0000 C CNN
+F 2 "" H 19450 4150 60 0000 C CNN
+F 3 "" H 19450 4150 60 0000 C CNN
+ 9 19450 4150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 12500 2800 12700 2800
+Wire Wire Line
+ 12700 2800 12700 2850
+Wire Wire Line
+ 12450 6050 12400 6050
+Wire Wire Line
+ 16200 4550 16150 4550
+Wire Wire Line
+ 19700 4150 19700 3900
+Wire Wire Line
+ 19700 3900 19500 3900
+Wire Wire Line
+ 18600 3250 18650 3250
+Wire Wire Line
+ 18650 3250 18650 3300
+Wire Wire Line
+ 12500 2750 12500 2800
+Wire Wire Line
+ 12400 6050 12400 6000
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/NE5517/NE5517.sub b/library/SubcircuitLibrary/NE5517/NE5517.sub
new file mode 100644
index 000000000..f2df91d15
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517.sub
@@ -0,0 +1,61 @@
+* Subcircuit NE5517
+.subckt NE5517 net-_q1-pad1_ net-_d7-pad1_ net-_d8-pad2_ net-_d7-pad2_ net-_q10-pad1_ net-_d1-pad2_ net-_q15-pad2_ net-_q17-pad3_ net-_q34-pad3_ net-_q32-pad2_ net-_d11-pad1_ net-_q26-pad1_ net-_d9-pad2_ net-_d12-pad2_ net-_d12-pad1_ net-_q18-pad1_
+* c:\fossee\esim\library\subcircuitlibrary\ne5517\ne5517.cir
+.include PNP.lib
+.include D.lib
+.include NPN.lib
+q3 net-_q2-pad1_ net-_d2-pad2_ net-_d11-pad1_ Q2N2907A
+q5 net-_q10-pad2_ net-_q2-pad1_ net-_d2-pad2_ Q2N2907A
+d2 net-_d11-pad1_ net-_d2-pad2_ 1N4148
+q2 net-_q2-pad1_ net-_d7-pad2_ net-_q2-pad3_ Q2N2222
+q6 net-_q6-pad1_ net-_d8-pad2_ net-_q2-pad3_ Q2N2222
+q4 net-_q2-pad3_ net-_q1-pad1_ net-_d1-pad1_ Q2N2222
+q1 net-_q1-pad1_ net-_d1-pad1_ net-_d1-pad2_ Q2N2222
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N4148
+q7 net-_q6-pad1_ net-_d3-pad2_ net-_d11-pad1_ Q2N2907A
+q9 net-_q10-pad1_ net-_q6-pad1_ net-_d3-pad2_ Q2N2907A
+d3 net-_d11-pad1_ net-_d3-pad2_ 1N4148
+q10 net-_q10-pad1_ net-_q10-pad2_ net-_d4-pad1_ Q2N2222
+q8 net-_q10-pad2_ net-_d4-pad1_ net-_d1-pad2_ Q2N2222
+d4 net-_d4-pad1_ net-_d1-pad2_ 1N4148
+q11 net-_q11-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q13 net-_d5-pad1_ net-_q11-pad1_ net-_d11-pad1_ Q2N2907A
+q12 net-_q11-pad1_ net-_d1-pad1_ net-_q12-pad3_ Q2N2222
+q14 net-_q11-pad1_ net-_d5-pad1_ net-_q12-pad3_ Q2N2222
+r6 net-_q12-pad3_ net-_d1-pad2_ 1k
+d5 net-_d5-pad1_ net-_d5-pad2_ 1N4148
+d6 net-_d5-pad2_ net-_d1-pad2_ 1N4148
+q16 net-_q15-pad3_ net-_d5-pad2_ net-_d1-pad2_ Q2N2222
+q15 net-_d11-pad1_ net-_q15-pad2_ net-_q15-pad3_ Q2N2222
+q17 net-_d11-pad1_ net-_q15-pad3_ net-_q17-pad3_ Q2N2222
+d7 net-_d7-pad1_ net-_d7-pad2_ 1N4148
+d8 net-_d7-pad1_ net-_d8-pad2_ 1N4148
+q20 net-_q19-pad1_ net-_d11-pad2_ net-_d11-pad1_ Q2N2907A
+q22 net-_q22-pad1_ net-_q19-pad1_ net-_d11-pad2_ Q2N2907A
+d11 net-_d11-pad1_ net-_d11-pad2_ 1N4148
+q19 net-_q19-pad1_ net-_d9-pad2_ net-_q19-pad3_ Q2N2222
+q23 net-_q23-pad1_ net-_d12-pad2_ net-_q19-pad3_ Q2N2222
+q21 net-_q19-pad3_ net-_q18-pad1_ net-_d10-pad1_ Q2N2222
+q18 net-_q18-pad1_ net-_d10-pad1_ net-_d1-pad2_ Q2N2222
+d10 net-_d10-pad1_ net-_d1-pad2_ 1N4148
+q24 net-_q23-pad1_ net-_d13-pad2_ net-_d11-pad1_ Q2N2907A
+q26 net-_q26-pad1_ net-_q23-pad1_ net-_d13-pad2_ Q2N2907A
+d13 net-_d11-pad1_ net-_d13-pad2_ 1N4148
+q27 net-_q26-pad1_ net-_q22-pad1_ net-_d14-pad1_ Q2N2222
+q25 net-_q22-pad1_ net-_d14-pad1_ net-_d1-pad2_ Q2N2222
+d14 net-_d14-pad1_ net-_d1-pad2_ 1N4148
+q28 net-_q28-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q30 net-_d15-pad1_ net-_q28-pad1_ net-_d11-pad1_ Q2N2907A
+q29 net-_q28-pad1_ net-_d10-pad1_ net-_q29-pad3_ Q2N2222
+q31 net-_q28-pad1_ net-_d15-pad1_ net-_q29-pad3_ Q2N2222
+r1 net-_q29-pad3_ net-_d1-pad2_ 1k
+d15 net-_d15-pad1_ net-_d15-pad2_ 1N4148
+d16 net-_d15-pad2_ net-_d1-pad2_ 1N4148
+q33 net-_q32-pad3_ net-_d15-pad2_ net-_d1-pad2_ Q2N2222
+q32 net-_d11-pad1_ net-_q32-pad2_ net-_q32-pad3_ Q2N2222
+q34 net-_d11-pad1_ net-_q32-pad3_ net-_q34-pad3_ Q2N2222
+d9 net-_d12-pad1_ net-_d9-pad2_ 1N4148
+d12 net-_d12-pad1_ net-_d12-pad2_ 1N4148
+* Control Statements
+
+.ends NE5517
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/NE5517/NE5517_Previous_Values.xml b/library/SubcircuitLibrary/NE5517/NE5517_Previous_Values.xml
new file mode 100644
index 000000000..e9c1b9063
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NE5517_Previous_Values.xml
@@ -0,0 +1 @@
+C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\PNP.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libC:\FOSSEE\eSim\library\deviceModelLibrary\Diode\D.libtruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/NE5517/NPN.lib b/library/SubcircuitLibrary/NE5517/NPN.lib
new file mode 100644
index 000000000..be5f3073a
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/NPN.lib
@@ -0,0 +1,4 @@
+.model Q2N2222 NPN( Is=14.34f Xti=3 Eg=1.11 Vaf=74.03 Bf=400 Ne=1.307
++ Ise=14.34f Ikf=0.2847 Xtb=1.5 Br=6.092 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=7.306p
++ Mjc=0.3416 Vjc=0.75 Fc=0.5 Cje=22.01p Mje=0.377 Vje=0.75 Tr=46.91n Tf=411.1p
++ Itf=0.6 Vtf=1.7 Xtf=3 Rb=10)
diff --git a/library/SubcircuitLibrary/NE5517/PNP.lib b/library/SubcircuitLibrary/NE5517/PNP.lib
new file mode 100644
index 000000000..7edda0eab
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/PNP.lib
@@ -0,0 +1,4 @@
+.model Q2N2907A PNP(Is=650.6E-18 Xti=3 Eg=1.11 Vaf=115.7 Bf=231.7 Ne=1.829
++ Ise=54.81f Ikf=1.079 Xtb=1.5 Br=3.563 Nc=2 Isc=0 Ikr=0 Rc=.715
++ Cjc=14.76p Mjc=.5383 Vjc=.75 Fc=.5 Cje=19.82p Mje=.3357 Vje=.75
++ Tr=111.3n Tf=603.7p Itf=.65 Vtf=5 Xtf=1.7 Rb=10)
diff --git a/library/SubcircuitLibrary/NE5517/analysis b/library/SubcircuitLibrary/NE5517/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/NE5517/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832-cache.lib b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832-cache.lib
new file mode 100644
index 000000000..4c40f2b00
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832-cache.lib
@@ -0,0 +1,93 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# d_and
+#
+DEF d_and U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_and" 50 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 149 50 100 -894 0 0 1 0 N 150 -50 250 50
+A 150 49 100 6 900 0 1 0 N 250 50 150 150
+P 4 0 1 0 150 -50 -250 -50 -250 150 150 150 N
+X IN1 1 -450 100 200 R 50 50 1 1 I
+X IN2 2 -450 0 200 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# d_or
+#
+DEF d_or U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_or" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -450 50 224 266 -266 0 1 0 N -250 150 -250 -50
+A -25 -124 325 574 323 0 1 0 N 150 150 250 50
+A 74 125 191 -665 -231 0 1 0 N 150 -50 250 50
+P 2 0 1 0 -250 -50 150 -50 N
+P 2 0 1 0 -250 150 150 150 N
+X IN1 1 -450 100 215 R 50 50 1 1 I
+X IN2 2 -450 0 215 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.bak b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.bak
new file mode 100644
index 000000000..47faee35a
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.bak
@@ -0,0 +1,161 @@
+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:SN74LVC1G0832_fellow-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 d_and U2
+U 1 1 682F224D
+P 5100 3450
+F 0 "U2" H 5100 3450 60 0000 C CNN
+F 1 "d_and" H 5150 3550 60 0000 C CNN
+F 2 "" H 5100 3450 60 0000 C CNN
+F 3 "" H 5100 3450 60 0000 C CNN
+ 1 5100 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U3
+U 1 1 682F2275
+P 6100 3750
+F 0 "U3" H 6100 3750 60 0000 C CNN
+F 1 "d_or" H 6100 3850 60 0000 C CNN
+F 2 "" H 6100 3750 60 0000 C CNN
+F 3 "" H 6100 3750 60 0000 C CNN
+ 1 6100 3750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 682F22C1
+P 4150 3350
+F 0 "U1" H 4200 3450 30 0000 C CNN
+F 1 "PORT" H 4150 3350 30 0000 C CNN
+F 2 "" H 4150 3350 60 0000 C CNN
+F 3 "" H 4150 3350 60 0000 C CNN
+ 1 4150 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 682F22E4
+P 4150 3500
+F 0 "U1" H 4200 3600 30 0000 C CNN
+F 1 "PORT" H 4150 3500 30 0000 C CNN
+F 2 "" H 4150 3500 60 0000 C CNN
+F 3 "" H 4150 3500 60 0000 C CNN
+ 2 4150 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 682F2307
+P 4250 3700
+F 0 "U1" H 4300 3800 30 0000 C CNN
+F 1 "PORT" H 4250 3700 30 0000 C CNN
+F 2 "" H 4250 3700 60 0000 C CNN
+F 3 "" H 4250 3700 60 0000 C CNN
+ 3 4250 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 682F232C
+P 7200 3700
+F 0 "U1" H 7250 3800 30 0000 C CNN
+F 1 "PORT" H 7200 3700 30 0000 C CNN
+F 2 "" H 7200 3700 60 0000 C CNN
+F 3 "" H 7200 3700 60 0000 C CNN
+ 4 7200 3700
+ -1 0 0 1
+$EndComp
+Wire Wire Line
+ 6550 3700 6950 3700
+Wire Wire Line
+ 5550 3400 5650 3400
+Wire Wire Line
+ 5650 3400 5650 3650
+Wire Wire Line
+ 4500 3700 5650 3700
+Wire Wire Line
+ 5650 3700 5650 3750
+Wire Wire Line
+ 4400 3350 4650 3350
+Wire Wire Line
+ 4400 3500 4650 3500
+Wire Wire Line
+ 4650 3500 4650 3450
+$Comp
+L eSim_GND #PWR?
+U 1 1 6873B7AD
+P 6000 4750
+F 0 "#PWR?" H 6000 4500 50 0001 C CNN
+F 1 "eSim_GND" H 6000 4600 50 0000 C CNN
+F 2 "" H 6000 4750 50 0001 C CNN
+F 3 "" H 6000 4750 50 0001 C CNN
+ 1 6000 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR?
+U 1 1 6873B7E5
+P 6800 4750
+F 0 "#PWR?" H 6800 4500 50 0001 C CNN
+F 1 "eSim_GND" H 6800 4600 50 0000 C CNN
+F 2 "" H 6800 4750 50 0001 C CNN
+F 3 "" H 6800 4750 50 0001 C CNN
+ 1 6800 4750
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir
new file mode 100644
index 000000000..abd0e8364
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir
@@ -0,0 +1,13 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\SN74LVC1G0832\SN74LVC1G0832.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/13/25 19:29:57
+
+* 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: /
+U2 Net-_U1-Pad1_ Net-_U1-Pad3_ Net-_U2-Pad3_ d_and
+U3 Net-_U2-Pad3_ Net-_U1-Pad6_ Net-_U1-Pad4_ d_or
+U1 Net-_U1-Pad1_ GND Net-_U1-Pad3_ Net-_U1-Pad4_ GND Net-_U1-Pad6_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir.out b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir.out
new file mode 100644
index 000000000..cc92773d9
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.cir.out
@@ -0,0 +1,20 @@
+* c:\fossee\esim\library\subcircuitlibrary\sn74lvc1g0832\sn74lvc1g0832.cir
+
+* u2 net-_u1-pad1_ net-_u1-pad3_ net-_u2-pad3_ d_and
+* u3 net-_u2-pad3_ net-_u1-pad6_ net-_u1-pad4_ d_or
+* u1 net-_u1-pad1_ gnd net-_u1-pad3_ net-_u1-pad4_ gnd net-_u1-pad6_ port
+a1 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u2-pad3_ u2
+a2 [net-_u2-pad3_ net-_u1-pad6_ ] net-_u1-pad4_ u3
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u2 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u3 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.pro b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.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/SN74LVC1G0832/SN74LVC1G0832.sch b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.sch
new file mode 100644
index 000000000..72021fdd0
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.sch
@@ -0,0 +1,195 @@
+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:SN74LVC1G0832_fellow-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 d_and U2
+U 1 1 682F224D
+P 5100 3450
+F 0 "U2" H 5100 3450 60 0000 C CNN
+F 1 "d_and" H 5150 3550 60 0000 C CNN
+F 2 "" H 5100 3450 60 0000 C CNN
+F 3 "" H 5100 3450 60 0000 C CNN
+ 1 5100 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U3
+U 1 1 682F2275
+P 6100 3750
+F 0 "U3" H 6100 3750 60 0000 C CNN
+F 1 "d_or" H 6100 3850 60 0000 C CNN
+F 2 "" H 6100 3750 60 0000 C CNN
+F 3 "" H 6100 3750 60 0000 C CNN
+ 1 6100 3750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6550 3700 6950 3700
+Wire Wire Line
+ 5550 3400 5650 3400
+Wire Wire Line
+ 5650 3400 5650 3650
+Wire Wire Line
+ 4450 3700 5650 3700
+Wire Wire Line
+ 5650 3700 5650 3750
+Wire Wire Line
+ 4350 3350 4650 3350
+Wire Wire Line
+ 4300 3500 4650 3500
+Wire Wire Line
+ 4650 3500 4650 3450
+$Comp
+L eSim_GND #PWR01
+U 1 1 6873B7AD
+P 6000 4750
+F 0 "#PWR01" H 6000 4500 50 0001 C CNN
+F 1 "eSim_GND" H 6000 4600 50 0000 C CNN
+F 2 "" H 6000 4750 50 0001 C CNN
+F 3 "" H 6000 4750 50 0001 C CNN
+ 1 6000 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 6873B7E5
+P 6800 4750
+F 0 "#PWR02" H 6800 4500 50 0001 C CNN
+F 1 "eSim_GND" H 6800 4600 50 0000 C CNN
+F 2 "" H 6800 4750 50 0001 C CNN
+F 3 "" H 6800 4750 50 0001 C CNN
+ 1 6800 4750
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 2 1 6873B881
+P 5650 4650
+F 0 "U1" H 5700 4750 30 0000 C CNN
+F 1 "PORT" H 5650 4650 30 0000 C CNN
+F 2 "" H 5650 4650 60 0000 C CNN
+F 3 "" H 5650 4650 60 0000 C CNN
+ 2 5650 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 6873B8AF
+P 6450 4600
+F 0 "U1" H 6500 4700 30 0000 C CNN
+F 1 "PORT" H 6450 4600 30 0000 C CNN
+F 2 "" H 6450 4600 60 0000 C CNN
+F 3 "" H 6450 4600 60 0000 C CNN
+ 5 6450 4600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5900 4650 6000 4650
+Wire Wire Line
+ 6000 4650 6000 4750
+Wire Wire Line
+ 6700 4600 6800 4600
+Wire Wire Line
+ 6800 4600 6800 4750
+$Comp
+L PORT U1
+U 1 1 6873B961
+P 4100 3350
+F 0 "U1" H 4150 3450 30 0000 C CNN
+F 1 "PORT" H 4100 3350 30 0000 C CNN
+F 2 "" H 4100 3350 60 0000 C CNN
+F 3 "" H 4100 3350 60 0000 C CNN
+ 1 4100 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 6873B9B2
+P 4050 3500
+F 0 "U1" H 4100 3600 30 0000 C CNN
+F 1 "PORT" H 4050 3500 30 0000 C CNN
+F 2 "" H 4050 3500 60 0000 C CNN
+F 3 "" H 4050 3500 60 0000 C CNN
+ 3 4050 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 6873B9D8
+P 4200 3700
+F 0 "U1" H 4250 3800 30 0000 C CNN
+F 1 "PORT" H 4200 3700 30 0000 C CNN
+F 2 "" H 4200 3700 60 0000 C CNN
+F 3 "" H 4200 3700 60 0000 C CNN
+ 6 4200 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 6873BA07
+P 6650 3550
+F 0 "U1" H 6700 3650 30 0000 C CNN
+F 1 "PORT" H 6650 3550 30 0000 C CNN
+F 2 "" H 6650 3550 60 0000 C CNN
+F 3 "" H 6650 3550 60 0000 C CNN
+ 4 6650 3550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6900 3550 6950 3550
+Wire Wire Line
+ 6950 3550 6950 3700
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.sub b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.sub
new file mode 100644
index 000000000..f045319c6
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832.sub
@@ -0,0 +1,14 @@
+* Subcircuit SN74LVC1G0832
+.subckt SN74LVC1G0832 net-_u1-pad1_ gnd net-_u1-pad3_ net-_u1-pad4_ gnd net-_u1-pad6_
+* c:\fossee\esim\library\subcircuitlibrary\sn74lvc1g0832\sn74lvc1g0832.cir
+* u2 net-_u1-pad1_ net-_u1-pad3_ net-_u2-pad3_ d_and
+* u3 net-_u2-pad3_ net-_u1-pad6_ net-_u1-pad4_ d_or
+a1 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u2-pad3_ u2
+a2 [net-_u2-pad3_ net-_u1-pad6_ ] net-_u1-pad4_ u3
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u2 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u3 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Control Statements
+
+.ends SN74LVC1G0832
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832_Previous_Values.xml b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832_Previous_Values.xml
new file mode 100644
index 000000000..b04998030
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/SN74LVC1G0832_Previous_Values.xml
@@ -0,0 +1 @@
+d_andd_ortruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/SN74LVC1G0832/analysis b/library/SubcircuitLibrary/SN74LVC1G0832/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/SN74LVC1G0832/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425-cache.lib b/library/SubcircuitLibrary/Sn5425/Sn5425-cache.lib
new file mode 100644
index 000000000..057df1254
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425-cache.lib
@@ -0,0 +1,107 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# PORT
+#
+DEF PORT U 0 40 Y Y 26 F N
+F0 "U" 50 100 30 H V C CNN
+F1 "PORT" 0 0 30 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 325 225 285 -1421 -1278 0 1 0 N 100 50 150 0
+A 376 -275 356 1294 1408 0 1 0 N 150 0 100 -50
+S -100 50 100 -50 0 1 0 N
+X ~ 1 250 0 100 L 30 30 1 1 B
+X ~ 2 250 0 100 L 30 30 2 1 B
+X ~ 3 250 0 100 L 30 30 3 1 B
+X ~ 4 250 0 100 L 30 30 4 1 B
+X ~ 5 250 0 100 L 30 30 5 1 B
+X ~ 6 250 0 100 L 30 30 6 1 B
+X ~ 7 250 0 100 L 30 30 7 1 B
+X ~ 8 250 0 100 L 30 30 8 1 B
+X ~ 9 250 0 100 L 30 30 9 1 B
+X ~ 10 250 0 100 L 30 30 10 1 B
+X ~ 11 250 0 100 L 30 30 11 1 B
+X ~ 12 250 0 100 L 30 30 12 1 B
+X ~ 13 250 0 100 L 30 30 13 1 B
+X ~ 14 250 0 100 L 30 30 14 1 B
+X ~ 15 250 0 100 L 30 30 15 1 B
+X ~ 16 250 0 100 L 30 30 16 1 B
+X ~ 17 250 0 100 L 30 30 17 1 B
+X ~ 18 250 0 100 L 30 30 18 1 B
+X ~ 19 250 0 100 L 30 30 19 1 B
+X ~ 20 250 0 100 L 30 30 20 1 B
+X ~ 21 250 0 100 L 30 30 21 1 B
+X ~ 22 250 0 100 L 30 30 22 1 B
+X ~ 23 250 0 100 L 30 30 23 1 B
+X ~ 24 250 0 100 L 30 30 24 1 B
+X ~ 25 250 0 100 L 30 30 25 1 B
+X ~ 26 250 0 100 L 30 30 26 1 B
+ENDDRAW
+ENDDEF
+#
+# d_and
+#
+DEF d_and U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_and" 50 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 149 50 100 -894 0 0 1 0 N 150 -50 250 50
+A 150 49 100 6 900 0 1 0 N 250 50 150 150
+P 4 0 1 0 150 -50 -250 -50 -250 150 150 150 N
+X IN1 1 -450 100 200 R 50 50 1 1 I
+X IN2 2 -450 0 200 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# d_inverter
+#
+DEF d_inverter U 0 40 Y Y 1 F N
+F0 "U" 0 -100 60 H V C CNN
+F1 "d_inverter" 0 150 60 H V C CNN
+F2 "" 50 -50 60 H V C CNN
+F3 "" 50 -50 60 H V C CNN
+DRAW
+P 4 0 1 0 -100 50 -100 -50 100 0 -100 50 N
+X ~ 1 -300 0 200 R 50 50 1 1 I
+X ~ 2 300 0 200 L 50 50 1 1 O I
+ENDDRAW
+ENDDEF
+#
+# d_or
+#
+DEF d_or U 0 40 Y Y 1 F N
+F0 "U" 0 0 60 H V C CNN
+F1 "d_or" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -450 50 224 266 -266 0 1 0 N -250 150 -250 -50
+A -25 -124 325 574 323 0 1 0 N 150 150 250 50
+A 74 125 191 -665 -231 0 1 0 N 150 -50 250 50
+P 2 0 1 0 -250 -50 150 -50 N
+P 2 0 1 0 -250 150 150 150 N
+X IN1 1 -450 100 215 R 50 50 1 1 I
+X IN2 2 -450 0 215 R 50 50 1 1 I
+X OUT 3 450 50 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# eSim_GND
+#
+DEF eSim_GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "eSim_GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425.bak b/library/SubcircuitLibrary/Sn5425/Sn5425.bak
new file mode 100644
index 000000000..53670849f
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.bak
@@ -0,0 +1,525 @@
+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:Sn5425-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 d_and U6
+U 1 1 686D296E
+P 3800 2150
+F 0 "U6" H 3800 2150 60 0000 C CNN
+F 1 "d_and" H 3850 2250 60 0000 C CNN
+F 2 "" H 3800 2150 60 0000 C CNN
+F 3 "" H 3800 2150 60 0000 C CNN
+ 1 3800 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U7
+U 1 1 686D298A
+P 3800 2550
+F 0 "U7" H 3800 2550 60 0000 C CNN
+F 1 "d_and" H 3850 2650 60 0000 C CNN
+F 2 "" H 3800 2550 60 0000 C CNN
+F 3 "" H 3800 2550 60 0000 C CNN
+ 1 3800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U8
+U 1 1 686D29A6
+P 3800 2950
+F 0 "U8" H 3800 2950 60 0000 C CNN
+F 1 "d_and" H 3850 3050 60 0000 C CNN
+F 2 "" H 3800 2950 60 0000 C CNN
+F 3 "" H 3800 2950 60 0000 C CNN
+ 1 3800 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U9
+U 1 1 686D29D3
+P 3800 3350
+F 0 "U9" H 3800 3350 60 0000 C CNN
+F 1 "d_and" H 3850 3450 60 0000 C CNN
+F 2 "" H 3800 3350 60 0000 C CNN
+F 3 "" H 3800 3350 60 0000 C CNN
+ 1 3800 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U12
+U 1 1 686D2A5A
+P 5000 2450
+F 0 "U12" H 5000 2450 60 0000 C CNN
+F 1 "d_or" H 5000 2550 60 0000 C CNN
+F 2 "" H 5000 2450 60 0000 C CNN
+F 3 "" H 5000 2450 60 0000 C CNN
+ 1 5000 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U13
+U 1 1 686D2A8A
+P 5000 3050
+F 0 "U13" H 5000 3050 60 0000 C CNN
+F 1 "d_or" H 5000 3150 60 0000 C CNN
+F 2 "" H 5000 3050 60 0000 C CNN
+F 3 "" H 5000 3050 60 0000 C CNN
+ 1 5000 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U15
+U 1 1 686D2AC4
+P 6050 2750
+F 0 "U15" H 6050 2750 60 0000 C CNN
+F 1 "d_or" H 6050 2850 60 0000 C CNN
+F 2 "" H 6050 2750 60 0000 C CNN
+F 3 "" H 6050 2750 60 0000 C CNN
+ 1 6050 2750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4250 2100 4550 2100
+Wire Wire Line
+ 4550 2100 4550 2350
+Wire Wire Line
+ 4250 2500 4550 2500
+Wire Wire Line
+ 4550 2500 4550 2450
+Wire Wire Line
+ 4250 2900 4550 2900
+Wire Wire Line
+ 4550 2900 4550 2950
+Wire Wire Line
+ 4250 3300 4550 3300
+Wire Wire Line
+ 4550 3300 4550 3050
+Wire Wire Line
+ 5450 2400 5600 2400
+Wire Wire Line
+ 5600 2400 5600 2650
+Wire Wire Line
+ 5450 3000 5600 3000
+Wire Wire Line
+ 5600 3000 5600 2750
+$Comp
+L d_and U2
+U 1 1 686D2C82
+P 3650 4250
+F 0 "U2" H 3650 4250 60 0000 C CNN
+F 1 "d_and" H 3700 4350 60 0000 C CNN
+F 2 "" H 3650 4250 60 0000 C CNN
+F 3 "" H 3650 4250 60 0000 C CNN
+ 1 3650 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U3
+U 1 1 686D2C88
+P 3650 4650
+F 0 "U3" H 3650 4650 60 0000 C CNN
+F 1 "d_and" H 3700 4750 60 0000 C CNN
+F 2 "" H 3650 4650 60 0000 C CNN
+F 3 "" H 3650 4650 60 0000 C CNN
+ 1 3650 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U4
+U 1 1 686D2C8E
+P 3650 5050
+F 0 "U4" H 3650 5050 60 0000 C CNN
+F 1 "d_and" H 3700 5150 60 0000 C CNN
+F 2 "" H 3650 5050 60 0000 C CNN
+F 3 "" H 3650 5050 60 0000 C CNN
+ 1 3650 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U5
+U 1 1 686D2C94
+P 3650 5450
+F 0 "U5" H 3650 5450 60 0000 C CNN
+F 1 "d_and" H 3700 5550 60 0000 C CNN
+F 2 "" H 3650 5450 60 0000 C CNN
+F 3 "" H 3650 5450 60 0000 C CNN
+ 1 3650 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U10
+U 1 1 686D2C9A
+P 4850 4550
+F 0 "U10" H 4850 4550 60 0000 C CNN
+F 1 "d_or" H 4850 4650 60 0000 C CNN
+F 2 "" H 4850 4550 60 0000 C CNN
+F 3 "" H 4850 4550 60 0000 C CNN
+ 1 4850 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U11
+U 1 1 686D2CA0
+P 4850 5150
+F 0 "U11" H 4850 5150 60 0000 C CNN
+F 1 "d_or" H 4850 5250 60 0000 C CNN
+F 2 "" H 4850 5150 60 0000 C CNN
+F 3 "" H 4850 5150 60 0000 C CNN
+ 1 4850 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U14
+U 1 1 686D2CA6
+P 5900 4850
+F 0 "U14" H 5900 4850 60 0000 C CNN
+F 1 "d_or" H 5900 4950 60 0000 C CNN
+F 2 "" H 5900 4850 60 0000 C CNN
+F 3 "" H 5900 4850 60 0000 C CNN
+ 1 5900 4850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4100 4200 4400 4200
+Wire Wire Line
+ 4400 4200 4400 4450
+Wire Wire Line
+ 4100 4600 4400 4600
+Wire Wire Line
+ 4400 4600 4400 4550
+Wire Wire Line
+ 4100 5000 4400 5000
+Wire Wire Line
+ 4400 5000 4400 5050
+Wire Wire Line
+ 4100 5400 4400 5400
+Wire Wire Line
+ 4400 5400 4400 5150
+Wire Wire Line
+ 5300 4500 5450 4500
+Wire Wire Line
+ 5450 4500 5450 4750
+Wire Wire Line
+ 5300 5100 5450 5100
+Wire Wire Line
+ 5450 5100 5450 4850
+$Comp
+L eSim_GND #PWR01
+U 1 1 686D2CC8
+P 7450 3550
+F 0 "#PWR01" H 7450 3300 50 0001 C CNN
+F 1 "eSim_GND" H 7450 3400 50 0000 C CNN
+F 2 "" H 7450 3550 50 0001 C CNN
+F 3 "" H 7450 3550 50 0001 C CNN
+ 1 7450 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 686D2D58
+P 7750 3550
+F 0 "#PWR02" H 7750 3300 50 0001 C CNN
+F 1 "eSim_GND" H 7750 3400 50 0000 C CNN
+F 2 "" H 7750 3550 50 0001 C CNN
+F 3 "" H 7750 3550 50 0001 C CNN
+ 1 7750 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 686D2E1B
+P 2350 2050
+F 0 "U1" H 2400 2150 30 0000 C CNN
+F 1 "PORT" H 2350 2050 30 0000 C CNN
+F 2 "" H 2350 2050 60 0000 C CNN
+F 3 "" H 2350 2050 60 0000 C CNN
+ 1 2350 2050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2600 3350 3350 3350
+Wire Wire Line
+ 3200 2150 3200 3350
+Wire Wire Line
+ 3200 2950 3350 2950
+Connection ~ 3200 3350
+Wire Wire Line
+ 3200 2550 3350 2550
+Connection ~ 3200 2950
+Wire Wire Line
+ 3200 2150 3350 2150
+Connection ~ 3200 2550
+Wire Wire Line
+ 2650 5450 3200 5450
+Wire Wire Line
+ 2950 4250 2950 5450
+Wire Wire Line
+ 2950 5050 3200 5050
+Connection ~ 2950 5450
+Wire Wire Line
+ 2950 4650 3200 4650
+Connection ~ 2950 5050
+Wire Wire Line
+ 2950 4250 3200 4250
+Connection ~ 2950 4650
+$Comp
+L PORT U1
+U 2 1 686D3154
+P 2400 2450
+F 0 "U1" H 2450 2550 30 0000 C CNN
+F 1 "PORT" H 2400 2450 30 0000 C CNN
+F 2 "" H 2400 2450 60 0000 C CNN
+F 3 "" H 2400 2450 60 0000 C CNN
+ 2 2400 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 686D31A0
+P 2350 2800
+F 0 "U1" H 2400 2900 30 0000 C CNN
+F 1 "PORT" H 2350 2800 30 0000 C CNN
+F 2 "" H 2350 2800 60 0000 C CNN
+F 3 "" H 2350 2800 60 0000 C CNN
+ 4 2350 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 686D3213
+P 2350 3150
+F 0 "U1" H 2400 3250 30 0000 C CNN
+F 1 "PORT" H 2350 3150 30 0000 C CNN
+F 2 "" H 2350 3150 60 0000 C CNN
+F 3 "" H 2350 3150 60 0000 C CNN
+ 5 2350 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 686D3265
+P 2350 3350
+F 0 "U1" H 2400 3450 30 0000 C CNN
+F 1 "PORT" H 2350 3350 30 0000 C CNN
+F 2 "" H 2350 3350 60 0000 C CNN
+F 3 "" H 2350 3350 60 0000 C CNN
+ 3 2350 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 686D3315
+P 2400 4150
+F 0 "U1" H 2450 4250 30 0000 C CNN
+F 1 "PORT" H 2400 4150 30 0000 C CNN
+F 2 "" H 2400 4150 60 0000 C CNN
+F 3 "" H 2400 4150 60 0000 C CNN
+ 9 2400 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 686D336D
+P 2450 4550
+F 0 "U1" H 2500 4650 30 0000 C CNN
+F 1 "PORT" H 2450 4550 30 0000 C CNN
+F 2 "" H 2450 4550 60 0000 C CNN
+F 3 "" H 2450 4550 60 0000 C CNN
+ 10 2450 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 686D341A
+P 2450 4850
+F 0 "U1" H 2500 4950 30 0000 C CNN
+F 1 "PORT" H 2450 4850 30 0000 C CNN
+F 2 "" H 2450 4850 60 0000 C CNN
+F 3 "" H 2450 4850 60 0000 C CNN
+ 12 2450 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 686D3472
+P 2450 5250
+F 0 "U1" H 2500 5350 30 0000 C CNN
+F 1 "PORT" H 2450 5250 30 0000 C CNN
+F 2 "" H 2450 5250 60 0000 C CNN
+F 3 "" H 2450 5250 60 0000 C CNN
+ 13 2450 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 686D34D3
+P 2400 5450
+F 0 "U1" H 2450 5550 30 0000 C CNN
+F 1 "PORT" H 2400 5450 30 0000 C CNN
+F 2 "" H 2400 5450 60 0000 C CNN
+F 3 "" H 2400 5450 60 0000 C CNN
+ 11 2400 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 686D35BF
+P 6900 3600
+F 0 "U1" H 6950 3700 30 0000 C CNN
+F 1 "PORT" H 6900 3600 30 0000 C CNN
+F 2 "" H 6900 3600 60 0000 C CNN
+F 3 "" H 6900 3600 60 0000 C CNN
+ 7 6900 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 686D36A7
+P 7500 3350
+F 0 "U1" H 7550 3450 30 0000 C CNN
+F 1 "PORT" H 7500 3350 30 0000 C CNN
+F 2 "" H 7500 3350 60 0000 C CNN
+F 3 "" H 7500 3350 60 0000 C CNN
+ 14 7500 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 686D3741
+P 7050 2450
+F 0 "U1" H 7100 2550 30 0000 C CNN
+F 1 "PORT" H 7050 2450 30 0000 C CNN
+F 2 "" H 7050 2450 60 0000 C CNN
+F 3 "" H 7050 2450 60 0000 C CNN
+ 6 7050 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 686D37DC
+P 6900 4500
+F 0 "U1" H 6950 4600 30 0000 C CNN
+F 1 "PORT" H 6900 4500 30 0000 C CNN
+F 2 "" H 6900 4500 60 0000 C CNN
+F 3 "" H 6900 4500 60 0000 C CNN
+ 8 6900 4500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2600 2050 3350 2050
+Wire Wire Line
+ 2650 2450 3350 2450
+Wire Wire Line
+ 2600 2800 3350 2800
+Wire Wire Line
+ 3350 2800 3350 2850
+Wire Wire Line
+ 2600 3150 3350 3150
+Wire Wire Line
+ 3350 3150 3350 3250
+Wire Wire Line
+ 6350 4800 6500 4800
+Wire Wire Line
+ 2650 4150 3200 4150
+Wire Wire Line
+ 2700 4550 3200 4550
+Wire Wire Line
+ 2700 4850 3200 4850
+Wire Wire Line
+ 3200 4850 3200 4950
+Wire Wire Line
+ 2700 5250 3200 5250
+Wire Wire Line
+ 3200 5250 3200 5350
+Wire Wire Line
+ 7150 3600 7150 3500
+Wire Wire Line
+ 7150 3500 7450 3500
+Wire Wire Line
+ 7450 3500 7450 3550
+Wire Wire Line
+ 7750 3350 7750 3550
+$Comp
+L d_inverter U?
+U 1 1 686E7B73
+P 7000 2700
+F 0 "U?" H 7000 2600 60 0000 C CNN
+F 1 "d_inverter" H 7000 2850 60 0000 C CNN
+F 2 "" H 7050 2650 60 0000 C CNN
+F 3 "" H 7050 2650 60 0000 C CNN
+ 1 7000 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6500 2700 6700 2700
+Wire Wire Line
+ 7300 2700 7300 2450
+$Comp
+L d_inverter U?
+U 1 1 686E7E2D
+P 6800 4800
+F 0 "U?" H 6800 4700 60 0000 C CNN
+F 1 "d_inverter" H 6800 4950 60 0000 C CNN
+F 2 "" H 6850 4750 60 0000 C CNN
+F 3 "" H 6850 4750 60 0000 C CNN
+ 1 6800 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7100 4800 7150 4800
+Wire Wire Line
+ 7150 4800 7150 4500
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425.cir b/library/SubcircuitLibrary/Sn5425/Sn5425.cir
new file mode 100644
index 000000000..1251bbbb8
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.cir
@@ -0,0 +1,27 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\Sn5425\Sn5425.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 07/09/25 19:47:34
+
+* 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: /
+U6 Net-_U1-Pad1_ Net-_U1-Pad3_ Net-_U12-Pad1_ d_and
+U7 Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U12-Pad2_ d_and
+U8 Net-_U1-Pad4_ Net-_U1-Pad3_ Net-_U13-Pad1_ d_and
+U9 Net-_U1-Pad5_ Net-_U1-Pad3_ Net-_U13-Pad2_ d_and
+U12 Net-_U12-Pad1_ Net-_U12-Pad2_ Net-_U12-Pad3_ d_or
+U13 Net-_U13-Pad1_ Net-_U13-Pad2_ Net-_U13-Pad3_ d_or
+U15 Net-_U12-Pad3_ Net-_U13-Pad3_ Net-_U15-Pad3_ d_or
+U2 Net-_U1-Pad9_ Net-_U1-Pad11_ Net-_U10-Pad1_ d_and
+U3 Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U10-Pad2_ d_and
+U4 Net-_U1-Pad12_ Net-_U1-Pad11_ Net-_U11-Pad1_ d_and
+U5 Net-_U1-Pad13_ Net-_U1-Pad11_ Net-_U11-Pad2_ d_and
+U10 Net-_U10-Pad1_ Net-_U10-Pad2_ Net-_U10-Pad3_ d_or
+U11 Net-_U11-Pad1_ Net-_U11-Pad2_ Net-_U11-Pad3_ d_or
+U14 Net-_U10-Pad3_ Net-_U11-Pad3_ Net-_U14-Pad3_ d_or
+U1 Net-_U1-Pad1_ Net-_U1-Pad2_ Net-_U1-Pad3_ Net-_U1-Pad4_ Net-_U1-Pad5_ Net-_U1-Pad6_ GND Net-_U1-Pad8_ Net-_U1-Pad9_ Net-_U1-Pad10_ Net-_U1-Pad11_ Net-_U1-Pad12_ Net-_U1-Pad13_ GND PORT
+U17 Net-_U15-Pad3_ Net-_U1-Pad6_ d_inverter
+U16 Net-_U14-Pad3_ Net-_U1-Pad8_ d_inverter
+
+.end
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425.cir.out b/library/SubcircuitLibrary/Sn5425/Sn5425.cir.out
new file mode 100644
index 000000000..8f94a0e4c
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.cir.out
@@ -0,0 +1,76 @@
+* c:\fossee\esim\library\subcircuitlibrary\sn5425\sn5425.cir
+
+* u6 net-_u1-pad1_ net-_u1-pad3_ net-_u12-pad1_ d_and
+* u7 net-_u1-pad2_ net-_u1-pad3_ net-_u12-pad2_ d_and
+* u8 net-_u1-pad4_ net-_u1-pad3_ net-_u13-pad1_ d_and
+* u9 net-_u1-pad5_ net-_u1-pad3_ net-_u13-pad2_ d_and
+* u12 net-_u12-pad1_ net-_u12-pad2_ net-_u12-pad3_ d_or
+* u13 net-_u13-pad1_ net-_u13-pad2_ net-_u13-pad3_ d_or
+* u15 net-_u12-pad3_ net-_u13-pad3_ net-_u15-pad3_ d_or
+* u2 net-_u1-pad9_ net-_u1-pad11_ net-_u10-pad1_ d_and
+* u3 net-_u1-pad10_ net-_u1-pad11_ net-_u10-pad2_ d_and
+* u4 net-_u1-pad12_ net-_u1-pad11_ net-_u11-pad1_ d_and
+* u5 net-_u1-pad13_ net-_u1-pad11_ net-_u11-pad2_ d_and
+* u10 net-_u10-pad1_ net-_u10-pad2_ net-_u10-pad3_ d_or
+* u11 net-_u11-pad1_ net-_u11-pad2_ net-_u11-pad3_ d_or
+* u14 net-_u10-pad3_ net-_u11-pad3_ net-_u14-pad3_ d_or
+* u1 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ gnd net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ gnd port
+* u17 net-_u15-pad3_ net-_u1-pad6_ d_inverter
+* u16 net-_u14-pad3_ net-_u1-pad8_ d_inverter
+a1 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u12-pad1_ u6
+a2 [net-_u1-pad2_ net-_u1-pad3_ ] net-_u12-pad2_ u7
+a3 [net-_u1-pad4_ net-_u1-pad3_ ] net-_u13-pad1_ u8
+a4 [net-_u1-pad5_ net-_u1-pad3_ ] net-_u13-pad2_ u9
+a5 [net-_u12-pad1_ net-_u12-pad2_ ] net-_u12-pad3_ u12
+a6 [net-_u13-pad1_ net-_u13-pad2_ ] net-_u13-pad3_ u13
+a7 [net-_u12-pad3_ net-_u13-pad3_ ] net-_u15-pad3_ u15
+a8 [net-_u1-pad9_ net-_u1-pad11_ ] net-_u10-pad1_ u2
+a9 [net-_u1-pad10_ net-_u1-pad11_ ] net-_u10-pad2_ u3
+a10 [net-_u1-pad12_ net-_u1-pad11_ ] net-_u11-pad1_ u4
+a11 [net-_u1-pad13_ net-_u1-pad11_ ] net-_u11-pad2_ u5
+a12 [net-_u10-pad1_ net-_u10-pad2_ ] net-_u10-pad3_ u10
+a13 [net-_u11-pad1_ net-_u11-pad2_ ] net-_u11-pad3_ u11
+a14 [net-_u10-pad3_ net-_u11-pad3_ ] net-_u14-pad3_ u14
+a15 net-_u15-pad3_ net-_u1-pad6_ u17
+a16 net-_u14-pad3_ net-_u1-pad8_ u16
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u6 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u7 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u8 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u9 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u12 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u13 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u15 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u2 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u3 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u4 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u5 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u10 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u11 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u14 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u17 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u16 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+.tran 0e-00 0e-00 0e-00
+
+* Control Statements
+.control
+run
+print allv > plot_data_v.txt
+print alli > plot_data_i.txt
+.endc
+.end
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425.pro b/library/SubcircuitLibrary/Sn5425/Sn5425.pro
new file mode 100644
index 000000000..e27a398be
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.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/Sn5425/Sn5425.sch b/library/SubcircuitLibrary/Sn5425/Sn5425.sch
new file mode 100644
index 000000000..1b1bfa575
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.sch
@@ -0,0 +1,525 @@
+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:Sn5425-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 d_and U6
+U 1 1 686D296E
+P 3800 2150
+F 0 "U6" H 3800 2150 60 0000 C CNN
+F 1 "d_and" H 3850 2250 60 0000 C CNN
+F 2 "" H 3800 2150 60 0000 C CNN
+F 3 "" H 3800 2150 60 0000 C CNN
+ 1 3800 2150
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U7
+U 1 1 686D298A
+P 3800 2550
+F 0 "U7" H 3800 2550 60 0000 C CNN
+F 1 "d_and" H 3850 2650 60 0000 C CNN
+F 2 "" H 3800 2550 60 0000 C CNN
+F 3 "" H 3800 2550 60 0000 C CNN
+ 1 3800 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U8
+U 1 1 686D29A6
+P 3800 2950
+F 0 "U8" H 3800 2950 60 0000 C CNN
+F 1 "d_and" H 3850 3050 60 0000 C CNN
+F 2 "" H 3800 2950 60 0000 C CNN
+F 3 "" H 3800 2950 60 0000 C CNN
+ 1 3800 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U9
+U 1 1 686D29D3
+P 3800 3350
+F 0 "U9" H 3800 3350 60 0000 C CNN
+F 1 "d_and" H 3850 3450 60 0000 C CNN
+F 2 "" H 3800 3350 60 0000 C CNN
+F 3 "" H 3800 3350 60 0000 C CNN
+ 1 3800 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U12
+U 1 1 686D2A5A
+P 5000 2450
+F 0 "U12" H 5000 2450 60 0000 C CNN
+F 1 "d_or" H 5000 2550 60 0000 C CNN
+F 2 "" H 5000 2450 60 0000 C CNN
+F 3 "" H 5000 2450 60 0000 C CNN
+ 1 5000 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U13
+U 1 1 686D2A8A
+P 5000 3050
+F 0 "U13" H 5000 3050 60 0000 C CNN
+F 1 "d_or" H 5000 3150 60 0000 C CNN
+F 2 "" H 5000 3050 60 0000 C CNN
+F 3 "" H 5000 3050 60 0000 C CNN
+ 1 5000 3050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U15
+U 1 1 686D2AC4
+P 6050 2750
+F 0 "U15" H 6050 2750 60 0000 C CNN
+F 1 "d_or" H 6050 2850 60 0000 C CNN
+F 2 "" H 6050 2750 60 0000 C CNN
+F 3 "" H 6050 2750 60 0000 C CNN
+ 1 6050 2750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4250 2100 4550 2100
+Wire Wire Line
+ 4550 2100 4550 2350
+Wire Wire Line
+ 4250 2500 4550 2500
+Wire Wire Line
+ 4550 2500 4550 2450
+Wire Wire Line
+ 4250 2900 4550 2900
+Wire Wire Line
+ 4550 2900 4550 2950
+Wire Wire Line
+ 4250 3300 4550 3300
+Wire Wire Line
+ 4550 3300 4550 3050
+Wire Wire Line
+ 5450 2400 5600 2400
+Wire Wire Line
+ 5600 2400 5600 2650
+Wire Wire Line
+ 5450 3000 5600 3000
+Wire Wire Line
+ 5600 3000 5600 2750
+$Comp
+L d_and U2
+U 1 1 686D2C82
+P 3650 4250
+F 0 "U2" H 3650 4250 60 0000 C CNN
+F 1 "d_and" H 3700 4350 60 0000 C CNN
+F 2 "" H 3650 4250 60 0000 C CNN
+F 3 "" H 3650 4250 60 0000 C CNN
+ 1 3650 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U3
+U 1 1 686D2C88
+P 3650 4650
+F 0 "U3" H 3650 4650 60 0000 C CNN
+F 1 "d_and" H 3700 4750 60 0000 C CNN
+F 2 "" H 3650 4650 60 0000 C CNN
+F 3 "" H 3650 4650 60 0000 C CNN
+ 1 3650 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U4
+U 1 1 686D2C8E
+P 3650 5050
+F 0 "U4" H 3650 5050 60 0000 C CNN
+F 1 "d_and" H 3700 5150 60 0000 C CNN
+F 2 "" H 3650 5050 60 0000 C CNN
+F 3 "" H 3650 5050 60 0000 C CNN
+ 1 3650 5050
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_and U5
+U 1 1 686D2C94
+P 3650 5450
+F 0 "U5" H 3650 5450 60 0000 C CNN
+F 1 "d_and" H 3700 5550 60 0000 C CNN
+F 2 "" H 3650 5450 60 0000 C CNN
+F 3 "" H 3650 5450 60 0000 C CNN
+ 1 3650 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U10
+U 1 1 686D2C9A
+P 4850 4550
+F 0 "U10" H 4850 4550 60 0000 C CNN
+F 1 "d_or" H 4850 4650 60 0000 C CNN
+F 2 "" H 4850 4550 60 0000 C CNN
+F 3 "" H 4850 4550 60 0000 C CNN
+ 1 4850 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U11
+U 1 1 686D2CA0
+P 4850 5150
+F 0 "U11" H 4850 5150 60 0000 C CNN
+F 1 "d_or" H 4850 5250 60 0000 C CNN
+F 2 "" H 4850 5150 60 0000 C CNN
+F 3 "" H 4850 5150 60 0000 C CNN
+ 1 4850 5150
+ 1 0 0 -1
+$EndComp
+$Comp
+L d_or U14
+U 1 1 686D2CA6
+P 5900 4850
+F 0 "U14" H 5900 4850 60 0000 C CNN
+F 1 "d_or" H 5900 4950 60 0000 C CNN
+F 2 "" H 5900 4850 60 0000 C CNN
+F 3 "" H 5900 4850 60 0000 C CNN
+ 1 5900 4850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4100 4200 4400 4200
+Wire Wire Line
+ 4400 4200 4400 4450
+Wire Wire Line
+ 4100 4600 4400 4600
+Wire Wire Line
+ 4400 4600 4400 4550
+Wire Wire Line
+ 4100 5000 4400 5000
+Wire Wire Line
+ 4400 5000 4400 5050
+Wire Wire Line
+ 4100 5400 4400 5400
+Wire Wire Line
+ 4400 5400 4400 5150
+Wire Wire Line
+ 5300 4500 5450 4500
+Wire Wire Line
+ 5450 4500 5450 4750
+Wire Wire Line
+ 5300 5100 5450 5100
+Wire Wire Line
+ 5450 5100 5450 4850
+$Comp
+L eSim_GND #PWR01
+U 1 1 686D2CC8
+P 7450 3550
+F 0 "#PWR01" H 7450 3300 50 0001 C CNN
+F 1 "eSim_GND" H 7450 3400 50 0000 C CNN
+F 2 "" H 7450 3550 50 0001 C CNN
+F 3 "" H 7450 3550 50 0001 C CNN
+ 1 7450 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_GND #PWR02
+U 1 1 686D2D58
+P 7750 3550
+F 0 "#PWR02" H 7750 3300 50 0001 C CNN
+F 1 "eSim_GND" H 7750 3400 50 0000 C CNN
+F 2 "" H 7750 3550 50 0001 C CNN
+F 3 "" H 7750 3550 50 0001 C CNN
+ 1 7750 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 686D2E1B
+P 2350 2050
+F 0 "U1" H 2400 2150 30 0000 C CNN
+F 1 "PORT" H 2350 2050 30 0000 C CNN
+F 2 "" H 2350 2050 60 0000 C CNN
+F 3 "" H 2350 2050 60 0000 C CNN
+ 1 2350 2050
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2600 3350 3350 3350
+Wire Wire Line
+ 3200 2150 3200 3350
+Wire Wire Line
+ 3200 2950 3350 2950
+Connection ~ 3200 3350
+Wire Wire Line
+ 3200 2550 3350 2550
+Connection ~ 3200 2950
+Wire Wire Line
+ 3200 2150 3350 2150
+Connection ~ 3200 2550
+Wire Wire Line
+ 2650 5450 3200 5450
+Wire Wire Line
+ 2950 4250 2950 5450
+Wire Wire Line
+ 2950 5050 3200 5050
+Connection ~ 2950 5450
+Wire Wire Line
+ 2950 4650 3200 4650
+Connection ~ 2950 5050
+Wire Wire Line
+ 2950 4250 3200 4250
+Connection ~ 2950 4650
+$Comp
+L PORT U1
+U 2 1 686D3154
+P 2400 2450
+F 0 "U1" H 2450 2550 30 0000 C CNN
+F 1 "PORT" H 2400 2450 30 0000 C CNN
+F 2 "" H 2400 2450 60 0000 C CNN
+F 3 "" H 2400 2450 60 0000 C CNN
+ 2 2400 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 4 1 686D31A0
+P 2350 2800
+F 0 "U1" H 2400 2900 30 0000 C CNN
+F 1 "PORT" H 2350 2800 30 0000 C CNN
+F 2 "" H 2350 2800 60 0000 C CNN
+F 3 "" H 2350 2800 60 0000 C CNN
+ 4 2350 2800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 686D3213
+P 2350 3150
+F 0 "U1" H 2400 3250 30 0000 C CNN
+F 1 "PORT" H 2350 3150 30 0000 C CNN
+F 2 "" H 2350 3150 60 0000 C CNN
+F 3 "" H 2350 3150 60 0000 C CNN
+ 5 2350 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 3 1 686D3265
+P 2350 3350
+F 0 "U1" H 2400 3450 30 0000 C CNN
+F 1 "PORT" H 2350 3350 30 0000 C CNN
+F 2 "" H 2350 3350 60 0000 C CNN
+F 3 "" H 2350 3350 60 0000 C CNN
+ 3 2350 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 9 1 686D3315
+P 2400 4150
+F 0 "U1" H 2450 4250 30 0000 C CNN
+F 1 "PORT" H 2400 4150 30 0000 C CNN
+F 2 "" H 2400 4150 60 0000 C CNN
+F 3 "" H 2400 4150 60 0000 C CNN
+ 9 2400 4150
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 10 1 686D336D
+P 2450 4550
+F 0 "U1" H 2500 4650 30 0000 C CNN
+F 1 "PORT" H 2450 4550 30 0000 C CNN
+F 2 "" H 2450 4550 60 0000 C CNN
+F 3 "" H 2450 4550 60 0000 C CNN
+ 10 2450 4550
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 12 1 686D341A
+P 2450 4850
+F 0 "U1" H 2500 4950 30 0000 C CNN
+F 1 "PORT" H 2450 4850 30 0000 C CNN
+F 2 "" H 2450 4850 60 0000 C CNN
+F 3 "" H 2450 4850 60 0000 C CNN
+ 12 2450 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 13 1 686D3472
+P 2450 5250
+F 0 "U1" H 2500 5350 30 0000 C CNN
+F 1 "PORT" H 2450 5250 30 0000 C CNN
+F 2 "" H 2450 5250 60 0000 C CNN
+F 3 "" H 2450 5250 60 0000 C CNN
+ 13 2450 5250
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 11 1 686D34D3
+P 2400 5450
+F 0 "U1" H 2450 5550 30 0000 C CNN
+F 1 "PORT" H 2400 5450 30 0000 C CNN
+F 2 "" H 2400 5450 60 0000 C CNN
+F 3 "" H 2400 5450 60 0000 C CNN
+ 11 2400 5450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 686D35BF
+P 6900 3600
+F 0 "U1" H 6950 3700 30 0000 C CNN
+F 1 "PORT" H 6900 3600 30 0000 C CNN
+F 2 "" H 6900 3600 60 0000 C CNN
+F 3 "" H 6900 3600 60 0000 C CNN
+ 7 6900 3600
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 14 1 686D36A7
+P 7500 3350
+F 0 "U1" H 7550 3450 30 0000 C CNN
+F 1 "PORT" H 7500 3350 30 0000 C CNN
+F 2 "" H 7500 3350 60 0000 C CNN
+F 3 "" H 7500 3350 60 0000 C CNN
+ 14 7500 3350
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 6 1 686D3741
+P 7050 2450
+F 0 "U1" H 7100 2550 30 0000 C CNN
+F 1 "PORT" H 7050 2450 30 0000 C CNN
+F 2 "" H 7050 2450 60 0000 C CNN
+F 3 "" H 7050 2450 60 0000 C CNN
+ 6 7050 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 686D37DC
+P 6900 4500
+F 0 "U1" H 6950 4600 30 0000 C CNN
+F 1 "PORT" H 6900 4500 30 0000 C CNN
+F 2 "" H 6900 4500 60 0000 C CNN
+F 3 "" H 6900 4500 60 0000 C CNN
+ 8 6900 4500
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2600 2050 3350 2050
+Wire Wire Line
+ 2650 2450 3350 2450
+Wire Wire Line
+ 2600 2800 3350 2800
+Wire Wire Line
+ 3350 2800 3350 2850
+Wire Wire Line
+ 2600 3150 3350 3150
+Wire Wire Line
+ 3350 3150 3350 3250
+Wire Wire Line
+ 6350 4800 6500 4800
+Wire Wire Line
+ 2650 4150 3200 4150
+Wire Wire Line
+ 2700 4550 3200 4550
+Wire Wire Line
+ 2700 4850 3200 4850
+Wire Wire Line
+ 3200 4850 3200 4950
+Wire Wire Line
+ 2700 5250 3200 5250
+Wire Wire Line
+ 3200 5250 3200 5350
+Wire Wire Line
+ 7150 3600 7150 3500
+Wire Wire Line
+ 7150 3500 7450 3500
+Wire Wire Line
+ 7450 3500 7450 3550
+Wire Wire Line
+ 7750 3350 7750 3550
+$Comp
+L d_inverter U17
+U 1 1 686E7B73
+P 7000 2700
+F 0 "U17" H 7000 2600 60 0000 C CNN
+F 1 "d_inverter" H 7000 2850 60 0000 C CNN
+F 2 "" H 7050 2650 60 0000 C CNN
+F 3 "" H 7050 2650 60 0000 C CNN
+ 1 7000 2700
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6500 2700 6700 2700
+Wire Wire Line
+ 7300 2700 7300 2450
+$Comp
+L d_inverter U16
+U 1 1 686E7E2D
+P 6800 4800
+F 0 "U16" H 6800 4700 60 0000 C CNN
+F 1 "d_inverter" H 6800 4950 60 0000 C CNN
+F 2 "" H 6850 4750 60 0000 C CNN
+F 3 "" H 6850 4750 60 0000 C CNN
+ 1 6800 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7100 4800 7150 4800
+Wire Wire Line
+ 7150 4800 7150 4500
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425.sub b/library/SubcircuitLibrary/Sn5425/Sn5425.sub
new file mode 100644
index 000000000..ec983e901
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425.sub
@@ -0,0 +1,70 @@
+* Subcircuit Sn5425
+.subckt Sn5425 net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ gnd net-_u1-pad8_ net-_u1-pad9_ net-_u1-pad10_ net-_u1-pad11_ net-_u1-pad12_ net-_u1-pad13_ gnd
+* c:\fossee\esim\library\subcircuitlibrary\sn5425\sn5425.cir
+* u6 net-_u1-pad1_ net-_u1-pad3_ net-_u12-pad1_ d_and
+* u7 net-_u1-pad2_ net-_u1-pad3_ net-_u12-pad2_ d_and
+* u8 net-_u1-pad4_ net-_u1-pad3_ net-_u13-pad1_ d_and
+* u9 net-_u1-pad5_ net-_u1-pad3_ net-_u13-pad2_ d_and
+* u12 net-_u12-pad1_ net-_u12-pad2_ net-_u12-pad3_ d_or
+* u13 net-_u13-pad1_ net-_u13-pad2_ net-_u13-pad3_ d_or
+* u15 net-_u12-pad3_ net-_u13-pad3_ net-_u15-pad3_ d_or
+* u2 net-_u1-pad9_ net-_u1-pad11_ net-_u10-pad1_ d_and
+* u3 net-_u1-pad10_ net-_u1-pad11_ net-_u10-pad2_ d_and
+* u4 net-_u1-pad12_ net-_u1-pad11_ net-_u11-pad1_ d_and
+* u5 net-_u1-pad13_ net-_u1-pad11_ net-_u11-pad2_ d_and
+* u10 net-_u10-pad1_ net-_u10-pad2_ net-_u10-pad3_ d_or
+* u11 net-_u11-pad1_ net-_u11-pad2_ net-_u11-pad3_ d_or
+* u14 net-_u10-pad3_ net-_u11-pad3_ net-_u14-pad3_ d_or
+* u17 net-_u15-pad3_ net-_u1-pad6_ d_inverter
+* u16 net-_u14-pad3_ net-_u1-pad8_ d_inverter
+a1 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u12-pad1_ u6
+a2 [net-_u1-pad2_ net-_u1-pad3_ ] net-_u12-pad2_ u7
+a3 [net-_u1-pad4_ net-_u1-pad3_ ] net-_u13-pad1_ u8
+a4 [net-_u1-pad5_ net-_u1-pad3_ ] net-_u13-pad2_ u9
+a5 [net-_u12-pad1_ net-_u12-pad2_ ] net-_u12-pad3_ u12
+a6 [net-_u13-pad1_ net-_u13-pad2_ ] net-_u13-pad3_ u13
+a7 [net-_u12-pad3_ net-_u13-pad3_ ] net-_u15-pad3_ u15
+a8 [net-_u1-pad9_ net-_u1-pad11_ ] net-_u10-pad1_ u2
+a9 [net-_u1-pad10_ net-_u1-pad11_ ] net-_u10-pad2_ u3
+a10 [net-_u1-pad12_ net-_u1-pad11_ ] net-_u11-pad1_ u4
+a11 [net-_u1-pad13_ net-_u1-pad11_ ] net-_u11-pad2_ u5
+a12 [net-_u10-pad1_ net-_u10-pad2_ ] net-_u10-pad3_ u10
+a13 [net-_u11-pad1_ net-_u11-pad2_ ] net-_u11-pad3_ u11
+a14 [net-_u10-pad3_ net-_u11-pad3_ ] net-_u14-pad3_ u14
+a15 net-_u15-pad3_ net-_u1-pad6_ u17
+a16 net-_u14-pad3_ net-_u1-pad8_ u16
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u6 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u7 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u8 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u9 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u12 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u13 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u15 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u2 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u3 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u4 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_and, NgSpice Name: d_and
+.model u5 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u10 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u11 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_or, NgSpice Name: d_or
+.model u14 d_or(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u17 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Schematic Name: d_inverter, NgSpice Name: d_inverter
+.model u16 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
+* Control Statements
+
+.ends Sn5425
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/Sn5425/Sn5425_Previous_Values.xml b/library/SubcircuitLibrary/Sn5425/Sn5425_Previous_Values.xml
new file mode 100644
index 000000000..7913e30b3
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/Sn5425_Previous_Values.xml
@@ -0,0 +1 @@
+d_andd_andd_andd_andd_ord_ord_ord_andd_andd_andd_andd_ord_ord_ord_inverterd_invertertruefalsefalseHzHz0Volts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or AmperesVolts or Amperessecsecsec
\ No newline at end of file
diff --git a/library/SubcircuitLibrary/Sn5425/analysis b/library/SubcircuitLibrary/Sn5425/analysis
new file mode 100644
index 000000000..a278481ce
--- /dev/null
+++ b/library/SubcircuitLibrary/Sn5425/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00
diff --git a/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib b/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
index e69de29bb..79b70d61a 100644
--- a/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
+++ b/library/kicadLibrary/kicad_eSim-Library/eSim_Subckt.lib
@@ -0,0 +1,1350 @@
+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
+#
+# 4_input_nor
+#
+DEF 4_input_nor X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "4_input_nor" 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 -700 450 800 -350 0 1 0 N
+X B 1 -900 150 200 R 50 50 1 1 I
+X C 2 -900 50 200 R 50 50 1 1 I
+X D 3 -900 -50 200 R 50 50 1 1 I
+X A 4 -900 250 200 R 50 50 1 1 I
+X G 5 -900 -150 200 R 50 50 1 1 I
+X Y 6 1000 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
+#
+# AP331
+#
+DEF AP331 X 0 40 Y Y 1 F N
+F0 "X" 0 250 60 H V C CNN
+F1 "AP331" 0 -350 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -200 200 200 -300 0 1 0 N
+X IN- 1 -400 100 200 R 50 50 1 1 I
+X GND 2 -400 -50 200 R 50 50 1 1 I
+X IN+ 3 -400 -250 200 R 50 50 1 1 I
+X OUT 4 400 -250 200 L 50 50 1 1 O
+X VCC 5 400 50 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# And_or_gate
+#
+DEF And_or_gate X 0 40 Y Y 1 F N
+F0 "X" 50 50 60 H V C CNN
+F1 "And_or_gate" 50 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -400 250 500 -250 0 1 0 N
+X A 1 -600 150 200 R 50 50 1 1 I
+X B 2 -600 0 200 R 50 50 1 1 I
+X C 3 -600 -150 200 R 50 50 1 1 I
+X Out 4 700 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# CD4007
+#
+DEF CD4007 X 0 40 Y Y 1 F N
+F0 "X" 100 0 60 H V C CNN
+F1 "CD4007" 200 -300 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -800 650 1150 -800 0 1 0 N
+X Q2(P)_Drain 1 -1000 450 200 R 50 50 1 1 O
+X Q2(P)_Source 2 -1000 250 200 R 50 50 1 1 I
+X Q3_Gate 3 -1000 100 200 R 50 50 1 1 I
+X Q2(N)_Source 4 -1000 -100 200 R 50 50 1 1 I
+X Q2(N)_Drain 5 -1000 -250 200 R 50 50 1 1 O
+X Q1_Gate 6 -1000 -450 200 R 50 50 1 1 I
+X VSS 7 -1000 -600 200 R 50 50 1 1 I
+X Q1(N)_Drain 8 1350 -600 200 L 50 50 1 1 O
+X Q3(N)_Source 9 1350 -450 200 L 50 50 1 1 I
+X Q3_Gate 10 1350 -250 200 L 50 50 1 1 I
+X Q3(P)_Drain 11 1350 -100 200 L 50 50 1 1 I
+X Q3_Drain_Source 12 1350 100 200 L 50 50 1 1 O
+X Q1(P)_Source 13 1350 300 200 L 50 50 1 1 O
+X VDD 14 1350 500 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD4063
+#
+DEF CD4063 X 0 40 Y Y 1 F N
+F0 "X" 0 0 60 H V C CNN
+F1 "CD4063" 150 -700 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -600 700 650 -900 0 1 0 N
+X A0 1 -800 500 200 R 50 50 1 1 I
+X A1 2 -800 400 200 R 50 50 1 1 I
+X A2 3 -800 300 200 R 50 50 1 1 I
+X A3 4 -800 200 200 R 50 50 1 1 I
+X B0 5 -800 100 200 R 50 50 1 1 I
+X B1 6 -800 0 200 R 50 50 1 1 I
+X B2 7 -800 -150 200 R 50 50 1 1 I
+X B3 8 -800 -250 200 R 50 50 1 1 I
+X (AB)IN 10 -800 -550 200 R 50 50 1 1 I
+X (A=B)IN 11 -800 -700 200 R 50 50 1 1 I
+X (AB)OUT 13 850 -150 200 L 50 50 1 1 O
+X (A=B)OUT 14 850 0 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# CD4066
+#
+DEF CD4066 X 0 40 Y Y 1 F N
+F0 "X" -150 450 60 H V C CNN
+F1 "CD4066" -150 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -900 550 700 -150 0 1 0 N
+X SIG_A_IN/OUT 1 -1100 500 200 R 50 50 1 1 B
+X SIG_A_OUT/IN 2 -1100 400 200 R 50 50 1 1 B
+X SIG_B_OUT/IN 3 -1100 300 200 R 50 50 1 1 B
+X SIG_B_IN/OUT 4 -1100 200 200 R 50 50 1 1 B
+X CONTROL_B 5 -1100 100 200 R 50 50 1 1 I
+X CONTROL_C 6 -1100 0 200 R 50 50 1 1 I
+X VSS 7 -1100 -100 200 R 50 50 1 1 I
+X SIG_C_IN/OUT 8 900 -100 200 L 50 50 1 1 B
+X SIG_C_OUT/IN 9 900 0 200 L 50 50 1 1 B
+X SIG_D_OUT/IN 10 900 100 200 L 50 50 1 1 B
+X SIG_D_IN/OUT 11 900 200 200 L 50 50 1 1 B
+X CONTROL_D 12 900 300 200 L 50 50 1 1 I
+X CONTROL_A 13 900 400 200 L 50 50 1 1 I
+X VDD 14 900 500 200 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# CD4585
+#
+DEF CD4585 X 0 40 Y Y 1 F N
+F0 "X" -50 50 60 H V C CNN
+F1 "CD4585" 0 -450 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -650 650 550 -1000 0 1 0 N
+X A3 1 -850 500 200 R 50 50 1 1 I
+X B3 2 -850 100 200 R 50 50 1 1 I
+X A2 3 -850 400 200 R 50 50 1 1 I
+X B2 4 -850 -50 200 R 50 50 1 1 I
+X A1 5 -850 300 200 R 50 50 1 1 I
+X (AB)IN 8 -850 -800 200 R 50 50 1 1 I
+X B1 9 -850 -200 200 R 50 50 1 1 I
+X A0 10 -850 200 200 R 50 50 1 1 I
+X B0 11 -850 -350 200 R 50 50 1 1 I
+X (AB)OUT 14 750 -200 200 L 50 50 1 1 O
+ENDDRAW
+ENDDEF
+#
+# CD_4007
+#
+DEF CD_4007 X 0 40 Y Y 1 F N
+F0 "X" 50 500 60 H V C CNN
+F1 "CD_4007" 0 -700 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -650 700 700 -800 0 1 0 N
+X Q2(P)_Drain 1 -850 350 200 R 50 50 1 1 I
+X Q2(P)_Source 2 -850 200 200 R 50 50 1 1 I
+X Q3_Gate 3 -850 50 200 R 50 50 1 1 I
+X Q2(N)_Source 4 -850 -150 200 R 50 50 1 1 I
+X Q2(N)_Drain 5 -850 -300 200 R 50 50 1 1 I
+X Q1_Gate 6 -850 -450 200 R 50 50 1 1 I
+X VSS 7 -850 -600 200 R 50 50 1 1 I
+X Q1(N)_Drain 8 900 -500 200 L 50 50 1 1 I
+X Q3(N)_Source 9 900 -350 200 L 50 50 1 1 I
+X Q3_Gate 10 900 -200 200 L 50 50 1 1 I
+X Q3(P)_Drain 11 900 -50 200 L 50 50 1 1 I
+X Q3_Drain_Source 12 900 150 200 L 50 50 1 1 I
+X Q1(P)_Source 13 900 300 200 L 50 50 1 1 I
+X VDD 14 900 450 200 L 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
+#
+# COMPARATOR
+#
+DEF COMPARATOR X 0 40 Y Y 1 F N
+F0 "X" 200 200 60 H V C CNN
+F1 "COMPARATOR" 250 -150 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -500 300 600 -200 0 1 0 N
+X NON_INV_INP 1 -700 200 200 R 50 50 1 1 I
+X INV_INP 2 -700 100 200 R 50 50 1 1 I
+X GND 3 -700 0 200 R 50 50 1 1 I
+X OUT 4 800 50 200 L 50 50 1 1 O
+X VCC 5 -700 -100 200 R 50 50 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
+#
+# HCF4066
+#
+DEF HCF4066 X 0 40 Y Y 1 F N
+F0 "X" -150 450 60 H V C CNN
+F1 "HCF4066" -150 -100 60 H V C CNN
+F2 "" 0 0 60 H I C CNN
+F3 "" 0 0 60 H I C CNN
+DRAW
+S -900 550 700 -150 0 1 0 N
+X SIG_A_IN/OUT 1 -1100 500 200 R 50 50 1 1 B
+X SIG_A_OUT/IN 2 -1100 400 200 R 50 50 1 1 B
+X SIG_B_OUT/IN 3 -1100 300 200 R 50 50 1 1 B
+X SIG_B_IN/OUT 4 -1100 200 200 R 50 50 1 1 B
+X CONTROL_B 5 -1100 100 200 R 50 50 1 1 I
+X CONTROL_C 6 -1100 0 200 R 50 50 1 1 I
+X VSS 7 -1100 -100 200 R 50 50 1 1 I
+X SIG_C_IN/OUT 8 900 -100 200 L 50 50 1 1 B
+X SIG_C_OUT/IN 9 900 0 200 L 50 50 1 1 B
+X SIG_D_OUT/IN 10 900 100 200 L 50 50 1 1 B
+X SIG_D_IN/OUT 11 900 200 200 L 50 50 1 1 B
+X CONTROL_D 12 900 300 200 L 50 50 1 1 I
+X CONTROL_A 13 900 400 200 L 50 50 1 1 I
+X VDD 14 900 500 200 L 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 AB(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