Agilex™ 7 Embedded Memory User Guide

ID 683241
Date 4/15/2025
Public
Document Table of Contents

4.1.4. RAM: 4-PORT FPGA IP Parameters

Table 37.   RAM: 4-PORT FPGA IP Parameters—Widths/ Blk Type Tab
Parameter Legal Values Description
How many words of memory? Specifies the number of bit words.
How wide should the 'q_a' and 'q_b' output bus be? Specifies the width of the input and output ports.
RAM block type
  • Auto
  • M20K
Specifies the memory block type. The types of memory block that are available for selection depends on your target device.
Set the maximum block depth to
  • Auto: Auto, 512, 1024, or 2048
  • M20K: Auto, 512, 1024, or 2048
Specifies the maximum block depth in words.
Table 38.   RAM: 4-PORT FPGA IP Parameters—Clks/Rd, Byte En Tab
Parameter Legal Values Description
Which clocking method do you want to use? Single Specifies the clocking method to use.

Single—A single clock and a clock enable controls all registers of the memory block.

Create 'rden_a' and 'rden_b' read enable signals

Specifies whether to create a read enable signal for ports A and B.
Byte Enable Ports
  • Create byte enable for port A
  • Create byte enable for port B
On/Off Specifies whether to create a byte enable for ports A and B. Turn on these options if you want to mask the input data so that only specific bytes, nibbles, or bits of data are written.

What is the width of a byte for byte enables?

M20K: 5, 8, 9, or 10

Specifies the byte width of the byte enable port. The width of the data input port must be divisible by the byte size.

Table 39.   RAM: 4-PORT FPGA IP Parameters—Regs/Clkens/Aclrs Tab
Parameter Legal Values Description

Input registers

All write input ports On/Off Specifies whether to register the read or write input and output ports.
raddress port
Output registers q_a port
q_b port
Use clock enable for input and output registers. On/Off Specifies whether to turn on the option to create one clock enable signal for the input and output registers.
Read Input Aclrs 'rdaddress' for port A On/Off

Specifies whether to create an asynchronous clear port for the input ports.

  • 'rdaddress' for port A—specifies whether the rdaddress for port A is cleared by the aclr port.
  • 'rdaddress' for port B—specifies whether the rdaddress for port B is cleared by the aclr port.
'rdaddress' for port B
Output Aclrs q_a port On/Off

Specifies whether to create an asynchronous clear port for the output ports.

  • q_a port—Specifies whether the q_a port is cleared by the aclr port.
  • q_b port—Specifies whether the q_b port is cleared by the aclr port.
q_b port
Output Sclrs q_a port On/Off

Specifies whether to create a synchronous clear port for the output ports.

  • q_a port—Specifies whether the q_a port is cleared by the sclr port.
  • q_b port—Specifies whether the q_b port is cleared by the sclr port.
q_b port
Table 40.   RAM: 4-PORT FPGA IP Parameters—Output 1 Tab
Parameter Legal Values Description
How should the q_a and q_b outputs behave when reading a memory location that is being written from the other port?

The output of port A will be 'NEW' while the output of port B will be 'OLD'

Specifies the output behavior when read-during-write occurs.

Table 41.   RAM: 4-PORT FPGA IP Parameters—Output 2 Tab
Parameter Legal Values Description
What should the 'q_a' output be when reading from a memory location being written to? Don't Care

Specifies the output behavior when read-during-write occurs.

What should the 'q_b' output be when reading from a memory location being written to?
Table 42.   RAM: 4-PORT FPGA IP Parameters—Mem Init Tab
Parameter Legal Values Description
Type
  • No, leave it blank
  • Yes, use this file for the memory content data

Specifies the initial content of the memory.

To initialize the memory to zero, select No, leave it blank.

To use a memory initialization file (.mif) or a hexadecimal (Altera-format) file (.hex), select Yes, use this file for the memory content data.

Initialize memory content data to XX..X on power-up simulation On/Off Specifies whether to initialize memory content data to XX..X on power-up in simulation. Memory must be blank to turn on this option.
File name Specify a file name if initial content of the memory is not set to blank. The file must be in .hex or .mif format.
The initial content file should conform to which port's dimensions?
  • PORT_A
  • PORT_B
If you select to use the initial content file for memory content data, select the port the file should conform to.
Implement clock-enable circuitry for use in a partial reconfiguration region On/Off

Specifies whether to implement clock-enable circuitry for use in a partial reconfiguration region.

Table 43.   RAM: 4-PORT FPGA IP Parameters—Performance Optimization Tab
Parameter Legal Values Description
Enable Force-to-Zero On/Off Specifies whether to set the output to zero when you deassert the read enable signal.

Enabling this feature helps improve the glue logic performance when the selected memory depth is larger than a single memory block.

Which timing/power optimization option do you want to use?
  • Auto
  • High Speed 10
  • Low Power
Specifies the timing/power optimization option to use. This option is only applicable when you select M20K memory type on Agilex™ 7 devices.
10 For Agilex™ 7 M-Series, only HIGH_SPEED option is available.