Passing Data between Component-Level IP and VIs (FPGA Module)

LabVIEW 2017 FPGA Module Help

Edition Date: March 2017

Part Number: 371599N-01

»View Product Info
Download Help (Windows Only)

When you add CLIP to a LabVIEW project, the FPGA Module adds the CLIP I/O to the LabVIEW project. You can read from or write to the I/O using an FPGA I/O Node in an FPGA VI.

By default, CLIP signals use synchronization registers. Each synchronization register adds a delay of a clock cycle before the VHDL code receives the value from the FPGA I/O Node. If the CLIP already includes flip-flops on the signals that go to or from the FPGA VI, you can configure the CLIP signals in LabVIEW to not use synchronization registers. In the Advanced Code Generation page of the FPGA I/O Properties dialog box, set the Number of Synchronizing Registers for Output Data and Number of Synchronizing Registers for Output Enable parameters to 0. If the CLIP runs in the same clock domain as the FPGA VI, you do not need to include flip-flops in the CLIP or synchronization registers in LabVIEW.

When you run the FPGA VI, the FPGA Module compiles the FPGA VI and all instantiated CLIP into the FPGA bitstream.

Refer to the CLIP Tutorial, Part 4: Passing Data between CLIP and VIs for an example of passing data between CLIP and VIs.


Not Helpful