Parameters

Parameter Type Required Comments
ACCESS_MODE String No

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 protocol only.

CONFIG_MODE String Yes

Specifies the configuration mode for the SPI 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 Memory Initialization File (.mif) Definition or Hexadecimal (Intel-Format) File (.hex) Definition, you must specify the initial contents of sector 0 and 1 of the UFM. Addresses 0 through 255 of the Memory Initialization File or Hexadecimal (Intel-Format) File must contain user data while addresses 256 through 511 should be set to 1. If you use a Hexadecimal (Intel-Format) 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.

ERASE_TIME Integer No

Specifies the erase time for the user flash memory. This parameter is used for simulation purposes only and allows you to shorten the user flash memory simulation time. Values can range from 1600 ns to 999 μs. If omitted, the default is 500000000ps (500 μs). If you use the ERASE_TIME parameter, the device still requires a maximum value of 500 ms to erase.

LPM_FILE String No

Name of the Memory Initialization File or Hexadecimal (Intel-Format) File containing RAM initialization data ("<file name>"), or "UNUSED".

OSC_FREQUENCY Integer No

Specifies the oscillator frequency for the user flash memory. This parameter is used for simulation purposes only. Values are 180000 ps (5.56MHz) or 300000 ps (3.33MHz). If omitted, the default value is 180000 ps. The OSC_FREQUENCY setting controls the oscillator frequency during simulations and does not affect the device's oscillator frequency, which can range from 3.33MHz (300000 ps) to 5.56MHz (180000 ps).

PROGRAM_TIME Integer No

Specifies the program time for the user flash memory. This parameter is used for simulation purposes only and allows you to shorten the user flash memory simulation time. Values can range from 1600 ns to 100 μs. If omitted, the default value is 1600000ps (1600 ns). If you use the PROGRAM_TIME parameter, the device still requires a maximum value of 100 μs to program.

WIDTH_UFM_ADDRESS Integer Yes Specifies the internal address width for the user flash memory.