* Z:\tmp\asc_dec_bjh7r6w2\1747372c838b_llc02-1_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
C6 d 0 100p
I2 vout 0 18 load
LT3 N004 N005 10m Rser=1m
S4 0 c gsr2 0 SW
L3 e vout 50n
LT1 N002 N001 {10m*n**2}
V6 N006 0 57.5
V1 g1 0 PULSE(0 12 0 1n 1n {0.5*Ts-dt} {Ts})
S1 a vin g1 0 SW
C7 c 0 100p
V7 N007 0 PULSE(0 12 1.5m 2u 2u 50u)
D6 0 d userD
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 3076 3708
WIRE -912 864 -976 864
WIRE -624 864 -912 864
WIRE 288 864 -624 864
WIRE -624 912 -624 864
WIRE -624 912 -720 912
WIRE -560 912 -624 912
WIRE -720 944 -720 912
WIRE -624 944 -624 912
WIRE -560 960 -560 912
WIRE -720 1040 -720 1024
WIRE -624 1040 -624 1008
WIRE -624 1040 -720 1040
WIRE -560 1040 -560 1024
WIRE -560 1040 -624 1040
WIRE -624 1104 -624 1040
WIRE -560 1104 -624 1104
WIRE -400 1104 -560 1104
WIRE -144 1104 -320 1104
WIRE -64 1104 -144 1104
WIRE 96 1104 16 1104
WIRE 288 1104 96 1104
WIRE -624 1168 -624 1104
WIRE -624 1168 -720 1168
WIRE -544 1168 -624 1168
WIRE -720 1200 -720 1168
WIRE -624 1216 -624 1168
WIRE -544 1216 -544 1168
WIRE -144 1232 -144 1104
WIRE -80 1232 -144 1232
WIRE 96 1232 96 1104
WIRE 96 1232 0 1232
WIRE -544 1312 -544 1280
WIRE -544 1312 -624 1312
WIRE -512 1488 -624 1488
WIRE -400 1488 -432 1488
WIRE -128 1488 -320 1488
WIRE 288 1488 160 1488
WIRE -624 1568 -624 1488
WIRE -624 1568 -720 1568
WIRE -544 1568 -624 1568
WIRE 288 1568 288 1488
WIRE 288 1568 192 1568
WIRE 400 1568 288 1568
WIRE -720 1600 -720 1568
WIRE 192 1600 192 1568
WIRE -624 1616 -624 1568
WIRE -544 1616 -544 1568
WIRE 288 1616 288 1568
WIRE 400 1616 400 1568
WIRE -720 1712 -720 1680
WIRE -624 1712 -624 1680
WIRE -624 1712 -720 1712
WIRE -544 1712 -544 1680
WIRE -544 1712 -624 1712
WIRE 192 1712 192 1680
WIRE 288 1712 288 1680
WIRE 288 1712 192 1712
WIRE 400 1712 400 1680
WIRE 400 1712 288 1712
WIRE 288 1728 288 1712
WIRE -624 1744 -624 1712
WIRE 64 1808 -128 1808
WIRE 192 1808 64 1808
WIRE 288 1808 192 1808
WIRE 432 1808 368 1808
WIRE 560 1808 432 1808
WIRE 656 1808 560 1808
WIRE 784 1808 656 1808
WIRE 976 1808 864 1808
WIRE 64 1888 64 1808
WIRE 192 1888 192 1808
WIRE 432 1888 432 1808
WIRE 560 1888 560 1808
WIRE 800 1904 800 1856
WIRE 976 1920 976 1808
WIRE 192 1968 192 1952
WIRE 432 1968 432 1952
WIRE 432 2064 432 2048
WIRE 560 2064 560 1968
WIRE 800 2064 800 1984
WIRE 976 2064 976 2000
SYMBOL cap -560 1616 R0
SYMATTR InstName C6
SYMATTR Value 100p
SYMBOL current 560 1888 R0
WINDOW 3 24 152 Left 2
WINDOW 39 24 116 Left 2
WINDOW 123 0 0 Left 0
SYMATTR Value 18
SYMATTR SpiceLine load
SYMATTR InstName I2
SYMBOL ind2 -416 1504 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 4 56 VBottom 2
SYMATTR InstName T3
SYMATTR Value 10m
SYMATTR SpiceLine Rser=1m
SYMATTR Type ind
SYMBOL sw 192 1696 M180
WINDOW 3 24 -20 Invisible 2
SYMATTR InstName S4
SYMBOL ind 272 1824 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L3
SYMATTR Value 50n
SYMBOL ind2 16 1216 R90
WINDOW 0 4 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName T1
SYMATTR Value {10m*n**2}
SYMATTR Type ind
SYMBOL voltage 976 1904 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 57.5
SYMBOL voltage -1776 928 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 12 0 1n 1n {0.5*Ts-dt} {Ts})
SYMBOL sw -720 1040 M180
WINDOW 3 24 -20 Invisible 2
SYMATTR InstName S1
SYMBOL cap 384 1616 R0
SYMATTR InstName C7
SYMATTR Value 100p
SYMBOL voltage 800 1888 R0
WINDOW 3 24 96 Invisible 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 12 1.5m 2u 2u 50u)
SYMATTR InstName V7
SYMBOL diode -608 1680 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Invisible 2
SYMATTR InstName D6
SYMATTR Value userD
FLAG -560 1104 a
FLAG 288 1728 0
FLAG -624 1744 0
FLAG 656 1808 vout
FLAG -912 864 vin
FLAG 288 1488 c
FLAG -624 1488 d
FLAG -768 1008 0
FLAG -768 960 g1
FLAG -768 1216 g2
FLAG 432 2064 0
FLAG 64 1808 e
FLAG 560 2064 0
FLAG -768 1664 0
FLAG -768 1616 gsr1
FLAG 144 1664 0
FLAG 144 1616 gsr2
FLAG -1776 1024 0
FLAG -1776 944 g1
FLAG -1776 1104 g2
FLAG 848 1856 0
FLAG 976 2064 0
FLAG 800 2064 0