Chapter 9: Using User Flash Memory in MAX II Devices
Software Support for UFM Block
9–37
Table 9–15.
Parallel Interface Signals
Pin
DI[15:0]
DO[15:0]
ADDR[8:0]
Description
16-bit data Input
16-bit data Output
Address Register
Function
Receive 16-bit data in parallel. You can select an optional width of 3 to
16 bits using the altufm megafunction.
Transmit 16-bit data in parallel. You can select an optional width of 3 to
16 bits using the altufm megafunction.
Operation sequence refers to the data that is pointed to by the address
register. You can determine the address bus width using the altufm
megafunction.
Initiates a read sequence.
Initiates a write sequence.
Initiates a SECTOR-ERASE sequence indicated by the MSB of the
ADDR[]
port.
Driven low to notify that it is not available to respond to any further
request.
Driven high to indicate that the data at the
DO
port is the valid data from
the last read address for read request.
nREAD
nWRITE
nERASE
nBUSY
DATA_VALID
READ
Instruction Signal
WRITE
Instruction Signal
ERASE
Instruction Signal
BUSY
Signal
Data Valid
Even though the altufm megafunction allows you to select the address widths range
from 3 bits to 9 bits, the UFM block always expects full 9 bits width for the address
register. Therefore, the altufm megafunction will always pad the remaining LSB of the
address register with '0's if the register width selected is less than 9 bits. The address
register will point to sector 0 if the address received at the address register starts with
a '0'. The address register will point to sector 1 if the address received starts with a '1'.
Even though you can select an optional data register width of 3 to 16 bits using the
altufm megafunction, the UFM block always expects full 16 bits width for the data
register. Reading from the data register always proceeds from MSB to LSB. The altufm
megafunction always pads the remaining LSB of the data register with 1s if the user
selects a data width of less than 16-bits.
ALTUFM Parallel Interface Timing Specification
shows the timing specifications for the parallel interface.
parallel interface instruction signals. The
nREAD
,
nWRITE
, and
nERASE
signals are
active low signals.