Skip to Content
Computers as Components, 2nd Edition
book

Computers as Components, 2nd Edition

by Marilyn Wolf
July 2008
Intermediate to advanced
544 pages
16h 52m
English
Morgan Kaufmann
Content preview from Computers as Components, 2nd Edition
212 CHAPTER 5 Program Design and Analysis
This code takes advantage of the fact that the state will remain the same unless explicitly
changed; this makes self-loops back to the same state easy to implement. This state machine
may be executed forever in a while (TRUE) loop or periodically called by some other code. In
either case, the code must be executed regularly so that it can check on the current value of
the inputs and, if necessary, go into a new state.
5.1.2 Stream-Oriented Programming and Circular Buffers
The data stream style makes sense for data that comes in regularly and must be
processed on the fly. The FIR filter of Example 2.5 is a classic ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer System Designs: System-on-Chip

Computer System Designs: System-on-Chip

Michael J. Flynn, Wayne Luk
PC Hardware in a Nutshell, 3rd Edition

PC Hardware in a Nutshell, 3rd Edition

Robert Bruce Thompson, Barbara Fritchman Thompson

Publisher Resources

ISBN: 9780123743978