Claims
- 1. A state machine comprising:
a memory storing a plurality of words representative of states of the state machine, each word having a plurality of bits, a word from the memory being supplied in response to a selection signal, the memory connected to receive a first clock signal; a first plurality of external input terminals for receiving information from an external circuit; a control circuit having a plurality of input terminals, at least some of which are coupled to the external input terminals to receive the information therefrom, the control circuit supplying a first output signal; a selection circuit connected to receive the first output signal from the control circuit and in response provide the selection signal selecting one of the words in the programmable memory; a clock circuit connected to receive the first output signal, the clock circuit disabling the first clock signal when the selection signal selecting one of the words in the programmable memory has selected the same word as in an immediately previous selection.
- 2. A state machine as in claim 1 wherein:
the memory is also connected to supply some of the bits of each word selected to the selection circuit; and the control signal determines whether the selection circuit selects either (1) the same word that it selected in the immediately previous selection, or (2) whether to use the bits from the memory as a next address for a word in the memory.
- 3. A state machine as in claim 2 wherein the memory supplies bits to provide a first address and a second address to the selection circuit, and the selection circuit selects one of (1) the same word that it selected in the immediately previous selection, or (2) one of the first address and the second address.
- 4. A state machine as in claim 1 wherein the control circuit and the selection circuit are each connected to receive a second clock signal which is not controlled by the clock circuit.
- 5. A state machine as in claim 1 wherein the memory further comprises a register which stores a word from the memory which has been most recently supplied in response to the address signal.
- 6. A state machine comprising:
a programmable memory storing a plurality of words, each word having a plurality of bits, a word from the memory being supplied in response to an address signal, the memory being coupled to operate in response to a first clock signal; a selection circuit coupled to receive a last address signal representing a last word selected in the memory and connected to receive at least first and second address signals from the programmable memory, and coupled to receive signals from an external circuit, the selection circuit selecting one of the last address, the first address or the second address in response to the signals from the external circuit, the selection circuit being coupled to operate in response to a second clock signal; and a clock circuit coupled to the selection circuit for detecting when the signal selecting one of the words in the programmable memory changes, the clock circuit disabling the first clock signal when the signal selecting one of the words in the programmable memory remains unchanged from a previous state, and enabling the first clock signal when the signal selecting one of the words in the programmable memory changes to a new state
- 7. A state machine comprising:
a programmable memory storing a plurality of words, each word having a plurality of bits, a word from the memory being supplied in response to an address signal, the memory being coupled to operate in response to a first clock signal; a register coupled to the memory for storing a word last provided from the memory; a selection circuit coupled to receive a last address signal representing a last word selected in the memory and connected to receive at least first and second address signals from the programmable memory, the selection circuit being coupled to operate in response to a second clock signal and in response to a selection signal; a control circuit coupled to receive signals from an external circuit, the control circuit providing the selection signal which selects one of the last address, the first address or the second address in response to the signals from the external circuit, the control circuit being coupled to operate in response to a second clock signal; and a clock circuit coupled to the control circuit to receive the selection signal and detect when the selection signal selecting one of the words in the programmable memory changes, the clock circuit disabling the first clock signal when the selection signal selecting one of the words in the programmable memory remains unchanged from a previous state, and enabling the first clock signal when the selection signal selecting one of the words in the programmable memory changes to a new state.
- 8. A state machine comprising:
a memory storing a plurality of words representative of states of the state machine, each word having a plurality of bits, a word from the memory being supplied in response to a selection signal, the memory connected to receive a first clock signal, at least one bit in each word indicative of whether a next word to be addressed is a same word as has previously been addressed, or is a different word; a first plurality of external input terminals for receiving information from an external circuit; a control circuit having a plurality of input terminals, at least some of which are coupled to the external input terminals to receive the information therefrom, the control circuit supplying a first output signal; and a clock circuit connected to receive the first output signal and connected to receive a signal representative of the at least one bit indicative of whether a next word to be addressed is the same word or a different word, the clock circuit disabling the first clock signal when the at least one bit indicates that the same word is to be selected.
- 9. A state machine as in claim 8 wherein:
the memory is also connected to supply some of the bits of each word selected to the selection circuit; and the control signal determines whether the selection circuit selects either (1) the same word that it selected in the immediately previous selection, or (2) whether to use the bits from the memory as a next address for a word in the memory.
- 10. A state machine as in claim 2 wherein the memory supplies bits to provide a first address and a second address to the selection circuit, and the selection circuit selects one of (1) the same word that it selected in the immediately previous selection, or (2) one of the first address and the second address.
- 11. A state machine as in claim 1 wherein the memory further comprises a register which stores a word from the memory which has been most recently supplied in response to the address signal.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This is a continuation-in-part of “General Purpose State Machine,” U.S. patent application Ser. No. 10/056,326, filed Jan. 23, 2002.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10056326 |
Jan 2002 |
US |
Child |
10284623 |
Oct 2002 |
US |