![Altera Cyclone IV Device Handbook Download Page 416](http://html1.mh-extra.com/html/altera/cyclone-iv/cyclone-iv_device-handbook_2910785416.webp)
3–18
Chapter 3: Cyclone IV Dynamic Reconfiguration
Dynamic Reconfiguration Modes
November 2011
Altera Corporation
Read Transaction
If you want to read the existing values from a specific channel connected to the
ALTGX_RECONFIG instance, observe the corresponding byte positions of the PMA
control output port after the read transaction is completed.
For example, if the number of channels controlled by the ALTGX_RECONFIG is two,
the
tx_vodctrl_out
is 6 bits wide. The
tx_vodctrl_out[2:0]
signal corresponds to
channel 1 and the
tx_vodctrl_out[5:3]
signal corresponds to channel 2.
To complete a read transaction to the V
OD
values of the second channel, perform the
following steps:
1. Before you initiate a read transaction, set the
rx_tx_duplex_sel
port to
2'b10
so
that only the transmit PMA controls are read from the transceiver channel.
2. Ensure that the
busy
signal is low before you start a read transaction.
3. Assert the read signal for one
reconfig_clk
clock cycle. This initiates the read
transaction.
4. The
busy
output status signal is asserted high to indicate that the dynamic
reconfiguration controller is busy reading the PMA control settings.
5. When the read transaction has completed, the
busy
signal goes low. The
data_valid
signal is asserted, indicating that the data available at the read control
signal is valid.
6. To read the current V
OD
values in channel 2, observe the values in
tx_vodctrl_out[5:3]
.
In the waveform example shown in
, the transmit V
OD
settings written in
channels 1 and 2 prior to the read transaction are 3'b001 and 3'b010, respectively.
1
Simultaneous write and read transactions are not allowed.
Figure 3–7. Read Transaction Waveform—Use the same control signal for all the channels Option Enabled
Note to
(1) In this waveform example, you want to read from only the transmitter portion of all the channels.
read
busy
6'b111111
6'bXXXXXX
6'b010001
2'b00
2'b10
(1)
reconfig_clk
data_
v
alid
rx_tx_duplex_sel [1:0]
tx_
v
odctrl_out [2:0]
Summary of Contents for Cyclone IV
Page 10: ...x Chapter Revision Dates Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Page 14: ...I 2 Section I Device Core Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Page 274: ...vi Contents Cyclone IV Device Handbook February 2015 Altera Corporation Volume 2...
Page 440: ...iv Contents Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Page 442: ...vi Chapter Revision Dates Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Page 446: ......