Altera User Flash Memory User Manual
Page 16

Description
Required
Type
Parameter Name
Identifies the library of parameterized modules
(LPM) entity name in VHDL Design Files (.vhd).
No
String
LPM_TYPE
Notes to Table 2–5:
1. This parameter is used with the parallel or SPI interface protocol only.
2. This parameter is used for simulation purposes only.
3. This parameter is used with the parallel interface protocol only.
Table 14: ALTUFM_SPI Parameters
Description
Required
Type
Parameter Name
Specifies the access mode for the user flash
memory. Values are READ_WRITE and READ_
ONLY. This parameter is used with the parallel or
SPI interface protocol only.
No
String
ACCESS_MODE
Specifies the configuration mode for the SPI
interface protocol. Values are BASE and
EXTENDED. The default is EXTENDED. When
the CONFIG_MODE parameter is set to
EXTENDED, the flash memory uses 16-bit word
size for the address and data word. When the
CONFIG_MODE parameter is set to BASE, the
flash memory uses 8-bit word size for the address
and data word and uses only sector 0 of the UFM.
When the CONFIG_MODE parameter is specified
to BASE and you specify a MIF or HEX file, you
must specify the initial contents of sector 0 and 1
of the UFM. Addresses 0 through 255 of the MIF
or HEX file must contain user data while addresses
256 through 511 should be set to 1. If you use a
HEX file, you must specify all 16-bits of data. The
user data (8-bits) should be placed in the MSBs of
the data word and the LSBs should be padded with
1.
Yes
String
CONFIG_MODE
Name of the Memory Initialization File (.mif) or
Hexadecimal (Intel-Format) Files (.hex) containing
RAM initialization data (
UNUSED.
No
String
LPM_FILE
Altera User Flash Memory (ALTUFM) IP Core User Guide
Altera Corporation
UG-040105
Command Line Interface Parameters
16
2014.08.18