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 American Constitution, one of the few modern political documents drawn up by men who were forced by the sternest circumstances to think out what they really had to face instead of chopping logic in a university classroom.
    George Bernard Shaw (1856–1950)

    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)

    The nonconformist and the rebel say all manner of unanswerable things against the existing republic, but discover to our sense no plan of house or state of their own.
    Ralph Waldo Emerson (1803–1882)