Semiconductor device and method for driving the same
First Claim
1. A semiconductor device comprising:
- a first portion configured to read an instruction; and
a second portion configured to perform an operation in accordance with the instruction,wherein the first portion comprises;
a flip-flop configured to read and hold the instruction;
a memory configured to receive the instruction from the flip-flop, and transmit the instruction to the flip-flop; and
a third portion configured to correct the instruction held in the memory or the instruction transmitted from the memory to the flip-flop in accordance with the operation performed by the second portion while the instruction is held in the memory, andwherein reception and transmission of the instruction between the flip-flop and the memory are controlled with a signal output by the second portion.
2 Assignments
0 Petitions
Accused Products
Abstract
In a semiconductor device performing pipeline processing with the use of a reading portion reading an instruction and an arithmetic portion performing an operation in accordance with the instruction, the instruction held in the reading portion is transmitted from the flip-flop to the memory when branch prediction turns out to be wrong. Note that the arithmetic portion controls transmission and reception of the instruction between the flip-flop and the memory which are included in the reading portion. This enables elimination of redundant operations in the reading portion in the case where an instruction read by the reading portion after the branch prediction turns out to be wrong is a subroutine, or the like. That is, the instruction held in the memory is transmitted back to the flip-flop without rereading of the same instruction by the reading portion, whereby the instruction can be output to the arithmetic portion.
108 Citations
6 Claims
-
1. A semiconductor device comprising:
-
a first portion configured to read an instruction; and a second portion configured to perform an operation in accordance with the instruction, wherein the first portion comprises; a flip-flop configured to read and hold the instruction; a memory configured to receive the instruction from the flip-flop, and transmit the instruction to the flip-flop; and a third portion configured to correct the instruction held in the memory or the instruction transmitted from the memory to the flip-flop in accordance with the operation performed by the second portion while the instruction is held in the memory, and wherein reception and transmission of the instruction between the flip-flop and the memory are controlled with a signal output by the second portion. - View Dependent Claims (2, 3)
-
-
4. A semiconductor device comprising:
-
a first portion configured to read an instruction; and a second portion configured to perform an operation in accordance with the instruction, wherein the first portion comprises; a flip-flop configured to read and hold the instruction; and a memory configured to receive the instruction from the flip-flop, and transmit the instruction to the flip-flop, wherein reception and transmission of the instruction between the flip-flop and the memory are controlled with a signal output by the second portion, wherein the memory comprises; a first transistor in which a channel is formed in an oxide semiconductor; a first capacitor; a second transistor; and a second capacitor, wherein one of a source and a drain of the first transistor is electrically connected to the flip-flop, wherein the other of the source and the drain of the first transistor is electrically connected to one of electrodes of the first capacitor, wherein a gate of the first transistor is electrically connected to the second portion, wherein one of a source and a drain of the second transistor is electrically connected to the flip-flop, wherein the other of the source and the drain of the second transistor is electrically connected to one of electrodes of the second capacitor, and wherein a gate of the second transistor is electrically connected to a power supply. - View Dependent Claims (5, 6)
-
Specification