|
Example: RapidChannel Intercluster |
Top Previous Next |
|
This example shows how to use the RapidChannel link connected between the two clusters of the Signal Master Quad board.
The example uses two tasks: master and slave connected via two channels going in opposite directions. The tasks are placed on DSP1 and DSP3. A wire of type RCH_INT (RapidChannel Intercluster) is declared between the two DSPs; this explicit wire is needed because the two DSPs are not attached to the same FPGA. The channel connections are configured to be physical to maximize performance by preventing Diamond from using virtual channels on the link. The two channels are placed on the wire to ensure that Diamond use the RapidChannel link to transfer the data.
Another wire of type McBSP is connected between the DSPs. It is used to support I/Os accesses made by DSP3 such as printf().
Note that Diamond has a built-in default firmware already providing these connections between DSPs. When it builds the application it uses this firmware instead of recreating a new bitstream, thus speeding-up the compilation of the application.
The example runs three tests which operate on varying sizes of buffers.
Running the Example Users of the SignalMaster Quad should select the type of board they have as shown here.
You can build the application by typing Ctrl+B and then execute it by clicking run.
Prerequisites You need the following components to be able to run this example:
|