State (computer Science) - 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". It represents all the distilled information about the past that the circuit has access to.

For example, the state of a microprocessor (computer chip) is the contents of all the memory elements; accumulators, storage registers, data caches, and flags, in the processor. 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:  State (computer Science)

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

    Though living is a dreadful thing
    And a dreadful thing is it
    Life the niggard will not thank,
    She will not teach who will not sing,
    And what serves, on the final bank,
    Our logic and our wit?
    Philip Larkin (1922–1986)

    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)

    I was put into jail as I was going to the shoemaker’s to get a shoe which was mended. When I was let out the next morning, I proceeded to finish my errand, and, having put on my mended shoe, joined a huckleberry party, who were impatient to put themselves under my conduct; and in half an hour ... was in the midst of a huckleberry field, on one of our highest hills, two miles off, and then the State was nowhere to be seen.
    Henry David Thoreau (1817–1862)