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

Debugging Techniques for FPGA VIs (FPGA Module)

LabVIEW FPGA Module 8.2 Help
August 2006

NI Part Number:
371599B-01

»View Product Info

If an FPGA VI is not broken, but you get unexpected data, you can use the following techniques to identify and correct problems with the FPGA VI or the block diagram data flow:

Note  Some FPGA targets do not support the use of an FPGA target emulator. Refer to the specific FPGA hardware documentation for more information.
  • Add indicators to the FPGA VI block diagram to monitor the internal state of the FPGA VI. Use indicators instead of probes. Place indicators anywhere on the block diagram where you need to see data to verify the functionality of the VI.
  • Add I/O to the FPGA VI block diagram. If you have unused I/O resources on the FPGA target, you can use the unused resources to monitor the internal state of Boolean logic, triggers, and so on.
  • Run the FPGA VI with an FPGA target emulator. 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 in Windows on the development computer instead of the FPGA. The availability of an FPGA target emulator varies by target. Refer to the specific FPGA target hardware documentation for more information about emulator availability.

Resources


 

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