User guide
Chapter 16: Transceiver Reconfiguration Controller IP Core 16–31
MIF Generation
November 2012 Altera Corporation Altera Transceiver PHY IP Core
User Guide
Mode 1 Avalon-MM Direct Writes for Reconfiguration
You specify this mode by writing a value of 2'b01 into bits 2 and 3 of the
control and
status
register, as indicated in Table 16–23 on page 16–28. In this mode, you can write
directly to transceiver PHY IP core registers to perform reconfiguration. Refer to
“Direct Write Reconfiguration” on page 16–39 for an example of an update using
mode 1. In mode 1, you can selectively reconfigure portions of the transceiver PHY IP
core. Unlike mode 0, mode 1 allows you to write only the data required for a
reconfiguration.
MIF Generation
The Quartus II software automatically generates MIFs after each successful
compilation. The MIF stores the configuration data for the transceiver PHY IP cores.
MIFs are stored in the reconfig_mif folder of the project's working directly. This
folder stores all MIFs associated with the compiled project for each transceiver PHY
IP core instance in the design. The parameter settings of PHY IP core instance reflect
the currently specified MIF. You can store the MIF in an on-chip ROM or any other
type of memory. This memory must connect to the MIF reconfiguration management
interface.
Example 16–4 shows file names for the .mif files for a design with two channels. This
design example includes two transceiver PHY IP core instances running at different
data rates. Both transceiver PHY IP core instances have two TX PLLs specified to
support both 1 Gbps and 2.5 Gbps data rates. The Quartus II software generates two
TX PLL .mif files for each PLL. The difference between the .mif files is the PLL
reference clock specified. To dynamically reconfigure the channel from the initially
specified data rate to a new data rate, you can use the MIF streaming function to load
the other .mif.
1 When reconfiguration is limited to a few settings, you can create a partial .mif that
only includes the settings that must be updated. Refer to Reduced MIF Creation for
more information about creating a partial .mif file.
Creating MIFs for Designs that Include Bonded or ATT Channels
The Quartus II software automatically generates MIF for all designs that support POF
generation with the following exceptions:
■ Designs that use bonded channels so that the same TX PLL output drives several
channels
■ ATT channels
■ Non-bonded channels in a design that also includes bonded channels
Example 16–4. Quartus II Generated MIF Files
<project_dir>/reconfig_mif/inst0_1g_channel.mif
<project_dir>/reconfig_mif/inst0_1g_txpll0.mif
<project_dir>/reconfig_mif/inst0_1g_txpll1.mif
<project_dir>/reconfig_mif/inst0_2p5g_channel.mif
<project_dir>/reconfig_mif/inst0_2p5g_txpll0.mif
<project_dir>/reconfig_mif/inst0_2p5g_txpll1.mif










