* SPICE netlist
VDD VDD 0 5
MSU3 N007 N007 0 0 N_1u l=10u w=10u
MSU1 VDD Vbias1 vsuref VDD P_1u l=2u w=30u
M3T VDD Vbias1 N001 VDD P_1u l=2u w=30u
M3B N001 Vbias2 N003 VDD P_1u l=2u w=30u
M4T VDD Vbias1 Vbias1 VDD P_1u l=2u w=30u
M4B Vbias1 Vbias2 Vbias2 VDD P_1u l=2u w=30u
M2B N005 N004 N008 0 N_1u l=2u w=10u
M1B N004 N004 P001 0 N_1u l=2u w=10u
R1 N008 N009 52k TC1=0.002
M2T Vbias2 N003 N005 0 N_1u l=2u w=10u
M1T N003 N003 N004 0 N_1u l=2u w=10u
D1 P001 0 PNPDIODE
MSU2 Vbias2 vsuref N003 VDD P_1u l=1u w=10u
MSU4 N006 N006 N007 0 N_1u l=10u w=10u
MSU5 vsuref vsuref N006 0 N_1u l=10u w=10u
D2 N009 0 PNPDIODE 8
M1 VDD Vbias1 N002 VDD P_1u l=2u w=30u
M2 N002 Vbias2 VREF VDD P_1u l=2u w=30u
R2 VREF 0 2.5Meg TC1=0.002
.DC VDD 4 6 1m
.step temp list 0 25 50 75 100

* LTspice schematic (.asc)
Version 4
SHEET 1 1168 736
WIRE -584 -96 -584 -208
WIRE -584 -80 -584 -96
WIRE -584 -32 -584 -80
WIRE -584 288 -584 256
WIRE -536 -208 -536 -224
WIRE -536 -32 -584 -32
WIRE -536 48 -536 -32
WIRE -536 64 -584 64
WIRE -536 144 -536 64
WIRE -536 160 -584 160
WIRE -536 240 -536 160
WIRE -520 -80 -584 -80
WIRE -472 -160 -472 -192
WIRE -392 -336 -392 -368
WIRE -392 -320 -392 -336
WIRE -136 -176 -136 -208
WIRE -136 -64 -472 -64
WIRE -136 -64 -136 -80
WIRE -136 48 -136 32
WIRE -72 -192 -472 -192
WIRE -72 -96 -88 -96
WIRE -72 -96 -72 -192
WIRE -72 -64 -136 -64
WIRE -72 16 -88 16
WIRE -72 16 -72 -64
WIRE -72 48 -136 48
WIRE -72 128 -88 128
WIRE -72 128 -72 48
WIRE -8 -224 -88 -224
WIRE -8 -96 -72 -96
WIRE 56 -224 -8 -224
WIRE 56 -192 56 -224
WIRE 56 -96 -8 -96
WIRE 56 -64 56 -96
WIRE 72 -224 56 -224
WIRE 72 -96 56 -96
WIRE 72 16 -72 16
WIRE 72 128 -72 128
WIRE 120 -192 56 -192
WIRE 120 -192 120 -208
WIRE 120 -176 120 -192
WIRE 120 -64 56 -64
WIRE 120 -64 120 -80
WIRE 120 48 120 32
WIRE 120 208 120 144
WIRE 120 304 120 288
WIRE 392 -224 376 -224
WIRE 392 -96 376 -96
WIRE 440 -176 440 -208
WIRE 440 -32 440 -80
WIRE 440 -16 440 -32
WIRE 440 128 440 64
WIRE 552 -32 440 -32
WIRE 584 -32 552 -32
FLAG -392 -240 0
FLAG -392 -336 VDD
FLAG -584 208 0
FLAG -584 288 0
FLAG -584 -256 VDD
FLAG -584 -304 VDD
FLAG -136 -256 VDD
FLAG -136 -304 VDD
FLAG -136 -128 VDD
FLAG 120 -256 VDD
FLAG 120 -304 VDD
FLAG 120 -128 VDD
FLAG 120 96 0
FLAG -136 96 0
FLAG -136 208 0
FLAG 120 -16 0
FLAG -136 -16 0
FLAG -472 -112 VDD
FLAG -584 112 0
FLAG -584 16 0
FLAG -584 -96 vsuref
FLAG -8 -224 Vbias1
FLAG -536 -208 Vbias1
FLAG 120 368 0
FLAG -8 -96 Vbias2
FLAG 440 -256 VDD
FLAG 440 -304 VDD
FLAG 440 -128 VDD
FLAG 376 -224 Vbias1
FLAG 376 -96 Vbias2
FLAG 440 128 0
FLAG 552 -32 VREF
SYMBOL voltage -392 -336 R0
SYMATTR InstName VDD
SYMATTR Value 5
SYMBOL nmos4 -536 160 M0
SYMATTR Value2 l=10u w=10u
SYMATTR InstName MSU3
SYMATTR Value N_1u
SYMBOL pmos4 -536 -304 M0
SYMATTR InstName MSU1
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL pmos4 -88 -304 M0
SYMATTR InstName M3T
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL pmos4 -88 -176 M0
SYMATTR InstName M3B
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL pmos4 72 -304 R0
SYMATTR InstName M4T
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL pmos4 72 -176 R0
SYMATTR InstName M4B
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL nmos4 72 48 R0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName M2B
SYMATTR Value N_1u
SYMBOL nmos4 -88 48 M0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName M1B
SYMATTR Value N_1u
SYMBOL res 104 192 R0
SYMATTR InstName R1
SYMATTR Value 52k TC1=0.002
SYMBOL nmos4 72 -64 R0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName M2T
SYMATTR Value N_1u
SYMBOL nmos4 -88 -64 M0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName M1T
SYMATTR Value N_1u
SYMBOL diode -152 144 R0
SYMATTR InstName D1
SYMATTR Value PNPDIODE
SYMBOL pmos4 -520 -160 R0
SYMATTR InstName MSU2
SYMATTR Value P_1u
SYMATTR Value2 l=1u w=10u
SYMBOL nmos4 -536 64 M0
SYMATTR Value2 l=10u w=10u
SYMATTR InstName MSU4
SYMATTR Value N_1u
SYMBOL nmos4 -536 -32 M0
SYMATTR Value2 l=10u w=10u
SYMATTR InstName MSU5
SYMATTR Value N_1u
SYMBOL diode 104 304 R0
SYMATTR InstName D2
SYMATTR Value PNPDIODE 8
SYMBOL pmos4 392 -304 R0
SYMATTR InstName M1
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL pmos4 392 -176 R0
SYMATTR InstName M2
SYMATTR Value P_1u
SYMATTR Value2 l=2u w=30u
SYMBOL res 424 -32 R0
SYMATTR InstName R2
SYMATTR Value 2.5MEG TC1=0.002