A voltage generation circuit comprises a reference voltage generation
circuit; a differential amplifier; an output node; a P-channel MOS
transistor; a first resistor series; a second resistor series; a third
resistor series; and a selection control circuit. A reference voltage
generated by the reference voltage generation circuit is input to a first
input terminal of the differential amplifier. The first resistor series
is connected between a drain of the P-channel MOS transistor and the
output node. The second resistor series is connected between the output
node and a second input terminal of the differential amplifier. The third
resistor array is connected between the second input terminal of the
differential amplifier and a ground. The selection control circuit
controls such that a sum of the resistances of the first resistor series
and the second resistor series is constant.