Altera RAM Initializer User Manual
Page 36

3–4
Confidential—Internal Use Only
Altera Corporation
RAM Initializer (ALTMEM_INIT) Megafunction User Guide
May 2008
Ports and Parameters
NUMWORDS
Integer
Yes
Number of words stored in the ROM and the RAM.
ROM_READ_LATENCY
Integer
No
Specifies the number of cycles to wait after the
ALTMEM_INIT megafunction sends a read address to the
ROM to initialize a read. The value of the
ROM_READ_LATENCY
parameter must reflect the
latency in clock cycles induced by the registers in the
external ROM. For example, if the ROM has both its input
and output ports registered, set this parameter to 2. This
parameter is valid only in the external-ROM mode.
PORT_ROM_DATA_READY
String
No
Specifies whether the
rom_data_ready
port is used.
Values are
PORT_USED
and
PORT_UNUSED
. If omitted,
the default value is
PORT_UNUSED
.
When the ALTMEM_INIT megafunction is in the
external-ROM mode and the
rom_data_ready
input
port is used, set the
PORT_ROM_DATA_READY
parameter to
PORT_USED
.
WIDTHAD
Integer
Yes
Width of the ROM and the RAM.
WIDTH
Integer
Yes
Data width of the ROM and the RAM.
Table 3–3. ALTMEM_INIT Megafunction Parameters (Part 2 of 2)
Parameter Name
Type
Required
Description