Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2118-1.2.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\ADP2118-1.2.asy)
V1 IN 0 5
XU1 IN IN IN OUT 0 0 N002 IN IN IN N001 ADP2118-x.x Rtop=500k Rbot=500k Ctop=4p ;pnba Sync/Mode)FREQ)TRK)FB)GND)PGND)SW)Pvin)Vin)EN)Pgood
Rload OUT 0 .4
L1 N002 OUT 1
C1 OUT 0 100
R1 OUT N001 100K
.tran 2m startup
.lib ADP2118-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1104 680
WIRE 128 0 48 0
WIRE 288 0 128 0
WIRE 48 16 48 0
WIRE 288 32 288 0
WIRE 128 64 128 0
WIRE 160 64 128 64
WIRE 496 64 416 64
WIRE 640 64 576 64
WIRE 48 112 48 96
WIRE 128 144 128 64
WIRE 160 144 128 144
WIRE 448 144 416 144
WIRE 560 144 528 144
WIRE 640 144 640 64
WIRE 640 144 560 144
WIRE 704 144 640 144
WIRE 560 160 560 144
WIRE 704 160 704 144
WIRE 128 224 128 144
WIRE 160 224 128 224
WIRE 560 224 416 224
WIRE 560 256 560 224
WIRE 704 256 704 240
WIRE 128 304 128 224
WIRE 160 304 128 304
WIRE 640 304 640 144
WIRE 640 304 416 304
WIRE 128 384 128 304
WIRE 160 384 128 384
WIRE 288 432 288 416
SYMBOL ADP2118-1.2 288 272 R0
SYMATTR InstName U1
SYMBOL voltage 48 0 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 688 144 R0
SYMATTR InstName Rload
SYMATTR Value .4
SYMBOL ind 432 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1
SYMBOL cap 544 160 R0
WINDOW 0 21 15 Left 2
WINDOW 3 22 48 Left 2
SYMATTR InstName C1
SYMATTR Value 100
SYMBOL res 592 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
FLAG 560 256 0
FLAG 288 432 0
FLAG 48 112 0
FLAG 704 144 OUT
FLAG 704 256 0
FLAG 48 0 IN
TEXT 552 408 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1c9f63d1f46c_StageC_HighPassFirstOrder_LT6004.asc
* Generated by LTspice 26.0.1 for Windows.
C1 N001 IN 390n
R1 N001 REF 1.2Meg
XU1 N001 OUT V+ V- OUT LT6003 ;pnba IN+)IN-)VCC)VEE)OUT
* This subcircuit is not simulatable. \nPlease open one of the \n"Filter Design*.asc" schematics to \nsimulate your Filter Wizard design.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6004.asy)
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 4112 860
WIRE 528 -64 240 -64
WIRE 320 112 320 0
WIRE 240 128 240 -64
WIRE 288 128 288 112
WIRE 288 128 240 128
WIRE 304 128 288 128
WIRE 528 144 352 144
WIRE 528 144 528 -64
WIRE -160 160 -176 160
WIRE -112 160 -160 160
WIRE 144 160 -48 160
WIRE 288 160 144 160
WIRE 304 160 288 160
WIRE 528 160 528 144
WIRE 592 160 528 160
WIRE 624 160 592 160
WIRE 144 176 144 160
WIRE 288 176 288 160
WIRE 320 272 320 176
WIRE 144 272 144 256
FLAG 320 0 V+
FLAG 320 272 V-
FLAG 592 160 OUT
FLAG -160 160 IN
FLAG 144 272 REF
SYMBOL cap -48 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 390n
SYMBOL res 128 160 R0
SYMATTR InstName R1
SYMATTR Value 1.2Meg
SYMBOL Opamps\\LT6004 320 144 R0
SYMATTR InstName U1
TEXT -176 504 Left 4 ;This subcircuit is not simulatable.  \nPlease open one of the \n"Filter Design*.asc" schematics to \nsimulate your Filter Wizard design.
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3464.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\LT3464.asy)
R2 N003 0 294K
XU1 IN N003 OUT 0 N002 N001 IN IN LT3464 ;pnba CTRL)FB)OUT)GND)CAP)SW)Vin)_SHDN
C2 N002 0 .33
C1 OUT N002 .22
L1 IN N001 22
R1 OUT N003 3.48Meg
V1 IN 0 5
Rload OUT 0 2K
.tran 500u startup
.lib LT3464.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 980 680
WIRE -32 64 -128 64
WIRE 80 64 -32 64
WIRE 112 64 80 64
WIRE 208 64 192 64
WIRE -128 80 -128 64
WIRE 80 112 80 64
WIRE 208 112 208 64
WIRE -128 176 -128 160
WIRE -32 176 -32 64
WIRE 0 176 -32 176
WIRE 336 176 288 176
WIRE 448 176 336 176
WIRE 608 176 448 176
WIRE 336 192 336 176
WIRE 608 192 608 176
WIRE 448 224 448 176
WIRE 336 272 336 256
WIRE 336 272 288 272
WIRE 608 288 608 272
WIRE -32 368 -32 176
WIRE 0 368 -32 368
WIRE 448 368 448 304
WIRE 448 368 288 368
WIRE 448 384 448 368
WIRE 144 448 144 432
WIRE 448 480 448 464
SYMBOL cap 320 192 R0
WINDOW 3 26 57 Left 2
SYMATTR Value .22
SYMATTR InstName C1
SYMBOL cap 320 272 R0
WINDOW 3 28 51 Left 2
WINDOW 0 32 13 Left 2
SYMATTR Value .33
SYMATTR InstName C2
SYMBOL res 432 368 R0
SYMATTR InstName R2
SYMATTR Value 294K
SYMBOL ind 96 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 22
SYMBOL voltage -128 64 R0
WINDOW 3 25 96 Left 2
SYMATTR Value 5
SYMATTR InstName V1
SYMBOL res 432 208 R0
SYMATTR InstName R1
SYMATTR Value 3.48Meg
SYMBOL res 592 176 R0
SYMATTR InstName Rload
SYMATTR Value 2K
SYMBOL PowerProducts\\LT3464 144 272 R0
SYMATTR InstName U1
FLAG 144 448 0
FLAG -128 176 0
FLAG 336 336 0
FLAG 448 480 0
FLAG 608 288 0
FLAG 608 176 OUT
FLAG -128 64 IN
TEXT 184 496 Left 2 !.tran 500u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\19bfc5decd43_PhotodiodeStage.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\Optos\4N26.asy)
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp.asy)
;op
R3 N001 DiodeOut 100
XU1 N002 0 DiodeOut NC_01 0 4N25 ;pnba A)K)C)E)B
C1 Vo N001 20p
V1 5V 0 5
R2 Vo N001 100k
V2 Voff 0 0.05
XU2 Voff N001 5V 0 Vo level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R1 VLED N002 220
V3 VLED 0 PULSE(1 7 0 1 0 0 1 1)
.tran 0 1s 0s
.lib 4N25.sub
.lib UniversalOpAmp1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 704 -192 656 -192
WIRE 864 -192 768 -192
WIRE 656 -96 656 -192
WIRE 704 -96 656 -96
WIRE 864 -96 864 -192
WIRE 864 -96 784 -96
WIRE 656 32 656 -96
WIRE 704 32 656 32
WIRE 864 48 864 -96
WIRE 864 48 768 48
WIRE 704 64 688 64
WIRE 48 96 -16 96
WIRE 688 112 688 64
WIRE 48 192 -32 192
WIRE 256 192 240 192
WIRE -32 288 -32 192
WIRE 256 320 256 192
SYMBOL voltage 208 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 320 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 0.05
SYMBOL OpAmps\\UniversalOpamp 736 48 R0
SYMATTR InstName U2
SYMBOL res -32 0 R0
SYMATTR InstName R1
SYMATTR Value 220
SYMBOL res 800 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL res 672 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL voltage -384 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(1 7 0 1 0 0 1 1)
SYMBOL Optos\\4N26 144 160 R0
SYMATTR InstName U1
SYMBOL cap 768 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 20p
FLAG -32 288 0
FLAG 240 96 DiodeOut
FLAG 256 320 0
FLAG 736 80 0
FLAG 736 16 5V
FLAG 864 48 Vo
FLAG 208 -192 5V
FLAG 688 112 Voff
FLAG 320 -192 Voff
FLAG 320 -112 0
FLAG 208 -112 0
FLAG -16 16 VLED
FLAG -384 64 VLED
FLAG -384 144 0
FLAG 576 32 DiodeOut
TEXT 632 216 Left 2 !;op
TEXT 632 248 Left 2 !.tran 0 1s 0s
* Z:\home\khalils\Downloads\files\data\raw_asc\0788719d5723_Half_Wave_rectification.asc
* Generated by LTspice 26.0.1 for Windows.
R1 output Input 2K
V1 Input 0 SINE(0 10 1)
D1 0 output BAT46WJ
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1580 876
WIRE 112 144 0 144
WIRE 272 144 192 144
WIRE 304 144 272 144
WIRE 0 192 0 144
WIRE 272 192 272 144
WIRE 0 224 0 192
WIRE 272 320 272 256
WIRE 0 368 0 304
SYMBOL schottky 288 256 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value BAT46WJ
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL voltage 0 208 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 40 91 Left 2
SYMATTR Value SINE(0 10 1)
SYMATTR InstName V1
SYMBOL res 208 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 2K
FLAG 0 368 0
FLAG 0 192 Input
FLAG 304 144 output
FLAG 272 320 0
TEXT 168 376 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\31c03f1b9d43_emulator-pen-lift-ct-sim.asc
* Generated by LTspice 26.0.1 for Windows.
* XR2206 SYNCO Output
* +12V DC Supply
* Switch Mode NPN BJT Transistor
R2 +12VDC Vpen 10k
R1 P001 Vpulse 1k
V1 +12VDC 0 12V
V2 Vpulse 0 PULSE(0 3 0 0 0 0.054 0.098 4)
Q1 Vpen P001 0 0 2N2222
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 0.360 0 0.020
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 384 -32 384 -80
WIRE 384 64 384 48
WIRE 512 64 384 64
WIRE 384 96 384 64
WIRE -160 128 -160 32
WIRE 48 128 48 32
WIRE 240 144 224 144
WIRE -160 304 -160 208
WIRE 48 304 48 208
WIRE 384 304 384 192
IOPIN 48 32 Out
IOPIN -160 32 Out
IOPIN 224 144 In
IOPIN 384 -80 In
IOPIN 512 64 Out
SYMBOL voltage -160 112 R0
WINDOW 3 -18 245 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 3 0 0 0 0.054 0.098 4)
SYMBOL npn 320 96 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
SYMBOL res 368 -48 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 336 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 48 112 R0
SYMATTR InstName V1
SYMATTR Value 12V
FLAG 48 32 +12VDC
FLAG 48 304 0
FLAG -160 32 Vpulse
FLAG -160 304 0
FLAG 224 144 Vpulse
FLAG 384 304 0
FLAG 384 -80 +12VDC
FLAG 512 64 Vpen
TEXT -176 378 Left 2 !.tran 0 0.360 0 0.020
TEXT -296 -120 Left 2 ;XR2206 SYNCO Output
TEXT -24 -120 Left 2 ;+12V DC Supply
TEXT 416 224 Left 2 ;Switch Mode NPN BJT Transistor
* Z:\home\khalils\Downloads\files\data\raw_asc\21a4a17f8f10_Ej_6.asc
* Generated by LTspice 26.0.1 for Windows.
R3 N002 0 10k
R1 N003 0 1k
V1 N001 0 12
Q1 N001 N002 N003 0 BC548B
R2 N001 N002 39k
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835 Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 8560 1836
WIRE 64 -64 -272 -64
WIRE 240 -64 64 -64
WIRE 64 0 64 -64
WIRE -272 32 -272 -64
WIRE 240 96 240 -64
WIRE 64 144 64 80
WIRE 176 144 64 144
WIRE -272 176 -272 112
WIRE 64 256 64 144
WIRE 240 256 240 192
WIRE 64 400 64 336
WIRE 240 400 240 336
WIRE 240 400 64 400
WIRE 64 416 64 400
WIRE 64 432 64 416
SYMBOL voltage -272 16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 48 240 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL npn 176 96 R0
SYMATTR InstName Q1
SYMATTR Value BC548B
SYMBOL res 48 -16 R0
SYMATTR InstName R2
SYMATTR Value 39k
SYMBOL res 224 240 R0
SYMATTR InstName R1
SYMATTR Value 1k
FLAG 64 416 0
FLAG -272 176 0
TEXT 88 -256 Invisible 0 !.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835 Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)
TEXT -304 440 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8546.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\AD8546.asy)
V2 -V 0 -5
R2 OUT N001 10K
Vin IN 0 SINE(0 .1 10K)
V1 +V 0 5
XU1 IN N001 +V -V OUT AD8546 ;pnba In+)In-)V+)V-)OUT
R1 N001 0 1K
.tran 1m
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1336 700
WIRE 448 -1200 432 -1200
WIRE 544 -1200 528 -1200
WIRE 560 -1200 544 -1200
WIRE 656 -1200 640 -1200
WIRE 208 -1104 208 -1120
WIRE 304 -1104 304 -1120
WIRE 544 -1088 544 -1200
WIRE 560 -1088 544 -1088
WIRE 656 -1072 656 -1200
WIRE 656 -1072 624 -1072
WIRE 736 -1072 656 -1072
WIRE 560 -1056 448 -1056
WIRE 448 -1040 448 -1056
WIRE 208 -1008 208 -1024
WIRE 304 -1008 304 -1024
WIRE 448 -944 448 -960
SYMBOL voltage 448 -1056 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 .1 10K)
SYMBOL voltage 304 -1120 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL res 544 -1216 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL res 656 -1216 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL Opamps\\AD8546 592 -1136 R0
SYMATTR InstName U1
SYMBOL voltage 208 -1120 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
FLAG 448 -944 0
FLAG 736 -1072 OUT
FLAG 448 -1056 IN
FLAG 592 -1104 +V
FLAG 592 -1040 -V
FLAG 432 -1200 0
FLAG 208 -1120 +V
FLAG 208 -1008 0
FLAG 304 -1120 -V
FLAG 304 -1008 0
TEXT 688 -912 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\1a61542db3d3_Zener.asc
* Generated by LTspice 26.0.1 for Windows.
R3 N003 0 2K
D1 N001 N002 1N4007
R1 N003 0 100k
R2 N003 N002 1K
V1 N001 0 16
C1 N003 0 1n
D2 0 N003 UMZ5_1N
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 944 680
WIRE 64 144 -16 144
WIRE 224 144 144 144
WIRE 336 144 288 144
WIRE 464 144 416 144
WIRE 544 144 464 144
WIRE 704 144 544 144
WIRE 864 144 704 144
WIRE 464 176 464 144
WIRE 544 176 544 144
WIRE 704 176 704 144
WIRE 864 192 864 144
WIRE -16 240 -16 144
WIRE 464 272 464 240
WIRE 544 272 544 256
WIRE 544 272 464 272
WIRE 704 272 704 240
WIRE 704 272 544 272
WIRE 704 288 704 272
WIRE 864 336 864 272
SYMBOL voltage 160 144 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 V1
SYMATTR Value 16
SYMBOL res 848 176 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL diode 224 160 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4007
SYMBOL res 528 160 R0
SYMATTR InstName R3
SYMATTR Value 2K
SYMBOL res 432 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL zener 720 240 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value UMZ5_1N
SYMBOL cap 448 176 R0
SYMATTR InstName C1
SYMATTR Value 1n
FLAG -16 240 0
FLAG 704 288 0
FLAG 864 336 0
TEXT -40 264 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\c992f012a153_DAC-4Bit-gew-Wid.asc
* Generated by LTspice 26.0.1 for Windows.
* Z3
* Z2
* Z1
* Z0
* Digital-Analog-Converter with weighted resistors\nCreated by AblL
V1 +Ub 0 5V
R5 0 N001 164k
R4 0 N001 82k
R3 0 N001 44k
R2 0 N001 22k
V2 0 -Ub 5V
R1 Ua N001 10k
XU1 N002 N001 +Ub 0 Ua LM324 ;pnba In+)In-)V+)V-)OUT
R7 N002 0 22k
R6 +Ub N002 22k
.tran 100m
.inc lib/LM324.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1604 680
WIRE 48 -240 -80 -240
WIRE 176 -240 48 -240
WIRE 304 -240 176 -240
WIRE 496 -240 304 -240
WIRE 352 -208 -128 -208
WIRE 496 -208 496 -240
WIRE -80 0 -80 -240
WIRE 48 0 48 -240
WIRE 176 0 176 -240
WIRE 304 0 304 -240
WIRE -320 32 -320 0
WIRE -208 32 -320 32
WIRE 592 32 512 32
WIRE 736 32 672 32
WIRE -208 48 -208 32
WIRE -320 64 -320 32
WIRE -80 176 -80 80
WIRE 48 176 48 80
WIRE 48 176 -80 176
WIRE 176 176 176 80
WIRE 176 176 48 176
WIRE 304 176 304 80
WIRE 304 176 176 176
WIRE 512 176 512 32
WIRE 512 176 304 176
WIRE 592 176 512 176
WIRE 736 192 736 32
WIRE 736 192 656 192
WIRE 784 192 736 192
WIRE 800 192 784 192
WIRE 592 208 512 208
WIRE 416 288 400 288
WIRE 512 288 512 208
WIRE 512 288 496 288
WIRE 528 288 512 288
WIRE 624 288 624 224
WIRE 624 288 608 288
WIRE 624 336 624 288
IOPIN -320 -80 Out
IOPIN 624 160 In
IOPIN -320 144 Out
IOPIN -128 -208 In
IOPIN 400 288 In
SYMBOL Misc\\EuropeanResistor -96 -16 R0
SYMATTR InstName R2
SYMATTR Value 22k
SYMBOL Misc\\EuropeanResistor 32 -16 R0
SYMATTR InstName R3
SYMATTR Value 44k
SYMBOL Opamps\\opamp2 624 128 R0
SYMATTR InstName U1
SYMATTR Value LM324
SYMBOL Misc\\EuropeanResistor 288 -16 R0
SYMATTR InstName R5
SYMATTR Value 164k
SYMBOL voltage -320 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5V
SYMBOL Misc\\EuropeanResistor 688 16 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 27 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL Misc\\EuropeanResistor 512 304 R270
WINDOW 0 27 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName R7
SYMATTR Value 22k
SYMBOL Misc\\EuropeanResistor 160 -16 R0
SYMATTR InstName R4
SYMATTR Value 82k
SYMBOL voltage -320 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5V
SYMBOL Misc\\EuropeanResistor 400 304 R270
WINDOW 0 27 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName R6
SYMATTR Value 22k
FLAG -208 48 0
FLAG -320 -80 +Ub
FLAG 784 192 Ua
FLAG 624 160 +Ub
FLAG -320 144 -Ub
FLAG 496 -208 0
FLAG -128 -208 +Ub
FLAG 400 288 +Ub
FLAG 624 336 0
TEXT -336 336 Left 2 !.tran 100m
TEXT -336 312 Left 2 !.inc lib/LM324.lib
TEXT -56 128 Left 2 ;Z3
TEXT 88 128 Left 2 ;Z2
TEXT 224 128 Left 2 ;Z1
TEXT 344 128 Left 2 ;Z0
TEXT -344 256 Left 2 ;Digital-Analog-Converter with weighted resistors\nCreated by AblL
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3484-2.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-2.asy)
V1 IN 0 5
XU1 N002 IN IN N003 MP_01 IN 0 LT3484-2 ;pnba _Done)Charge)Vin)SW))Vbat)GND
R3 N002 IN 10K
L1 IN N003 10 Rpar=2K Rser=.1
D1 N001 OUT D
C1 OUT 0 .01
K1 L1 L2 1
L2 0 N001 {10u*10.2*10.2} Rpar=1Meg
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 2m startup
.lib LT3484-2.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 2368 1264 2288 1264
WIRE 1808 1296 1808 1264
WIRE 1936 1296 1936 1264
WIRE 2064 1296 2064 1264
WIRE 2112 1296 2112 1264
WIRE 2368 1296 2368 1264
WIRE 1648 1360 1648 1264
WIRE 1664 1360 1648 1360
WIRE 1760 1360 1744 1360
WIRE 2368 1376 2368 1360
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 1552 1872 1520
WIRE 1648 1568 1648 1552
SYMBOL PowerProducts\\LT3484-2 1872 1408 R0
SYMATTR InstName U1
SYMBOL VOLTAGE 1648 1456 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL cap 2352 1296 R0
WINDOW 3 27 55 Left 2
SYMATTR Value .01
SYMATTR InstName C1
SYMBOL diode 2224 1280 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
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 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 res 1760 1344 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10K
FLAG 2368 1376 0
FLAG 1872 1552 0
FLAG 1648 1568 0
FLAG 2112 1392 0
FLAG 1648 1264 IN
FLAG 2368 1264 OUT
TEXT 2048 1480 Left 2 !.tran 2m startup
TEXT 2088 1264 Bottom 2 !K1 L1 L2 1
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC7001.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 10
V2 N003 0 PULSE(0 8 0 10n 10n 0.3u 3.33u)
D1 N001 N002 RF071MM2S
M1 IN N004 N005 N005 IPB039N10N3
L1 N005 OUT 10 Rser=3m
C1 OUT 0 10 Rser=7m
R1 OUT 0 10
V3 IN 0 48
C2 N002 N005 0.1
D2 0 N005 RF1001NS2D
XU1 N001 0 0 N003 0 N004 N004 N005 N002 LTC7001 ;pnba Vcc)Vccuv)GND)INP)OVLO)TGdn)TGup)TS)BST
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 0.5m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC7001.asy)
.lib LTC7001.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2336 1256
WIRE 1120 -288 976 -288
WIRE 1328 -288 1184 -288
WIRE 1392 -288 1328 -288
WIRE 1584 -288 1520 -288
WIRE 1584 -272 1584 -288
WIRE 1392 -224 1392 -288
WIRE 864 -176 832 -176
WIRE 976 -176 976 -288
WIRE 976 -176 944 -176
WIRE 1008 -176 976 -176
WIRE 1328 -176 1328 -288
WIRE 1328 -176 1296 -176
WIRE 1520 -176 1520 -288
WIRE 1584 -176 1584 -192
WIRE 736 -96 688 -96
WIRE 1008 -96 816 -96
WIRE 1328 -96 1296 -96
WIRE 1472 -96 1328 -96
WIRE 1392 -32 1392 -160
WIRE 1520 -32 1520 -80
WIRE 1520 -32 1392 -32
WIRE 1616 -32 1520 -32
WIRE 1744 -32 1696 -32
WIRE 1856 -32 1744 -32
WIRE 1008 -16 976 -16
WIRE 1328 -16 1328 -96
WIRE 1328 -16 1296 -16
WIRE 1520 -16 1520 -32
WIRE 1744 -16 1744 -32
WIRE 1856 -16 1856 -32
WIRE 976 64 976 -16
WIRE 976 64 944 64
WIRE 1008 64 976 64
WIRE 1392 64 1392 -32
WIRE 1392 64 1296 64
WIRE 1520 80 1520 48
WIRE 1744 80 1744 48
WIRE 1856 80 1856 64
WIRE 1152 144 1152 112
FLAG 944 64 0
FLAG 832 -176 0
FLAG 688 -96 0
FLAG 1584 -176 0
FLAG 1744 80 0
FLAG 1856 80 0
FLAG 1856 -32 OUT
FLAG 1520 80 0
FLAG 1152 144 0
FLAG 1584 -288 IN
SYMBOL voltage 960 -176 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL voltage 832 -96 R90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 8 0 10n 10n 0.3u 3.33u)
SYMBOL diode 1120 -272 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value RF071MM2S
SYMBOL nmos 1472 -176 R0
SYMATTR InstName M1
SYMATTR Value IPB039N10N3
SYMBOL ind 1600 -16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rser=3m
SYMBOL cap 1728 -16 R0
WINDOW 3 32 52 Left 2
SYMATTR Value 10
SYMATTR SpiceLine Rser=7m
SYMATTR InstName C1
SYMBOL res 1840 -32 R0
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL voltage 1584 -288 R0
SYMATTR InstName V3
SYMATTR Value 48
SYMBOL cap 1376 -224 R0
SYMATTR InstName C2
SYMATTR Value 0.1
SYMBOL diode 1504 48 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value RF1001NS2D
SYMBOL LTC7001 1152 -48 R0
SYMATTR InstName U1
TEXT 1440 192 Left 2 !.tran 0.5m startup