Altera Corporation
3–27
October 2007
Stratix II GX Device Handbook, Volume 2
Stratix II GX Dynamic Reconfiguration
Example 3:
Consider a design example with ALT2GXB instance an that has two
transceiver channels (assume the example name is
instantiation0
). The
starting channel number
option for this instance is set to
0
. If you want
to create six transceiver channels, stamp this instance three times. Modify
the
starting channel number
option for the other two instances to
4
and
8
using the
defparam
setting (for verilog design):
defparam <instantiation1>
.
starting_channel_number
=
4
defparam <instantiation2>
.
starting_channel_number
=
8
■
In the ALT2GXB_RECONFIG MegaWizard, set the
Number of
channels controlled by the reconfig controller
option to 12.
■
Connect the
reconfig_fromgxb(0
to
2)
port of the
ALT2GXB_RECONFIG instantiation to the
reconfig_fromgxb
ports of instantiation0 to instantiation2, respectively (as shown in
Figure 3–7
).
■
In this case, the
logical_channel_address
values for
transceiver channels 0 and 1 (
tx_dataout[0]
and
tx_dataout[1]
) are
0
and
1
. Similarly, the
logical_channel_address
values for channels 2 to 5 are
4
,
5
,
8
,
and
9
, respectively. (The
starting channel number
option value for
instantiation1 is
4
. Therefore, the
logical_channel_address
value for channel 2 is
4
).