English
Language : 

HC4GX15 Datasheet, PDF (527/668 Pages) Altera Corporation – HardCopy IV Device Handbook
Chapter 2: HardCopy IV GX Dynamic Reconfiguration
2–69
Description of Transceiver Channel Reconfiguration Modes
.mif Generation
To understand using .mifs, it is helpful to understand these two concepts:
■ How to generate a .mif?—The Quartus II software generates .mifs when you
provide the appropriate project settings (for more information, refer to “Quartus II
Settings for .mif Generation” on page 2–70) and then compile an ALTGX instance.
■ How is a .mif used between the ALTGX_RECONFIG instance and the ALTGX
instance?—The Quartus II software provides a design flow called the user
memory initialization file flow, as explained below.
.mif-Based Design Flow
The .mif-based design flow involves writing the contents of the .mif to the transceiver
channel or CMU PLL.
When you want to reconfigure the transceiver channel or CMU PLL, you must
configure the required settings for the transceiver channel or CMU PLL in the ALTGX
MegaWizard Plug-In Manager and compile the ALTGX instance. The dynamic
reconfiguration controller requires that you write these configured settings through
the .mif into the transceiver channel or CMU PLL (using the write_all and
reconfig_data[15:0] signals). The maximum possible size of the .mif is
55 words. Each word contains legal register settings of the transceiver channel stored
in 16 bits. reconfig_address_out[5:0] provides the address (location) of the 16-
bit word in the .mif.
The .mif size depends on the ALTGX configuration shown in Table 2–25.
Table 2–25. .mif Size for the ALTGX Configuration
ALTGX Configuration
Duplex (Receiver and Transmitter)
Receiver only
Transmitter only
Note to Table 2–25:
(1) Each word in the .mif is 16 bits wide.
.mif Size in Words (1)
55
37
19
1 The dynamic reconfiguration controller ignores a new 16-bit word if the previously
initiated write transaction is not complete. As explained previously, an ongoing or
active write transaction is signified by the busy signal. You can only input a new
word of 16 bits when the busy signal is de-asserted.
The Quartus II software creates the .mif under the <Project_DIR>/reconfig_mif folder.
The file name is based on the ALTGX instance name (<instance name>.mif), for
example, basic_gxb.mif.
One design can have multiple .mifs (there is no limit) and you can use one .mif to
reconfigure multiple channels. You can store these .mifs in on-chip or off-chip
memory.
© June 2009 Altera Corporation
HardCopy IV Device Handbook, Volume 3