Patent ID: 8692579

Claim:
A circuit comprising: an arithmetic circuit having a function of performing a logic operation processing based on an input signal, storing a potential corresponding to a result of the logic operation processing as stored data, and outputting a signal with a value corresponding to the stored data as an output signal, the arithmetic circuit includes: an arithmetic portion performing the logic operation processing, a first field-effect transistor controlling whether a potential of the stored data is set at the potential corresponding to the result of the logic operation processing, a second field-effect transistor controlling whether the potential of the stored data is set at a reference potential, and a third field-effect transistor controlling whether the signal with a value corresponding to the stored data is output as the output signal, wherein each of the first and second field-effect transistors, the third field-effect transistor, or each of the first to third field-effect transistors includes an oxide semiconductor layer including a channel formation region, and wherein the oxide semiconductor layer includes a crystal aligned along a c-axis.