Configuring DRAM with FPGA Memory Items

Use the FPGA memory item interface to use DRAM in the same way that you use block memory and look-up tables (LUT). DRAM memory items appear in the Project Explorer window under the FPGA target. The FPGA memory item interface allows you to partition the physical DRAM banks into multiple memory items. You can create target-scoped or VI-defined memory items.
Note A memory item targets a single DRAM bank. If you only select one memory item, this memory item can be as large as the entire bank. You can use memory items to divide the full DRAM space into smaller memories that you can access independently from different sections of the LabVIEW FPGA code.
Figure 2. DRAM Bank Access Logic Generated by LabVIEW

1378

To configure DRAM with FPGA memory items, complete the following steps.

  1. 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.
      Figure 3. Memory Properties Window

      1378

  2. Configure the memory item in the Memory Properties dialog box. Click OK. The memory item is now populated in the Project Explorer window under the target.
    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.
  3. Use the memory item in an FPGA VI.