UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 19837

XtremeDSP Development Kit - How do I do a DMA read or write from the FUSE GUI?

Description

General Description:

How do I do a DMA read or write from the FUSE GUI?

Solution

This is based on the NUE_PING Application Note provided with the XtremeDSP Development Kit.

If at any time after the FPGAs have been configured, you miss one of the steps, or accidently repeat a step, check the FPGA Reset and the System Reset and return to Step 7 to ensure that the card has been properly reset.

Programing the FPGAs

1. Open the FUSE GUI and detect the XtremeDSP Development Kit.

2. Under the RESET tab, check both the System Reset and the FPGA Reset.

3. Under the Oscillator Frequencies tab, set the DSP Clock to 40000 KHz.

4. Expand the Nallatech BenADDA card from the detected card list.

5. Right-click the 2v80 Clock FPGA and Select Assign and Configure. This will give you a dialog box so that you can point at the BIT file. This is located under the NUE_PING Application note. To ensure that you have the correct BIT file, look in the DimeScript folder for the FPGA on your XtremeDSP Kit (usually a XC2v2000 or XC2v3000 FG676).

6. Right-click the 2v2000 or 2v3000 USER FPGA and Select Assign and Configure. This will give you a dialog box so that you can point at the BIT file. This is located under the NUE_PING Application note. To ensure that you have the correct BIT file, look in the DimeScript folder for the FPGA on your XtremeDSP Kit (usually a XC2v2000 or XC2v3000 FG676).

7. Press the PCI Interface Reset button under the Resets tab.

8. Release the Resets on the XtremeDSP Kit, by unchecking the FPGA Reset followed by the System Reset.

Writing Data

9. In the box next to the Current Address button, type 0x00000001.

10. Click the Current Address button (not double-click).

11. Write the number of words (in hex) that you want to transfer, in the Data0 box, under the Write column. For this example, we will be transferring 16 words (0x00000010). To edit the box, you must double-click it.

12. Click the Write Data button (not double-click).

13. In the box next to the Current Address button, type 0x00000000.

14. Click the Current Address button (not double-click).

15. Type 1 (0x00000001) in the Data0 box under the Write column.

16. Click the Write Data button (not double-click).

17. Click the Linear Sequence button; this will change the data under the Write column to a linear sequence (in hex).

18. Type 16 in the box next to the Words to Transfer.

19. Click the Write Data button (not double-click).

Reading Data

20. In the box next to the Current Address button, type 0x00000001.

21. Click the Current Address button (not double-click).

22. Write the number of words (in hex) that you want to transfer, in the Data0 box, under the Write column. For this example we will be transferring 16 words (0x00000010). To edit the box, you must double-click it.

23. Type 1 in the box next to the Words to Transfer.

24. Click the Write Data button (not double-click).

25. In the box next to the Current Address button, type 0x00000000.

26. Click the Current Address button (not double-click).

27. Type 3 (0x00000003) in the Data0 box under the Write column.

28. Click the Write Data button (not double-click). At this point, you should see the FPGA Read FIFO change to Full under the FIFOs tab.

29. Type 16 in the box next to the Words to Transfer.

30. Click the Read Data button (not double-click). You should see that the Read column in the data section now contains the linear sequence which we wrote in the FPGA earlier. Also, you should see the FPGA Read FIFO change to Empty under the FIFOs tab.

31. In the box next to the Current Address button, type 0x00000000.

32. Click the Current Address button (not double-click).

33. Type 0 (0x00000000) in the Data0 box under the Write column.

34. Type 1 in the box next to the Words to Transfer.

35. Click the Write Data button (not double-click).

If you want to write more data into the FPGA, you must return to Step 9.

AR# 19837
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article