Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Running an FPGA VI with an FPGA Target Emulator (FPGA Module)

LabVIEW FPGA Module 8.2 Help
August 2006

NI Part Number:
371599B-01

»View Product Info

Compiling an FPGA VI can take minutes to hours. You can test the logic of an FPGA VI before compiling it by running the FPGA VI on an FPGA target emulator. When you run an FPGA VI with an emulator, the FPGA VI runs on the development computer, and LabVIEW generates random data for the inputs or downloads a pre-compiled emulation VI to the FPGA target to provide I/O. If you use I/O from the FPGA target, LabVIEW communicates with the emulation VI on the FPGA target while both VIs run.

Note  You must have support for an FPGA target installed to use an emulator. The availability of the emulator varies by FPGA target. Refer to the specific FPGA target hardware documentation for information about emulator support.

Complete the following steps to use an emulator to test an FPGA VI.

  1. Create a new project or open an existing project.
  2. Add an FPGA target to the project.
  3. Create a new VI or open an existing VI under the FPGA target.
  4. Right-click the FPGA target in the Project Explorer window and select Properties from the shortcut menu. The FPGA Target Properties dialog box appears.
  5. Select General in the Category list in the FPGA Target Properties dialog box.
  6. Select an emulation option from the Emulator pull-down menu.
  7. Click the OK button.
  8. Click the Run button.

You can use all traditional LabVIEW debugging techniques, such as probes, execution highlighting, breakpoints, and single-stepping. You cannot test certain behavior, such as timing and determinism, with an emulator because the FPGA VI runs on the host computer instead of the FPGA.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit