summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCodeByHarshal2025-05-24 17:35:17 +0530
committerCodeByHarshal2025-05-24 17:35:17 +0530
commitb28f3948c6d8282ae2ed8ebda4d14a86ee63d5ed (patch)
tree9eca79ef198fb6feb476ab42498753d998a7ce3c
parent3d21439e807d4688ce5720bf8717a80de727a7a2 (diff)
downloadeSim-b28f3948c6d8282ae2ed8ebda4d14a86ee63d5ed.tar.gz
eSim-b28f3948c6d8282ae2ed8ebda4d14a86ee63d5ed.tar.bz2
eSim-b28f3948c6d8282ae2ed8ebda4d14a86ee63d5ed.zip
Add CA3160A BiMOS op-amp subcircuit
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A-cache.lib201
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A.cir41
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A.cir.out58
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A.pro73
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A.sch705
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A.sub52
-rw-r--r--library/SubcircuitLibrary/CA3160A/CA3160A_Previous_Values.xml1
-rw-r--r--library/SubcircuitLibrary/CA3160A/NMOS-5um.lib5
-rw-r--r--library/SubcircuitLibrary/CA3160A/NPN.lib4
-rw-r--r--library/SubcircuitLibrary/CA3160A/PMOS-5um.lib5
-rw-r--r--library/SubcircuitLibrary/CA3160A/analysis1
-rw-r--r--library/SubcircuitLibrary/CA3160A/schottky.lib1
12 files changed, 1147 insertions, 0 deletions
diff --git a/library/SubcircuitLibrary/CA3160A/CA3160A-cache.lib b/library/SubcircuitLibrary/CA3160A/CA3160A-cache.lib
new file mode 100644
index 00000000..8ffbd3d6
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A-cache.lib
@@ -0,0 +1,201 @@
+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 P
+X ~ 2 250 0 100 L 30 30 2 1 P
+X ~ 3 250 0 100 L 30 30 3 1 P
+X ~ 4 250 0 100 L 30 30 4 1 P
+X ~ 5 250 0 100 L 30 30 5 1 P
+X ~ 6 250 0 100 L 30 30 6 1 P
+X ~ 7 250 0 100 L 30 30 7 1 P
+X ~ 8 250 0 100 L 30 30 8 1 P
+X ~ 9 250 0 100 L 30 30 9 1 P
+X ~ 10 250 0 100 L 30 30 10 1 P
+X ~ 11 250 0 100 L 30 30 11 1 P
+X ~ 12 250 0 100 L 30 30 12 1 P
+X ~ 13 250 0 100 L 30 30 13 1 P
+X ~ 14 250 0 100 L 30 30 14 1 P
+X ~ 15 250 0 100 L 30 30 15 1 P
+X ~ 16 250 0 100 L 30 30 16 1 P
+X ~ 17 250 0 100 L 30 30 17 1 P
+X ~ 18 250 0 100 L 30 30 18 1 P
+X ~ 19 250 0 100 L 30 30 19 1 P
+X ~ 20 250 0 100 L 30 30 20 1 P
+X ~ 21 250 0 100 L 30 30 21 1 P
+X ~ 22 250 0 100 L 30 30 22 1 P
+X ~ 23 250 0 100 L 30 30 23 1 P
+X ~ 24 250 0 100 L 30 30 24 1 P
+X ~ 25 250 0 100 L 30 30 25 1 P
+X ~ 26 250 0 100 L 30 30 26 1 P
+ENDDRAW
+ENDDEF
+#
+# eSim_CP1
+#
+DEF eSim_CP1 C 0 10 N N 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "eSim_CP1" 25 -100 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS capacitor_polarised
+$FPLIST
+ CP_*
+$ENDFPLIST
+DRAW
+A 0 -150 128 1287 513 0 1 20 N -80 -50 80 -50
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 0 -70 90 -30 90 N
+P 2 0 1 0 -50 70 -50 110 N
+X ~ 1 0 150 110 D 50 50 1 1 P
+X ~ 2 0 -150 130 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_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
+#
+# 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_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
+#
+# zener
+#
+DEF zener U 0 40 Y Y 1 F N
+F0 "U" -50 -100 60 H V C CNN
+F1 "zener" 0 100 60 H V C CNN
+F2 "" 50 0 60 H V C CNN
+F3 "" 50 0 60 H V C CNN
+DRAW
+P 2 0 1 0 100 -50 50 -100 N
+P 2 0 1 0 100 50 100 -50 N
+P 2 0 1 0 100 50 150 100 N
+P 4 0 1 0 0 50 0 -50 100 0 0 50 N
+X ~ IN -200 0 200 R 50 43 1 1 I
+X ~ OUT 300 0 200 L 50 43 1 1 O
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/library/SubcircuitLibrary/CA3160A/CA3160A.cir b/library/SubcircuitLibrary/CA3160A/CA3160A.cir
new file mode 100644
index 00000000..c72c6eb5
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A.cir
@@ -0,0 +1,41 @@
+* C:\FOSSEE\eSim\library\SubcircuitLibrary\CA3160A\CA3160A.cir
+
+* EESchema Netlist Version 1.1 (Spice format) creation date: 04/26/25 14:47:26
+
+* 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: /
+D2 Net-_D1-Pad2_ Net-_D2-Pad2_ eSim_Diode
+D3 Net-_D2-Pad2_ Net-_D3-Pad2_ eSim_Diode
+D4 Net-_D3-Pad2_ Net-_D4-Pad2_ eSim_Diode
+R2 Net-_R2-Pad1_ Net-_D4-Pad2_ 40k
+U2 Net-_R2-Pad1_ Net-_R1-Pad2_ zener
+R3 Net-_R2-Pad1_ Net-_M8-Pad3_ 5k
+M1 Net-_D1-Pad1_ Net-_D1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M3 Net-_M3-Pad1_ Net-_D1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M4 Net-_M2-Pad3_ Net-_D4-Pad2_ Net-_M3-Pad1_ Net-_M3-Pad1_ eSim_MOS_P
+M6 Net-_M6-Pad1_ Net-_D1-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+M7 Net-_M7-Pad1_ Net-_D4-Pad2_ Net-_M6-Pad1_ Net-_M6-Pad1_ eSim_MOS_P
+M2 Net-_M2-Pad1_ Net-_M2-Pad2_ Net-_M2-Pad3_ Net-_M2-Pad3_ eSim_MOS_P
+M5 Net-_M5-Pad1_ Net-_M5-Pad2_ Net-_M2-Pad3_ Net-_M2-Pad3_ eSim_MOS_P
+R5 Net-_M2-Pad1_ Net-_Q1-Pad1_ 1k
+R7 Net-_M5-Pad1_ Net-_C1-Pad2_ 1k
+Q1 Net-_Q1-Pad1_ Net-_M2-Pad1_ Net-_Q1-Pad3_ eSim_NPN
+Q2 Net-_C1-Pad2_ Net-_M2-Pad1_ Net-_Q2-Pad3_ eSim_NPN
+R6 Net-_Q1-Pad3_ Net-_M8-Pad3_ 1k
+R8 Net-_Q2-Pad3_ Net-_M8-Pad3_ 1k
+Q3 Net-_M7-Pad1_ Net-_C1-Pad2_ Net-_M8-Pad3_ eSim_NPN
+M8 Net-_M8-Pad1_ Net-_M7-Pad1_ Net-_M8-Pad3_ Net-_M8-Pad3_ eSim_MOS_N
+M9 Net-_M8-Pad1_ Net-_M7-Pad1_ Net-_M1-Pad3_ Net-_M1-Pad3_ eSim_MOS_P
+U3 Net-_R4-Pad2_ Net-_M2-Pad2_ zener
+U4 Net-_R4-Pad1_ Net-_M2-Pad3_ zener
+R4 Net-_R4-Pad1_ Net-_R4-Pad2_ 10
+R1 Net-_M1-Pad3_ Net-_R1-Pad2_ 10
+D1 Net-_D1-Pad1_ Net-_D1-Pad2_ eSim_Diode
+U5 Net-_R4-Pad1_ Net-_M5-Pad2_ zener
+R9 Net-_M7-Pad1_ Net-_C1-Pad1_ 2k
+C1 Net-_C1-Pad1_ Net-_C1-Pad2_ 30p
+U1 Net-_M2-Pad2_ Net-_M5-Pad2_ Net-_Q1-Pad3_ Net-_Q2-Pad3_ Net-_M7-Pad1_ Net-_M8-Pad3_ Net-_M8-Pad1_ Net-_M1-Pad3_ PORT
+
+.end
diff --git a/library/SubcircuitLibrary/CA3160A/CA3160A.cir.out b/library/SubcircuitLibrary/CA3160A/CA3160A.cir.out
new file mode 100644
index 00000000..2110d504
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A.cir.out
@@ -0,0 +1,58 @@
+* c:\fossee\esim\library\subcircuitlibrary\ca3160a\ca3160a.cir
+
+.include NPN.lib
+.include PMOS-5um.lib
+.include NMOS-5um.lib
+.include schottky.lib
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N5819
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N5819
+d4 net-_d3-pad2_ net-_d4-pad2_ 1N5819
+r2 net-_r2-pad1_ net-_d4-pad2_ 40k
+* u2 net-_r2-pad1_ net-_r1-pad2_ zener
+r3 net-_r2-pad1_ net-_m8-pad3_ 5k
+m1 net-_d1-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m4 net-_m2-pad3_ net-_d4-pad2_ net-_m3-pad1_ net-_m3-pad1_ mos_p W=100u L=100u M=1
+m6 net-_m6-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_d4-pad2_ net-_m6-pad1_ net-_m6-pad1_ mos_p W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m2-pad3_ net-_m2-pad3_ mos_p W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ net-_m2-pad3_ net-_m2-pad3_ mos_p W=100u L=100u M=1
+r5 net-_m2-pad1_ net-_q1-pad1_ 1k
+r7 net-_m5-pad1_ net-_c1-pad2_ 1k
+q1 net-_q1-pad1_ net-_m2-pad1_ net-_q1-pad3_ Q2N2222
+q2 net-_c1-pad2_ net-_m2-pad1_ net-_q2-pad3_ Q2N2222
+r6 net-_q1-pad3_ net-_m8-pad3_ 1k
+r8 net-_q2-pad3_ net-_m8-pad3_ 1k
+q3 net-_m7-pad1_ net-_c1-pad2_ net-_m8-pad3_ Q2N2222
+m8 net-_m8-pad1_ net-_m7-pad1_ net-_m8-pad3_ net-_m8-pad3_ mos_n W=100u L=100u M=1
+m9 net-_m8-pad1_ net-_m7-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+* u3 net-_r4-pad2_ net-_m2-pad2_ zener
+* u4 net-_r4-pad1_ net-_m2-pad3_ zener
+r4 net-_r4-pad1_ net-_r4-pad2_ 10
+r1 net-_m1-pad3_ net-_r1-pad2_ 10
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N5819
+* u5 net-_r4-pad1_ net-_m5-pad2_ zener
+r9 net-_m7-pad1_ net-_c1-pad1_ 2k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+* u1 net-_m2-pad2_ net-_m5-pad2_ net-_q1-pad3_ net-_q2-pad3_ net-_m7-pad1_ net-_m8-pad3_ net-_m8-pad1_ net-_m1-pad3_ port
+a1 net-_r2-pad1_ net-_r1-pad2_ u2
+a2 net-_r4-pad2_ net-_m2-pad2_ u3
+a3 net-_r4-pad1_ net-_m2-pad3_ u4
+a4 net-_r4-pad1_ net-_m5-pad2_ u5
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=8.3 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u5 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+.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/CA3160A/CA3160A.pro b/library/SubcircuitLibrary/CA3160A/CA3160A.pro
new file mode 100644
index 00000000..e27a398b
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A.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/CA3160A/CA3160A.sch b/library/SubcircuitLibrary/CA3160A/CA3160A.sch
new file mode 100644
index 00000000..4a875be4
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A.sch
@@ -0,0 +1,705 @@
+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:CA3130-cache
+LIBS:CA3130A_Test-cache
+EELAYER 25 0
+EELAYER END
+$Descr B 17000 11000
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L eSim_Diode D2
+U 1 1 680CA884
+P 5225 3725
+F 0 "D2" H 5225 3825 50 0000 C CNN
+F 1 "eSim_Diode" H 5225 3625 50 0000 C CNN
+F 2 "" H 5225 3725 60 0000 C CNN
+F 3 "" H 5225 3725 60 0000 C CNN
+ 1 5225 3725
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D3
+U 1 1 680CA885
+P 5225 4100
+F 0 "D3" H 5225 4200 50 0000 C CNN
+F 1 "eSim_Diode" H 5225 4000 50 0000 C CNN
+F 2 "" H 5225 4100 60 0000 C CNN
+F 3 "" H 5225 4100 60 0000 C CNN
+ 1 5225 4100
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_Diode D4
+U 1 1 680CA886
+P 5225 4500
+F 0 "D4" H 5225 4600 50 0000 C CNN
+F 1 "eSim_Diode" H 5225 4400 50 0000 C CNN
+F 2 "" H 5225 4500 60 0000 C CNN
+F 3 "" H 5225 4500 60 0000 C CNN
+ 1 5225 4500
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R2
+U 1 1 680CA887
+P 4425 4875
+F 0 "R2" H 4475 5005 50 0000 C CNN
+F 1 "40k" H 4475 4825 50 0000 C CNN
+F 2 "" H 4475 4855 30 0000 C CNN
+F 3 "" V 4475 4925 30 0000 C CNN
+ 1 4425 4875
+ 1 0 0 -1
+$EndComp
+$Comp
+L zener U2
+U 1 1 680CA888
+P 4000 4150
+F 0 "U2" H 3950 4050 60 0000 C CNN
+F 1 "zener" H 4000 4250 60 0000 C CNN
+F 2 "" H 4050 4150 60 0000 C CNN
+F 3 "" H 4050 4150 60 0000 C CNN
+ 1 4000 4150
+ 0 -1 -1 0
+$EndComp
+$Comp
+L resistor R3
+U 1 1 680CA889
+P 4450 5275
+F 0 "R3" H 4500 5405 50 0000 C CNN
+F 1 "5k" H 4500 5225 50 0000 C CNN
+F 2 "" H 4500 5255 30 0000 C CNN
+F 3 "" V 4500 5325 30 0000 C CNN
+ 1 4450 5275
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M1
+U 1 1 680CA88A
+P 5375 2700
+F 0 "M1" H 5325 2750 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5425 2850 50 0000 R CNN
+F 2 "" H 5625 2800 29 0000 C CNN
+F 3 "" H 5425 2700 60 0000 C CNN
+ 1 5375 2700
+ -1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M3
+U 1 1 680CA88B
+P 6575 2700
+F 0 "M3" H 6525 2750 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6625 2850 50 0000 R CNN
+F 2 "" H 6825 2800 29 0000 C CNN
+F 3 "" H 6625 2700 60 0000 C CNN
+ 1 6575 2700
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M4
+U 1 1 680CA88C
+P 6575 3350
+F 0 "M4" H 6525 3400 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6625 3500 50 0000 R CNN
+F 2 "" H 6825 3450 29 0000 C CNN
+F 3 "" H 6625 3350 60 0000 C CNN
+ 1 6575 3350
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M6
+U 1 1 680CA88D
+P 8850 2625
+F 0 "M6" H 8800 2675 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8900 2775 50 0000 R CNN
+F 2 "" H 9100 2725 29 0000 C CNN
+F 3 "" H 8900 2625 60 0000 C CNN
+ 1 8850 2625
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M7
+U 1 1 680CA88E
+P 8850 3400
+F 0 "M7" H 8800 3450 50 0000 R CNN
+F 1 "eSim_MOS_P" H 8900 3550 50 0000 R CNN
+F 2 "" H 9100 3500 29 0000 C CNN
+F 3 "" H 8900 3400 60 0000 C CNN
+ 1 8850 3400
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M2
+U 1 1 680CA88F
+P 5700 6050
+F 0 "M2" H 5650 6100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 5750 6200 50 0000 R CNN
+F 2 "" H 5950 6150 29 0000 C CNN
+F 3 "" H 5750 6050 60 0000 C CNN
+ 1 5700 6050
+ 1 0 0 1
+$EndComp
+$Comp
+L eSim_MOS_P M5
+U 1 1 680CA890
+P 6925 6050
+F 0 "M5" H 6875 6100 50 0000 R CNN
+F 1 "eSim_MOS_P" H 6975 6200 50 0000 R CNN
+F 2 "" H 7175 6150 29 0000 C CNN
+F 3 "" H 6975 6050 60 0000 C CNN
+ 1 6925 6050
+ -1 0 0 1
+$EndComp
+$Comp
+L resistor R5
+U 1 1 680CA891
+P 5800 6700
+F 0 "R5" H 5850 6830 50 0000 C CNN
+F 1 "1k" H 5850 6650 50 0000 C CNN
+F 2 "" H 5850 6680 30 0000 C CNN
+F 3 "" V 5850 6750 30 0000 C CNN
+ 1 5800 6700
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R7
+U 1 1 680CA892
+P 6725 6700
+F 0 "R7" H 6775 6830 50 0000 C CNN
+F 1 "1k" H 6775 6650 50 0000 C CNN
+F 2 "" H 6775 6680 30 0000 C CNN
+F 3 "" V 6775 6750 30 0000 C CNN
+ 1 6725 6700
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q1
+U 1 1 680CA893
+P 5950 7200
+F 0 "Q1" H 5850 7250 50 0000 R CNN
+F 1 "eSim_NPN" H 5900 7350 50 0000 R CNN
+F 2 "" H 6150 7300 29 0000 C CNN
+F 3 "" H 5950 7200 60 0000 C CNN
+ 1 5950 7200
+ -1 0 0 -1
+$EndComp
+$Comp
+L eSim_NPN Q2
+U 1 1 680CA894
+P 6675 7200
+F 0 "Q2" H 6575 7250 50 0000 R CNN
+F 1 "eSim_NPN" H 6625 7350 50 0000 R CNN
+F 2 "" H 6875 7300 29 0000 C CNN
+F 3 "" H 6675 7200 60 0000 C CNN
+ 1 6675 7200
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R6
+U 1 1 680CA895
+P 5800 7725
+F 0 "R6" H 5850 7855 50 0000 C CNN
+F 1 "1k" H 5850 7675 50 0000 C CNN
+F 2 "" H 5850 7705 30 0000 C CNN
+F 3 "" V 5850 7775 30 0000 C CNN
+ 1 5800 7725
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R8
+U 1 1 680CA896
+P 6725 7725
+F 0 "R8" H 6775 7855 50 0000 C CNN
+F 1 "1k" H 6775 7675 50 0000 C CNN
+F 2 "" H 6775 7705 30 0000 C CNN
+F 3 "" V 6775 7775 30 0000 C CNN
+ 1 6725 7725
+ 0 1 1 0
+$EndComp
+$Comp
+L eSim_NPN Q3
+U 1 1 680CA897
+P 8900 6950
+F 0 "Q3" H 8800 7000 50 0000 R CNN
+F 1 "eSim_NPN" H 8850 7100 50 0000 R CNN
+F 2 "" H 9100 7050 29 0000 C CNN
+F 3 "" H 8900 6950 60 0000 C CNN
+ 1 8900 6950
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_N M8
+U 1 1 680CA898
+P 10375 6225
+F 0 "M8" H 10375 6075 50 0000 R CNN
+F 1 "eSim_MOS_N" H 10475 6175 50 0000 R CNN
+F 2 "" H 10675 5925 29 0000 C CNN
+F 3 "" H 10475 6025 60 0000 C CNN
+ 1 10375 6225
+ 1 0 0 -1
+$EndComp
+$Comp
+L eSim_MOS_P M9
+U 1 1 680CA899
+P 10425 5750
+F 0 "M9" H 10375 5800 50 0000 R CNN
+F 1 "eSim_MOS_P" H 10475 5900 50 0000 R CNN
+F 2 "" H 10675 5850 29 0000 C CNN
+F 3 "" H 10475 5750 60 0000 C CNN
+ 1 10425 5750
+ 1 0 0 1
+$EndComp
+$Comp
+L zener U3
+U 1 1 680CA89D
+P 5600 5375
+F 0 "U3" H 5550 5275 60 0000 C CNN
+F 1 "zener" H 5600 5475 60 0000 C CNN
+F 2 "" H 5650 5375 60 0000 C CNN
+F 3 "" H 5650 5375 60 0000 C CNN
+ 1 5600 5375
+ -1 0 0 1
+$EndComp
+$Comp
+L zener U4
+U 1 1 680CA89E
+P 6425 5250
+F 0 "U4" H 6375 5150 60 0000 C CNN
+F 1 "zener" H 6425 5350 60 0000 C CNN
+F 2 "" H 6475 5250 60 0000 C CNN
+F 3 "" H 6475 5250 60 0000 C CNN
+ 1 6425 5250
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R4
+U 1 1 680CA8A0
+P 5750 5125
+F 0 "R4" H 5800 5255 50 0000 C CNN
+F 1 "10" H 5800 5075 50 0000 C CNN
+F 2 "" H 5800 5105 30 0000 C CNN
+F 3 "" V 5800 5175 30 0000 C CNN
+ 1 5750 5125
+ 0 1 1 0
+$EndComp
+$Comp
+L resistor R1
+U 1 1 680CA8A1
+P 3950 3600
+F 0 "R1" H 4000 3730 50 0000 C CNN
+F 1 "10" H 4000 3550 50 0000 C CNN
+F 2 "" H 4000 3580 30 0000 C CNN
+F 3 "" V 4000 3650 30 0000 C CNN
+ 1 3950 3600
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4000 2175 12250 2175
+Wire Wire Line
+ 5225 4350 5225 4250
+Wire Wire Line
+ 5225 3950 5225 3875
+Wire Wire Line
+ 5225 2900 5225 3200
+Wire Wire Line
+ 5225 4650 5225 4825
+Wire Wire Line
+ 4625 4825 8300 4825
+Wire Wire Line
+ 4325 4825 4000 4825
+Wire Wire Line
+ 4000 4350 4000 5225
+Wire Wire Line
+ 4000 5225 4350 5225
+Connection ~ 4000 4825
+Wire Wire Line
+ 5125 2550 5125 2400
+Wire Wire Line
+ 5125 2400 5225 2400
+Wire Wire Line
+ 5225 2175 5225 2500
+Connection ~ 5225 2400
+Wire Wire Line
+ 6825 2375 6825 2550
+Wire Wire Line
+ 6825 2375 6725 2375
+Wire Wire Line
+ 6725 2175 6725 2500
+Connection ~ 6725 2375
+Wire Wire Line
+ 6825 3200 6825 3050
+Wire Wire Line
+ 6825 3050 6725 3050
+Wire Wire Line
+ 6725 2900 6725 3150
+Connection ~ 6725 3050
+Wire Wire Line
+ 5525 2700 6425 2700
+Wire Wire Line
+ 9100 2475 9100 2325
+Wire Wire Line
+ 9100 2325 9000 2325
+Wire Wire Line
+ 9000 2175 9000 2425
+Connection ~ 9000 2325
+Wire Wire Line
+ 9100 3250 9100 3100
+Wire Wire Line
+ 9100 3100 9000 3100
+Wire Wire Line
+ 9000 2825 9000 3200
+Connection ~ 9000 3100
+Wire Wire Line
+ 8300 4825 8300 3400
+Wire Wire Line
+ 8300 3400 8700 3400
+Connection ~ 5225 4825
+Wire Wire Line
+ 6425 3350 6050 3350
+Wire Wire Line
+ 6050 3350 6050 4825
+Connection ~ 6050 4825
+Wire Wire Line
+ 8700 2625 7975 2625
+Wire Wire Line
+ 7975 2625 7975 3000
+Wire Wire Line
+ 7975 3000 5225 3000
+Connection ~ 5225 3000
+Wire Wire Line
+ 4650 5225 4925 5225
+Wire Wire Line
+ 4925 5225 4925 8075
+Wire Wire Line
+ 5950 5600 5950 5900
+Wire Wire Line
+ 3150 6050 5550 6050
+Wire Wire Line
+ 5150 5375 5150 6050
+Connection ~ 5150 6050
+Wire Wire Line
+ 6675 5750 6675 5900
+Wire Wire Line
+ 6675 5750 6775 5750
+Connection ~ 6775 5750
+Wire Wire Line
+ 8125 5375 8125 6475
+Wire Wire Line
+ 8125 6050 7075 6050
+Connection ~ 8125 6050
+Wire Wire Line
+ 5850 6900 5850 7000
+Wire Wire Line
+ 6775 6900 6775 7000
+Wire Wire Line
+ 5850 7400 5850 7625
+Wire Wire Line
+ 6775 7400 6775 7625
+Wire Wire Line
+ 6150 7200 6475 7200
+Wire Wire Line
+ 5850 6250 5850 6600
+Wire Wire Line
+ 6775 6600 6775 6250
+Wire Wire Line
+ 4925 8075 9700 8075
+Wire Wire Line
+ 5850 7925 5850 8075
+Connection ~ 5850 8075
+Wire Wire Line
+ 6775 7925 6775 8075
+Connection ~ 6775 8075
+Wire Wire Line
+ 5850 7525 5425 7525
+Wire Wire Line
+ 5425 7525 5425 8450
+Connection ~ 5850 7525
+Wire Wire Line
+ 6775 7525 7225 7525
+Connection ~ 6775 7525
+Wire Wire Line
+ 6775 6950 8700 6950
+Connection ~ 6775 6950
+Wire Wire Line
+ 9000 8075 9000 7150
+Wire Wire Line
+ 9000 3600 9000 6750
+Wire Wire Line
+ 9700 8075 9700 7250
+Wire Wire Line
+ 9700 7250 10750 7250
+Connection ~ 9000 8075
+Wire Wire Line
+ 10575 5950 10575 6225
+Connection ~ 10575 6075
+Wire Wire Line
+ 10575 6625 10575 7250
+Wire Wire Line
+ 10675 6575 10675 6825
+Wire Wire Line
+ 10675 6825 10575 6825
+Connection ~ 10575 6825
+Wire Wire Line
+ 9950 6425 10275 6425
+Wire Wire Line
+ 9950 5750 9950 6425
+Wire Wire Line
+ 9950 5750 10275 5750
+Wire Wire Line
+ 9000 6075 9950 6075
+Connection ~ 9000 6075
+Connection ~ 9950 6075
+Wire Wire Line
+ 9475 6075 9475 8750
+Connection ~ 9475 6075
+Connection ~ 9000 2175
+Connection ~ 6725 2175
+Connection ~ 5225 2175
+Wire Wire Line
+ 10575 2175 10575 5550
+Wire Wire Line
+ 10675 5600 10675 5325
+Wire Wire Line
+ 10675 5325 10575 5325
+Connection ~ 10575 5325
+Connection ~ 10575 7250
+Connection ~ 10575 2175
+Wire Wire Line
+ 5300 5375 5150 5375
+Wire Wire Line
+ 5850 6550 6325 6550
+Wire Wire Line
+ 6325 6550 6325 7200
+Connection ~ 6325 7200
+Connection ~ 5850 6550
+Wire Wire Line
+ 5950 2700 5950 3000
+Connection ~ 5950 3000
+Connection ~ 5950 2700
+Wire Wire Line
+ 5850 5850 5850 5750
+Connection ~ 5950 5750
+Wire Wire Line
+ 5800 5375 5800 5325
+Wire Wire Line
+ 4000 3850 4000 3800
+Wire Wire Line
+ 4000 2175 4000 3500
+$Comp
+L eSim_Diode D1
+U 1 1 680CA8A2
+P 5225 3350
+F 0 "D1" H 5225 3450 50 0000 C CNN
+F 1 "eSim_Diode" H 5225 3250 50 0000 C CNN
+F 2 "" H 5225 3350 60 0000 C CNN
+F 3 "" H 5225 3350 60 0000 C CNN
+ 1 5225 3350
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 5225 3575 5225 3500
+$Comp
+L zener U5
+U 1 1 680CA8A3
+P 7825 5375
+F 0 "U5" H 7775 5275 60 0000 C CNN
+F 1 "zener" H 7825 5475 60 0000 C CNN
+F 2 "" H 7875 5375 60 0000 C CNN
+F 3 "" H 7875 5375 60 0000 C CNN
+ 1 7825 5375
+ 1 0 0 -1
+$EndComp
+$Comp
+L resistor R9
+U 1 1 680CA8A4
+P 8350 6300
+F 0 "R9" H 8400 6430 50 0000 C CNN
+F 1 "2k" H 8400 6250 50 0000 C CNN
+F 2 "" H 8400 6280 30 0000 C CNN
+F 3 "" V 8400 6350 30 0000 C CNN
+ 1 8350 6300
+ 0 1 1 0
+$EndComp
+$Comp
+L capacitor_polarised C1
+U 1 1 680CA8A5
+P 8400 6750
+F 0 "C1" H 8425 6850 50 0000 L CNN
+F 1 "30p" H 8425 6650 50 0000 L CNN
+F 2 "" H 8400 6750 50 0001 C CNN
+F 3 "" H 8400 6750 50 0001 C CNN
+ 1 8400 6750
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8400 6950 8400 6900
+Connection ~ 8400 6950
+Wire Wire Line
+ 8400 6600 8400 6500
+Wire Wire Line
+ 8400 5925 8400 6200
+Wire Wire Line
+ 8400 5925 9000 5925
+Connection ~ 9000 5925
+Wire Wire Line
+ 5850 5750 5950 5750
+Wire Wire Line
+ 5950 5600 6775 5600
+Wire Wire Line
+ 6775 5600 6775 5850
+Wire Wire Line
+ 6725 3550 6725 5600
+Connection ~ 6725 5600
+Wire Wire Line
+ 6425 5550 6425 5600
+Connection ~ 6425 5600
+Wire Wire Line
+ 5800 5025 7625 5025
+Wire Wire Line
+ 6425 5025 6425 5050
+Wire Wire Line
+ 7625 5025 7625 5375
+Connection ~ 6425 5025
+Wire Wire Line
+ 10575 6075 11325 6075
+Wire Wire Line
+ 8125 6475 3150 6475
+Wire Wire Line
+ 7225 7525 7225 8450
+$Comp
+L PORT U1
+U 4 1 680CC45E
+P 7225 8700
+F 0 "U1" H 7275 8800 30 0000 C CNN
+F 1 "PORT" H 7225 8700 30 0000 C CNN
+F 2 "" H 7225 8700 60 0000 C CNN
+F 3 "" H 7225 8700 60 0000 C CNN
+ 4 7225 8700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 3 1 680CC557
+P 5425 8700
+F 0 "U1" H 5475 8800 30 0000 C CNN
+F 1 "PORT" H 5425 8700 30 0000 C CNN
+F 2 "" H 5425 8700 60 0000 C CNN
+F 3 "" H 5425 8700 60 0000 C CNN
+ 3 5425 8700
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 2 1 680CC740
+P 2900 6475
+F 0 "U1" H 2950 6575 30 0000 C CNN
+F 1 "PORT" H 2900 6475 30 0000 C CNN
+F 2 "" H 2900 6475 60 0000 C CNN
+F 3 "" H 2900 6475 60 0000 C CNN
+ 2 2900 6475
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 1 1 680CC79D
+P 2900 6050
+F 0 "U1" H 2950 6150 30 0000 C CNN
+F 1 "PORT" H 2900 6050 30 0000 C CNN
+F 2 "" H 2900 6050 60 0000 C CNN
+F 3 "" H 2900 6050 60 0000 C CNN
+ 1 2900 6050
+ 1 0 0 -1
+$EndComp
+$Comp
+L PORT U1
+U 5 1 680CC952
+P 9475 9000
+F 0 "U1" H 9525 9100 30 0000 C CNN
+F 1 "PORT" H 9475 9000 30 0000 C CNN
+F 2 "" H 9475 9000 60 0000 C CNN
+F 3 "" H 9475 9000 60 0000 C CNN
+ 5 9475 9000
+ 0 -1 -1 0
+$EndComp
+$Comp
+L PORT U1
+U 6 1 680CCB00
+P 11000 7250
+F 0 "U1" H 11050 7350 30 0000 C CNN
+F 1 "PORT" H 11000 7250 30 0000 C CNN
+F 2 "" H 11000 7250 60 0000 C CNN
+F 3 "" H 11000 7250 60 0000 C CNN
+ 6 11000 7250
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 7 1 680CCC35
+P 11575 6075
+F 0 "U1" H 11625 6175 30 0000 C CNN
+F 1 "PORT" H 11575 6075 30 0000 C CNN
+F 2 "" H 11575 6075 60 0000 C CNN
+F 3 "" H 11575 6075 60 0000 C CNN
+ 7 11575 6075
+ -1 0 0 1
+$EndComp
+$Comp
+L PORT U1
+U 8 1 680CCE3F
+P 12500 2175
+F 0 "U1" H 12550 2275 30 0000 C CNN
+F 1 "PORT" H 12500 2175 30 0000 C CNN
+F 2 "" H 12500 2175 60 0000 C CNN
+F 3 "" H 12500 2175 60 0000 C CNN
+ 8 12500 2175
+ -1 0 0 1
+$EndComp
+$EndSCHEMATC
diff --git a/library/SubcircuitLibrary/CA3160A/CA3160A.sub b/library/SubcircuitLibrary/CA3160A/CA3160A.sub
new file mode 100644
index 00000000..023f73a7
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A.sub
@@ -0,0 +1,52 @@
+* Subcircuit CA3160A
+.subckt CA3160A net-_m2-pad2_ net-_m5-pad2_ net-_q1-pad3_ net-_q2-pad3_ net-_m7-pad1_ net-_m8-pad3_ net-_m8-pad1_ net-_m1-pad3_
+* c:\fossee\esim\library\subcircuitlibrary\ca3160a\ca3160a.cir
+.include NPN.lib
+.include PMOS-5um.lib
+.include NMOS-5um.lib
+.include schottky.lib
+d2 net-_d1-pad2_ net-_d2-pad2_ 1N5819
+d3 net-_d2-pad2_ net-_d3-pad2_ 1N5819
+d4 net-_d3-pad2_ net-_d4-pad2_ 1N5819
+r2 net-_r2-pad1_ net-_d4-pad2_ 40k
+* u2 net-_r2-pad1_ net-_r1-pad2_ zener
+r3 net-_r2-pad1_ net-_m8-pad3_ 5k
+m1 net-_d1-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m3 net-_m3-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m4 net-_m2-pad3_ net-_d4-pad2_ net-_m3-pad1_ net-_m3-pad1_ mos_p W=100u L=100u M=1
+m6 net-_m6-pad1_ net-_d1-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+m7 net-_m7-pad1_ net-_d4-pad2_ net-_m6-pad1_ net-_m6-pad1_ mos_p W=100u L=100u M=1
+m2 net-_m2-pad1_ net-_m2-pad2_ net-_m2-pad3_ net-_m2-pad3_ mos_p W=100u L=100u M=1
+m5 net-_m5-pad1_ net-_m5-pad2_ net-_m2-pad3_ net-_m2-pad3_ mos_p W=100u L=100u M=1
+r5 net-_m2-pad1_ net-_q1-pad1_ 1k
+r7 net-_m5-pad1_ net-_c1-pad2_ 1k
+q1 net-_q1-pad1_ net-_m2-pad1_ net-_q1-pad3_ Q2N2222
+q2 net-_c1-pad2_ net-_m2-pad1_ net-_q2-pad3_ Q2N2222
+r6 net-_q1-pad3_ net-_m8-pad3_ 1k
+r8 net-_q2-pad3_ net-_m8-pad3_ 1k
+q3 net-_m7-pad1_ net-_c1-pad2_ net-_m8-pad3_ Q2N2222
+m8 net-_m8-pad1_ net-_m7-pad1_ net-_m8-pad3_ net-_m8-pad3_ mos_n W=100u L=100u M=1
+m9 net-_m8-pad1_ net-_m7-pad1_ net-_m1-pad3_ net-_m1-pad3_ mos_p W=100u L=100u M=1
+* u3 net-_r4-pad2_ net-_m2-pad2_ zener
+* u4 net-_r4-pad1_ net-_m2-pad3_ zener
+r4 net-_r4-pad1_ net-_r4-pad2_ 10
+r1 net-_m1-pad3_ net-_r1-pad2_ 10
+d1 net-_d1-pad1_ net-_d1-pad2_ 1N5819
+* u5 net-_r4-pad1_ net-_m5-pad2_ zener
+r9 net-_m7-pad1_ net-_c1-pad1_ 2k
+c1 net-_c1-pad1_ net-_c1-pad2_ 30p
+a1 net-_r2-pad1_ net-_r1-pad2_ u2
+a2 net-_r4-pad2_ net-_m2-pad2_ u3
+a3 net-_r4-pad1_ net-_m2-pad3_ u4
+a4 net-_r4-pad1_ net-_m5-pad2_ u5
+* Schematic Name: zener, NgSpice Name: zener
+.model u2 zener(v_breakdown=8.3 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u3 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u4 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Schematic Name: zener, NgSpice Name: zener
+.model u5 zener(v_breakdown=5.6 i_breakdown=20.0e-3 i_sat=1.0e-12 n_forward=1.0 limit_switch=FALSE )
+* Control Statements
+
+.ends CA3160A \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CA3160A/CA3160A_Previous_Values.xml b/library/SubcircuitLibrary/CA3160A/CA3160A_Previous_Values.xml
new file mode 100644
index 00000000..708d33a1
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/CA3160A_Previous_Values.xml
@@ -0,0 +1 @@
+<KicadtoNgspice><source /><model><u2 name="type">zener<field1 name="Enter Breakdown Voltage (default=5.6)">8.3</field1><field2 name="Enter Breakdown Current (default=2.0e-2)">20.0e-3</field2><field3 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field3><field4 name="Enter Forward Emission Coefficient (default=1.0)" /><field5 name="Enter Switch for Limiting (default=FALSE)" /></u2><u3 name="type">zener<field6 name="Enter Breakdown Voltage (default=5.6)">5.6</field6><field7 name="Enter Breakdown Current (default=2.0e-2)">20.0e-3</field7><field8 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field8><field9 name="Enter Forward Emission Coefficient (default=1.0)" /><field10 name="Enter Switch for Limiting (default=FALSE)" /></u3><u4 name="type">zener<field11 name="Enter Breakdown Voltage (default=5.6)">5.6</field11><field12 name="Enter Breakdown Current (default=2.0e-2)">20.0e-3</field12><field13 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field13><field14 name="Enter Forward Emission Coefficient (default=1.0)" /><field15 name="Enter Switch for Limiting (default=FALSE)" /></u4><u5 name="type">zener<field16 name="Enter Breakdown Voltage (default=5.6)">5.6</field16><field17 name="Enter Breakdown Current (default=2.0e-2)">20.0e-3</field17><field18 name="Enter Saturation Current (default=1.0e-12)">1.0e-12</field18><field19 name="Enter Forward Emission Coefficient (default=1.0)" /><field20 name="Enter Switch for Limiting (default=FALSE)" /></u5></model><devicemodel><d2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d2><d3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d3><d4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d4><m1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m1><m3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m3><m4><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m4><m6><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m6><m7><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m7><m2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m2><m5><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m5><q1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q1><q2><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q2><q3><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Transistor\NPN.lib</field></q3><m8><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\NMOS-5um.lib</field><field /><field /><field /></m8><m9><field>C:\FOSSEE\eSim\library\deviceModelLibrary\MOS\PMOS-5um.lib</field><field /><field /><field /></m9><d1><field>C:\FOSSEE\eSim\library\deviceModelLibrary\Diode\schottky.lib</field></d1></devicemodel><subcircuit /><analysis><ac><field1 name="Lin">true</field1><field2 name="Dec">false</field2><field3 name="Oct">false</field3><field4 name="Start Frequency" /><field5 name="Stop Frequency" /><field6 name="No. of points" /><field7 name="Start Fre Combo">Hz</field7><field8 name="Stop Fre Combo">Hz</field8></ac><dc><field1 name="Source 1" /><field2 name="Start" /><field3 name="Increment" /><field4 name="Stop" /><field5 name="Operating Point">0</field5><field6 name="Start Combo">Volts or Amperes</field6><field7 name="Increment Combo">Volts or Amperes</field7><field8 name="Stop Combo">Volts or Amperes</field8><field9 name="Source 2" /><field10 name="Start" /><field11 name="Increment" /><field12 name="Stop" /><field13 name="Start Combo">Volts or Amperes</field13><field14 name="Increment Combo">Volts or Amperes</field14><field15 name="Stop Combo">Volts or Amperes</field15></dc><tran><field1 name="Start Time" /><field2 name="Step Time" /><field3 name="Stop Time" /><field4 name="Start Combo">sec</field4><field5 name="Step Combo">sec</field5><field6 name="Stop Combo">sec</field6></tran></analysis></KicadtoNgspice> \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CA3160A/NMOS-5um.lib b/library/SubcircuitLibrary/CA3160A/NMOS-5um.lib
new file mode 100644
index 00000000..a237e1fe
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/NMOS-5um.lib
@@ -0,0 +1,5 @@
+* 5um technology
+
+.model mos_n NMOS( Cgso=0.4n Tox=85n Vto=1 phi=0.7
++ Level=1
++ Mj=.5 UO=750 Cgdo=0.4n Gamma=1.4 LAMBDA=0.01 LD=0.7u JS=1u CJ=0.4m CJSW=0.8n MJSW=0.5 PB=0.7 CGBO=0.2n )
diff --git a/library/SubcircuitLibrary/CA3160A/NPN.lib b/library/SubcircuitLibrary/CA3160A/NPN.lib
new file mode 100644
index 00000000..be5f3073
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/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/CA3160A/PMOS-5um.lib b/library/SubcircuitLibrary/CA3160A/PMOS-5um.lib
new file mode 100644
index 00000000..9c3ed976
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/PMOS-5um.lib
@@ -0,0 +1,5 @@
+*5um technology
+
+.model mos_p PMOS( Cgso=0.4n Tox=85n Vto=-1 phi=0.65
++ Level=1
++ Mj=.5 UO=250 Cgdo=0.4n Gamma=0.65 LAMBDA=0.03 LD=0.6u JS=1u CJ=0.18m CJSW=0.6n MJSW=0.5 PB=0.7 CGBO=0.2n )
diff --git a/library/SubcircuitLibrary/CA3160A/analysis b/library/SubcircuitLibrary/CA3160A/analysis
new file mode 100644
index 00000000..ebd5c0a9
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/analysis
@@ -0,0 +1 @@
+.tran 0e-00 0e-00 0e-00 \ No newline at end of file
diff --git a/library/SubcircuitLibrary/CA3160A/schottky.lib b/library/SubcircuitLibrary/CA3160A/schottky.lib
new file mode 100644
index 00000000..9579f735
--- /dev/null
+++ b/library/SubcircuitLibrary/CA3160A/schottky.lib
@@ -0,0 +1 @@
+.model 1N5819 D(IS=390n RS=0.115 BV=40.0 IBV=1.00m CJO=203p M=0.333 N=1.70 TT=4.32u)