Configuring DRAM with FPGA Memory Items
- Updated2025-01-23
- 2 minute(s) read
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.
-
Determine whether you want to create a target-scoped memory item or a
VI-defined memory item.
Option Description Create a target-scoped memory item Right-click the FPGA target in the Project Explorer window and select from the shortcut menu. The Memory Properties dialog box appears. 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. 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. The figure below shows the logic that LabVIEW generates to provide access to a DRAM bank.
-
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.
- Use the memory item in an FPGA VI.