![Altera PHY IP Core Скачать руководство пользователя страница 117](http://html.mh-extra.com/html/altera/phy-ip-core/phy-ip-core_user-manual_2910918117.webp)
Chapter 7: Custom PHY IP Core
7–17
Interfaces
March 2012
Altera Corporation
Altera Transceiver PHY IP Core
User Guide
The following sections describe the signals in each interface.
Avalon-ST TX Input Data from the MAC
Table 7–14
describes the signals in the Avalon-ST input interface. These signals are
driven from the MAC to the PCS. This is an Avalon sink interface.
f
For more information about the Avalon-ST protocol, including timing diagrams, refer
to the
Avalon Interface Specifications
.
Avalon-ST RX Output Data to the MAC
Table 7–15
describes the signals in the Avalon-ST output interface. These signals are
driven from the PCS to the MAC. This is an Avalon source interface.
Table 7–14. Avalon-ST TX Interface
Signal Name
Direction
Description
tx_parallel_data[(
<n>
<w>)-1:0]
Sink
This is TX parallel data driven from the MAC. The ready latency on this
interface is 0, so that the PHY must be able to accept data as soon as it
comes out of reset.
tx_clkout
Output
This is the clock for TX parallel data, control, and status signals.
tx_datak[<
n
>(<w>/<s>)-1:0]
Sink
Data and control indicator for the received data. When 0, indicates that
tx_data
is data, when 1, indicates that
tx_data
is control.
tx_forcedisp[<
n
>(<w>/<s>)-1:0]
Sink
When asserted, this control signal enables disparity to be forced on the
TX channel. This signal is created if you turn
On
the
Enable manual
dispa
r
i
t
y con
tr
ol
option on the
8B/10B
tab.
tx_dispval[<
n
>(<w>/<s>)-1:0]
Sink
This control signal specifies the disparity of the data. This port is
created if you turn
On
the
Enable dispa
r
i
t
y con
tr
ol
option on the
8B/10B
tab.
Table 7–15. Avalon-ST RX Interface
Signal Name
Direction
Description
rx_parallel_data[<
n
><w>-1:0]
Source
This is RX parallel data driven from the Custom PHY IP core. The
ready latency on this interface is 0, so that the MAC must be able
to accept data as soon as the PHY comes out of reset. Data
driven from this interface is always valid.
rx_clkout[<
n
>-1:0]
Output
This is the clock for the RX parallel data source interface.
rx_datak[<
n
>(<w>/<s>)-1:0]
Source
Data and control indicator for the source data. When 0, indicates
that
rx_parallel_data
is data, when 1, indicates that
rx_parallel_data
is control.
rx_runningdisp[<
n
>(<w>/<s>)-1:0]
Source
This status signal indicates the disparity of the incoming data.
rx_enabyteordflag[<
n
>-1:0]
Input
This signal is created if you turn
On
the
Enable by
t
e o
r
de
r
ing
block con
tr
ol
option on the
By
t
e O
r
de
r
tab. A byte ordering
operation occurs whenever
rx_enabyteord
is asserted. To
perform multiple byte ordering operations, deassert and reassert
rx_enabyteordflag
.