Personal tools
User menu

Multi-Square Application

Jump to: navigation, search

The multi-square application is an extension of the producer-consumer application. The difference is that an iterator is used to generate multiple copies of the square process and FIFO channels connected in between. In this case, the square process is iterated three times, while the entire copies implement the same functionality, i.e., the C source code is the same for all square processes.

Application2.png

The task graph has five processes and four FIFO channels. The generator and consumer processes are the same as those in the producer-consumer application. The set of square_X processes is generated using a one-dimensional iterator, which iterates three times. The channels, which connect these iterated processes, are also generated using an iterator. The iteration bounds are defined by the variable N which is set to 3.

!!! Dieses Dokument stammt aus dem ETH Web-Archiv und wird nicht mehr gepflegt !!!
!!! This document is stored in the ETH Web archive and is no longer maintained !!!