17.8 DESIGN 2: USING d2 = [1 1]t
A point in the DAG p = [i j]t will be mapped by the projection matrix P2 = [1 −1] onto the point
(17.35)
To ensure that the index of the points in is nonnegative, we will add a fixed value m − 1 to all the points. Thus, a point in the dependence graph p = [i j]t will be mapped by the projection matrix P2 = [1 −1] onto the point
(17.36)
The DAG corresponding to the projection matrix P2 is shown in Fig. 17.4. The DAG consists of 2m − 1 nodes.
Although the consists of 2m − 1 nodes, most of them are not active all the time. For example, task T0 and T8 are active for one time step only. T1 and T7 are active for two time steps only. Figure 17.5 show the node activities at the different time steps. In general, we note that Ti and Tm+i are active at nonoverlapping time steps. Therefore, we could map tasks Ti and Tj to Tk if the indices satisfy the equation
(17.37)
Through this artifact, we are able to reduce the number of nodes and ensure that each task is active all the time. The reduced is shown in Fig. 17.6. Notice that signal b(m − 1 − i) is broadcast to all tasks. Notice also that the output of c(i, j) is obtained at the end of the ith time step and is obtained from Tk, where k is given by
(17.38)
At the end of time step i, all outputs c(i, 0), c(i, 1), … c(i, m − 1) are obtained from tasks T0, T1, … Tm−1, respectively.
18.220.178.243