Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\2d745a7c07eb_measuring_current_ind_load_ltspice.asc
* Generated by LTspice 26.0.1 for Windows.
* Measuring Current in Inductive Load
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP284.asy)
R3 N004 N003 10k
R2 N001 +2.5V 100k
V2 5V 0 5
R5 CA-V N004 10
XU1 N003 N001 +5V 0 N002 OP284 ;pnba In+)In-)V+)V-)OUT
V1 +2.5V 0 2.5
R6 CB-H N002 220
R4 N003 N002 100k
V3 CA-V 0 SINE(2.5 2 5k)
LL N004 0 4.7m
R1 N001 CA-V 10k
.tran 5m
.lib OP284.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 256 240 224 240
WIRE 224 272 224 240
WIRE -64 288 -112 288
WIRE 32 288 -64 288
WIRE -64 336 -64 288
WIRE 32 384 32 288
WIRE 80 384 32 384
WIRE 224 384 224 352
WIRE 224 384 160 384
WIRE 224 416 224 384
WIRE 256 416 224 416
WIRE 400 432 320 432
WIRE 448 432 400 432
WIRE 576 432 528 432
WIRE 256 448 224 448
WIRE -64 480 -64 416
WIRE 80 480 -64 480
WIRE 224 480 224 448
WIRE 224 480 160 480
WIRE -64 528 -64 480
WIRE 224 576 224 480
WIRE 288 576 224 576
WIRE 400 576 400 432
WIRE 400 576 368 576
WIRE -64 640 -64 608
IOPIN 288 400 In
IOPIN -112 288 In
IOPIN 256 240 In
IOPIN 576 432 In
IOPIN -576 432 In
IOPIN -464 432 In
IOPIN -352 432 In
SYMBOL res 272 592 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL voltage -352 416 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(2.5 2 5k)
SYMBOL res 64 496 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage -464 416 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL res 176 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 240 368 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL res 544 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 220
SYMBOL Opamps\\OP284 288 368 R0
SYMATTR InstName U1
SYMBOL res -80 320 R0
SYMATTR InstName R5
SYMATTR Value 10
SYMBOL voltage -576 416 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL ind -80 512 R0
SYMATTR InstName LL
SYMATTR Value 4.7m
FLAG 288 464 0
FLAG 288 400 +5V
FLAG -112 288 CA-V
FLAG 256 240 +2.5V
FLAG 576 432 CB-H
FLAG -64 640 0
FLAG -576 512 0
FLAG -464 512 0
FLAG -352 512 0
FLAG -576 432 +2.5V
FLAG -464 432 5V
FLAG -352 432 CA-V
TEXT -144 152 Left 2 ;Measuring Current in Inductive Load
TEXT -592 648 Left 2 !.tran 5m
* Z:\home\khalils\Downloads\files\data\raw_asc\ADA4077.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\ADA4077.asy)
Rload OUT 0 10K
R1 N001 0 10K
XU1 IN N001 +V -V OUT ADA4077 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 15
V2 -V 0 -15
Vin IN 0 SINE(0 1 10K)
R2 OUT N001 10K
.tran 1m
.lib ADA4077.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 432 -1216 416 -1216
WIRE 528 -1216 512 -1216
WIRE 544 -1216 528 -1216
WIRE 640 -1216 624 -1216
WIRE 128 -1120 128 -1136
WIRE 240 -1120 240 -1136
WIRE 528 -1120 528 -1216
WIRE 544 -1120 528 -1120
WIRE 640 -1104 640 -1216
WIRE 640 -1104 608 -1104
WIRE 768 -1104 640 -1104
WIRE 544 -1088 432 -1088
WIRE 768 -1088 768 -1104
WIRE 432 -1072 432 -1088
WIRE 128 -1024 128 -1040
WIRE 240 -1024 240 -1040
WIRE 768 -992 768 -1008
WIRE 432 -976 432 -992
SYMBOL ADA4077 576 -1168 R0
SYMATTR InstName U1
SYMBOL voltage 128 -1136 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res 640 -1232 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 240 -1136 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL voltage 432 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 752 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL res 528 -1232 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
FLAG 128 -1136 +V
FLAG 432 -976 0
FLAG 768 -1104 OUT
FLAG 432 -1088 IN
FLAG 576 -1136 +V
FLAG 240 -1136 -V
FLAG 576 -1072 -V
FLAG 416 -1216 0
FLAG 768 -992 0
FLAG 240 -1024 0
FLAG 128 -1024 0
TEXT 784 -896 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\1ae901d2d56c_FullAdder.asc
* Generated by LTspice 26.0.1 for Windows.
A1 0 A 0 B 0 N001 0 0 XOR
A2 0 A 0 B 0 N003 0 0 AND
V1 A 0 V
V2 B 0 V
V3 C 0 V
A3 N001 0 0 0 C sum 0 0 XOR
A4 N001 0 0 C 0 N002 0 0 AND
A5 0 N002 0 N003 0 Cout 0 0 OR
.tran 10m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1008 680
WIRE -160 -48 -208 -48
WIRE -208 0 -208 -48
WIRE -160 112 -208 112
WIRE 304 128 256 128
WIRE 320 128 304 128
WIRE -208 160 -208 112
WIRE 272 160 256 160
WIRE 320 160 272 160
WIRE 496 160 400 160
WIRE 544 160 496 160
WIRE 688 208 624 208
WIRE 448 224 208 224
WIRE 544 224 448 224
WIRE -160 256 -208 256
WIRE 496 256 496 160
WIRE 576 256 496 256
WIRE 448 288 448 224
WIRE 528 288 448 288
WIRE 576 288 576 256
WIRE 592 288 576 288
WIRE -208 304 -208 256
WIRE 304 336 304 128
WIRE 384 336 304 336
WIRE 528 336 528 288
WIRE 592 336 528 336
WIRE 768 336 656 336
WIRE 272 368 272 160
WIRE 384 368 272 368
WIRE 768 368 448 368
WIRE 896 368 832 368
FLAG 256 128 A
IOPIN 256 128 In
FLAG 256 160 B
IOPIN 256 160 In
FLAG -80 -48 A
IOPIN -80 -48 Out
FLAG -80 112 B
IOPIN -80 112 Out
FLAG -80 256 C
IOPIN -80 256 Out
FLAG -208 0 0
FLAG -208 160 0
FLAG -208 304 0
FLAG 208 224 C
IOPIN 208 224 In
FLAG 688 208 sum
IOPIN 688 208 Out
FLAG 896 368 Cout
IOPIN 896 368 Out
SYMBOL Digital\\xor 368 80 R0
SYMATTR InstName A1
SYMBOL Digital\\and 416 288 R0
SYMATTR InstName A2
SYMBOL voltage -64 -48 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V1
SYMBOL voltage -64 112 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMBOL voltage -64 256 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V3
SYMBOL Digital\\xor 592 128 R0
SYMATTR InstName A3
SYMBOL Digital\\and 624 256 R0
SYMATTR InstName A4
SYMBOL Digital\\or 800 288 R0
SYMATTR InstName A5
TEXT 264 424 Left 2 !.tran 10m
* Z:\home\khalils\Downloads\files\data\raw_asc\20d0bf58019e_demux-1bit-1to4.asc
* Generated by LTspice 26.0.1 for Windows.
A1 in _X[1] _X[0] 0 0 0 Q[0] 0 AND
A2 in _X[1] X[0] 0 0 0 Q[1] 0 AND
A[1] X[1] 0 0 0 0 _X[1] 0 0 BUF
A[0] X[0] 0 0 0 0 _X[0] 0 0 BUF
A3 in X[1] _X[0] 0 0 0 Q[2] 0 AND
A4 in X[1] X[0] 0 0 0 Q[3] 0 AND
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 32 48 -80 48
WIRE 32 64 -16 64
WIRE 32 80 0 80
WIRE 0 96 0 80
WIRE 0 96 -16 96
WIRE 32 96 16 96
WIRE 16 112 16 96
WIRE 32 112 16 112
WIRE 16 128 16 112
WIRE 32 128 16 128
WIRE 48 128 48 112
WIRE 48 128 32 128
WIRE -80 160 -80 48
WIRE 32 160 -80 160
WIRE 32 176 -16 176
WIRE 32 192 0 192
WIRE 0 208 0 192
WIRE 0 208 -16 208
WIRE 32 208 16 208
WIRE 16 224 16 208
WIRE 32 224 16 224
WIRE 16 240 16 224
WIRE 32 240 16 240
WIRE 48 240 48 224
WIRE 48 240 32 240
WIRE -80 272 -80 160
WIRE 32 272 -80 272
WIRE 32 288 -16 288
WIRE 32 304 0 304
WIRE 0 320 0 304
WIRE 0 320 -16 320
WIRE 32 320 16 320
WIRE 16 336 16 320
WIRE 32 336 16 336
WIRE 16 352 16 336
WIRE 32 352 16 352
WIRE 48 352 48 336
WIRE 48 352 32 352
WIRE -80 384 -80 272
WIRE 32 384 -80 384
WIRE 32 400 -16 400
WIRE 32 416 0 416
WIRE 0 432 0 416
WIRE 0 432 -16 432
WIRE 32 432 16 432
WIRE 16 448 16 432
WIRE 32 448 16 448
WIRE 16 464 16 448
WIRE 32 464 16 464
WIRE 48 464 48 448
WIRE 48 464 32 464
IOPIN -80 48 In
IOPIN 96 64 Out
IOPIN 96 176 Out
IOPIN -32 0 In
IOPIN 96 288 Out
IOPIN 96 400 Out
SYMBOL Digital\\and 64 16 R0
SYMATTR InstName A1
SYMBOL Digital\\and 64 352 R0
SYMATTR InstName A4
SYMBOL Digital\\and 64 240 R0
SYMATTR InstName A3
SYMBOL Digital\\and 64 128 R0
SYMATTR InstName A2
SYMBOL Digital\\inv -32 -64 R0
SYMATTR InstName A[1:0]
FLAG 32 128 0
FLAG 32 240 0
FLAG 96 96 0
FLAG 96 208 0
FLAG -80 48 in
FLAG 96 64 Q[0]
FLAG 96 176 Q[1]
FLAG -32 16 0
FLAG -32 0 X[1:0]
FLAG 32 0 _X[1:0]
FLAG -16 64 _X[1]
FLAG -16 96 _X[0]
FLAG -16 176 _X[1]
FLAG -16 208 X[0]
FLAG 32 352 0
FLAG 32 464 0
FLAG 96 320 0
FLAG 96 432 0
FLAG 96 288 Q[2]
FLAG 96 400 Q[3]
FLAG -16 288 X[1]
FLAG -16 320 _X[0]
FLAG -16 400 X[1]
FLAG -16 432 X[0]
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3525-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\LTC3525-5.asy)
XU1 IN 0 IN OUT MP_01 N001 LTC3525-5 ;pnba _SHDN)GND)Vin)Vout))SW
L1 IN N001 10
C1 OUT 0 10
R1 OUT 0 100
V1 IN 0 1
.tran 2m startup
.lib LTC3525-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 112 64 0 64
WIRE 320 64 192 64
WIRE 0 160 0 64
WIRE 0 160 -112 160
WIRE 32 160 0 160
WIRE 320 160 320 64
WIRE 320 160 288 160
WIRE -112 176 -112 160
WIRE -112 272 -112 256
WIRE 0 304 0 160
WIRE 32 304 0 304
WIRE 320 304 288 304
WIRE 416 304 320 304
WIRE 320 320 320 304
WIRE 416 320 416 304
WIRE 160 384 160 368
WIRE 320 416 320 384
WIRE 416 416 416 400
SYMBOL res 400 304 R0
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL PowerProducts\\LTC3525-5 160 208 R0
SYMATTR InstName U1
SYMBOL cap 304 320 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL voltage -112 160 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL ind 96 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
FLAG 320 416 0
FLAG 160 384 0
FLAG -112 272 0
FLAG 416 416 0
FLAG -112 160 IN
FLAG 416 304 OUT
TEXT 72 464 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\23273d7da83f_strain_gauge_simulation.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\LT1789-1.asy)
R7 N006 0 120
I1 P001 0 1nA
R2 Vo 0 {150+R1} tol=0
XU1 N002 N004 Vo 0 N006 N003 N001 N005 LT1789-1 ;pnba RG1)IN-)IN+)VEE)REF)OUT)VCC)RG2
R3 N001 N004 150 tol=0
C1 N003 P001 40pF
R1 N001 Vo {150-R1} tol=0
R4 N004 0 150 tol=0
V1 N001 0 3.3
R5 N002 N005 5K
R6 N001 N006 120
.step param R1 -2 2 1
.op
.lib LTC3.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1204 680
WIRE -144 -144 -400 -144
WIRE -64 -144 -144 -144
WIRE 304 -144 -64 -144
WIRE 528 -144 304 -144
WIRE -144 -80 -144 -144
WIRE -64 -80 -64 -144
WIRE 304 -48 304 -144
WIRE 272 -32 96 -32
WIRE -400 0 -400 -144
WIRE 272 0 208 0
WIRE -64 16 -64 0
WIRE 96 16 96 -32
WIRE 96 16 -64 16
WIRE 208 16 208 0
WIRE 1008 48 448 48
WIRE -144 80 -144 0
WIRE 96 80 -144 80
WIRE 528 80 528 -144
WIRE -144 96 -144 80
WIRE -64 96 -64 16
WIRE 272 96 208 96
WIRE 96 128 96 80
WIRE 272 128 96 128
WIRE 384 160 384 112
WIRE 528 160 384 160
WIRE 384 176 384 160
WIRE -400 240 -400 80
WIRE -144 240 -144 176
WIRE -144 240 -400 240
WIRE -64 240 -64 176
WIRE -64 240 -144 240
WIRE 304 240 304 144
WIRE 304 240 -64 240
WIRE -144 288 -144 240
WIRE 304 304 304 240
WIRE 384 304 384 256
WIRE 384 304 304 304
SYMBOL res -128 80 M0
SYMATTR InstName R4
SYMATTR Value 150
SYMATTR SpiceLine tol=0
SYMBOL res -80 80 R0
SYMATTR InstName R2
SYMATTR Value {150+R1}
SYMATTR SpiceLine tol=0
SYMBOL res -80 -96 R0
SYMATTR InstName R1
SYMATTR Value {150-R1}
SYMATTR SpiceLine tol=0
SYMBOL Opamps\\LT1789-1 304 48 R0
SYMATTR InstName U1
SYMBOL current 1008 112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value 1nA
SYMBOL res -128 -96 M0
SYMATTR InstName R3
SYMATTR Value 150
SYMATTR SpiceLine tol=0
SYMBOL cap 992 48 R0
SYMATTR InstName C1
SYMATTR Value 40pF
SYMBOL voltage -400 -16 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL res 192 0 R0
SYMATTR InstName R5
SYMATTR Value 5K
SYMBOL res 512 64 R0
SYMATTR InstName R6
SYMATTR Value 120
SYMBOL res 368 160 R0
SYMATTR InstName R7
SYMATTR Value 120
FLAG -144 288 0
FLAG 96 -32 Vo
FLAG 1008 192 0
TEXT -360 -224 Left 2 !.step param R1 -2 2 1
TEXT -432 312 Left 2 !.op
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4233.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\LTC4233.asy)
XU1 N007 IN N003 0 N008 N008 0 OUT TjFET N007 MP_01 MP_02 N001 N005 N003 N004 N006 NC_03 LTC4233 Rpcb=15 Tamb=25 ;pnba Sense)Vdd)UV)OV)Timer)IntVcc)GND)Out)Tj)Sense-)))Gate)PG)_FLT)FB)Imon)Iset
C2 OUT 0 680
V3 N002 0 PULSE(0 1 240m 1m 1m 10m)
C1 N008 0 1
R4 OUT N004 150K
V1 IN 0 12
R1 N006 0 20K
S1 0 OUT N002 0 SHORT
R3 N004 0 20K
R5 OUT N005 20K
R2 N003 IN 20K
.model SHORT SW(Ron=10m Roff=1K Vt=.5 Vh=-.4)
.tran 1.4 startup
.lib LTC4233.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1800 680
WIRE -128 -352 -256 -352
WIRE -48 -352 -128 -352
WIRE 128 -352 128 -384
WIRE 480 -352 432 -352
WIRE 592 -352 480 -352
WIRE 688 -352 592 -352
WIRE 800 -352 688 -352
WIRE -256 -336 -256 -352
WIRE -128 -336 -128 -352
WIRE 480 -336 480 -352
WIRE 688 -336 688 -352
WIRE 800 -336 800 -352
WIRE 960 -320 848 -320
WIRE -48 -304 -48 -352
WIRE -16 -304 -48 -304
WIRE 432 -304 432 -352
WIRE 432 -304 272 -304
WIRE 592 -304 592 -352
WIRE 960 -304 960 -320
WIRE -256 -240 -256 -256
WIRE -128 -240 -128 -256
WIRE -16 -240 -128 -240
WIRE 480 -240 480 -256
WIRE 480 -240 272 -240
WIRE 688 -240 688 -272
WIRE 800 -240 800 -256
WIRE 480 -224 480 -240
WIRE 960 -208 960 -224
WIRE -16 -176 -32 -176
WIRE 432 -176 272 -176
WIRE 480 -128 480 -144
WIRE -128 -112 -128 -240
WIRE -16 -112 -128 -112
WIRE 288 -112 272 -112
WIRE 384 -112 368 -112
WIRE 432 -96 432 -176
WIRE 592 -96 592 -224
WIRE 592 -96 432 -96
WIRE -16 -48 -48 -48
WIRE 320 -48 272 -48
WIRE -48 16 -48 -48
WIRE -16 16 -48 16
WIRE 320 16 320 -48
WIRE 320 16 272 16
WIRE 320 80 272 80
WIRE 320 112 320 80
WIRE 336 208 272 208
SYMBOL LTC4233 128 -144 R0
SYMATTR InstName U1
SYMBOL res -144 -240 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 20K
SYMBOL res 464 -240 R0
SYMATTR InstName R3
SYMATTR Value 20K
SYMBOL sw 800 -240 R180
WINDOW 0 -23 102 Right 2
WINDOW 3 -26 2 Right 2
SYMATTR InstName S1
SYMATTR Value SHORT
SYMBOL voltage -256 -352 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage 960 -320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 1 240m 1m 1m 10m)
SYMBOL cap 304 16 R0
WINDOW 0 28 11 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 576 -320 R0
SYMATTR InstName R5
SYMATTR Value 20K
SYMBOL res 272 -96 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 20K
SYMBOL res 464 -352 R0
SYMATTR InstName R4
SYMATTR Value 150K
SYMBOL cap 672 -336 R0
SYMATTR InstName C2
SYMATTR Value 680
FLAG 480 -128 0
FLAG 320 112 0
FLAG 384 -112 0
FLAG -256 -240 0
FLAG 688 -240 0
FLAG 800 -352 OUT
FLAG -256 -352 IN
FLAG 336 208 TjFET
FLAG 800 -240 0
FLAG 848 -272 0
FLAG 960 -208 0
FLAG -32 -176 0
TEXT 464 0 Left 2 !.model SHORT SW(Ron=10m Roff=1K Vt=.5 Vh=-.4)
TEXT 536 208 Left 2 !.tran 1.4 startup
* Z:\tmp\asc_dec_bjh7r6w2\15d831e38f4b_1819_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V2 -V 0 -5
R4 N001 0 200
R2 N003 0 200
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 240 32 224 32
WIRE 336 32 320 32
WIRE 352 32 336 32
WIRE 464 32 432 32
WIRE 32 96 16 96
WIRE 128 96 112 96
WIRE 144 96 128 96
WIRE 256 96 224 96
WIRE -160 160 -160 128
WIRE -64 160 -64 128
WIRE 400 192 400 176
WIRE 192 208 192 192
WIRE 336 208 336 32
WIRE 368 208 336 208
WIRE 128 224 128 96
WIRE 160 224 128 224
WIRE 464 224 464 32
WIRE 256 240 256 96
WIRE 256 240 224 240
WIRE 368 240 256 240
WIRE 160 256 32 256
WIRE -160 272 -160 240
WIRE -64 272 -64 240
WIRE 32 272 32 256
WIRE 192 288 192 272
SYMBOL voltage -160 144 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL res 336 16 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R4
SYMATTR Value 200
SYMBOL res 128 80 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 200
FLAG -64 272 0
FLAG 192 192 +V
FLAG -64 128 +V
FLAG -160 272 0
FLAG -160 128 -V
FLAG 16 96 0
FLAG 400 176 +V
FLAG 224 32 0
FLAG 32 256 IN
* Z:\home\khalils\Downloads\files\data\raw_asc\30b8151f538d_thresholdDetector.asc
* Generated by LTspice 26.0.1 for Windows.
* NOTICE:\nThis will be replaced with a comparator IC.\nJust for testing and demonstration
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
XU1 IN N001 3V3 0 OUT level2 Avol=1Meg GBW=5Meg Slew=12Meg Vos=3m Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
V3 3V3 0 3.3
R2 N001 0 1k
V1 5V 0 5
R1 5V N001 9k
.tran 0.2
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 16 16 16 -16
WIRE 240 96 240 64
WIRE 16 112 16 96
WIRE 208 112 16 112
WIRE 16 128 16 112
WIRE 336 128 272 128
WIRE 208 144 144 144
WIRE 240 192 240 160
WIRE 16 240 16 208
WIRE 16 400 16 368
WIRE 240 400 240 368
WIRE 16 512 16 480
WIRE 240 512 240 480
IOPIN 144 144 In
IOPIN 336 128 Out
SYMBOL voltage 240 384 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 3.3
SYMBOL res 0 112 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL OpAmps\\UniversalOpAmp2 240 128 R0
SYMATTR InstName U1
SYMATTR Value2 Avol=1Meg GBW=5Meg Slew=12Meg Vos=3m
SYMBOL res 0 0 R0
SYMATTR InstName R1
SYMATTR Value 9k
SYMBOL voltage 16 384 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
FLAG 16 512 0
FLAG 240 512 0
FLAG 16 368 5V
FLAG 16 -16 5V
FLAG 240 64 3V3
FLAG 240 368 3V3
FLAG 16 240 0
FLAG 144 144 IN
FLAG 336 128 OUT
FLAG 240 192 0
TEXT -280 344 Left 2 !.tran 0.2
TEXT 152 -232 Center 2 ;NOTICE:\nThis will be replaced with a comparator IC.\nJust for testing and demonstration
* Z:\home\khalils\Downloads\files\data\raw_asc\25f551acc60f_R6.asc
* Generated by LTspice 26.0.1 for Windows.
M_N out N001 vss vss N_1u l={Ln2} w={Wn2}
vinN N001 0 -1.342774
vss vss 0 -2.5
vout out 0
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.inc cmosedu_models.txt
.dc vout -2.5 2.5 0.0001
.meas id_n_1 FIND Id(M_N) AT 0.78022277+0.2
.meas id_n_2 FIND Id(M_N) AT 0.78022277-0.2
.param Wp=49.992332u Lp=49.986531u Wp2=49.998294u Lp2=9.069192u Wn=41.548244u Ln=47.775368u Wn2=49.906981u Ln2=28.964298u C=0.100001p Iref=10892.687537n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2140 680
WIRE 928 -112 928 -160
WIRE 1008 -64 928 -64
WIRE 880 -32 752 -32
WIRE 416 -16 416 -48
WIRE 576 -16 576 -48
WIRE 752 -16 752 -32
WIRE 1008 -16 1008 -64
WIRE 1008 -16 928 -16
WIRE 928 48 928 -16
WIRE 416 128 416 64
WIRE 576 128 576 64
WIRE 752 128 752 64
FLAG 752 128 0
FLAG 576 -48 vss
FLAG 576 128 0
FLAG 928 -160 out
FLAG 416 128 0
FLAG 416 -48 out
FLAG 928 48 vss
SYMBOL nmos4 880 -112 R0
SYMATTR InstName M_N
SYMATTR Value N_1u
SYMATTR Value2 l={Ln2} w={Wn2}
SYMBOL voltage 752 -32 R0
WINDOW 3 26 91 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value -1.342774
SYMATTR InstName vinN
SYMBOL voltage 576 -32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 22 98 Left 2
SYMATTR Value -2.5
SYMATTR InstName vss
SYMBOL voltage 416 -32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 25 97 Left 2
SYMATTR Value ""
SYMATTR InstName vout
TEXT 384 208 Left 2 !.inc cmosedu_models.txt
TEXT 384 264 Left 2 !.dc vout -2.5 2.5 0.0001
TEXT 384 160 Left 2 !.meas id_n_1 FIND Id(M_N) AT 0.78022277+0.2
TEXT 384 184 Left 2 !.meas id_n_2 FIND Id(M_N) AT 0.78022277-0.2
TEXT -56 240 Left 2 !.param Wp=49.992332u Lp=49.986531u Wp2=49.998294u Lp2=9.069192u Wn=41.548244u Ln=47.775368u Wn2=49.906981u Ln2=28.964298u C=0.100001p Iref=10892.687537n
* Z:\home\khalils\Downloads\files\data\raw_asc\LTM4625.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\LTM4625.asy)
XU1 NC_01 NC_02 N001 N003 N002 N004 IN NC_03 OUT 0 MP_04 MP_05 MP_06 MP_07 MP_08 MP_09 IN MP_10 IN MP_11 N001 0 NC_12 NC_13 LTM4625 ;pnba FREQ)PhMode)Mode)FB)Track/SS)COMP)Run)Pgood)Vout)GND)))))))Vin))SVin))INTVcc)SGND)CLKOUT)CLKIN
V1 IN 0 12
Rload OUT 0 .3
R1 N003 0 40.2K
C2 OUT 0 47 V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
C1 N002 0 .005
.tran 1.5m startup
.lib LTM4625.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 64 -192 -64 -192
WIRE 192 -192 64 -192
WIRE 320 -192 192 -192
WIRE -64 -176 -64 -192
WIRE 448 -176 48 -176
WIRE 192 -160 192 -192
WIRE 320 -160 320 -192
WIRE 64 -96 64 -192
WIRE 80 -96 64 -96
WIRE -64 -80 -64 -96
WIRE 48 0 48 -176
WIRE 80 0 48 0
WIRE 448 0 448 -176
WIRE 448 0 432 0
WIRE 0 96 -16 96
WIRE 80 96 64 96
WIRE 592 96 432 96
WIRE 688 96 592 96
WIRE 592 112 592 96
WIRE 688 112 688 96
WIRE 496 192 432 192
WIRE 496 208 496 192
WIRE 592 208 592 176
WIRE 688 208 688 192
WIRE 448 288 432 288
WIRE 496 304 496 288
WIRE 192 464 192 448
WIRE 320 464 320 448
SYMBOL voltage -64 -192 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 480 192 R0
SYMATTR InstName R1
SYMATTR Value 40.2K
SYMBOL PowerProducts\\LTM4625 256 144 R0
SYMATTR InstName U1
SYMBOL cap 64 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .005
SYMBOL cap 576 112 R0
SYMATTR InstName C2
SYMATTR Value 47
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL res 672 96 R0
SYMATTR InstName Rload
SYMATTR Value .3
FLAG 192 464 0
FLAG 320 464 0
FLAG -64 -80 0
FLAG -64 -192 IN
FLAG -16 96 0
FLAG 496 304 0
FLAG 688 208 0
FLAG 592 208 0
FLAG 688 96 OUT
TEXT 552 408 Left 2 !.tran 1.5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\f8f31f133566_Assignment_5c__i_.asc
* Generated by LTspice 26.0.1 for Windows.
* Input Characteristics of Common Base Configuration for NPN Transistor
Q1 N002 0 N003 0 BC547B
Re N004 N003 100000
Vbe 0 N004 3.5
Vcb N001 0 15
Rc N002 N001 100
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.dc Vbe 0 5 1 Vcb 0.5 12.5 3
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 48 96 -16 96
WIRE 176 96 128 96
WIRE 336 96 272 96
WIRE 480 96 416 96
WIRE -16 192 -16 96
WIRE 480 192 480 96
WIRE -16 336 -16 272
WIRE 224 336 224 160
WIRE 224 336 -16 336
WIRE 480 336 480 272
WIRE 480 336 224 336
WIRE 224 352 224 336
SYMBOL res 432 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Re
SYMATTR Value 100000
SYMBOL voltage 480 288 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vbe
SYMATTR Value 3.5
SYMBOL res 144 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rc
SYMATTR Value 100
SYMBOL npn 176 160 R270
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL voltage -16 176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vcb
SYMATTR Value 15
FLAG 224 352 0
TEXT -152 -24 Left 2 ;Input Characteristics of Common Base Configuration for NPN Transistor
TEXT -144 376 Left 2 !.dc Vbe 0 5 1 Vcb 0.5 12.5 3
* Z:\home\khalils\Downloads\files\data\raw_asc\dd1743979a3b_circuit1.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 N001 1k
D1 N002 0 D1N4001
V1 N001 0 SINE(0 10 10)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1s
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 128 80 16 80
WIRE 288 80 208 80
WIRE 16 128 16 80
WIRE 288 128 288 80
WIRE 16 272 16 208
WIRE 96 272 16 272
WIRE 288 272 288 192
WIRE 288 272 96 272
WIRE 96 304 96 272
SYMBOL voltage 16 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 10 10)
SYMBOL diode 272 128 R0
SYMATTR InstName D1
SYMATTR Value D1N4001
SYMBOL res 224 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
FLAG 96 304 0
TEXT -18 328 Left 2 !.tran 1s