Skip navigation

Community

Currently Being Moderated

Simple DMA FIFO Example for FPGA

VERSION 8  Click to view document history
Created on: Mar 1, 2010 6:57 PM by Hueter - Last Modified:  Feb 19, 2013 3:21 PM by ColdenR

Overview

This example shows the simple functionality of a DMA FIFO used to send data to and from an FPGA target.

 

Introduction

This project is configured to work with a PCI 7831R on a Windows computer, but this same code will work on any FPGA target and a Windows or a Real-Time Host.This example simply generates random data and sends it down to the FPGA using a Host to Target scoped FIFO. The FPGA then sends it right back up to the Host VI using a Target to Host scoped FIFO. In a real application you would want to process data in between, or just use one FIFO for input OR output.

 

For more general info on using DMA FIFO's check out this tutorial: Using DMA FIFO to Develop High-Speed Data Acquistion Applications for Reconfigurable I/O Devices

 

Simple FIFO Project Window.png

SImple FIFO Windows Host.png

Simple FIFO FPGA VI.png

 

Steps to Implement or Execute Code

1. Open the attached project

2. Add your FPGA target to the project

3. Copy/Move all the items from the existing FPGA target to the target in step 2.

4. If you've added a RT Host target Copy/Move all the items from the existing Host to the new Host target.

 

Requirements

Software

LabVIEW 2009 or later

LabVIEW FPGA Module

 

Hardware

Any NI FPGA target

 

Additional Notes

You will need to recompile this VI for different Targets.

 

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**

Attachments:
Comments (5)