* SPICE netlist
VCC VCC 0 {VCC}
V_IN IN 0 PULSE({V_in+0.6} {VCC-0.6} 0 {rise} {rise} {1/freq/2-rise} {1/freq}) AC 3.3
Q1 _OUT1 N014 N018 0 2N3904
D1 N014 _OUT1 BAT54
Q2 N002 IN N013 0 2N3904
R2 N013 N017 75
R3 N017 0 220
C1 N013 N017 100p
C2 _OUT1 0 100p
Q3 0 IN N009 0 2N3906
R5 N002 N005 220
R6 N005 N009 75
C5 N005 N009 100p
D2 _OUT1 N006 BAT54
Q4 _OUT1 N006 N003 0 2N3906
R7 VCC N002 1m
R1 NC_01 0 1k
I_LOAD _OUT1 0 {Il}
R4 N002 N003 10
R8 N018 0 10
R9 N006 N005 10
R10 N014 N017 10
Q5 OUT N015 N020 0 2N3904
D3 N015 OUT BAT54
Q6 N011 IN N015 0 2N3904
Q7 N019 IN N007 0 2N3906
R11 N001 N007 500
Q8 OUT N007 N004 0 2N3906
D4 OUT N007 BAT54
R12 VCC N001 0.01
R13 N015 0 500
R14 N001 N011 500
R15 N019 0 500
R16 N001 N004 100
R17 N020 0 100
Q9 OUT_simple N016 0 0 2N3904
D5 N016 OUT_simple BAT54
Q10 N012 IN N016 0 2N3904
R18 VCC N008 0.01
R19 N016 0 500
R20 N008 N012 500
R21 N008 OUT_simple 100
C3 OUT_simple 0 50p
Q11 OUT_simple N010 N008 0 2N3906
C4 N010 IN 100p
;.dc V_IN 0 {VCC} 0.01
.param VCC=3.3
.param freq=40Mega
.param rise=1n
.param reps=1
;.step temp -25 125 25
.temp 125
.op
.step param Il -50m 50m 1m
.step param V_in -0.6 2.7 0.1
.param Il 0m
.param V_in 0

* LTspice schematic (.asc)
Version 4.1
SHEET 1 7536 1152
WIRE 824 -560 760 -560
WIRE 1208 -560 904 -560
WIRE 1368 -560 1208 -560
WIRE 1880 -560 1368 -560
WIRE 1368 -544 1368 -560
WIRE 1208 -528 1208 -560
WIRE -1464 -512 -1512 -512
WIRE -1272 -512 -1384 -512
WIRE -1000 -512 -1272 -512
WIRE -568 -512 -1000 -512
WIRE 1880 -512 1880 -560
WIRE -568 -496 -568 -512
WIRE -1000 -464 -1000 -512
WIRE -568 -400 -568 -416
WIRE 1880 -400 1880 -432
WIRE -1000 -352 -1000 -384
WIRE -904 -352 -1000 -352
WIRE -728 -352 -824 -352
WIRE -632 -352 -728 -352
WIRE 1368 -352 1368 -464
WIRE 1720 -352 1368 -352
WIRE 1816 -352 1720 -352
WIRE -1000 -320 -1000 -352
WIRE -1000 -320 -1096 -320
WIRE -1000 -288 -1000 -320
WIRE -1096 -272 -1096 -320
WIRE 1720 -256 1720 -352
WIRE 1784 -256 1720 -256
WIRE 1880 -256 1880 -304
WIRE 1880 -256 1848 -256
WIRE 3128 -256 3064 -256
WIRE 3352 -256 3208 -256
WIRE 3496 -256 3352 -256
WIRE 3592 -256 3496 -256
WIRE -728 -240 -728 -352
WIRE -664 -240 -728 -240
WIRE -568 -240 -568 -304
WIRE -568 -240 -600 -240
WIRE -3768 -224 -3768 -256
WIRE 3352 -224 3352 -256
WIRE 3592 -208 3592 -256
WIRE 1368 -192 1368 -352
WIRE -1096 -176 -1096 -208
WIRE -1000 -176 -1000 -208
WIRE -1000 -176 -1096 -176
WIRE -1000 -144 -1000 -176
WIRE 1304 -144 1064 -144
WIRE 3496 -144 3496 -256
WIRE -3768 -128 -3768 -144
WIRE -1064 -96 -1400 -96
WIRE 3256 -96 3240 -96
WIRE 3432 -96 3320 -96
WIRE 1880 -64 1880 -256
WIRE 1976 -64 1880 -64
WIRE 2040 -64 1976 -64
WIRE 3592 -64 3592 -128
WIRE 3688 -64 3592 -64
WIRE 3768 -64 3688 -64
WIRE -1272 -16 -1272 -512
WIRE 1208 0 1208 -448
WIRE 3352 0 3352 -144
WIRE 3496 16 3496 -48
WIRE 3592 16 3592 -64
WIRE 3592 16 3496 16
WIRE -1624 32 -1816 32
WIRE -1400 32 -1400 -96
WIRE -1400 32 -1624 32
WIRE -1336 32 -1400 32
WIRE -568 48 -568 -240
WIRE -488 48 -568 48
WIRE -424 48 -488 48
WIRE -88 48 -424 48
WIRE 872 48 760 48
WIRE 1064 48 1064 -144
WIRE 1064 48 872 48
WIRE 1144 48 1064 48
WIRE 3176 48 3064 48
WIRE 3240 48 3240 -96
WIRE 3240 48 3176 48
WIRE 3288 48 3240 48
WIRE -1272 112 -1272 80
WIRE -1272 112 -1368 112
WIRE -1272 128 -1272 112
WIRE -1368 144 -1368 112
WIRE 3768 160 3768 -64
WIRE -664 192 -728 192
WIRE -568 192 -568 48
WIRE -568 192 -600 192
WIRE -424 208 -424 48
WIRE -88 208 -88 48
WIRE 1784 208 1720 208
WIRE 1880 208 1880 -64
WIRE 1880 208 1848 208
WIRE 3496 208 3432 208
WIRE 3592 208 3592 16
WIRE 3592 208 3560 208
WIRE -568 240 -568 192
WIRE -1368 256 -1368 208
WIRE -1272 256 -1272 208
WIRE -1272 256 -1368 256
WIRE 1880 256 1880 208
WIRE 3592 256 3592 208
WIRE -1272 288 -1272 256
WIRE -888 288 -1272 288
WIRE -728 288 -728 192
WIRE -728 288 -808 288
WIRE -632 288 -728 288
WIRE 1208 304 1208 96
WIRE 1720 304 1720 208
WIRE 1720 304 1208 304
WIRE 1816 304 1720 304
WIRE 3352 304 3352 96
WIRE 3432 304 3432 208
WIRE 3432 304 3352 304
WIRE 3528 304 3432 304
WIRE -1272 352 -1272 288
WIRE -568 368 -568 336
WIRE 1208 368 1208 304
WIRE 1368 368 1368 -96
WIRE 3352 368 3352 304
WIRE 1880 384 1880 352
WIRE -1272 480 -1272 432
WIRE -1272 480 -1576 480
WIRE -1000 480 -1000 -48
WIRE -1000 480 -1272 480
WIRE -568 480 -568 448
WIRE -568 480 -1000 480
WIRE -424 480 -424 272
WIRE -424 480 -568 480
WIRE -264 480 -264 288
WIRE -264 480 -424 480
WIRE -88 480 -88 288
WIRE -88 480 -264 480
WIRE 952 496 760 496
WIRE 1208 496 1208 448
WIRE 1208 496 952 496
WIRE 1368 496 1368 448
WIRE 1368 496 1208 496
WIRE 1880 496 1880 464
WIRE 1880 496 1368 496
WIRE 2040 496 1880 496
WIRE 3256 496 3064 496
WIRE 3352 496 3352 448
WIRE 3352 496 3256 496
WIRE 3592 496 3592 352
WIRE 3592 496 3352 496
WIRE 3768 496 3768 224
WIRE 3768 496 3592 496
WIRE -1576 528 -1576 480
WIRE 952 576 952 496
WIRE 3256 576 3256 496
FLAG -3768 -128 0
FLAG -2888 -256 IN
FLAG -3768 -256 VCC
FLAG -2968 -256 0
FLAG -1576 528 0
FLAG -1512 -512 VCC
FLAG -488 48 _OUT1
FLAG -1624 32 IN
FLAG 1976 -64 OUT
FLAG 872 48 IN
FLAG 760 -560 VCC
FLAG 952 576 0
FLAG 3688 -64 OUT_simple
FLAG 3176 48 IN
FLAG 3064 -256 VCC
FLAG 3256 576 0
SYMBOL voltage -3768 -240 R0
SYMATTR InstName VCC
SYMATTR Value {VCC}
SYMBOL voltage -2872 -256 R90
SYMATTR Value2 AC 3.3
SYMATTR InstName V_IN
SYMATTR Value PULSE({V_in+0.6} {VCC-0.6} 0 {rise} {rise} {1/freq/2-rise} {1/freq})
SYMBOL npn -632 240 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL schottky -664 208 R270
SYMATTR InstName D1
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn -1336 -16 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res -1288 112 R0
SYMATTR InstName R2
SYMATTR Value 75
SYMBOL res -1288 336 R0
SYMATTR InstName R3
SYMATTR Value 220
SYMBOL cap -1384 144 R0
SYMATTR InstName C1
SYMATTR Value 100p
SYMBOL cap -440 208 R0
SYMATTR InstName C2
SYMATTR Value 100p
SYMBOL pnp -1064 -48 M180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL res -1016 -480 R0
SYMATTR InstName R5
SYMATTR Value 220
SYMBOL res -1016 -304 R0
SYMATTR InstName R6
SYMATTR Value 75
SYMBOL cap -1112 -272 R0
SYMATTR InstName C5
SYMATTR Value 100p
SYMBOL schottky -600 -256 R90
SYMATTR InstName D2
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pnp -632 -304 M180
SYMATTR InstName Q4
SYMATTR Value 2N3906
SYMBOL res -1480 -496 R270
SYMATTR InstName R7
SYMATTR Value 1m
SYMBOL res -280 192 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL current -88 208 R0
SYMATTR InstName I_LOAD
SYMATTR Value {Il}
SYMBOL res -584 -512 R0
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL res -584 352 R0
SYMATTR InstName R8
SYMATTR Value 10
SYMBOL res -808 -368 R90
SYMATTR InstName R9
SYMATTR Value 10
SYMBOL res -792 272 R90
SYMATTR InstName R10
SYMATTR Value 10
SYMBOL npn 1816 256 R0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL schottky 1784 224 R270
SYMATTR InstName D3
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 1144 0 R0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL pnp 1304 -96 M180
SYMATTR InstName Q7
SYMATTR Value 2N3906
SYMBOL res 1352 -560 R0
SYMATTR InstName R11
SYMATTR Value 500
SYMBOL pnp 1816 -304 M180
SYMATTR InstName Q8
SYMATTR Value 2N3906
SYMBOL schottky 1848 -240 M270
SYMATTR InstName D4
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 808 -576 M90
SYMATTR InstName R12
SYMATTR Value 0.01
SYMBOL res 1192 352 R0
SYMATTR InstName R13
SYMATTR Value 500
SYMBOL res 1192 -544 R0
SYMATTR InstName R14
SYMATTR Value 500
SYMBOL res 1352 352 R0
SYMATTR InstName R15
SYMATTR Value 500
SYMBOL res 1864 -528 R0
SYMATTR InstName R16
SYMATTR Value 100
SYMBOL res 1864 368 R0
SYMATTR InstName R17
SYMATTR Value 100
SYMBOL npn 3528 256 R0
SYMATTR InstName Q9
SYMATTR Value 2N3904
SYMBOL schottky 3496 224 R270
SYMATTR InstName D5
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 3288 0 R0
SYMATTR InstName Q10
SYMATTR Value 2N3904
SYMBOL res 3112 -272 M90
SYMATTR InstName R18
SYMATTR Value 0.01
SYMBOL res 3336 352 R0
SYMATTR InstName R19
SYMATTR Value 500
SYMBOL res 3336 -240 R0
SYMATTR InstName R20
SYMATTR Value 500
SYMBOL res 3576 -224 R0
SYMATTR InstName R21
SYMATTR Value 100
SYMBOL cap 3752 160 R0
SYMATTR InstName C3
SYMATTR Value 50p
SYMBOL pnp 3432 -48 M180
SYMATTR InstName Q11
SYMATTR Value 2N3906
SYMBOL cap 3320 -112 R90
SYMATTR InstName C4
SYMATTR Value 100p