Program State - Digital Logic Circuit State

Digital Logic Circuit State

Digital logic circuits can be divided into two types: combinational logic, whose output signals are dependent only on its present input signals, and sequential logic, whose outputs are a function of both the current inputs and the past history of inputs. In sequential logic, information from past inputs is stored in electronic memory elements, such as flip-flops and latches. The stored contents of these memory elements, at a given point in time, is collectively referred to as the circuit's "state" and contains all the information about the past to which the circuit has access.

For example, the state of a microprocessor (computer chip) is the contents of all the memory elements in it: the accumulators, storage registers, data caches, and flags. When computers such as laptops go into a "hibernation" mode to save energy by shutting down the processor, the state of the processor is stored on the computer's disk, so it can be restored when the computer comes out of hibernation, and the processor can take up operations where it left off.

Read more about this topic:  Program State

Famous quotes containing the words logic, circuit and/or state:

    The logic of worldly success rests on a fallacy: the strange error that our perfection depends on the thoughts and opinions and applause of other men! A weird life it is, indeed, to be living always in somebody else’s imagination, as if that were the only place in which one could at last become real!
    Thomas Merton (1915–1968)

    each new victim treads unfalteringly
    The never altered circuit of his fate,
    Bringing twelve peers as witness
    Both to his starry rise and starry fall.
    Robert Graves (1895–1985)

    Courts of law, and all the paraphernalia and folly of law ... cannot be found in a rational state of society.
    Robert Owen (1771–1858)