Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6263.asc
* Generated by LTspice 26.0.1 for Windows.
* Third Order Butterworth Filter
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LTC6263.asy)
R1 N002 N001 5.54K
R3 N001 N003 7.7K
R2 OUT N001 15.4K
C2 OUT N002 47p
V3 IN 0 1.5 AC 1
XU1 N004 N002 OUT +V 0 +V LTC6261 ;pnba IN+)IN-)OUT)VCC)VEE)SHDN_L
V4 N004 0 1.5
C3 N003 0 470p
V1 +V 0 3.3
C1 N001 0 470p
R4 N003 IN 7.7K
.ac oct 8 1K 2Meg
.lib LTC6.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4472 1028
WIRE -2752 -576 -2864 -576
WIRE -2464 -576 -2672 -576
WIRE -3200 -528 -3200 -544
WIRE -2608 -496 -2704 -496
WIRE -2464 -496 -2464 -576
WIRE -2464 -496 -2544 -496
WIRE -3200 -432 -3200 -448
WIRE -2624 -400 -2624 -416
WIRE -3136 -352 -3200 -352
WIRE -3024 -352 -3056 -352
WIRE -2976 -352 -3024 -352
WIRE -2864 -352 -2864 -576
WIRE -2864 -352 -2896 -352
WIRE -2816 -352 -2864 -352
WIRE -2704 -352 -2704 -496
WIRE -2704 -352 -2736 -352
WIRE -2656 -352 -2704 -352
WIRE -3200 -336 -3200 -352
WIRE -3024 -320 -3024 -352
WIRE -2864 -320 -2864 -352
WIRE -2464 -320 -2464 -496
WIRE -2464 -320 -2512 -320
WIRE -2432 -320 -2464 -320
WIRE -2656 -288 -2720 -288
WIRE -2720 -272 -2720 -288
WIRE -3200 -240 -3200 -256
WIRE -3024 -224 -3024 -256
WIRE -2864 -224 -2864 -256
WIRE -2720 -176 -2720 -192
SYMBOL cap -3040 -320 R0
SYMATTR InstName C3
SYMATTR Value 470p
SYMBOL res -2656 -592 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 15.4K
SYMBOL res -2720 -368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 5.54K
SYMBOL opamps\\LTC6263 -2624 -320 R0
SYMATTR InstName U1
SYMBOL voltage -2720 -288 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value 1.5
SYMBOL voltage -3200 -544 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL cap -2880 -320 R0
SYMATTR InstName C1
SYMATTR Value 470p
SYMBOL voltage -3200 -352 R0
WINDOW 123 32 96 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 47 60 Left 2
SYMATTR Value2 AC 1
SYMATTR Value 1.5
SYMATTR InstName V3
SYMBOL res -3040 -368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 7.7K
SYMBOL res -2880 -368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 7.7K
SYMBOL cap -2544 -512 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 47p
FLAG -3200 -432 0
FLAG -3200 -544 +V
FLAG -3200 -240 0
FLAG -2432 -320 OUT
FLAG -2864 -224 0
FLAG -3024 -224 0
FLAG -2720 -176 0
FLAG -2624 -240 0
FLAG -2624 -416 +V
FLAG -2576 -240 +V
FLAG -3200 -352 IN
TEXT -2808 -632 Bottom 2 ;Third Order Butterworth Filter
TEXT -2480 -144 Left 2 !.ac oct 8 1K 2Meg
* Z:\home\khalils\Downloads\files\data\raw_asc\01cae594ee6b_IdealDiodeDriver.asc
* Generated by LTspice 26.0.1 for Windows.
R3 N004 0 10Meg
V1 N001 0 PULSE(0 5 1e-3 1e-9 1e-9 2e-3 4e-3 2)
R1 N001 0 1k
M1 N001 N003 N002 N002 RRS040P03
Q1 N004 N004 N001 0 2N3906
V2 N002 0 PULSE(0 7 2e-3 1e-9 1e-9 1e-3 2e-3 2)
R2 N002 0 1k
R4 N003 0 10Meg
Q2 N003 N004 N002 0 2N3906
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 10e-3
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1052 680
WIRE 32 16 -64 16
WIRE 160 16 32 16
WIRE 192 16 160 16
WIRE 352 16 288 16
WIRE 464 16 352 16
WIRE 608 16 464 16
WIRE 32 32 32 16
WIRE 464 32 464 16
WIRE -64 48 -64 16
WIRE 608 48 608 16
WIRE 272 96 272 64
WIRE 272 96 256 96
WIRE -64 144 -64 128
WIRE 32 144 32 112
WIRE 32 144 -64 144
WIRE 464 144 464 112
WIRE 608 144 608 128
WIRE 608 144 464 144
WIRE -64 160 -64 144
WIRE 160 160 160 16
WIRE 352 160 352 16
WIRE 608 160 608 144
WIRE 160 272 160 256
WIRE 224 272 224 208
WIRE 224 272 160 272
WIRE 288 272 288 208
WIRE 288 272 224 272
WIRE 256 288 256 96
WIRE 352 288 352 256
WIRE 352 288 256 288
WIRE 160 304 160 272
WIRE 352 304 352 288
WIRE 160 416 160 384
WIRE 256 416 160 416
WIRE 352 416 352 384
WIRE 352 416 256 416
WIRE 256 448 256 416
SYMBOL pnp 288 256 M180
SYMATTR InstName Q2
SYMATTR Value 2N3906
SYMBOL res 336 288 R0
SYMATTR InstName R4
SYMATTR Value 10Meg
SYMBOL voltage 608 32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 7 2e-3 1e-9 1e-9 1e-3 2e-3 2)
SYMBOL pnp 224 256 R180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL res 144 288 R0
SYMATTR InstName R3
SYMATTR Value 10Meg
SYMBOL voltage -64 32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 1e-3 1e-9 1e-9 2e-3 4e-3 2)
SYMBOL res 16 16 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 448 16 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL pmos 192 64 R270
SYMATTR InstName M1
SYMATTR Value RRS040P03
FLAG -64 160 0
FLAG 608 160 0
FLAG 256 448 0
TEXT -98 280 Left 2 !.tran 10e-3
* Z:\home\khalils\Downloads\files\data\raw_asc\1be0ea3e24c3_CrossDist.asc
* Generated by LTspice 26.0.1 for Windows.
* Negative feedback eliminates crossover distortion.\nSchuler, 7th edition, Chapters 8 and 9.\nProbe V1, the OP-AMP output, and R1.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1678.asy)
V1 N003 0 SINE(0 1.5 1000)
XU1 N003 N001 N002 Vplus Vmin LT1678 ;pnba IN+)IN-)OUT)VCC)VEE
R1 N001 0 1k
Q2 Vmin N002 N001 0 2N3906
V3 0 Vmin 12
V2 Vplus 0 12
Q1 Vplus N002 N001 0 2N3904
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran .004
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 400 0 48 0
WIRE 288 96 288 80
WIRE 224 144 208 144
WIRE 112 176 112 160
WIRE 48 192 48 0
WIRE 80 192 48 192
WIRE 208 208 208 144
WIRE 208 208 144 208
WIRE 288 208 288 192
WIRE 400 208 400 0
WIRE 400 208 288 208
WIRE 80 224 -16 224
WIRE 288 224 288 208
WIRE 400 224 400 208
WIRE -16 240 -16 224
WIRE 208 272 208 208
WIRE 224 272 208 272
WIRE 112 288 112 240
WIRE 400 320 400 304
WIRE -16 352 -16 320
WIRE 80 352 80 336
WIRE 176 352 176 336
WIRE 288 368 288 320
WIRE 80 448 80 432
WIRE 176 448 176 432
SYMBOL voltage 176 448 R180
WINDOW 0 -64 55 Left 0
WINDOW 3 -63 25 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL voltage -16 224 R0
WINDOW 3 -125 -19 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 1.5 1000)
SYMBOL voltage 80 336 R0
WINDOW 0 -63 60 Left 0
WINDOW 3 -62 88 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL npn 224 96 R0
WINDOW 0 22 50 Left 0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL Opamps\\LT1678 112 208 R0
WINDOW 3 7 38 Left 0
SYMATTR InstName U1
SYMBOL res 384 208 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL pnp 224 320 M180
WINDOW 0 31 44 Left 0
WINDOW 3 60 68 Left 0
SYMATTR InstName Q2
SYMATTR Value 2N3906
FLAG -16 352 0
FLAG 400 320 0
FLAG 112 160 Vplus
FLAG 288 80 Vplus
FLAG 112 288 Vmin
FLAG 288 368 Vmin
FLAG 80 448 0
FLAG 176 448 0
FLAG 80 336 Vplus
FLAG 176 336 Vmin
TEXT 328 384 Left 0 !.tran .004
TEXT -144 488 Left 0 ;Negative feedback eliminates crossover distortion.\nSchuler, 7th edition, Chapters 8 and 9.\nProbe V1, the OP-AMP output, and R1.
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP165-3.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\ADP165-3.0.asy)
XU1 IN 0 N001 OUT ADP16xfd K=333.3u ;pnba Vin)GND)En)Vout
V2 N001 0 PULSE(0 5 100u 50n 50n 2.5m)
Rload OUT 0 300
V1 IN 0 5
C1 OUT 0 1
.tran 4m
.lib ADP16x.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 96 -64 96
WIRE 416 96 352 96
WIRE 512 96 416 96
WIRE -64 112 -64 96
WIRE 416 112 416 96
WIRE 512 112 512 96
WIRE -64 208 -64 192
WIRE 160 208 16 208
WIRE 416 208 416 176
WIRE 512 208 512 192
WIRE 16 224 16 208
WIRE 256 272 256 256
WIRE 16 320 16 304
SYMBOL voltage -64 96 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 496 96 R0
SYMATTR InstName Rload
SYMATTR Value 300
SYMBOL voltage 16 208 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 100u 50n 50n 2.5m)
SYMBOL ADP165-3.0 256 208 R0
SYMATTR InstName U1
SYMBOL cap 400 112 R0
SYMATTR InstName C1
SYMATTR Value 1
FLAG -64 208 0
FLAG 256 272 0
FLAG 416 208 0
FLAG 512 208 0
FLAG 512 96 OUT
FLAG -64 96 IN
FLAG 16 320 0
TEXT 528 320 Left 2 !.tran 4m
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1693-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\LTC1693-5.asy)
R1 N005 0 10
MQ1 N004 N003 N001 N001 Si4401DY
V1 N001 0 5
C1 N005 0 47
V2 N002 0 pulse(0 3.3 0 10n 10n 1u 2u)
XU1 N002 MP_01 0 0 MP_02 MP_03 N003 N001 LTC1693-5 ;pnba IN))PHI)GND)))OUT)Vcc
D1 0 N004 1N5819
L1 N004 N005 22
.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 2m startup
.lib LTC1693-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2480 1604
WIRE 1872 1056 1648 1056
WIRE 2064 1056 1872 1056
WIRE 1648 1072 1648 1056
WIRE 2064 1072 2064 1056
WIRE 1872 1104 1872 1056
WIRE 1264 1120 1232 1120
WIRE 1520 1120 1344 1120
WIRE 1824 1120 1776 1120
WIRE 2064 1168 2064 1152
WIRE 1520 1216 1504 1216
WIRE 1872 1232 1872 1200
WIRE 1920 1232 1872 1232
WIRE 2064 1232 2000 1232
WIRE 2160 1232 2064 1232
WIRE 1872 1248 1872 1232
WIRE 2064 1248 2064 1232
WIRE 2160 1248 2160 1232
WIRE 1648 1280 1648 1264
WIRE 1872 1344 1872 1312
WIRE 2064 1344 2064 1312
WIRE 2160 1344 2160 1328
SYMBOL pmos 1824 1200 M180
WINDOW 0 60 66 Left 2
WINDOW 3 58 36 Left 2
SYMATTR InstName Q1
SYMATTR Value Si4401DY
SYMBOL ind 1904 1248 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 22
SYMBOL res 2144 1232 R0
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL cap 2048 1248 R0
SYMATTR InstName C1
SYMATTR Value 47
SYMBOL schottky 1856 1312 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N5819
SYMBOL voltage 2064 1056 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL PowerProducts\\LTC1693-5 1648 1168 R0
SYMATTR InstName U1
SYMBOL voltage 1360 1120 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value pulse(0 3.3 0 10n 10n 1u 2u)
FLAG 2064 1168 0
FLAG 1648 1280 0
FLAG 1872 1344 0
FLAG 2064 1344 0
FLAG 2160 1344 0
FLAG 1504 1216 0
FLAG 1232 1120 0
TEXT 1920 1400 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\34f4eb0e8788_Fig_8-12_LowPass_Filter_AC.asc
* Generated by LTspice 26.0.1 for Windows.
R1 IN N001 {RI}
R2 N001 OUT1 {R}
V1 IN 0 AC 1
C1 N001 OUT1 {C}
R5 IN N002 {R}
C2 N002 0 {C}
XU1 0 N001 OUT1 VP VN LT6231 ;pnba IN+)IN-)OUT)VCC)VEE
XU2 N002 OUT2 OUT2 VP VN LT6231 ;pnba IN+)IN-)OUT)VCC)VEE
VP VP 0 +5
VN VN 0 -5
.ac oct 100 0.1 10Meg
.STEP PARAM C list 0.001u 0.01u 0.1u
.PARAM R 10K
.PARAM RI 100
* .PARAM C 0.1u
* .STEP PARAM R list 1K 10K 100K
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6231.asy)
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1016 680
WIRE 160 -96 112 -96
WIRE 256 -96 224 -96
WIRE 112 0 112 -96
WIRE 144 0 112 0
WIRE 256 0 256 -96
WIRE 256 0 224 0
WIRE 864 0 720 0
WIRE 784 96 784 80
WIRE 176 112 176 96
WIRE 720 112 720 0
WIRE 752 112 720 112
WIRE -96 128 -128 128
WIRE -32 128 -96 128
WIRE 112 128 112 0
WIRE 112 128 48 128
WIRE 144 128 112 128
WIRE 864 128 864 0
WIRE 864 128 816 128
WIRE 896 128 864 128
WIRE 256 144 256 0
WIRE 256 144 208 144
WIRE 288 144 256 144
WIRE 560 144 512 144
WIRE 672 144 640 144
WIRE 752 144 672 144
WIRE 144 160 96 160
WIRE -128 176 -128 128
WIRE 672 176 672 144
WIRE 784 176 784 160
WIRE 176 192 176 176
WIRE 672 272 672 240
WIRE -128 288 -128 256
FLAG 176 96 VP
FLAG 176 192 VN
FLAG 96 160 0
FLAG 288 144 OUT1
FLAG -128 288 0
FLAG -96 128 IN
FLAG 784 80 VP
FLAG 784 176 VN
FLAG 896 128 OUT2
FLAG 512 144 IN
FLAG 672 272 0
SYMBOL res -48 144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value {RI}
SYMBOL res 128 16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value {R}
SYMBOL voltage -128 160 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL cap 160 -80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C1
SYMATTR Value {C}
SYMBOL res 544 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R5
SYMATTR Value {R}
SYMBOL cap 656 176 R0
SYMATTR InstName C2
SYMATTR Value {C}
SYMBOL Opamps\\LT6231 176 144 R0
SYMATTR InstName U1
SYMBOL Opamps\\LT6231 784 128 R0
SYMATTR InstName U2
TEXT 72 280 Left 2 !VP VP 0 +5\nVN VN 0 -5
TEXT -48 368 Left 2 !.ac oct 100 0.1 10Meg
TEXT 304 -136 Left 2 !.STEP PARAM C list 0.001u 0.01u 0.1u
TEXT 304 -40 Left 2 !.PARAM R 10K
TEXT 304 -8 Left 2 !.PARAM RI 100
TEXT 304 -104 Left 2 ;.PARAM C 0.1u
TEXT 304 24 Left 2 ;.STEP PARAM R list 1K 10K 100K
* Z:\home\khalils\Downloads\files\data\raw_asc\093106e5eb00_AD8040.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\AD8040.asy)
V2 -V 0 -5
Vin1 IN 0 SINE(0 1 100K)
V1 +V 0 5
R2 OUT N001 10K
XU1 IN N001 +V -V OUT AD8040 ;pnba In+)In-)V+)V-)OUT
R1 N001 0 10K
.tran 100u
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 960 680
WIRE 272 128 256 128
WIRE 368 128 352 128
WIRE 384 128 368 128
WIRE 480 128 464 128
WIRE 32 208 32 192
WIRE 160 208 160 192
WIRE 368 224 368 128
WIRE 384 224 368 224
WIRE 480 240 480 128
WIRE 480 240 448 240
WIRE 544 240 480 240
WIRE 384 256 304 256
WIRE 304 272 304 256
WIRE 32 304 32 288
WIRE 160 304 160 288
WIRE 304 368 304 352
SYMBOL opamps\\AD8040 416 176 R0
SYMATTR InstName U1
SYMBOL voltage 32 192 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 368 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL voltage 304 256 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin1
SYMATTR Value SINE(0 1 100K)
SYMBOL voltage 160 192 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL res 480 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
FLAG 32 192 +V
FLAG 304 368 0
FLAG 544 240 OUT
FLAG 304 256 IN
FLAG 416 208 +V
FLAG 160 192 -V
FLAG 416 272 -V
FLAG 256 128 0
FLAG 160 304 0
FLAG 32 304 0
TEXT 560 360 Left 2 !.tran 100u
* Z:\home\khalils\Downloads\files\data\raw_asc\275c29dcae46_Buck.asc
* Generated by LTspice 26.0.1 for Windows.
* Note: The parser will look for Cout \nand Rout in the base workspace
V1 N001 0 48
D2 N003 N002 D Vf={Vf} Ron={1m} Cd=100p
M1 N002 NC_01 N003 N003 BSC900N20NS3
R1 N004 0 Rout
M2 N003 NC_02 0 0 NMOS ron = 1m Coss = {Coss}
Rg N002 N001 1m
L1 N003 N004 {Lf}
C1 N004 0 Cout
D1 0 N003 D Vf={Vf} Ron={1m} Cd=100p
.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
.param Lf = 1u
.param Coss = 1n
.param Cout = 1e-3
.param Rout = 100
.param Vf = 1
.param ts = [1u 50n 1u 50n]
.param swvec = [1 0 0 0; 0 0 0 0; 0 1 0 0; 0 0 0 0]
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1524 680
WIRE -176 16 -224 16
WIRE -32 16 -96 16
WIRE 288 16 -32 16
WIRE -32 64 -32 16
WIRE 288 80 288 16
WIRE -224 96 -224 16
WIRE -32 176 -32 160
WIRE 288 176 288 144
WIRE 288 176 -32 176
WIRE 400 176 288 176
WIRE 576 176 480 176
WIRE 656 176 576 176
WIRE -32 224 -32 176
WIRE 576 224 576 176
WIRE 656 224 656 176
WIRE 288 240 288 176
WIRE -224 336 -224 176
WIRE -32 336 -32 320
WIRE 288 336 288 304
WIRE 576 336 576 288
WIRE 656 336 656 304
SYMBOL res -80 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rg
SYMATTR Value 1m
SYMBOL nmos -80 224 R0
WINDOW 123 56 100 Left 2
SYMATTR Value2 ron = 1m Coss = {Coss}
SYMATTR InstName M2
SYMBOL res 640 208 R0
SYMATTR InstName R1
SYMATTR Value Rout
SYMBOL voltage -224 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 48
SYMBOL diode 304 144 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 -356 43 Left 2
SYMATTR InstName D2
SYMATTR Value2 Vf={Vf} Ron={1m} Cd=100p
SYMBOL ind 384 192 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value {Lf}
SYMBOL cap 560 224 R0
SYMATTR InstName C1
SYMATTR Value Cout
SYMBOL nmos -80 64 R0
SYMATTR InstName M1
SYMATTR Value BSC900N20NS3
SYMBOL diode 304 304 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 -185 -71 Left 2
SYMATTR InstName D1
SYMATTR Value2 Vf={Vf} Ron={1m} Cd=100p
FLAG -32 336 0
FLAG -224 336 0
FLAG 576 336 0
FLAG 656 336 0
FLAG 288 336 0
TEXT 696 8 Left 2 !.param Lf = 1u\n.param Coss = 1n\n.param Cout = 1e-3\n.param Rout = 100\n.param Vf = 1
TEXT 352 -64 Left 2 !.param ts = [1u 50n 1u 50n]
TEXT 352 -32 Left 2 !.param swvec = [1 0 0 0; 0 0 0 0; 0 1 0 0; 0 0 0 0]
TEXT 744 240 Left 2 ;Note: The parser will look for Cout \nand Rout in the base workspace
* Z:\tmp\asc_dec_bjh7r6w2\03d122389ff0_or_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
M1 Vdd A N001 N001 PMOS L=0.18u W=1.0e-4
M3 N002 A Vss Vss NMOS L=0.18u W=1.0e-4
.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 1788 1092
WIRE -96 -16 -96 -96
WIRE -144 64 -192 64
WIRE -96 144 -96 80
WIRE -96 304 -96 240
WIRE 144 304 -96 304
WIRE -96 368 -96 304
WIRE -96 368 -192 368
WIRE 64 368 -96 368
WIRE -192 432 -192 368
WIRE -240 512 -288 512
WIRE -192 592 -192 528
SYMBOL pmos -144 -16 R0
SYMATTR InstName M1
SYMATTR Value2 L=0.18u W=1.0e-4
SYMBOL nmos -240 432 R0
SYMATTR InstName M3
SYMATTR Value2 L=0.18u W=1.0e-4
FLAG -96 -96 Vdd
FLAG -192 64 A
FLAG -288 512 A
FLAG -192 592 Vss
* Z:\home\khalils\Downloads\files\data\raw_asc\2afc12a4f52e_Assignment_5c__ii_.asc
* Generated by LTspice 26.0.1 for Windows.
* Output Characteristics of Common Base Configuration for NPN Transistor
Vcb N001 0 15
Rc N002 N001 100
Q1 N002 0 N003 0 BC547B
Vbe 0 N004 3.5
Re N004 N003 100000
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.dc Vcb -0.7 15 5 Vbe 0 5 1
.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 npn 176 160 R270
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL res 144 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rc
SYMATTR Value 100
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 voltage -16 176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vcb
SYMATTR Value 15
SYMBOL res 432 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Re
SYMATTR Value 100000
FLAG 224 352 0
TEXT -152 -24 Left 2 ;Output Characteristics of Common Base Configuration for NPN Transistor
TEXT -144 376 Left 2 !.dc Vcb -0.7 15 5 Vbe 0 5 1
* Z:\home\khalils\Downloads\files\data\raw_asc\654946b0f8b2_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
RB2 N005 0 120k
QBC548B N002 N005 N006 0 NPN
RE N006 0 1k
VCC N001 0 18
RL N003 0 2k
Rs N007 N004 1k
RB1 N001 N005 600k
C2 N003 N002 20m
Vs N007 0 SINE(0 20m 1k)
C1 N005 N004 20m
C3 N006 0 20m
RC N001 N002 3k
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model BC548B NPN( Is=7.049f Rb=150 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)
.tran 0 0.01 0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3472 1268
WIRE 256 -624 0 -624
WIRE 544 -624 256 -624
WIRE 544 -560 544 -624
WIRE 0 -464 0 -624
WIRE 256 -464 256 -624
WIRE 544 -432 544 -480
WIRE 256 -320 256 -384
WIRE 464 -320 256 -320
WIRE 704 -320 528 -320
WIRE 256 -272 256 -320
WIRE -240 -224 -384 -224
WIRE 0 -224 0 -384
WIRE 0 -224 -176 -224
WIRE 192 -224 0 -224
WIRE -384 -192 -384 -224
WIRE 704 -176 704 -320
WIRE 256 -112 256 -176
WIRE 432 -112 256 -112
WIRE -384 -48 -384 -112
WIRE 0 -48 0 -224
WIRE 256 -48 256 -112
WIRE 432 -48 432 -112
WIRE 704 32 704 -96
WIRE 256 96 256 32
WIRE 432 96 432 16
WIRE 432 96 256 96
WIRE -384 160 -384 32
WIRE 0 160 0 32
WIRE 256 160 256 96
SYMBOL res 240 -480 R0
SYMATTR InstName RC
SYMATTR Value 3k
SYMBOL res -16 -64 R0
SYMATTR InstName RB2
SYMATTR Value 120k
SYMBOL res -368 -96 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rs
SYMATTR Value 1k
SYMBOL cap 528 -336 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 20m
SYMBOL voltage -384 -64 M0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vs
SYMATTR Value SINE(0 20m 1k)
SYMBOL cap -176 -240 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 20m
SYMBOL voltage 544 -576 M0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VCC
SYMATTR Value 18
SYMBOL res 240 -64 R0
SYMATTR InstName RE
SYMATTR Value 1k
SYMBOL cap 416 -48 R0
SYMATTR InstName C3
SYMATTR Value 20m
SYMBOL res -16 -480 R0
SYMATTR InstName RB1
SYMATTR Value 600k
SYMBOL res 688 -192 R0
SYMATTR InstName RL
SYMATTR Value 2k
SYMBOL npn 192 -272 R0
SYMATTR InstName BC548B
FLAG 0 160 0
FLAG 256 160 0
FLAG 704 32 0
FLAG -384 160 0
FLAG 544 -432 0
TEXT -1328 376 Left 2 !.model BC548B NPN( Is=7.049f Rb=150 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)
TEXT -468 500 Left 2 !.tran 0 0.01 0