1.2.7. Installing the DMA Test Driver and Running the Linux DMA Software
- In a terminal window on computer 1, change to the DMA driver directory and extract AN829_driver.tar by typing the following commands:
cd % <install_dir>/<device>/_PCIe<GenxN>DMA_<QuartusVer>_project/driver % tar -xvf AN829_driver.tar
- To install the Linux driver for the appropriate device family, type the command:
% sudo./install <device_family>Valid values for <device_family> are arria10, cyclone10, and stratix10.
- To run the DMA application, type the following command:
The application prints the commands available to specify the DMA traffic. By default, the software enables DMA reads, DMA writes, and Simultaneous DMA reads and writes. The following table lists the available commands:
Table 11. DMA Test Commands Command Number Function 1 Start the DMA. 2 Enable or disable read DMA. 3 Enable or disable write DMA. 4 Enable or disable simultaneous read and write DMA. 5 Set the number of dwords per descriptor. The legal range is 256-4096 dwords. 6 Set the number of descriptors. The legal range is 1-127 descriptors. 7 By default, the reference design selects on-chip memory. If select this command consecutive runs switch between on-chip and external memory. 8 Run a the DMA in a continuous loop. 10 Exit
For example, type the following commands to specify 4096 dwords per descriptor and 127 descriptors:
% 5 4096 % 6 127 % 8The following figures show the throughput for DMA reads, DMA writes, and simultaneous DMA reads and writes:Figure 8. Intel® Arria® 10 DMA ThroughputFigure 9. Intel® Cyclone® 10 GX DMA ThroughputFigure 10. Intel® Stratix® 10 DMA Throughput
Did you find the information on this page useful?