Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\d2d76e27d6f0_colpitts_oscillator_using_BJT.asc
* Generated by LTspice 26.0.1 for Windows.
V1 vcc 0 12V
Q1 N001 N003 N004 0 2N2222
R1 vcc N001 3.9k
R2 vcc N003 70k
R3 N003 0 30k
R4 N004 0 2.2k
C1 N003 N002 6.8n
C2 vout N001 433p
V2 vin 0 SINE(0 10m 250k)
C3 N004 0 480
C4 0 N005 10
C5 vout 0 100
L1 vout N005 0.63H
V3 N002 N005 SINE(0 10m 250k)
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 50u 40u 1u
* Colpitts Oscillator Using BJT
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 768
WIRE 336 -32 240 -32
WIRE 432 -32 336 -32
WIRE 240 16 240 -32
WIRE 432 16 432 -32
WIRE 432 128 432 96
WIRE 496 128 432 128
WIRE 688 128 560 128
WIRE 432 144 432 128
WIRE 128 192 80 192
WIRE 240 192 240 96
WIRE 240 192 192 192
WIRE 368 192 240 192
WIRE 432 272 432 240
WIRE 560 272 432 272
WIRE 240 288 240 192
WIRE 432 288 432 272
WIRE 560 304 560 272
WIRE 80 384 80 192
WIRE 432 400 432 368
WIRE 560 400 560 368
WIRE 560 400 432 400
WIRE 240 416 240 368
WIRE 432 416 432 400
WIRE 432 416 240 416
WIRE 432 464 432 416
WIRE 240 560 176 560
WIRE 368 560 304 560
WIRE 416 560 368 560
WIRE 528 560 480 560
WIRE 80 640 80 464
WIRE 176 640 176 560
WIRE 176 640 80 640
WIRE 368 640 368 560
WIRE 528 640 528 560
WIRE 688 640 688 128
WIRE 688 640 528 640
WIRE 176 720 176 640
WIRE 320 720 176 720
WIRE 528 720 528 640
WIRE 528 720 400 720
FLAG 0 240 0
FLAG 0 160 vcc
FLAG 336 -32 vcc
FLAG 688 128 vout
FLAG -112 160 vin
FLAG -112 240 0
FLAG 432 464 0
FLAG 368 640 0
SYMBOL voltage 0 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12V
SYMBOL npn 368 144 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
SYMBOL res 416 0 R0
SYMATTR InstName R1
SYMATTR Value 3.9k
SYMBOL res 224 0 R0
SYMATTR InstName R2
SYMATTR Value 70k
SYMBOL res 224 272 R0
SYMATTR InstName R3
SYMATTR Value 30k
SYMBOL res 416 272 R0
SYMATTR InstName R4
SYMATTR Value 2.2k
SYMBOL cap 192 176 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 6.8n
SYMBOL cap 560 112 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 433p
SYMBOL voltage -112 144 R0
WINDOW 3 -89 136 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(0 10m 250k)
SYMATTR InstName V2
SYMBOL cap 544 304 R0
SYMATTR InstName C3
SYMATTR Value 480u
SYMBOL cap 304 544 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 10u
SYMBOL cap 480 544 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 100u
SYMBOL ind 416 704 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 0.63H
SYMBOL voltage 80 368 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(0 10m 250k)
TEXT 192 -104 Left 2 !.tran 0 50u 40u 1u
TEXT 144 -144 Left 2 ;Colpitts Oscillator Using BJT
* Z:\home\khalils\Downloads\files\data\raw_asc\753a481c0730_1_1-499ohm.asc
* Generated by LTspice 26.0.1 for Windows.
D1 N002 0 1N4148
V1 N001 0 -5
R1 N002 N001 499
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 -5 1.5 .5
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 176 64 96 64
WIRE 352 64 256 64
WIRE 96 128 96 64
WIRE 352 128 352 64
WIRE 96 256 96 208
WIRE 304 256 96 256
WIRE 352 256 352 192
WIRE 352 256 304 256
WIRE 304 272 304 256
SYMBOL res 272 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 499
SYMBOL diode 336 128 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage 96 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value -5
FLAG 304 272 0
TEXT 62 296 Left 2 !.dc V1 -5 1.5 .5
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6654-2.048.asc
* Generated by LTspice 26.0.1 for Windows.
* Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT6654-2.048.asy)
V1 IN 0 2.5
XU1 0 IN OUT LT6654-2.048 ;pnba GND)IN)OUT
S1 0 OUT N002 0 5mA
C1 OUT 0 1
V3 N001 0 PULSE(0 1 100u 10n 10n 200u 10m)
S2 OUT IN N001 0 5mA
V2 N002 0 PULSE(0 1 600u 10n 10n 200u 10m)
.tran 1m
.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.1 Ilimit=5m level=2)
.lib LT6654-2.048.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4212 1120
WIRE 2304 256 1840 256
WIRE 2304 272 2304 256
WIRE 2608 288 2352 288
WIRE 2720 288 2688 288
WIRE 2368 336 2352 336
WIRE 1840 384 1840 256
WIRE 1840 384 1760 384
WIRE 1872 384 1840 384
WIRE 2176 384 2096 384
WIRE 2304 384 2304 352
WIRE 2304 384 2176 384
WIRE 2400 384 2304 384
WIRE 1760 400 1760 384
WIRE 2176 400 2176 384
WIRE 2304 416 2304 384
WIRE 2608 432 2352 432
WIRE 2720 432 2688 432
WIRE 2368 480 2352 480
WIRE 1760 496 1760 480
WIRE 1984 496 1984 448
WIRE 2176 496 2176 464
WIRE 2304 528 2304 496
SYMBOL cap 2160 400 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL voltage 2592 288 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 3 32 56 VTop 2
WINDOW 0 -32 56 VBottom 2
SYMATTR Value PULSE(0 1 100u 10n 10n 200u 10m)
SYMATTR InstName V3
SYMBOL voltage 2592 432 R270
WINDOW 123 -74 56 VBottom 2
WINDOW 39 -53 56 VBottom 2
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 600u 10n 10n 200u 10m)
SYMBOL voltage 1760 384 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL sw 2304 368 R180
WINDOW 0 -14 106 Right 2
WINDOW 3 -11 9 Right 2
SYMATTR InstName S2
SYMATTR Value 5mA
SYMBOL sw 2304 512 R180
WINDOW 0 -17 107 Right 2
WINDOW 3 -12 13 Right 2
SYMATTR InstName S1
SYMATTR Value 5mA
SYMBOL LT6654-2.048 1984 384 R0
SYMATTR InstName U1
FLAG 1984 496 0
FLAG 2400 384 OUT
FLAG 1760 384 IN
FLAG 1760 496 0
FLAG 2176 496 0
FLAG 2304 528 0
FLAG 2368 480 0
FLAG 2720 432 0
FLAG 2368 336 0
FLAG 2720 288 0
TEXT 2168 608 Left 2 !.tran 1m\n.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.1 Ilimit=5m level=2)
TEXT 1992 248 Bottom 2 ;Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Z:\home\khalils\Downloads\files\data\raw_asc\36bcda78ad24_low_pass_filter.asc
* Generated by LTspice 26.0.1 for Windows.
C1 OUT1 0 10n
R2 OUT2 N003 50k
C2 OUT2 0 10n
R3 OUT3 N001 50
V3 N001 0 AC 1
V1 N002 0 AC 1
V2 N003 0 AC 1
R1 OUT1 N002 50
C3 OUT3 0 100n
.ac dec 100 1 10MEG
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 272 -112 176 -112
WIRE 432 -112 352 -112
WIRE 480 -112 432 -112
WIRE 432 -64 432 -112
WIRE 176 -48 176 -112
WIRE 80 112 -16 112
WIRE 240 112 160 112
WIRE 288 112 240 112
WIRE 240 160 240 112
WIRE -16 176 -16 112
WIRE 320 304 224 304
WIRE 480 304 400 304
WIRE 528 304 480 304
WIRE 480 352 480 304
WIRE 224 368 224 304
SYMBOL voltage 224 352 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V2
SYMATTR Value ""
SYMBOL res 176 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL cap 416 -64 R0
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL res 368 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 50
SYMBOL cap 464 352 R0
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL cap 224 160 R0
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL res 416 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 50k
SYMBOL voltage -16 160 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL voltage 176 -64 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value ""
FLAG -16 256 0
FLAG 240 224 0
FLAG 288 112 OUT1
FLAG 224 448 0
FLAG 480 416 0
FLAG 528 304 OUT2
FLAG 176 32 0
FLAG 432 0 0
FLAG 480 -112 OUT3
TEXT -48 304 Left 2 !.ac dec 100 1 10MEG
* Z:\tmp\asc_dec_bjh7r6w2\1844550559a3_BuckVariable_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
MQ1 IN N002 N001 N001 BSC060N10NS3
Rload OUT N003 {Rload}
L1 N001 OUT {L1} Ipk=16.7 Rser=0.0187 Rpar=3108.6 Cpar=0
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2836 1464
WIRE 400 368 336 368
WIRE 432 368 400 368
WIRE 560 368 528 368
WIRE 656 368 560 368
WIRE 752 368 656 368
WIRE 880 368 832 368
WIRE 960 368 880 368
WIRE 1008 368 960 368
WIRE 560 400 560 368
WIRE 656 400 656 368
WIRE 880 400 880 368
WIRE 1008 416 1008 368
WIRE 336 464 336 368
WIRE 512 480 512 416
WIRE 560 480 512 480
WIRE 656 528 656 464
WIRE 880 528 880 464
WIRE 880 528 656 528
WIRE 1008 528 1008 496
WIRE 1008 528 880 528
WIRE 336 592 336 544
WIRE 656 592 656 528
SYMBOL nmos 432 416 R270
WINDOW 3 87 51 VRight 2
SYMATTR Value BSC060N10NS3
SYMATTR InstName Q1
SYMBOL res 992 400 R0
SYMATTR InstName Rload
SYMATTR Value {Rload}
SYMBOL ind 736 384 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value {L1}
SYMATTR SpiceLine Ipk=16.7 Rser=0.0187 Rpar=3108.6 Cpar=0
FLAG 960 368 OUT
FLAG 400 368 IN
FLAG 336 592 0
* Z:\tmp\asc_dec_bjh7r6w2\0b3c7cb09f1d_CSAmp_DiffPair_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
vs vs 0 0.45
M2 N001 vb vdd vdd pch l=0.36u w=3.42u
M1 N001 vg vs 0 nch l=0.36u w=3.6u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 732
WIRE 352 64 352 16
WIRE 448 64 352 64
WIRE 352 80 352 64
WIRE 304 96 256 96
WIRE 448 128 448 64
WIRE 448 128 352 128
WIRE 352 256 352 176
WIRE 608 256 352 256
WIRE -256 272 -256 224
WIRE 352 272 352 256
WIRE -368 288 -368 256
WIRE 464 320 352 320
WIRE 304 352 240 352
WIRE -368 416 -368 368
WIRE -256 416 -256 352
WIRE 352 416 352 368
SYMBOL voltage -368 272 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vs
SYMATTR Value 0.45
SYMBOL pmos4 304 176 M180
WINDOW 123 120 23 Left 2
SYMATTR Value2 l=0.36u w=3.42u
SYMATTR InstName M2
SYMATTR Value pch
SYMBOL nmos4 304 272 R0
WINDOW 123 55 116 Left 2
SYMATTR Value2 l=0.36u w=3.6u
SYMATTR InstName M1
SYMATTR Value nch
FLAG -256 416 0
FLAG -368 416 0
FLAG -368 256 vs
FLAG -256 224 vdd
FLAG 240 352 vg
FLAG 352 16 vdd
FLAG 256 96 vb
FLAG 352 416 vs
FLAG 464 320 0
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1212.asc
* Generated by LTspice 26.0.1 for Windows.
* Input Bias Current Cancellation
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1212.asy)
R3 N003 N002 1Meg
R2 N001 0 5K
C1 N003 N002 22p
V3 IN 0 PWL(0 1 1 5)
R4 N002 IN 1Meg
XU1 IN N001 +V 0 OUT LT1211 ;pnba In+)In-)V+)V-)OUT
R1 OUT N001 5K
V1 +V 0 15
XU2 N001 N003 +V 0 N002 LT1211 ;pnba In+)In-)V+)V-)OUT
.tran 1
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 704
WIRE 32 112 16 112
WIRE 128 112 112 112
WIRE 144 112 128 112
WIRE 256 112 224 112
WIRE 192 208 192 192
WIRE 128 224 128 112
WIRE 160 224 128 224
WIRE 256 240 256 112
WIRE 256 240 224 240
WIRE 336 240 256 240
WIRE 64 256 -128 256
WIRE 160 256 64 256
WIRE -288 272 -288 256
WIRE -128 272 -128 256
WIRE 192 288 192 272
WIRE 64 320 64 256
WIRE 128 336 128 224
WIRE 288 336 128 336
WIRE -288 368 -288 352
WIRE -128 368 -128 352
WIRE 224 400 224 384
WIRE 288 416 288 336
WIRE 288 416 256 416
WIRE 64 432 64 400
WIRE 192 432 64 432
WIRE 288 448 256 448
WIRE 224 480 224 464
WIRE 64 528 64 432
WIRE 96 528 64 528
WIRE 288 528 288 448
WIRE 288 528 176 528
WIRE 64 592 64 528
WIRE 192 592 64 592
WIRE 288 592 288 528
WIRE 288 592 256 592
SYMBOL opamps\\LT1212 192 176 R0
SYMATTR InstName U1
SYMBOL voltage -288 256 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res 192 512 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1Meg
SYMBOL cap 256 576 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 22p
SYMBOL voltage -128 256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PWL(0 1 1 5)
SYMBOL res 128 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 5K
SYMBOL res 48 416 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL res 240 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 5K
SYMBOL opamps\\LT1212 224 496 R180
WINDOW 0 22 91 Left 2
WINDOW 3 25 39 Left 2
SYMATTR InstName U2
FLAG -288 368 0
FLAG 192 192 +V
FLAG -288 256 +V
FLAG 16 112 0
FLAG -128 368 0
FLAG 224 480 +V
FLAG 192 288 0
FLAG 224 384 0
FLAG 336 240 OUT
FLAG -128 256 IN
TEXT 360 576 Left 2 !.tran 1
TEXT 176 48 Bottom 2 ;Input Bias Current Cancellation
* Z:\home\khalils\Downloads\files\data\raw_asc\16bd3df7e5e0_comutador-ponte-h.asc
* Generated by LTspice 26.0.1 for Windows.
M3 N004 N002 N001 N001 AO6407
M2 N003 N002 N001 N001 AO6407
V1 N001 0 5V
V3 N002 0 PULSE(0 5V 0 0 0 400us 1ms)
M4 N004 N005 0 0 Si7336ADP
R1 N004 N003 10k
V2 N005 0 PULSE(0 5V 500us 0 0 400us 1ms)
M1 N003 N005 0 0 Si7336ADP
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 10ms
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1660 856
WIRE 1040 -208 576 -208
WIRE 1040 -160 1040 -208
WIRE 1040 -160 848 -160
WIRE 1216 -160 1040 -160
WIRE 848 -80 848 -160
WIRE 1216 -80 1216 -160
WIRE 800 -64 672 -64
WIRE 1360 -64 1264 -64
WIRE 576 96 576 -208
WIRE 848 144 848 16
WIRE 992 144 848 144
WIRE 1216 144 1216 16
WIRE 1216 144 1072 144
WIRE 848 240 848 144
WIRE 1216 240 1216 144
WIRE 800 320 736 320
WIRE 1440 320 1264 320
WIRE 848 432 848 336
WIRE 1024 432 848 432
WIRE 1216 432 1216 336
WIRE 1216 432 1024 432
WIRE 576 528 576 176
WIRE 1024 528 1024 432
WIRE 1360 528 1360 -64
WIRE 1360 528 1120 528
WIRE 736 560 736 320
WIRE 1184 560 736 560
WIRE 672 608 672 -64
WIRE 832 608 672 608
WIRE 1120 608 1120 528
WIRE 1120 608 832 608
WIRE 1184 608 1184 560
WIRE 1232 608 1184 608
WIRE 1440 608 1440 320
WIRE 1440 608 1232 608
WIRE 832 656 832 608
WIRE 1232 656 1232 608
WIRE 832 784 832 736
WIRE 1040 784 832 784
WIRE 1232 784 1232 736
WIRE 1232 784 1040 784
WIRE 1040 816 1040 784
SYMBOL voltage 576 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5V
SYMBOL res 1088 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL nmos 800 240 R0
SYMATTR InstName M1
SYMATTR Value Si7336ADP
SYMBOL voltage 1232 640 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5V 500us 0 0 400us 1ms)
SYMBOL nmos 1264 240 M0
SYMATTR InstName M4
SYMATTR Value Si7336ADP
SYMBOL pmos 800 16 M180
SYMATTR InstName M2
SYMATTR Value AO6407
SYMBOL voltage 832 640 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 5V 0 0 0 400us 1ms)
SYMBOL pmos 1264 16 R180
SYMATTR InstName M3
SYMATTR Value AO6407
FLAG 576 528 0
FLAG 1024 528 0
FLAG 1040 816 0
TEXT 542 840 Left 2 !.tran 10ms
* Z:\home\khalils\Downloads\files\data\raw_asc\43174c9cc905_Week1_Ex1C.asc
* Generated by LTspice 26.0.1 for Windows.
VGS N002 0 1.8
VDS N001 0 1.8
M1 N001 N002 0 0 nch l={factor*2u} w={factor*4u}
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.lib 'C:\Program Files\LTC\LTspiceXVII\lib\cmp\log018.l' TT
.dc VGS 0 1.8 1m
.step param factor list 1 0.5 0.1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 416 240 208 240
WIRE 208 336 208 240
WIRE 304 384 208 384
WIRE 160 416 -48 416
WIRE 416 416 416 240
WIRE -48 432 -48 416
WIRE -48 576 -48 512
WIRE 208 576 208 432
WIRE 208 576 -48 576
WIRE 304 576 304 384
WIRE 304 576 208 576
WIRE 416 576 416 496
WIRE 416 576 304 576
WIRE 208 608 208 576
SYMBOL voltage 416 400 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VDS
SYMATTR Value 1.8
SYMBOL voltage -48 416 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VGS
SYMATTR Value 1.8
SYMBOL nmos4 160 336 R0
SYMATTR InstName M1
SYMATTR Value nch
SYMATTR Value2 l={factor*2u} w={factor*4u}
FLAG 208 608 0
TEXT -32 120 Left 2 !.lib 'C:\\Program Files\\LTC\\LTspiceXVII\\lib\\cmp\\log018.l' TT
TEXT -32 168 Left 2 !.dc VGS 0 1.8 1m
TEXT -24 200 Left 2 !.step param factor list 1 0.5 0.1
* Z:\home\khalils\Downloads\files\data\raw_asc\2b4633e8990f_output_short.asc
* Generated by LTspice 26.0.1 for Windows.
* Crystal model from easily measurable parameters
*serial freq
*difference between serial and // freq
* This example schematic is supplied for informational/educational purposes only.\nContributed by Dominique Szymik.
B2 N004 0 V={Cs}
R2 0 OUT 50
R1 N002 N001 50
V1 N001 0 AC 2
B1 N003 0 V={Ls}
CY1 N002 OUT {Cs} Rser={Rs} Lser={Ls} Cpar={Cp}
.ac dec 1001 2000 4000
.param fs=3360
.params df=220
.params Rs=114
.params Cp=54e-9
.params Cs=2.0*cp*df/fs
.params Ls=1/(4*pi*pi*fs*fs*Cs)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3040 2836
WIRE 1712 2192 1632 2192
WIRE 1824 2192 1792 2192
WIRE 2000 2192 1888 2192
WIRE 2048 2192 2000 2192
WIRE 1632 2208 1632 2192
WIRE 2000 2208 2000 2192
WIRE 1632 2304 1632 2288
WIRE 2000 2320 2000 2288
WIRE 1648 2672 1648 2640
WIRE 1808 2672 1808 2640
WIRE 1648 2784 1648 2752
WIRE 1712 2784 1648 2784
WIRE 1808 2784 1808 2752
WIRE 1808 2784 1712 2784
WIRE 1712 2816 1712 2784
DATAFLAG 1648 2640 ""
DATAFLAG 1808 2640 ""
SYMBOL res 1808 2176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL bv 1648 2656 R0
SYMATTR InstName B1
SYMATTR Value V={Ls}
SYMBOL MISC\\XTAL 1824 2208 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName Y1
SYMATTR Value {Cs}
SYMATTR SpiceLine Rser={Rs} Lser={Ls} Cpar={Cp}
SYMBOL bv 1808 2656 R0
SYMATTR InstName B2
SYMATTR Value V={Cs}
SYMBOL res 2016 2304 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 50
SYMBOL VOLTAGE 1632 2192 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 2
SYMATTR InstName V1
SYMATTR Value ""
FLAG 2000 2320 0
FLAG 1632 2304 0
FLAG 2048 2192 OUT
FLAG 1712 2816 0
TEXT 1672 2104 Left 2 !.ac dec 1001 2000 4000
TEXT 1184 2048 Left 2 ;Crystal model from easily measurable parameters
TEXT 1136 2112 Left 2 !*serial freq\n.param fs=3360\n*difference between serial and // freq \n.params df=220\n.params Rs=114\n.params Cp=54e-9\n.params Cs=2.0*cp*df/fs\n.params Ls=1/(4*pi*pi*fs*fs*Cs)
TEXT 1592 2392 Top 1 ;This example schematic is supplied for informational/educational purposes only.\nContributed by Dominique Szymik.
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1726-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\SpecialFunctions\LTC1726-5.asy)
XU1 N002 N003 N004 0 N009 N006 N008 N005 LTC1726-5 ;pnba VCC3)VCC5)VCCA)GND)WDI)_RST)WT)RT
V1 N001 0 PULSE(1.2 0 4.5 .5 .5 .5)
R2 N004 0 300K
V3 N002 0 PULSE(3.3 0 2.5 0.5 0.5 0.5)
V6 N009 0 PULSE(0 2 1m 1u 1u 50u 800m 9)
R3 N007 N006 10K
C1 N005 0 47n
R1 N001 N004 56K
V2 N003 0 PULSE(5 0 .5 .5 .5 .5)
C2 N008 0 100n
V4 N007 0 5
.tran 10
.lib LTC1726-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1576 848
WIRE 672 48 528 48
WIRE 528 64 528 48
WIRE 672 64 672 48
WIRE 224 112 -384 112
WIRE 128 144 -208 144
WIRE -208 160 -208 144
WIRE 528 160 528 144
WIRE 528 160 320 160
WIRE 672 160 672 144
WIRE 528 176 528 160
WIRE 128 192 128 144
WIRE 224 192 224 112
WIRE 320 192 320 160
WIRE -208 256 -208 240
WIRE 528 272 528 256
WIRE -384 288 -384 112
WIRE 0 304 -32 304
WIRE 80 304 64 304
WIRE 384 304 368 304
WIRE 528 304 464 304
WIRE 528 320 528 304
WIRE -384 384 -384 368
WIRE 528 416 528 400
WIRE 0 432 -32 432
WIRE 80 432 64 432
WIRE 448 432 368 432
WIRE 448 448 448 432
WIRE 224 496 224 480
WIRE 448 544 448 528
SYMBOL res 480 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL voltage 528 304 R0
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL cap 64 288 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 47n
SYMBOL res 512 48 R0
SYMATTR InstName R1
SYMATTR Value 56K
SYMBOL cap 64 416 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL voltage -208 144 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PULSE(5 0 .5 .5 .5 .5)
SYMATTR InstName V2
SYMBOL voltage 448 432 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR InstName V6
SYMATTR Value PULSE(0 2 1m 1u 1u 50u 800m 9)
SYMBOL LTC1726-5 224 400 R0
SYMATTR InstName U1
SYMBOL voltage -384 272 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PULSE(3.3 0 2.5 0.5 0.5 0.5)
SYMATTR InstName V3
SYMBOL voltage 672 48 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PULSE(1.2 0 4.5 .5 .5 .5)
SYMATTR InstName V1
SYMBOL res 512 160 R0
SYMATTR InstName R2
SYMATTR Value 300K
FLAG 448 544 0
FLAG 528 416 0
FLAG 672 160 0
FLAG -208 256 0
FLAG -384 384 0
FLAG 224 496 0
FLAG -32 304 0
FLAG -32 432 0
FLAG 528 272 0
TEXT 744 576 Left 2 !.tran 10
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2165-1.0.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\ADP2165-1.0.asy)
R1 N005 0 100K
Rload OUT 0 .2
V1 IN 0 5
C4 N002 0 1
R2 N007 N006 27.4K
XU1 N002 N005 N002 OUT 0 0 N004 IN IN IN N001 N008 N007 N003 N002 ADP2165-x.x Rtop=400K Rbot=600K ;pnba SYNC)Rt)TRK)FB)Gnd)Pgnd)SW)Pvin)Avin)EN)Pgood)SS)Comp)Bst)Vreg
C6 N007 0 1p
C3 OUT 0 90 Rser=2m
C5 N006 0 820p
C2 N003 N004 .1
C1 N008 0 2n
L1 N004 OUT .47 Rser=6m
R3 OUT N001 100K
.tran 1m startup
.lib ADP2165-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1076 680
WIRE 32 -96 -144 -96
WIRE 176 -96 32 -96
WIRE 272 -96 176 -96
WIRE -144 -80 -144 -96
WIRE 176 -80 176 -96
WIRE 272 -80 272 -96
WIRE 32 -16 32 -96
WIRE 64 -16 32 -16
WIRE 448 -16 384 -16
WIRE 608 -16 528 -16
WIRE -144 16 -144 0
WIRE -32 64 -48 64
WIRE 48 64 32 64
WIRE 64 64 48 64
WIRE 432 64 384 64
WIRE 48 144 48 64
WIRE 64 144 48 144
WIRE 432 144 432 128
WIRE 432 144 384 144
WIRE 480 144 432 144
WIRE 608 144 608 -16
WIRE 608 144 560 144
WIRE 720 144 608 144
WIRE 832 144 720 144
WIRE 720 160 720 144
WIRE 832 160 832 144
WIRE 48 224 48 144
WIRE 64 224 48 224
WIRE 720 256 720 224
WIRE 832 256 832 240
WIRE -32 304 -48 304
WIRE 64 304 48 304
WIRE 608 304 608 144
WIRE 608 304 384 304
WIRE -160 384 -224 384
WIRE -32 384 -80 384
WIRE 64 384 -32 384
WIRE 400 384 384 384
WIRE 480 384 464 384
WIRE -224 400 -224 384
WIRE -32 400 -32 384
WIRE 176 464 176 448
WIRE 272 464 272 448
WIRE -224 480 -224 464
WIRE -32 480 -32 464
SYMBOL cap -240 400 R0
SYMATTR InstName C5
SYMATTR Value 820p
SYMBOL res -64 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 27.4K
SYMBOL cap -48 400 R0
SYMATTR InstName C6
SYMATTR Value 1p
SYMBOL cap 400 368 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 2n
SYMBOL cap 704 160 R0
WINDOW 40 24 74 Left 2
SYMATTR Value 90
SYMATTR InstName C3
SYMATTR SpiceLine Rser=2m
SYMBOL res 816 144 R0
SYMATTR InstName Rload
SYMATTR Value .2
SYMBOL res 544 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL ind 464 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value .47
SYMATTR SpiceLine Rser=6m
SYMBOL res 64 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL cap 416 64 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap 32 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL ADP2165-1.0 224 176 R0
SYMATTR InstName U1
SYMBOL voltage -144 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
FLAG 480 384 0
FLAG 272 464 0
FLAG -48 304 0
FLAG -224 480 0
FLAG -144 16 0
FLAG 720 256 0
FLAG 832 256 0
FLAG 832 144 OUT
FLAG -144 -96 IN
FLAG -48 64 0
FLAG -32 480 0
FLAG 176 464 0
TEXT 696 424 Left 2 !.tran 1m startup