![Altera PHY IP Core Скачать руководство пользователя страница 122](http://html.mh-extra.com/html/altera/phy-ip-core/phy-ip-core_user-manual_2910918122.webp)
7–22
Chapter 7: Custom PHY IP Core
Interfaces
Altera Transceiver PHY IP Core
March 2012
Altera Corporation
User Guide
0x042
[1:0]
W
reset_control
(write)
Writing a 1 to bit 0 initiates a TX digital reset using the reset
controller module. The reset affects channels enabled in the
reset_ch_bitmask
. Writing a 1 to bit 1 initiates a RX
digital reset of channels enabled in the
reset_ch_bitmask
.
R
reset_status
(read)
Reading bit 0 returns the status of the reset controller TX
ready bit. Reading bit 1 returns the status of the reset
controller RX ready bit.
Reset Controls –Manual Mode
0x044
[31:0]
RW
reset_fine_control
You can use the
reset_fine_control
register to create
your own reset sequence. If you disable
Enable embedded
r
ese
t
con
tr
olle
r
on the
Gene
r
al Op
t
ions
tab of the
parameter editor, you can design your own reset sequence
using the
tx_analogreset
,
rx_analogreset
,
tx_digitalreset
,
rx_digitalreset
, and
pll_powerdown
which are top-level ports of the Custom
Transceiver PHY.
By default, the CDR circuitry is in automatic lock mode
whether you use the embedded reset controller or design
your own reset logic. You can switch the CDR to manual
mode by writing the
pma_rx_setlocktodata
or
pma_rx_set_locktoref
registers to 1.
[31:4,0]
RW
Reserved
It is safe to write 0s to reserved bits.
[3]
RW
reset_rx_digital
Writing a 1 causes the internal RX digital reset signal to be
asserted, resetting the RX digital channels enabled in
reset_ch_bitmask
. You must write a 0 to clear the
reset condition.
[2]
RW
reset_rx_analog
Writing a 1 causes the internal RX analog reset signal to be
asserted, resetting the RX analog logic of all channels
enabled in
reset_ch_bitmask
. You must write a 0 to
clear the reset condition.
[1]
RW
reset_tx_digital
Writing a 1 causes the internal TX digital reset signal to be
asserted, resetting all channels enabled in
reset_ch_bitmask
. You must write a 0 to clear the
reset condition.
PMA Control and Status Registers
0x061
[31:0]
RW
phy
_
serial
_
loopback
Writing a 1 to channel
<
n
>
puts channel
<
n
>
in serial
loopback mode. For information about pre- or
post-CDRserial loopback modes, refer to
“Loopback
Modes” on page 10–39
.
0x063
[31:0]
R
pma_rx_signaldetect
When channel
<n>
=1, indicates that receive circuit for
channel
<n>
senses the specified voltage exists at the RX
input buffer.
0x064
[31:0]
RW
pma_rx_set_locktodata
When set, programs the RX CDR PLL to lock to the
incoming data. Bit
<n>
corresponds to channel
<n>
.
0x065
[31:0]
RW
pma_rx_set_locktoref
When set, programs the RX CDR PLL to lock to the
reference clock. Bit
<n>
corresponds to channel
<n>
.
Table 7–21. Custom PHY IP Core Registers (Part 2 of 3)
Word
Addr
Bits
R/W
Register Name
Description