* SPICE netlist
D1 A N001 LED
C1 A K 1p
V1 N001 K 0
R2 ta S 100
C2 ta S 200p
B2 S ta I=TABLE(I(V1), 0,0,2.5m,50m,15m, 55m)
C10 A C 0.1p
C11 K S 0.1p
M1 C ga S S NMOS1
C5 C ga 10p
De1 E V Dd1
R6 V E 6k
R7 E S 100k
B4 0 en I=TABLE(V(E,S), 0,0,1.4,0,1.5, 1m)
R4 en 0 1k
R5 V S 1.5k
C6 C S 10p
C4 en 0 10p
B3 S ga I=V(ta,s)*V(en)*10m
R3 ga S 100
C3 ga S 20p

* LTspice schematic (.asc)
Version 4
SHEET 1 1776 656
WIRE -840 -264 -888 -264
WIRE -840 -152 -840 -264
WIRE -840 72 -888 72
WIRE -840 72 -840 -88
WIRE -760 -264 -840 -264
WIRE -760 -152 -760 -264
WIRE -760 -40 -760 -88
WIRE -760 72 -840 72
WIRE -760 72 -760 40
WIRE -696 -264 -760 -264
WIRE -696 72 -760 72
WIRE -456 -56 -456 -104
WIRE -456 72 -632 72
WIRE -456 72 -456 24
WIRE -344 -104 -456 -104
WIRE -344 -56 -344 -104
WIRE -344 72 -456 72
WIRE -344 72 -344 24
WIRE -312 -104 -344 -104
WIRE -264 -104 -312 -104
WIRE -264 -40 -264 -104
WIRE -264 72 -344 72
WIRE -264 72 -264 24
WIRE -120 -56 -120 -104
WIRE -120 72 -264 72
WIRE -120 72 -120 24
WIRE -56 -104 -120 -104
WIRE 8 -104 -56 -104
WIRE 8 -40 8 -104
WIRE 8 72 -120 72
WIRE 8 72 8 40
WIRE 120 -104 8 -104
WIRE 120 -40 120 -104
WIRE 120 72 8 72
WIRE 120 72 120 24
WIRE 184 -264 -632 -264
WIRE 184 -216 184 -264
WIRE 184 -104 120 -104
WIRE 184 -104 184 -152
WIRE 232 200 232 168
WIRE 232 312 232 280
WIRE 232 328 232 312
WIRE 264 -104 184 -104
WIRE 296 168 232 168
WIRE 312 -264 184 -264
WIRE 312 -184 312 -264
WIRE 312 72 120 72
WIRE 312 72 312 -88
WIRE 392 168 296 168
WIRE 392 200 392 168
WIRE 392 312 232 312
WIRE 392 312 392 280
WIRE 440 -264 312 -264
WIRE 440 -264 440 -328
WIRE 440 -136 440 -264
WIRE 440 72 312 72
WIRE 440 72 440 -72
WIRE 504 168 392 168
WIRE 504 200 504 168
WIRE 504 312 392 312
WIRE 504 312 504 264
WIRE 584 -264 584 -328
WIRE 584 -200 584 -264
WIRE 584 72 440 72
WIRE 584 72 584 -120
WIRE 712 -264 584 -264
WIRE 712 -200 712 -264
WIRE 712 -72 712 -120
WIRE 712 -40 712 -72
WIRE 712 72 584 72
WIRE 712 72 712 40
WIRE 840 -264 712 -264
WIRE 840 -184 840 -264
WIRE 840 -72 712 -72
WIRE 840 -72 840 -120
WIRE 888 -72 840 -72
WIRE 888 72 712 72
FLAG -888 -264 A
IOPIN -144 208 In
FLAG -888 72 K
IOPIN -144 544 In
FLAG 888 72 S
IOPIN 1632 544 In
FLAG 440 -328 C
IOPIN 1184 144 In
FLAG 584 -328 V
IOPIN 1328 144 In
FLAG 888 -72 E
IOPIN 1632 400 In
FLAG 232 328 0
FLAG 296 168 en
FLAG -56 -104 ga
FLAG -312 -104 ta
SYMBOL diode -776 -152 R0
SYMATTR InstName D1
SYMATTR Value LED
SYMBOL cap -856 -152 R0
SYMATTR InstName C1
SYMATTR Value 1p
SYMBOL voltage -760 -56 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL res -360 -72 R0
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL cap -280 -40 R0
SYMATTR InstName C2
SYMATTR Value 200p
SYMBOL bi2 -456 -56 R0
SYMATTR Value I=TABLE(I(V1), 0,0,2.5m,50m,15m, 55m)
SYMATTR InstName B2
SYMBOL cap -696 -248 R270
SYMATTR InstName C10
SYMATTR Value 0.1p
SYMBOL cap -696 88 R270
SYMATTR InstName C11
SYMATTR Value 0.1p
SYMBOL nmos 264 -184 R0
SYMATTR InstName M1
SYMATTR Value NMOS1
SYMBOL cap 168 -216 R0
SYMATTR InstName C5
SYMATTR Value 10p
SYMBOL diode 856 -120 R180
SYMATTR InstName De1
SYMATTR Value Dd1
SYMBOL res 696 -216 R0
SYMATTR InstName R6
SYMATTR Value 6k
SYMBOL res 696 -56 R0
SYMATTR InstName R7
SYMATTR Value 100k
SYMBOL bi2 232 200 R0
SYMATTR Value I=TABLE(V(E,S), 0,0,1.4,0,1.5, 1m)
SYMATTR InstName B4
SYMBOL res 376 184 R0
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res 568 -216 R0
SYMATTR InstName R5
SYMATTR Value 1.5k
SYMBOL cap 424 -136 R0
SYMATTR InstName C6
SYMATTR Value 10p
SYMBOL cap 488 200 R0
SYMATTR InstName C4
SYMATTR Value 10p
SYMBOL bi2 -120 -56 R0
SYMATTR Value I=V(ta,s)*V(en)*10m
SYMATTR InstName B3
SYMBOL res -8 -56 R0
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL cap 104 -40 R0
SYMATTR InstName C3
SYMATTR Value 20p