Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\e3e13744c85b_etaj4.asc
* Generated by LTspice 26.0.1 for Windows.
* .op
* .dc V1 -15 15 10mV
* .tran 2.5m
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\ADTL082.asy)
D1 N002 N004 D
XU2 N005 N003 V+ V- Vout4 ADTL082 ;pnba In+)In-)V+)V-)OUT
V3 V+ 0 15
R1 N001 N006 5k
R5 Vout4 N003 10k
R4 N003 N002 5k
R3 N002 N001 5k
V1 N006 0 SINE(0 7.87 4k) AC 1
V2 V- 0 -15
R2 N005 N001 10k
D2 N004 N005 D
XU1 0 N001 V+ V- N004 ADTL082 ;pnba In+)In-)V+)V-)OUT
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.ac dec 100 0.1 10Meg
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -496 -304 -576 -304
WIRE -336 -304 -416 -304
WIRE -224 -304 -336 -304
WIRE -112 -304 -144 -304
WIRE 0 -304 -112 -304
WIRE 128 -304 80 -304
WIRE -336 -272 -336 -304
WIRE -576 -112 -576 -304
WIRE -576 -112 -672 -112
WIRE -480 -112 -576 -112
WIRE -112 -112 -112 -304
WIRE -64 -112 -112 -112
WIRE -672 -96 -672 -112
WIRE -336 -96 -336 -208
WIRE -336 -96 -416 -96
WIRE 128 -96 128 -304
WIRE 128 -96 0 -96
WIRE 224 -96 128 -96
WIRE -480 -80 -512 -80
WIRE -64 -80 -112 -80
WIRE -336 -48 -336 -96
WIRE -512 -32 -512 -80
WIRE -672 64 -672 -16
WIRE -576 96 -576 -112
WIRE -512 96 -576 96
WIRE -336 96 -336 16
WIRE -336 96 -432 96
WIRE -112 96 -112 -80
WIRE -112 96 -336 96
WIRE -672 176 -672 144
SYMBOL res -400 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 5k
SYMBOL res -416 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\ADTL082 -448 -160 R0
WINDOW 3 17 90 Left 2
SYMATTR InstName U1
SYMBOL diode -352 -272 R0
SYMATTR InstName D1
SYMBOL res -128 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 5k
SYMBOL res 96 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res -688 -112 R0
SYMATTR InstName R1
SYMATTR Value 5k
SYMBOL OpAmps\\ADTL082 -32 -160 R0
SYMATTR InstName U2
SYMBOL voltage 208 -464 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL voltage -672 48 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value SINE(0 7.87 4k)
SYMBOL voltage 336 -464 R0
SYMATTR InstName V3
SYMATTR Value 15
SYMBOL diode -352 -48 R0
SYMATTR InstName D2
FLAG -672 176 0
FLAG -512 -32 0
FLAG 208 -368 0
FLAG 336 -368 0
FLAG 336 -448 V+
FLAG 208 -448 V-
FLAG -448 -128 V+
FLAG -32 -128 V+
FLAG -32 -64 V-
FLAG -448 -64 V-
FLAG 224 -96 Vout4
TEXT -624 -488 Left 2 !.ac dec 100 0.1 10Meg
TEXT -616 -520 Left 2 ;.op
TEXT -632 -456 Left 2 ;.dc V1 -15 15 10mV
TEXT -624 -424 Left 2 ;.tran 2.5m
* Z:\home\khalils\Downloads\files\data\raw_asc\2237394b5a46_Draft3.asc
* Generated by LTspice 26.0.1 for Windows.
M3 N002 UC 0 0 BSS123
M2 N001 N002 0 0 IRLML6244
R3 VCC N002 2Meg tol=1 pwr=0.1
V1 PILE 0 4.2
V3 UC 0 PULSE(0 3.3 6 0 0 0.1)
R2 VCC 0 100K tol=1 pwr=0.1
V2 EN 0 PULSE(4.2 0 2 0 0 0.1)
D1 N001 EN 1N4148
R5 UC 0 1Meg tol=1 pwr=0.1
M1 VCC N001 PILE PILE FDC638P
R1 PILE N001 2Meg tol=1 pwr=0.1
.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 10
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1156 680
WIRE 176 -352 128 -352
WIRE 224 -352 176 -352
WIRE 480 -352 320 -352
WIRE 816 -352 480 -352
WIRE 176 -256 176 -272
WIRE 240 -256 240 -304
WIRE 240 -256 176 -256
WIRE 816 -240 816 -352
WIRE 240 -224 240 -256
WIRE 96 -192 32 -192
WIRE 176 -192 176 -256
WIRE 176 -192 160 -192
WIRE -448 -144 -448 -176
WIRE -176 -144 -176 -176
WIRE -80 -144 -80 -176
WIRE 448 -144 288 -144
WIRE 480 -144 480 -272
WIRE 480 -144 448 -144
WIRE 560 -64 496 -64
WIRE 624 -64 560 -64
WIRE -448 -32 -448 -64
WIRE -176 -32 -176 -64
WIRE -80 -32 -80 -64
WIRE 240 64 240 -128
WIRE 448 64 448 -48
WIRE 560 64 560 16
WIRE 816 64 816 -160
SYMBOL voltage -176 -160 R0
WINDOW 3 -102 163 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(4.2 0 2 0 0 0.1)
SYMATTR InstName V2
SYMBOL voltage -448 -160 R0
WINDOW 3 -284 155 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 3.3 6 0 0 0.1)
SYMATTR InstName V3
SYMBOL nmos 288 -224 M0
WINDOW 3 -137 42 Left 2
SYMATTR Value IRLML6244
SYMATTR InstName M2
SYMBOL voltage -80 -160 R0
WINDOW 3 46 57 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 4.2
SYMATTR InstName V1
SYMBOL pmos 320 -304 M270
SYMATTR InstName M1
SYMATTR Value FDC638P
SYMBOL res 464 -368 R0
WINDOW 3 33 82 Left 2
SYMATTR Value 2Meg
SYMATTR InstName R3
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 800 -256 R0
SYMATTR InstName R2
SYMATTR Value 100K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 160 -368 R0
WINDOW 3 -78 56 Left 2
SYMATTR Value 2Meg
SYMATTR InstName R1
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 544 -80 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL diode 160 -208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL nmos 496 -144 M0
SYMATTR InstName M3
SYMATTR Value BSS123
FLAG 240 64 0
FLAG -80 -32 0
FLAG -176 -32 0
FLAG 816 -352 VCC
FLAG -448 -176 UC
FLAG 624 -64 UC
FLAG 816 64 0
FLAG 32 -192 EN
FLAG -176 -176 EN
FLAG -448 -32 0
FLAG 448 64 0
FLAG 128 -352 PILE
FLAG -80 -176 PILE
FLAG 560 64 0
TEXT -392 48 Left 2 !.tran 10
* Z:\home\khalils\Downloads\files\data\raw_asc\623e7ae4d4cf_Assignment_3b__iv_.asc
* Generated by LTspice 26.0.1 for Windows.
* Negative Half Wave Rectifier Circuit (with 1microF Capacitor) (Practical)
V1 N001 0 SINE(0 5 1000) Rser=0.001
D1 N002 N001 1N4148
R1 N002 0 1000
C1 N002 0 0.000001
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 5ms
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 320 80 208 80
WIRE 480 80 384 80
WIRE 592 80 480 80
WIRE 208 128 208 80
WIRE 480 128 480 80
WIRE 592 144 592 80
WIRE 208 256 208 208
WIRE 304 256 208 256
WIRE 480 256 480 208
WIRE 480 256 304 256
WIRE 592 256 592 208
WIRE 592 256 480 256
WIRE 304 288 304 256
SYMBOL cap 576 144 R0
SYMATTR InstName C1
SYMATTR Value 0.000001
SYMBOL res 464 112 R0
SYMATTR InstName R1
SYMATTR Value 1000
SYMBOL voltage 208 112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0.001
SYMATTR InstName V1
SYMATTR Value SINE(0 5 1000)
SYMBOL diode 384 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
FLAG 304 288 0
TEXT 144 288 Left 2 !.tran 5ms
TEXT -24 8 Left 2 ;Negative Half Wave Rectifier Circuit (with 1microF Capacitor) (Practical)
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP1762-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\ADP1762-1.2.asy)
C3 N002 0 1
V1 IN 0 1.6
C1 N004 0 1
XU1 N002 IN IN OUT OUT N001 0 N003 N004 N005 ADP1762 Radj=8K ;pnba Vreg)Vin)EN)Vout)Sense)PG)GND)SS)RefCap)Vadj
C2 N003 0 10n
R2 N001 IN 50K
R1 OUT 0 2
C4 OUT 0 10
.tran 1m startup
.lib ADP7102.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1016 680
WIRE -16 -32 -128 -32
WIRE 80 -32 -16 -32
WIRE 224 -32 80 -32
WIRE -128 -16 -128 -32
WIRE 224 -16 224 -32
WIRE 80 32 80 -32
WIRE 96 32 80 32
WIRE 384 32 352 32
WIRE 496 32 384 32
WIRE 592 32 496 32
WIRE 496 48 496 32
WIRE 592 48 592 32
WIRE -128 80 -128 64
WIRE -16 128 -16 -32
WIRE 0 128 -16 128
WIRE 96 128 80 128
WIRE 384 128 384 32
WIRE 384 128 352 128
WIRE 496 144 496 112
WIRE 592 144 592 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 368 224 352 224
WIRE 464 224 432 224
WIRE 16 320 -16 320
WIRE 96 320 80 320
WIRE 368 320 352 320
WIRE 224 384 224 368
SYMBOL ADP1762-1.2 224 176 R0
SYMATTR InstName U1
SYMBOL res 576 32 R0
SYMATTR InstName R1
SYMATTR Value 2
SYMBOL voltage -128 -32 R0
SYMATTR InstName V1
SYMATTR Value 1.6
SYMBOL cap 80 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL cap 368 240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL res 96 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 50K
SYMBOL cap 80 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 480 48 R0
SYMATTR InstName C4
SYMATTR Value 10
FLAG 224 384 0
FLAG -128 80 0
FLAG -16 320 0
FLAG 0 224 0
FLAG 464 224 0
FLAG 592 144 0
FLAG 496 144 0
FLAG -128 -32 IN
FLAG 592 32 OUT
TEXT 432 384 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1044A.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\LTC1044A.asy)
Rload OUT 0 1K
C5 OUT 0 10
C6 N002 N005 10
C1 0 N003 100p
V1 IN 0 5
XU1 N001 N002 0 N005 OUT N004 N003 IN LTC1044A ;pnba Boost)Cap+)GND)Cap-)Vout)LV)OSC)Vin
.tran 100m startup
.lib LTC1044A.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3548 1764
WIRE 3008 1440 2976 1440
WIRE 3488 1440 3264 1440
WIRE 3488 1456 3488 1440
WIRE 3008 1504 2912 1504
WIRE 3312 1504 3264 1504
WIRE 3392 1504 3376 1504
WIRE 2912 1536 2912 1504
WIRE 3488 1552 3488 1536
WIRE 3008 1568 2976 1568
WIRE 3296 1568 3264 1568
WIRE 2912 1632 2912 1600
WIRE 3008 1632 2912 1632
WIRE 3328 1632 3264 1632
WIRE 3440 1632 3328 1632
WIRE 3328 1648 3328 1632
WIRE 3440 1648 3440 1632
WIRE 3328 1744 3328 1712
WIRE 3440 1744 3440 1728
SYMBOL cap 3312 1648 R0
SYMATTR InstName C5
SYMATTR Value 10
SYMBOL res 3424 1632 R0
SYMATTR InstName Rload
SYMATTR Value 1K
SYMBOL cap 3376 1488 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 100p
SYMBOL cap 2896 1536 R0
SYMATTR InstName C6
SYMATTR Value 10
SYMBOL PowerProducts\\LTC1044A 3136 1536 R0
SYMATTR InstName U1
SYMBOL VOLTAGE 3488 1440 R0
SYMATTR InstName V1
SYMATTR Value 5
FLAG 3488 1552 0
FLAG 2976 1568 0
FLAG 3328 1744 0
FLAG 3392 1504 0
FLAG 3440 1744 0
FLAG 3440 1632 OUT
FLAG 3488 1440 IN
TEXT 3056 1736 Left 2 !.tran 100m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6255.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\LTC6255.asy)
V2 +V 0 5
V4 IN 0 SINE(2.5 1 25K)
XU1 IN OUT+ +V 0 OUT+ NC_01 LTC6255 ;pnba In+)In-)V+)V-)OUT)SHDN
.tran 250u
.lib LTC4.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 624 -1200 512 -1200
WIRE 288 -1136 288 -1152
WIRE 544 -1136 544 -1152
WIRE 512 -1120 512 -1200
WIRE 528 -1120 512 -1120
WIRE 624 -1104 624 -1200
WIRE 624 -1104 592 -1104
WIRE 656 -1104 624 -1104
WIRE 528 -1088 416 -1088
WIRE 416 -1072 416 -1088
WIRE 544 -1056 544 -1072
WIRE 288 -1040 288 -1056
WIRE 416 -976 416 -992
SYMBOL voltage 416 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V4
SYMATTR Value SINE(2.5 1 25K)
SYMBOL opamps\\LTC6255 560 -1104 R0
SYMATTR InstName U1
SYMBOL voltage 288 -1152 R0
SYMATTR InstName V2
SYMATTR Value 5
FLAG 288 -1152 +V
FLAG 288 -1040 0
FLAG 416 -976 0
FLAG 656 -1104 OUT+
FLAG 544 -1056 0
FLAG 416 -1088 IN
FLAG 544 -1152 +V
TEXT 672 -992 Left 2 !.tran 250u
* Z:\home\khalils\Downloads\files\data\raw_asc\ADG1222.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\ADG1222.asy)
R1 N002 0 300
XU1 N003 N002 N001 -V 0 +V ADG1222 ;pnba IN)D)S)Vss)GND)Vdd
V1 +V 0 15
V2 -V 0 -15
V3 N001 0 10
C1 N002 0 35p
V4 N003 0 pulse(0 3.3 0 1u 1u 5m 10m)
.tran 30m
.lib ADG1222.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2844 1336
WIRE -112 -128 -112 -144
WIRE -464 -48 -464 -64
WIRE -336 -48 -368 -48
WIRE -208 -48 -256 -48
WIRE 48 -48 -16 -48
WIRE 144 -48 48 -48
WIRE 48 -16 48 -48
WIRE 144 0 144 -48
WIRE -208 16 -336 16
WIRE -464 48 -464 32
WIRE 48 80 48 64
WIRE 144 80 144 64
WIRE -336 96 -336 16
WIRE -464 144 -464 128
WIRE -176 144 -176 128
WIRE -48 144 -48 128
WIRE -464 240 -464 224
WIRE -336 240 -336 176
SYMBOL ADG1222 -112 0 R0
SYMATTR InstName U1
SYMBOL voltage -464 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 32 -32 R0
SYMATTR InstName R1
SYMATTR Value 300
SYMBOL voltage -336 80 R0
WINDOW 3 19 116 Left 2
SYMATTR Value pulse(0 3.3 0 1u 1u 5m 10m)
SYMATTR InstName V4
SYMBOL voltage -240 -48 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL cap 128 0 R0
SYMATTR InstName C1
SYMATTR Value 35p
SYMBOL voltage -464 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
FLAG -464 240 0
FLAG -464 48 0
FLAG -464 -64 +V
FLAG -464 128 -V
FLAG -368 -48 0
FLAG -176 144 -V
FLAG -112 -144 +V
FLAG -48 144 0
FLAG -336 240 0
FLAG 48 80 0
FLAG 144 80 0
TEXT 40 232 Left 2 !.tran 30m
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP5303-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\ADP5303-1.asy)
V1 IN 0 5
Rload OUT 0 80
L1 N002 OUT 2.2 Rser=80m
C1 OUT 0 10
R1 OUT N001 1Meg
XU1 IN IN 0 0 OUT N001 0 0 N002 ADP5303-1 OD=0 ;pnba EN)PVin)Sync/Mode)VID)FB)VinOK)Pgnd)Agnd)SW
.tran .6m startup
.lib ADP5303-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 144 64 64 64
WIRE 160 64 144 64
WIRE 496 64 416 64
WIRE 608 64 576 64
WIRE 64 80 64 64
WIRE 144 144 144 64
WIRE 160 144 144 144
WIRE 448 144 416 144
WIRE 560 144 528 144
WIRE 608 144 608 64
WIRE 608 144 560 144
WIRE 688 144 608 144
WIRE 608 160 608 144
WIRE 688 160 688 144
WIRE 64 176 64 160
WIRE 160 224 144 224
WIRE 560 224 560 144
WIRE 560 224 416 224
WIRE 608 256 608 224
WIRE 688 256 688 240
WIRE 160 304 144 304
WIRE 432 304 416 304
WIRE 288 384 288 368
SYMBOL cap 592 160 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL res 592 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL voltage 64 64 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 672 144 R0
SYMATTR Value 80
SYMATTR InstName Rload
SYMBOL ADP5303-1 288 192 R0
SYMATTR InstName U1
SYMBOL ind 432 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=80m
FLAG 608 256 0
FLAG 432 304 0
FLAG 64 176 0
FLAG 688 144 OUT
FLAG 688 256 0
FLAG 64 64 IN
FLAG 288 384 0
FLAG 144 304 0
FLAG 144 224 0
TEXT 440 384 Left 2 !.tran .6m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8542.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\AD8542.asy)
R2 OUT N001 10K
XU1 IN N001 +V -V OUT AD8542 ;pnba In+)In-)V+)V-)OUT
V2 -V 0 -2.5
Vin IN 0 SINE(0 1 10K)
Rload OUT 0 10K
R1 N001 0 10K
V1 +V 0 2.5
.tran 1m
.lib AD8542.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 576 -1152 560 -1152
WIRE 672 -1152 656 -1152
WIRE 688 -1152 672 -1152
WIRE 784 -1152 768 -1152
WIRE 336 -1040 336 -1056
WIRE 448 -1040 448 -1056
WIRE 672 -1040 672 -1152
WIRE 688 -1040 672 -1040
WIRE 784 -1024 784 -1152
WIRE 784 -1024 752 -1024
WIRE 912 -1024 784 -1024
WIRE 688 -1008 576 -1008
WIRE 912 -1008 912 -1024
WIRE 576 -992 576 -1008
WIRE 336 -944 336 -960
WIRE 448 -944 448 -960
WIRE 912 -912 912 -928
WIRE 576 -896 576 -912
SYMBOL res 896 -1024 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL voltage 576 -1008 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 672 -1168 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL voltage 336 -1056 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL Opamps\\AD8542 720 -1088 R0
SYMATTR InstName U1
SYMBOL voltage 448 -1056 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL res 784 -1168 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
FLAG 336 -1056 +V
FLAG 336 -944 0
FLAG 576 -896 0
FLAG 912 -1024 OUT
FLAG 576 -1008 IN
FLAG 720 -1056 +V
FLAG 448 -1056 -V
FLAG 720 -992 -V
FLAG 560 -1152 0
FLAG 912 -912 0
FLAG 448 -944 0
TEXT 928 -816 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\1c8e8216c676_mosfet_cascodo_fte_cte.asc
* Generated by LTspice 26.0.1 for Windows.
XM1 N003 N005 N007 2n7000 ;pnba D)G)S
Vgs N004 0 1
Vds Vdd 0 15
Rs1 P001 N006 30
Rd Vdd N001 100
I1 N007 0 1m
Vs1 P001 0 -164mV
XMcasc N001 N002 N003 2n7000 ;pnba D)G)S
Vbias N002 0 5
Vbias1 N005 N004 0
* .dc Vgs 0 4 0.01m
.param Rs = 100
* .step param Rs list 1 10 100
.include 2N7000.REV0.SP
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 928 704
WIRE 208 -160 208 -224
WIRE -160 -80 -160 -144
WIRE 208 -48 208 -80
WIRE 160 32 64 32
WIRE 64 128 64 112
WIRE 208 144 208 48
WIRE 32 224 -224 224
WIRE 160 224 112 224
WIRE 352 288 352 272
WIRE 208 320 208 240
WIRE 208 464 208 400
WIRE 352 464 352 448
WIRE -224 576 -224 224
WIRE -224 688 -224 656
FLAG -224 688 0
FLAG -160 0 0
FLAG 208 464 0
FLAG -160 -144 Vdd
FLAG 208 -224 Vdd
FLAG 352 464 0
FLAG 64 128 0
SYMBOL nmos 160 144 R0
SYMATTR InstName M1
SYMATTR Value 2n7000
SYMATTR Prefix X
SYMBOL voltage -224 560 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vgs
SYMATTR Value 1
SYMBOL voltage -160 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vds
SYMATTR Value 15
SYMBOL res 368 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rs1
SYMATTR Value 30
SYMBOL res 192 -176 R0
SYMATTR InstName Rd
SYMATTR Value 100
SYMBOL current 208 320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value 1m
SYMBOL voltage 352 352 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vs1
SYMATTR Value -164mV
SYMBOL nmos 160 -48 R0
SYMATTR InstName Mcasc
SYMATTR Value 2n7000
SYMATTR Prefix X
SYMBOL voltage 64 16 R0
WINDOW 0 -82 18 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vbias
SYMATTR Value 5
SYMBOL battery 128 224 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Vbias1
SYMATTR Value 0
TEXT 432 -304 Left 2 ;.dc Vgs 0 4 0.01m
TEXT 520 -240 Left 2 !.param Rs = 100
TEXT 424 -152 Left 2 ;.step param Rs list 1 10 100
TEXT 424 -208 Left 2 !.include 2N7000.REV0.SP
TEXT 432 -112 Left 2 !.op
* Z:\home\khalils\Downloads\files\data\raw_asc\a418f9978849_Assignment_3a__iii_.asc
* Generated by LTspice 26.0.1 for Windows.
* Positive Half Wave Rectifier Circuit (with 1microF Capacitor) (Ideal)
C1 N002 0 0.000001
V1 N001 0 SINE(0 311 50) Rser=0.001
D1 N001 N002 1N4148
R1 N002 0 1000
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0.05
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 192 64 80 64
WIRE 352 64 256 64
WIRE 464 64 352 64
WIRE 80 112 80 64
WIRE 352 112 352 64
WIRE 464 128 464 64
WIRE 80 240 80 192
WIRE 176 240 80 240
WIRE 352 240 352 192
WIRE 352 240 176 240
WIRE 464 240 464 192
WIRE 464 240 352 240
WIRE 176 272 176 240
SYMBOL voltage 80 96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=0.001
SYMATTR InstName V1
SYMATTR Value SINE(0 311 50)
SYMBOL diode 192 80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res 336 96 R0
SYMATTR InstName R1
SYMATTR Value 1000
SYMBOL cap 448 128 R0
SYMATTR InstName C1
SYMATTR Value 0.000001
FLAG 176 272 0
TEXT 16 272 Left 2 !.tran 0.05
TEXT 264 8 Center 2 ;Positive Half Wave Rectifier Circuit (with 1microF Capacitor) (Ideal)
* Z:\home\khalils\Downloads\files\data\raw_asc\525753a43288_Setup_Id_vs_Vgs_nmos.asc
* Generated by LTspice 26.0.1 for Windows.
* .op
* ID VS VGS PLOT SETUP
vgs vgs 0 0
vdd vdd 0 1.8
M1 vdd vgs 0 0 NMOS l=0.18u w=0.36u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include tsmc180.txt
.dc vgs 0 1.8 0.1m vdd 0 1.8 0.6
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -272 160 -272 80
WIRE -208 208 -272 208
WIRE -672 224 -672 176
WIRE -560 224 -560 176
WIRE -320 240 -368 240
WIRE -272 288 -272 256
WIRE -208 288 -208 208
WIRE -208 288 -272 288
WIRE -672 352 -672 304
WIRE -560 352 -560 304
WIRE -272 352 -272 288
IOPIN -672 176 In
IOPIN -368 240 In
IOPIN -560 176 In
IOPIN -272 80 In
SYMBOL voltage -672 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vgs
SYMATTR Value 0
SYMBOL nmos4 -320 160 R0
WINDOW 123 1 100 Left 2
SYMATTR Value2 l=0.18u w=0.36u
SYMATTR InstName M1
SYMBOL voltage -560 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vdd
SYMATTR Value 1.8
FLAG -272 352 0
FLAG -672 352 0
FLAG -672 176 vgs
FLAG -368 240 vgs
FLAG -560 352 0
FLAG -560 176 vdd
FLAG -272 80 vdd
TEXT -736 24 Left 2 ;.op
TEXT -736 0 Left 2 !.include tsmc180.txt
TEXT -736 56 Left 2 !.dc vgs 0 1.8 0.1m vdd 0 1.8 0.6
TEXT -544 -40 Left 2 ;ID VS VGS PLOT SETUP
* Z:\home\khalils\Downloads\files\data\raw_asc\5e25d64eb5c6_blinky-diode-curve-open.asc
* Generated by LTspice 26.0.1 for Windows.
V1 src_hi src_lo SINE(0 20 7MEG)
R1 load_hi src_hi 25
C1 N001 0 1n
D1 load_hi N001 DI_1N5711
R2 N003 src_lo 25
R3 0 load_hi 50
R4 N003 0 50
R5 load_hi N003 1Meg
R6 N002 N001 150k
R7 0 N002 10k
R_ADC N002 ADC 50k
C_SH ADC 0 14p
C2 N002 0 1n
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0.00000001 .001 0.000999
.include spicemodels_schottky_diodes.txt
* At 1W input power and SWR 1:infinity, the ADC voltage will be 388mV\nand the diode current will be 1mA.
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1676 680
WIRE -112 112 -144 112
WIRE -64 112 -112 112
WIRE 64 112 64 64
WIRE 64 112 16 112
WIRE 144 112 64 112
WIRE 176 112 144 112
WIRE 272 112 240 112
WIRE 336 112 272 112
WIRE 496 112 416 112
WIRE 560 112 496 112
WIRE 624 112 560 112
WIRE 752 112 704 112
WIRE 800 112 752 112
WIRE 496 128 496 112
WIRE 272 144 272 112
WIRE 560 144 560 112
WIRE 752 144 752 112
WIRE 64 160 64 112
WIRE 272 224 272 208
WIRE 496 224 496 208
WIRE 560 224 560 208
WIRE 752 224 752 208
WIRE -112 240 -112 112
WIRE 144 240 144 112
WIRE 64 272 64 240
WIRE 64 272 16 272
WIRE 16 288 16 272
WIRE 64 336 64 272
WIRE -112 464 -112 320
WIRE -112 464 -144 464
WIRE -64 464 -112 464
WIRE 64 464 64 416
WIRE 64 464 16 464
WIRE 144 464 144 320
WIRE 144 464 64 464
FLAG 16 288 0
FLAG 272 224 0
FLAG 496 224 0
FLAG 752 224 0
FLAG 800 112 ADC
IOPIN 800 112 Out
FLAG 64 64 load_hi
FLAG -144 112 src_hi
FLAG -144 464 src_lo
FLAG 560 224 0
SYMBOL voltage -112 224 R0
WINDOW 3 -120 103 Left 2
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(0 20 7MEG)
SYMATTR InstName V1
SYMBOL res 32 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 43 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 25
SYMBOL cap 256 144 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL schottky 176 128 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 83 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value DI_1N5711
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 32 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 25
SYMBOL res 80 256 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 50
SYMBOL res 80 432 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 50
SYMBOL res 128 224 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL res 432 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 150k
SYMBOL res 512 224 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res 608 128 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R_ADC
SYMATTR Value 50k
SYMBOL cap 736 144 R0
SYMATTR InstName C_SH
SYMATTR Value 14p
SYMBOL cap 544 144 R0
SYMATTR InstName C2
SYMATTR Value 1n
TEXT 272 304 Left 2 !.tran 0.00000001 .001 0.000999
TEXT 272 336 Left 2 !.include spicemodels_schottky_diodes.txt
TEXT 208 416 Left 2 ;At 1W input power and SWR 1:infinity, the ADC voltage will be 388mV\nand the diode current will be 1mA.