|
Example: Fastbus |
Top Previous Next |
|
This example shows how to use the FastBus link to exchange data between DSPs attached to the same FPGA.
The example uses two tasks: master and slave connected by two channels going in opposite directions. The tasks are placed on DSP1 and DSP3. Channel connections are configured to be physical to maximize performance by preventing Diamond from using virtual channels on the link.
There is no need to create any wire in this case; since both DSPs are attached to the same FPGA, Diamond can automatically create the FastBus connection to support our channels. Note that Diamond has a built-in default firmware already providing connections between DSPs. When it builds the application it uses this firmware instead of recreating a new bitstream, thus speeding-up compilation.
The example runs three tests with varying buffer sizes.
Running the Example 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:
|