Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\tmp\asc_dec_bjh7r6w2\07ffbe61e052_DiffAmp_Discrete_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
J3 N002 N003 N004 LSK489A
J1 VCC IN+ N001 LSK489A
R5 N004 N003 {RS}
R1 IN+ N002 1Meg
.model NJF NJF
.model PJF PJF
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.jft
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 1004
WIRE -720 -192 -720 -240
WIRE -720 -192 -816 -192
WIRE -624 -192 -720 -192
WIRE -816 -64 -816 -192
WIRE -912 0 -928 0
WIRE -864 0 -912 0
WIRE -912 48 -912 0
WIRE -816 48 -816 32
WIRE -912 176 -912 128
WIRE -816 176 -816 128
WIRE -816 176 -912 176
WIRE -688 176 -816 176
WIRE -816 192 -816 176
WIRE -688 240 -688 176
WIRE -448 240 -688 240
WIRE -864 256 -912 256
WIRE -816 320 -816 288
WIRE -912 448 -912 256
WIRE -816 448 -816 400
WIRE -816 448 -912 448
WIRE -816 528 -816 448
SYMBOL njf -864 192 R0
WINDOW 3 56 55 Left 2
SYMATTR InstName J3
SYMATTR Value LSK489A
SYMBOL njf -864 -64 R0
WINDOW 3 56 55 Left 2
SYMATTR InstName J1
SYMATTR Value LSK489A
SYMBOL res -832 304 R0
SYMATTR InstName R5
SYMATTR Value {RS}
SYMBOL res -928 32 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
FLAG -720 -240 VCC
FLAG -928 0 IN+
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8629.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8629.asy)
R1 N001 0 10K
R2 OUT N001 10K
V1 +V 0 2.5
Vin IN 0 SINE(0 1 10K)
Rload OUT 0 10K
V2 -V 0 -2.5
XU1 IN N001 +V -V OUT AD8629 ;pnba In+)In-)V+)V-)OUT
.tran 1m
.lib AD8629.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 400 -1312 384 -1312
WIRE 496 -1312 480 -1312
WIRE 512 -1312 496 -1312
WIRE 608 -1312 592 -1312
WIRE 160 -1200 160 -1216
WIRE 272 -1200 272 -1216
WIRE 496 -1200 496 -1312
WIRE 512 -1200 496 -1200
WIRE 608 -1184 608 -1312
WIRE 608 -1184 576 -1184
WIRE 736 -1184 608 -1184
WIRE 512 -1168 400 -1168
WIRE 736 -1168 736 -1184
WIRE 400 -1152 400 -1168
WIRE 160 -1104 160 -1120
WIRE 272 -1104 272 -1120
WIRE 736 -1072 736 -1088
WIRE 400 -1056 400 -1072
SYMBOL voltage 272 -1216 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL voltage 400 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 496 -1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL Opamps\\AD8629 544 -1248 R0
SYMATTR InstName U1
SYMBOL res 720 -1184 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL res 608 -1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 160 -1216 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
FLAG 160 -1216 +V
FLAG 160 -1104 0
FLAG 400 -1056 0
FLAG 736 -1184 OUT
FLAG 400 -1168 IN
FLAG 544 -1216 +V
FLAG 272 -1216 -V
FLAG 544 -1152 -V
FLAG 384 -1312 0
FLAG 736 -1072 0
FLAG 272 -1104 0
TEXT 752 -976 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\2a23f10bd77d_Q4.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 AC 1
C2 N002 0 10nF
R1 N002 N001 10000
R2 Vout N002 100000
C1 Vout 0 1nF
.ac dec 100 1 1000000
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 128 64 80 64
WIRE 256 64 208 64
WIRE 336 176 336 64
WIRE 496 176 336 176
WIRE 208 192 208 64
WIRE 336 192 336 176
WIRE 208 336 208 256
WIRE 336 336 336 256
FLAG 80 144 0
FLAG 496 176 Vout
FLAG 208 336 0
FLAG 336 336 0
SYMBOL voltage 80 48 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL cap 192 192 R0
SYMATTR InstName C2
SYMATTR Value 10nF
SYMBOL res 224 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10000
SYMBOL res 352 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100000
SYMBOL cap 320 192 R0
SYMATTR InstName C1
SYMATTR Value 1nF
TEXT 48 -40 Left 2 !.ac dec 100 1 1000000
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3484-1.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3484-1.asy)
R1 N002 IN 10K
V1 IN 0 5
K1 L1 L2 1
D1 N001 OUT D
L2 0 N001 {10u*10.2*10.2} Rpar=1Meg
L1 IN N003 10 Rpar=2K Rser=.1
C1 OUT 0 .01
XU1 N002 IN IN N003 MP_01 IN 0 LT3484-1 ;pnba _Done)Charge)Vin)SW))Vbat)GND
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 5m startup
.lib LT3484-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2772 1752
WIRE 1808 1264 1648 1264
WIRE 1936 1264 1808 1264
WIRE 2064 1264 1936 1264
WIRE 2224 1264 2112 1264
WIRE 2352 1264 2288 1264
WIRE 2352 1280 2352 1264
WIRE 1808 1296 1808 1264
WIRE 1936 1296 1936 1264
WIRE 2064 1296 2064 1264
WIRE 2112 1296 2112 1264
WIRE 1648 1360 1648 1264
WIRE 1664 1360 1648 1360
WIRE 1760 1360 1744 1360
WIRE 2352 1376 2352 1344
WIRE 2112 1392 2112 1376
WIRE 2064 1408 2064 1376
WIRE 2064 1408 1984 1408
WIRE 1648 1456 1648 1360
WIRE 1760 1456 1648 1456
WIRE 1648 1472 1648 1456
WIRE 1872 1536 1872 1520
WIRE 1648 1568 1648 1552
SYMBOL ind2 2048 1280 R0
WINDOW 0 -6 35 Right 2
WINDOW 3 -4 73 Right 2
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rpar=2K Rser=.1
SYMBOL PowerProducts\\LT3484-1 1872 1408 R0
SYMATTR InstName U1
SYMBOL cap 2336 1280 R0
WINDOW 3 27 55 Left 2
SYMATTR Value .01
SYMATTR InstName C1
SYMBOL ind2 2128 1392 R180
WINDOW 0 -3 72 Right 2
WINDOW 3 0 43 Right 2
SYMATTR InstName L2
SYMATTR Value {10u*10.2*10.2}
SYMATTR SpiceLine Rpar=1Meg
SYMBOL diode 2224 1280 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMBOL VOLTAGE 1648 1456 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 1760 1344 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
FLAG 2352 1376 0
FLAG 1872 1536 0
FLAG 1648 1568 0
FLAG 2112 1392 0
FLAG 2352 1264 OUT
FLAG 1648 1264 IN
TEXT 2048 1480 Left 2 !.tran 5m startup
TEXT 2088 1264 Bottom 2 !K1 L1 L2 1
* Z:\home\khalils\Downloads\files\data\raw_asc\29ab03b434e4_AD8629.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 IN N001 +V -V OUT AD8629 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 2.5
Vin IN 0 SINE(0 1 10K)
R1 N001 0 10K
R2 OUT N001 10K
V2 -V 0 -2.5
Rload OUT 0 10K
.tran 1m
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8629.asy)
.lib AD8629.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 400 -1312 384 -1312
WIRE 496 -1312 480 -1312
WIRE 512 -1312 496 -1312
WIRE 608 -1312 592 -1312
WIRE 160 -1200 160 -1216
WIRE 272 -1200 272 -1216
WIRE 496 -1200 496 -1312
WIRE 512 -1200 496 -1200
WIRE 608 -1184 608 -1312
WIRE 608 -1184 576 -1184
WIRE 736 -1184 608 -1184
WIRE 512 -1168 400 -1168
WIRE 736 -1168 736 -1184
WIRE 400 -1152 400 -1168
WIRE 160 -1104 160 -1120
WIRE 272 -1104 272 -1120
WIRE 736 -1072 736 -1088
WIRE 400 -1056 400 -1072
FLAG 160 -1216 +V
FLAG 160 -1104 0
FLAG 400 -1056 0
FLAG 736 -1184 OUT
FLAG 400 -1168 IN
FLAG 544 -1216 +V
FLAG 272 -1216 -V
FLAG 544 -1152 -V
FLAG 384 -1312 0
FLAG 736 -1072 0
FLAG 272 -1104 0
SYMBOL Opamps\\AD8629 544 -1248 R0
SYMATTR InstName U1
SYMBOL voltage 160 -1216 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL voltage 400 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 496 -1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 608 -1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 272 -1216 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL res 720 -1184 R0
SYMATTR InstName Rload
SYMATTR Value 10K
TEXT 752 -976 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\0c4244242f03_Draft102.asc
* Generated by LTspice 26.0.1 for Windows.
* Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
* No. this isn't right. it is not at an input zero cross.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
;dc V1 0 10 0.01
XU1 0 N001 VCC VEE VOUT LT1001 ;pnba In+)In-)V+)V-)OUT
R3 NC_01 N002 10k
D2 N001 P002 1N4148
R1 N001 N003 10k
D1 P001 N001 1N4148
D4 N002 P001 1N4148
VIN N003 0 SINE(0 10 50)
V2 VCC 0 5
D3 P002 N002 1N4148
R2 N002 N001 10k
V1 0 VEE 5
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0.1
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1316 680
WIRE 96 -160 -16 -160
WIRE 368 -80 368 -160
WIRE 496 -80 496 -160
WIRE 368 -32 368 -80
WIRE 368 -32 224 -32
WIRE 368 0 368 -32
WIRE 400 0 368 0
WIRE 496 0 496 -80
WIRE 496 0 480 0
WIRE 288 80 -48 80
WIRE 368 80 368 0
WIRE 384 80 368 80
WIRE 560 96 448 96
WIRE 384 112 368 112
WIRE -48 128 -48 80
SYMBOL diode 496 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -5 -113 VTop 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL res 496 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL voltage -16 -256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V2
SYMBOL res 384 64 R90
WINDOW 0 -23 59 VBottom 2
WINDOW 3 -25 66 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL diode 432 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -35 -122 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL OpAmps\\OP07 416 32 R0
WINDOW 0 40 50 Left 2
SYMATTR InstName U1
SYMBOL res 592 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL diode 432 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 13 187 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL voltage -16 -176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V1
SYMBOL diode 368 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 34 179 VBottom 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL voltage -48 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 24 44 Left 2
SYMATTR Value SINE(0 10 50)
SYMATTR InstName VIN
FLAG -48 208 0
FLAG 96 -160 0
FLAG 560 96 VOUT
FLAG 368 112 0
FLAG -16 -240 VCC
FLAG 416 64 VCC
FLAG -16 -80 VEE
FLAG 416 128 VEE
FLAG 144 -32 VEE
TEXT -120 232 Left 2 !;dc V1 0 10 0.01
TEXT -136 368 Left 2 !.tran 0.1
TEXT 704 -160 Left 2 ;Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo  noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
TEXT 720 48 Left 2 ;No. this isn't right. it is not at an input  zero cross.
* Z:\home\khalils\Downloads\files\data\raw_asc\8462ee253a6e_Simulation4.asc
* Generated by LTspice 26.0.1 for Windows.
* .op
V2 N009 NC_02 -15
M1 N005 N002 N002 N003 NMOS
R1 N001 N002 2.6k
V1 NC_01 N001 15
M4 N006 N005 N009 N008 NMOS
M3 N009 N005 N005 N007 NMOS
M2 N001 N002 N006 N004 NMOS
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.dc v1 0 8 0.5
.model M1 NMOS(l=100u, w=100u, kp=20, Vto=1v)
.model M2 NMOS(l=100u, w=100u, kp=20, Vto=1v)
.model M3 NMOS(l=100u, w=100u, kp=20, Vto=1v)
.model M4 NMOS(l=100u, w=100u, kp=20, Vto=1v)
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1104 736
WIRE 208 80 16 80
WIRE 432 80 208 80
WIRE 16 144 16 80
WIRE 16 240 16 224
WIRE 160 240 16 240
WIRE 16 304 16 240
WIRE 432 304 432 80
WIRE 432 304 416 304
WIRE 160 320 160 240
WIRE 160 320 64 320
WIRE 208 320 160 320
WIRE 16 384 16 352
WIRE 208 384 208 320
WIRE 368 384 208 384
WIRE 416 384 416 352
WIRE 16 432 16 400
WIRE 192 432 16 432
WIRE 16 464 16 432
WIRE 192 480 192 432
WIRE 192 480 64 480
WIRE 416 496 416 400
WIRE 16 544 16 512
WIRE 192 576 192 480
WIRE 368 576 192 576
WIRE 416 576 416 544
WIRE 16 608 16 560
WIRE 192 608 16 608
WIRE 416 608 416 592
WIRE 416 608 192 608
WIRE 192 640 192 608
SYMBOL nmos4 368 496 R0
SYMATTR InstName M4
SYMBOL nmos4 64 400 R180
SYMATTR InstName M1
SYMBOL res 0 128 R0
SYMATTR InstName R1
SYMATTR Value 2.6k
SYMBOL nmos4 368 304 R0
SYMATTR InstName M2
SYMBOL nmos4 64 560 R180
SYMATTR InstName M3
SYMBOL voltage 192 624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL voltage 208 -16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
TEXT -80 672 Left 2 ;.op
TEXT 272 40 Left 2 !.dc v1 0 8 0.5
TEXT -616 352 Left 2 !.model M1 NMOS(l=100u, w=100u, kp=20, Vto=1v)
TEXT 480 352 Left 2 !.model M2 NMOS(l=100u, w=100u, kp=20, Vto=1v)
TEXT -632 520 Left 2 !.model M3 NMOS(l=100u, w=100u, kp=20, Vto=1v)
TEXT 496 536 Left 2 !.model M4 NMOS(l=100u, w=100u, kp=20, Vto=1v)
* Z:\home\khalils\Downloads\files\data\raw_asc\2ndOrderBandpass.asc
* Generated by LTspice 26.0.1 for Windows.
* f0 and Q set by parameters
* R1 is arbitary
* This version puts 1/2 the R1 resistance in the capacitor
* Vout
* Vin
* The parameter "H" sets the midband gain
R3 2 0 .1
R2 N003 N002 {R1/2}
R4 2 0 1Meg
L1 N003 0 {L1} Cpar={C1}
V1 1 0 AC 1
R1 N002 0 {R1/2}
G2 0 2 N003 0 {10*H}
G1 0 N002 1 0 {2/R1}
.param f0= 1k Q=0.5
.param R1=1k
.param L1=1/(C1*(2*pi*f0)**2)
.param C1=Q/(R1*2*pi*f0)
.param H=1
.ac dec 101 100 10k
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1060 680
WIRE -384 -128 -448 -128
WIRE -288 -128 -320 -128
WIRE -112 -128 -240 -128
WIRE -64 -128 -112 -128
WIRE 64 -128 16 -128
WIRE 240 -128 64 -128
WIRE 400 -128 288 -128
WIRE 464 -128 400 -128
WIRE 496 -128 464 -128
WIRE 624 -128 560 -128
WIRE -448 -112 -448 -128
WIRE -240 -96 -240 -128
WIRE -288 -80 -288 -128
WIRE -112 -64 -112 -128
WIRE 64 -64 64 -128
WIRE 288 -64 288 -128
WIRE 400 -64 400 -128
WIRE 624 -64 624 -128
WIRE 240 -48 240 -128
WIRE -448 0 -448 -32
WIRE -288 0 -288 -32
WIRE -240 16 -240 -16
WIRE 240 32 240 0
WIRE 288 32 288 16
WIRE 400 32 400 16
WIRE 624 32 624 16
WIRE -112 48 -112 16
WIRE 64 48 64 16
SYMBOL res 384 -80 R0
SYMATTR InstName R3
SYMATTR Value .1
SYMBOL res 608 -80 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL res 32 -144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value {R1/2}
SYMBOL Misc\\jumper 528 -192 R0
SYMATTR InstName J2
SYMBOL res -128 -80 R0
SYMATTR InstName R1
SYMATTR Value {R1/2}
SYMBOL g -240 -112 R0
SYMATTR InstName G1
SYMATTR Value {2/R1}
SYMBOL ind 48 -80 R0
WINDOW 0 59 45 Bottom 2
WINDOW 3 61 50 Top 2
WINDOW 123 102 107 Bottom 2
SYMATTR InstName L1
SYMATTR Value {L1}
SYMATTR Value2 Cpar={C1}
SYMBOL Misc\\jumper -352 -192 M0
SYMATTR InstName J1
SYMBOL voltage -448 -128 R0
WINDOW 0 35 41 Left 2
WINDOW 123 33 80 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value2 AC 1
SYMATTR Value ""
SYMBOL g 288 -80 R0
SYMATTR InstName G2
SYMATTR Value {10*H}
FLAG 64 48 0
FLAG -112 48 0
FLAG -240 16 0
FLAG -288 0 0
FLAG 240 32 0
FLAG 288 32 0
FLAG 400 32 0
FLAG 464 -128 2
FLAG -288 -128 1
FLAG -448 0 0
FLAG 624 32 0
TEXT -96 136 Left 2 !.param f0= 1k Q=0.5
TEXT -264 176 Left 2 !.param R1=1k
TEXT -440 296 Left 2 !.param L1=1/(C1*(2*pi*f0)**2)
TEXT -432 136 Left 2 ;f0 and Q set by parameters
TEXT -432 176 Left 2 ;R1 is arbitary
TEXT -328 -200 Left 2 ;This version puts 1/2 the R1 resistance in the capacitor
TEXT -440 256 Left 2 !.param C1=Q/(R1*2*pi*f0)
TEXT 576 -144 Left 2 ;Vout
TEXT -400 -144 Right 2 ;Vin
TEXT -432 216 Left 2 ;The parameter "H" sets the midband gain
TEXT 64 216 Left 2 !.param H=1
TEXT -440 336 Left 2 !.ac dec 101 100 10k
* Z:\home\khalils\Downloads\files\data\raw_asc\ADG5433.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Switches\ADG5433.asy)
R1 N002 0 300
V2 -V 0 -15
XU1 N004 N001 N002 N003 N005 -V 0 +V ADG5433 ;pnba IN)SA)D)SB)EN)Vss)GND)Vdd
C1 N002 0 35p
V5 N001 0 10
V3 N005 0 0
V1 +V 0 15
V6 N003 0 0
V4 N004 0 PULSE(0 5 0 20n 20n 10u 20u)
.tran 120u
.lib ADG5433.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2844 1336
WIRE -1024 -256 -1040 -256
WIRE -896 -256 -944 -256
WIRE -640 -224 -704 -224
WIRE -560 -224 -640 -224
WIRE -1104 -192 -1136 -192
WIRE -896 -192 -1024 -192
WIRE -640 -192 -640 -224
WIRE -560 -176 -560 -224
WIRE -1344 -144 -1344 -160
WIRE -1232 -144 -1232 -160
WIRE -896 -128 -1072 -128
WIRE -640 -96 -640 -112
WIRE -560 -96 -560 -112
WIRE -896 -64 -992 -64
WIRE -1344 -48 -1344 -64
WIRE -1232 -48 -1232 -64
WIRE -1072 -48 -1072 -128
WIRE -992 -48 -992 -64
WIRE -736 0 -736 -16
WIRE -1072 48 -1072 32
WIRE -992 48 -992 32
SYMBOL voltage -1232 -160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res -656 -208 R0
SYMATTR InstName R1
SYMATTR Value 300
SYMBOL voltage -1344 -160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL voltage -1008 -192 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 0
SYMBOL voltage -1072 -64 M0
WINDOW 3 59 79 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 5 0 20n 20n 10u 20u)
SYMATTR InstName V4
SYMBOL voltage -992 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL cap -576 -176 R0
SYMATTR InstName C1
SYMATTR Value 35p
SYMBOL Switches\\ADG5433 -800 -176 R0
SYMATTR InstName U1
SYMBOL voltage -928 -256 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 10
FLAG -1344 -48 0
FLAG -1232 -48 0
FLAG -1232 -160 +V
FLAG -1344 -160 -V
FLAG -1072 48 0
FLAG -1040 -256 0
FLAG -1136 -192 0
FLAG -800 -320 +V
FLAG -736 0 0
FLAG -864 -16 -V
FLAG -992 48 0
FLAG -640 -96 0
FLAG -560 -96 0
TEXT -1488 40 Left 2 !.tran 120u
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3479.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3479.asy)
L1 N001 N002 4.7
R4 N003 0 23.2K
R3 OUT N003 200K
V1 IN 0 5
Rload OUT 0 25
XU1 N002 MP_01 N001 IN IN N006 IN N004 N004 N003 N007 N005 0 LT3479 ;pnba SW))L)Vs)Vin)Rt)_SHDN)Vref)FBP)FBN)Vc)SS)GND
C3 OUT 0 30
R2 N006 0 17.8K
D1 N002 OUT 1N5819
R1 N008 N007 10K
C1 N008 0 .0022
C2 N005 0 .001
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1m startup
.lib LT3479.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 64 176 64
WIRE 288 64 272 64
WIRE 304 64 288 64
WIRE 416 64 368 64
WIRE 528 64 416 64
WIRE 608 64 528 64
WIRE 416 80 416 64
WIRE 608 80 608 64
WIRE -16 96 -112 96
WIRE 64 96 -16 96
WIRE 528 96 528 64
WIRE -112 112 -112 96
WIRE 64 112 64 96
WIRE 176 112 176 64
WIRE 288 112 288 64
WIRE -16 176 -16 96
WIRE 16 176 -16 176
WIRE 416 176 416 160
WIRE 416 176 336 176
WIRE 416 192 416 176
WIRE 528 192 528 160
WIRE 608 192 608 160
WIRE -112 208 -112 192
WIRE -16 240 -16 176
WIRE 16 240 -16 240
WIRE 352 240 336 240
WIRE 416 288 416 272
WIRE -64 304 -80 304
WIRE 16 304 0 304
WIRE 352 304 352 240
WIRE 352 304 336 304
WIRE 16 368 -48 368
WIRE 352 368 336 368
WIRE 448 368 432 368
WIRE -48 384 -48 368
WIRE 448 384 448 368
WIRE 176 432 176 416
WIRE 448 464 448 448
WIRE -48 480 -48 464
SYMBOL res 592 64 R0
SYMATTR InstName Rload
SYMATTR Value 25
SYMBOL ind 176 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7
SYMBOL schottky 304 80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N5819
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 432 384 R0
SYMATTR InstName C1
SYMATTR Value .0022
SYMBOL cap 512 96 R0
SYMATTR InstName C3
SYMATTR Value 30
SYMBOL res 400 64 R0
SYMATTR InstName R3
SYMATTR Value 200K
SYMBOL voltage -112 96 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL cap 0 288 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value .001
SYMBOL PowerProducts\\LT3479 176 256 R0
SYMATTR InstName U1
SYMBOL res 448 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 400 176 R0
SYMATTR InstName R4
SYMATTR Value 23.2K
SYMBOL res -64 368 R0
SYMATTR InstName R2
SYMATTR Value 17.8K
FLAG 448 464 0
FLAG 176 432 0
FLAG -80 304 0
FLAG -48 480 0
FLAG -112 208 0
FLAG 528 192 0
FLAG 416 288 0
FLAG 608 192 0
FLAG 608 64 OUT
FLAG -112 96 IN
TEXT 472 320 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP7185-2.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP7185-2.5.asy)
C4 N003 0 1
C2 OUT 0 4.7 Rser=5m
C3 N001 0 1
V1 IN 0 -3
C1 N001 N002 10n
XU1 OUT OUT N001 N002 IN 0 N003 IN ADP7185-2.5 ;pnba Vout)Sense)VA)VAFB)EN)GND)Vreg)Vin
R3 OUT 0 5
.tran 200m startup
.lib ADP7185-2.5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 984 680
WIRE 32 -48 16 -48
WIRE 96 -48 32 -48
WIRE 112 -48 96 -48
WIRE 400 -48 368 -48
WIRE 432 -48 400 -48
WIRE 496 -48 432 -48
WIRE 512 -48 496 -48
WIRE 16 -32 16 -48
WIRE 432 -32 432 -48
WIRE 512 -32 512 -48
WIRE 400 16 400 -48
WIRE 400 16 368 16
WIRE 432 48 432 32
WIRE 16 64 16 48
WIRE 512 64 512 48
WIRE 96 80 96 -48
WIRE 112 80 96 80
WIRE 464 80 368 80
WIRE 384 144 368 144
WIRE 464 144 464 80
WIRE 464 144 448 144
WIRE 464 160 464 144
WIRE 176 224 176 208
WIRE 304 224 304 208
WIRE 464 240 464 224
WIRE 176 320 176 288
SYMBOL cap 160 224 R0
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL voltage 16 -48 R0
SYMATTR InstName V1
SYMATTR Value -3
SYMBOL cap 448 160 R0
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL cap 448 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL res 496 -48 R0
SYMATTR InstName R3
SYMATTR Value 5
SYMBOL ADP7185-2.5 240 48 R0
SYMATTR InstName U1
SYMBOL cap 416 -32 R0
SYMATTR InstName C2
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=5m
FLAG 16 64 0
FLAG 432 48 0
FLAG 304 224 0
FLAG 512 64 0
FLAG 32 -48 IN
FLAG 496 -48 OUT
FLAG 464 240 0
FLAG 176 320 0
TEXT 144 360 Left 2 !.tran 200m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1de0eeb6beb7_CurrentMirrorSimple_-1.asc
* Generated by LTspice 26.0.1 for Windows.
* SIMPLE CURRENT MIRROR
* (SPECIFICATION)\nIref =52.4u\nIout=524
* (RESULT)\nIref =52.4u\nIout=523
M2 vd N001 0 0 NMOS l=360n w=9.9u m=10
vdd vdd 0 1.8
M3 N001 N001 vdd vdd PMOS l=0.36u w=1.26u
V1 vd 0 0.6
M1 N001 N001 0 0 NMOS l=0.36u w=9.9u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include tsmc180.txt
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -16 0 -16 -32
WIRE 16 0 -16 0
WIRE -16 16 -16 0
WIRE -64 32 -96 32
WIRE 16 64 16 0
WIRE 16 64 -16 64
WIRE -96 128 -96 32
WIRE -16 128 -16 112
WIRE -16 128 -96 128
WIRE -16 176 -16 128
WIRE 64 176 -16 176
WIRE -16 192 -16 176
WIRE 272 192 272 32
WIRE -368 224 -368 176
WIRE -16 240 -64 240
WIRE 368 240 272 240
WIRE -496 256 -496 192
WIRE 64 272 64 176
WIRE 64 272 32 272
WIRE 224 272 64 272
WIRE 368 288 368 240
WIRE 368 288 272 288
WIRE -64 304 -64 240
WIRE -16 304 -16 288
WIRE -16 304 -64 304
WIRE 272 336 272 288
WIRE -496 368 -496 336
WIRE -368 368 -368 304
WIRE -16 368 -16 304
DATAFLAG 0 176 ""
DATAFLAG 272 176 ""
SYMBOL nmos4 32 192 M0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=0.36u w=9.9u
SYMATTR InstName M1
SYMBOL nmos4 224 192 R0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=360n w=9.9u m=10
SYMATTR InstName M2
SYMBOL voltage -496 240 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vdd
SYMATTR Value 1.8
SYMBOL voltage -368 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 0.6
SYMBOL pmos4 -64 112 M180
WINDOW 123 58 11 Left 2
SYMATTR Value2 l=0.36u w=1.26u
SYMATTR InstName M3
FLAG -16 368 0
FLAG -496 368 0
FLAG -496 192 vdd
FLAG -16 -32 vdd
FLAG 272 336 0
FLAG -368 176 vd
FLAG -368 368 0
FLAG 272 32 vd
TEXT -528 48 Left 2 !.include tsmc180.txt
TEXT -528 72 Left 2 !.op
TEXT -176 -120 Left 2 ;SIMPLE CURRENT MIRROR
TEXT -528 -88 Left 2 ;(SPECIFICATION)\nIref =52.4u\nIout=524
TEXT 280 -96 Left 2 ;(RESULT)\nIref =52.4u\nIout=523