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 much vaunted male logic isn’t logical, because they display prejudices—against half the human race—that are considered prejudices according to any dictionary definition.
    Eva Figes (b. 1932)

    The Father and His angelic hierarchy
    That made the magnitude and glory there
    Stood in the circuit of a needle’s eye.
    William Butler Yeats (1865–1939)

    The menu was stewed liver and rice, fricassee of bones, and shredded dog biscuit. The dinner was greatly appreciated; the guests ate until they could eat no more, and Elisha Dyer’s dachshund so overtaxed its capacities that it fell unconscious by its plate and had to be carried home.
    —For the State of Rhode Island, U.S. public relief program (1935-1943)