Introduction to FPGA Resources

Every FPGA has a set number of programmable logic, routing, I/O, and memory resources. LabVIEW uses these resources to implement code on the FPGA.

The programmable resources on an FPGA repeat at regular intervals, which allows for short paths between the resources. Short paths between resources reduce the minimum execution time required by code running on the FPGA target. The repeating resources on an FPGA also allow multiple concurrent processes to run on the same device at the same time, while minimizing resource conflicts. The following illustration shows a simplified example of programmable resources on an FPGA.

I/O resources—Analog and digital inputs and outputs that connect the FPGA to external signals.

An FPGA must receive configuration instructions before it can perform any computation. LabVIEW generates configuration instructions for the FPGA using a set of tools called the compiler. When you compile your application in LabVIEW, the compiler translates your code into the FPGA circuit. The compiler arranges the programmable resources on the FPGA to create a circuit that:

Receives inputs from the I/O blocks.

Processes the inputs using CLBs.

Passes the processed inputs back to the I/O blocks as outputs.

The compiler uses different combinations of available FPGA resources to implement the same LabVIEW code depending on the performance requirements you set and the resources available on your FPGA.