Patent ID: 6927621

Claim:
A voltage generator comprising: a voltage level detection circuit; and a voltage generator circuit that raises a level of an output voltage when a voltage level detection signal output from the voltage level detection circuit is at a first logical level and that lowers the level of the output voltage when the voltage level detection signal is at a second logical level, wherein the voltage level detection circuit comprises a logical level decision circuit that decides a logical level of the voltage level detection signal in response to a potential of a detection node, a first current mirror circuit connected to a first potential source, the detection node and the voltage generator circuit, wherein the first current mirror circuit includes a first transistor having a first terminal connected to the first potential source, a second terminal, and a control terminal, and includes a second transistor having a first terminal connected to the detection node, a second terminal at which a predetermined level that is changed according to the level of the output voltage is applied, and a control terminal connected to the control terminal of the first transistor, and a second current mirror circuit connected to a second potential source, the detection node and the first current mirror circuit.