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

Creating Memory Items (FPGA Module)

LabVIEW 8.5 FPGA Module Help
August 2007

NI Part Number:
371599C-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-scoped memory items. Target-scoped memory items are available within any FPGA VI under the same target in the Project Explorer window. VI-scoped memory items are available only within the VI in which they reside. If you use a VI-scoped 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-scoped memory item to another user, you do not need to send the LabVIEW project because the VI-scoped 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-scoped 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-scoped memory item, place a VI-Scoped Memory Configuration node on the block diagram, right-click the node, and select Properties 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 Read or Memory Write function 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.

Resources


 

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