Patent ID: 9627010
Date: 2017-04-18
CPC Classifications: G06F,G11C

Claim:
1. A semiconductor device comprising: a memory device including a memory cell, a drive control circuit, a data control circuit, and first to third power switches; a power supply voltage control circuit; and a power supply voltage generation circuit, wherein the memory cell has a function that data writing and reading are controlled by the drive control circuit, wherein the memory cell has a function of saving and restoring the data to a nonvolatile memory portion by control of the data control circuit, wherein the power supply voltage control circuit has a function of controlling on and off of the first to third power switches, wherein the power supply voltage generation circuit has a function of generating first to third power supply voltages based on a reference voltage, wherein the first power switch has a function of supplying the first power supply voltage from the power supply voltage generation circuit to the memory cell, wherein the second power switch has a function of supplying the second power supply voltage from the power supply voltage generation circuit to the drive control circuit, wherein the third power switch has a function of supplying the third power supply voltage from the power supply voltage generation circuit to the data control circuit, and wherein the power supply voltage control circuit has a function of switching a first state where the first power switch is off, a second state where the first to third power switches are off, and a third state where generation of the first to third power supply voltages is stopped.