Altera Corporation
3–25
October 2007
Stratix II GX Device Handbook, Volume 2
Stratix II GX Dynamic Reconfiguration
Example 1:
Consider a design example in which the ALT2GXB instantiation has six
transceiver channels:
■
In the ALT2GXB MegaWizard (in the
RECONFIG
tab) set the
starting channel number
option to
0
.
■
In the ALT2GXB_RECONFIG MegaWizard, set the
Number of
channels controlled by the reconfig controller
option to
6
.
■
The
logical_channel_address
value for channel 0 is
0
(Channel 0 is the one that is assigned to
tx_dataout[0]
). Similarly,
the
logical_channel_address
values for channels 1 through 5
are
1
through
5
, respectively.
Example 2:
Consider a design example with ALT2GXB instance an that has one
transceiver channel (assume the instantiation name is
instantiation0
).
The
starting channel number
option value for this channel is
0
. If you use
this instantiation to create five additional transceiver channels, you will
need the following
defparam
parameter settings (for Verilog designs) to
change the starting channel number for the stamped instantiations:
defparam <instantiation1>
.
starting_channel_number
=
4
defparam <instantiation2>
.
starting_channel_number
=
8
defparam <instantiation3>
.
starting_channel_number
=
12
defparam <instantiation4>
.
starting_channel_number
=
16
defparam <instantiation5>
.
starting_channel_number
=
20
Therefore, the
starting channel number
option values for channels 0
through 5 are
0
,
4
,
8
,
12
,
16
, and
20
, respectively.
■
In the ALT2GXB_RECONFIG MegaWizard, set the
Number of
channels controlled by the reconfig controller
option to
24
. By
setting this option, you get the
reconfig_fromgxb
port with a bus
width of 6.
■
Connect the
reconfig_fromgxb(0
to
5)
port of the
ALT2GXB_RECONFIG instantiation to the
reconfig_fromgxb
ports of transceiver channels 0 to 5, respectively (as shown in
Figure 3–6
).
■
The
logical_channel_address
values for transceiver channels 0
through 5 (
tx_dataout[0]
to
tx_dataout[5]
) are
0
,
4
,
8
,
12
,
16
,
and
20
, respectively.