0% found this document useful (0 votes)
37 views

FPGA Lesson 1 (Creating)

This document provides an overview of creating and running FPGA VIs on the PXI-7831R device using LabVIEW. It discusses developing FPGA VIs locally or remotely, compiling using a compile server, downloading the bit file to the FPGA, and running in interactive or emulation mode. Exercises are included to create a simple addition VI and run it in both interactive and emulation mode to debug.

Uploaded by

s_subbulakshmi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

FPGA Lesson 1 (Creating)

This document provides an overview of creating and running FPGA VIs on the PXI-7831R device using LabVIEW. It discusses developing FPGA VIs locally or remotely, compiling using a compile server, downloading the bit file to the FPGA, and running in interactive or emulation mode. Exercises are included to create a simple addition VI and run it in both interactive and emulation mode to debug.

Uploaded by

s_subbulakshmi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 14

LabVIEW FPGA and the PXI-7831R Training

Lesson 1 Create FPGA VI, Interactive Mode, Emulation Mode


Chad Evans Applications Engineer

FPGA VI Development (Local Device)

Windows OS LabVIEW FPGA Module FPGA VI FPGA Functions VISA*

*Hidden from user Used for communication (discussed later)

PXI-7831R

FPGA VI Development (Remote Device)


Windows OS LabVIEW FPGA Module FPGA VI FPGA Functions VISA
Permissions

must be set

VISA Server

VISA
Remote OS (RT)

PXI-7831R

Compile Server
Compiles VIs for FPGA LabVIEW is the client
Can disconnect and reconnect

Compile Server

Compile for FPGA


Initiated by Run button or Tools>>Build for FPGA
Windows OS LabVIEW (PXI-7831R)

FPGA VI
Bit File Embedded

(1) Intermediate Files (2) Bit File

Compile Server

Download
Windows OS LabVIEW FPGA Module FPGA VI Bit File Embedded

Occurs automatically after a compile initiated by the run button


PXI-7831R FPGA VI (actually the bit file)

Download

Each

Bit File has a unique signature *Downloads over VISA Server for remote devices

Interactive Mode
Windows OS LabVIEW FPGA Module FPGA VI (Front Panel)

Interact with VI on FPGA through Front Panel No Debugging


The diagram is running in the FPGA
PXI-7831R FPGA VI (running)

Note: Communicates over VISA Server for remote devices

Emulation Mode

Software Emulation
No Hardware Timing I/O performed by device

Windows OS LabVIEW FPGA Module FPGA VI

Debugging possible
Check logic before compile PXI-7831R Emulation

Note: Communicates over VISA Server for remote devices

Communication from Host to FPGA Device


Performed through the Controls and Indicators of the FPGA VI
Definition: Host whatever will be controlling the FPGA device

Exercise 1.1
Create a VI which adds two numbers. Run (Automatically Compiles and Downloads) the VI in interactive mode.

Exercise 1.2
Run add.vi in emulation mode and use debugging tools.

Other Debugging Methods


Add indicators

Lesson 1 Summary
Use Emulation Mode to debug logic before compiling Client-Server architecture for compiles Compile for FPGA before downloading Use Interactive Mode for further verification

You might also like