9. Using User Flash Memory in MAX II
Devices
MII51010-1.8
Introduction
MAX
®
II devices feature a user flash memory (UFM) block that can be used similar to
a serial EEPROM for storing non-volatile information up to 8 Kbits. The UFM
provides an ideal storage solution supporting any possible protocol for interfacing
(SPI, parallel, and other protocols) through bridging logic designed into the MAX II
logic array.
This chapter provides guidelines for UFM applications by describing the features and
functionality of the MAX II UFM block and the Quartus
®
II altufm megafunction.
This chapter contains the following sections:
■
■
■
■
■
■
■
UFM Array Description
Each UFM array is organized as two separate sectors with 4,096 bits per sector. Each
sector can be erased independently.
shows the dimension of the UFM array.
Table 9–1.
UFM Array Size
Device
EPM240
EPM570
EPM1270
EPM2210
Total Bits
8,192
Sectors
2 (4,096 bits per sector)
Address Bits
9
Data Width
16
Memory Organization Map
shows the memory organization for the MAX II UFM block. There are 512
locations with 9 bits addressing a range of 000h to 1FFh. Each location stores 16-bit
wide data. The most significant bit (MSB) of the address register indicates the sector in
operation.