3SEQUENTIAL LOGIC

Image

The combinatorial logic you learned about in the last chapter “goes with the flow.” In other words, the outputs change in response to the inputs. But we can’t build computers out of combinatorial logic alone, because it doesn’t give us any way to remove something from the flow and remember it. You can’t add up all the numbers from 1 to 100, for example, unless you can keep track of where you are.

You’ll learn about sequential logic in this chapter. The term comes from the word sequence, which means “one thing after another in time.” As a human, you have intuitive knowledge about time, just as you do about counting on your fingers, ...

Get The Secret Life of Programs now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.