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

Using FPGA Memory (FPGA Module)

LabVIEW 2009 FPGA Module Help

Edition Date: June 2009

Part Number: 371599E-01

»View Product Info

Use memory items to read from and write to the memory on an FPGA. You can create target-scoped or VI-defined memory items. Target-scoped memory items are available within any FPGA VI under the same target in the Project Explorer window. If you use a VI-defined memory item in a reentrant FPGA VI, LabVIEW creates a separate copy of the memory item for each instance of the VI, which allows you to create reusable subVIs while avoiding resource conflicts.

If you send an FPGA VI with a VI-defined memory item to another user, you do not need to send the LabVIEW project because the VI-defined memory item does not include a corresponding item in the Project Explorer window. If you send an FPGA VI with a target-scoped memory item to another user, you must also send the project. Otherwise, the FPGA VI is broken.

Complete the following steps to create a memory item.

  1. Create a new project or open an existing project.
  2. Add an FPGA target to the project.
  3. Determine whether you want to create a target-scoped memory item or a VI-defined memory item.
    • To create a target-scoped memory item, which you can access in the entire FPGA VI hierarchy, right-click the FPGA target in the Project Explorer window and select New»Memory from the shortcut menu. The Memory Properties dialog box appears.
    • To create a VI-defined memory item, place a VI-defined Memory Configuration node on the block diagram, right-click the node, and select Configure from the shortcut menu. The Memory Properties dialog box appears.
  4. Configure the memory item in the Memory Properties dialog box.
Note  If you use a Memory Method Node in a single-cycle Timed Loop, make sure the corresponding arbitration option is Arbitrate if Multiple Requestors Only or Never Arbitrate.
  1. Use the memory item in an FPGA VI.

 

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