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) c17e035

To ensure that the index of the points in c17ue008 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) c17e036

The DAG corresponding to the projection matrix P2 is shown in Fig. 17.4. The DAG consists of 2m − 1 nodes.

Figure 17.4 Task processing workload details at each SPA stage for the left-to-right shift-and-add field multiplication algorithm for m = 5 and d2 = [1 1]t.

c17f004

Although the c17ue004 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) c17e037

Figure 17.5 Task activity for the left-to-right shift-and-add field multiplication algorithm for m = 5 and d2 = [1 1]t.

c17f005

Through this artifact, we are able to reduce the number of nodes and ensure that each task is active all the time. The reduced c17ue005 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) c17e038

Figure 17.6 Task processing workload details at each SPA stage for the left-to-right shift-and-add field multiplication algorithm for m = 5 and d2 = [1 1]t.

c17f006

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.178.243