Chap02 2
Chap02 2
1
A Dataflow Architecture - 3 Demand-Driven Mechanisms
An I-structure in each PE is provided to eliminate Data-driven machines select instructions for execution
excessive copying of data structures. based on the availability of their operands; this is
essentially a bottom-up approach.
Each word of the I-structure has a two-bit tag Demand-driven machines take a top-down approach,
indicating whether the value is empty, full, or has attempting to execute the instruction (a demander ) that
pending read requests. yields the final result. This triggers the execution of
This is a retreat from the pure dataflow approach. instructions that yield its operands, and so forth.
The demand-driven approach matches naturally with
Example 2.6 shows a control flow and dataflow
functional programming languages (e.g. LISP and
comparison. SCHEME).
Special compiler technology needed for dataflow
machines.