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
220 CHAPTER 5 Program Design and Analysis
C code
CDFG
F
T
while (a < b) {
a5 proc1(a,b);
b5 proc2(a,b);
}
a < b
a 5 proc1(a,b);
b 5 proc2(a,b);
FIGURE 5.7
CDFG for a while loop.
We can define a state variable that represents a program counter in a CPU. (When
studying a drawing of a CDFG,a finger works well for keeping track of the program
counter state.) As we execute the program, we either execute the data flow node
or compute the decision in the decision node and follow the appropriate edge,
depending on the type of node the program counter points on. Even though the
data flow nodes may specify only a partial ordering on the data flow computations,
the CDFG is
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