Digital Signal Processing Reference
In-Depth Information
Fig. 13
Firing grid for
processing orders not
following the horizontal raster
scan order. (
a
) Produced
output tokens, (
b
) Firing grid,
(
c
) Data dependency analysis
a
b
c
6.2
Different Processing Orders
The careful reader might have observed that the above reasoning is only valid as long
is not necessarily the case. Solving this problem is possible by performing a grid
point remapping. This means that the schedule is still constructed by traversing the
common grid in raster scan order. However, when computing the data dependencies,
it is taken into account that the actors themselves show a different processing order.
To illustrate the principles, assume that actor
B
of Fig.
8
now generates the output
in a single firing. Hence, an overall number 2
×
3 firings is necessary to generate
the
(
2
,
3
)
3 crosses. It is defined that the firing grid is still traversed in raster
scan order. Consequently, in order to take the correct processing order of actor
B
into account, a mapping between the firing grid points and the actually produced
For instance, the second firing produces the first data element in the second row of
the output array.
between input windows and output tokens. Hence the output token number 2
the second firing of actor
B
reads the lower left sliding input window whose data
With this new dependency analysis, a valid schedule can be derived in the same
discusses the impact of non-overlapping grids. Since all these aspects exceed the
×