Chapter 9: Using User Flash Memory in MAX II Devices
9–35
Software Support for UFM Block
Table 9–14. SPI Timing Parameters for Extended Mode
Symbol
tSCK2NCS
Description
Minimum (ns)
Maximum (ns)
The time required for the SCKsignal falling
edge to nCSsignal rising edge
50
—
tHNCSHIGH
tNCS2SCK
The time that the nCSsignal must be held
high
600
750
—
—
The time required for the nCSsignal falling
edge to SCKsignal rising edge
Instantiating SPI Using Quartus II altufm Megafunction
Figure 9–38 shows the altufm megafunction symbol for SPI instantiation in the
Quartus II software.
Figure 9–38. altufm Megafunction Symbol for SPI Instantiation
®
You can select the desired logic array interface on page 3 of the altufm MegaWizard
Plug-In Manager. Figure 9–39 shows page 3 of the altufm MegaWizard Plug-In
Manager, selecting SPI as the interface protocol. On this page, you can choose whether
to implement the Read/Write or Read Only mode as the access mode for the UFM.
You can also select the configuration mode (Base or Extended) for SPI on this page.
You can specify the initial content of the UFM block in page 4 of the altufm
MegaWizard Plug-In Manager as discussed in “Creating Memory Content File” on
page 9–40.
© October 2008 Altera Corporation
MAX II Device Handbook