3–70
Altera Corporation
Stratix II GX Device Handbook, Volume 2
October 2007
Channel and PMA Controls Reconfiguration
9.
You can generate multiple MIF in the following two ways:
Method 1:
■
Compile the design created in step 8 and generate the first MIF.
■
Update the ALT2GXB MegaWizard instance with the alternate
configuration and connect the appropriate clock inputs, as
mentioned in step 8.
■
Compile the design to get the second MIF.
1
If you have to generate MIFs for many configurations, this
method takes more time to complete.
Method 2:
■
In the top-level design, instantiate all the different configurations of
the ALT2GXB instantiation for which the MIF is required.
■
Connect the appropriate clock inputs of all the ALT2GXB
instantiations (see step 8).
■
Generate the MIF. The MIFs are generated for all the ALT2GXB
configurations.
1
This method requires attention when generating the MIF. Please
check the following:
●
The different ALT2GXB instantiations should have the
appropriate
logical reference clock index
option values.
●
The clock inputs for each instance should be connected to the
appropriate clock source.
●
When you generate the MIF, use proper naming for the files so
you know the configuration supported by the MIF.
ALT2GXB_RECONFIG:
10. Create the ALT2GXB_RECONFIG instance. Select the
Channel
reconfiguration
option to perform channel reconfiguration. Select
rate_switch_ctrl
for the transmit side data rate division.
11. Select the
reconfig_address_out
and
reset_reconfig_address
signals from the
Channel
Reconfiguration
tab.
Control Logic for ALT2GXB_RECONFIG:
12. Implement logic to control the
ALT2GXB_RECONFIG
signals and to
select the appropriate MIFs from memory and send the MIF data to
ALT2GXB_RECONFIG.