Escolar Documentos
Profissional Documentos
Cultura Documentos
Mostafa Pordel
to
Mbls
FPGA-based
Ethernet
communications
with
timing
communication system.
I.
INTRODUCTION
II.
ETHERNET COMMUNICATION
Network Protocols
RMII Characteristics
35
there are only two pins for transmitter and two pins for
receiver instead of four in MIL It means that Transmit Data
(TXD) pins number two and three as well as Receive Data
(RXD) pins number two and three should be disconnected.
Transmit Coding Error (TXER) is not getting used in RMII
mode as well as Collision Detection (COL) pin. One of the
major differences between MIl and RMII is that in RMII
Transmit Clock (TXCLK) and Receive Clock (RXCLK) pins
are not used. All transmission and receiving operations are
synchronized using one reference clock that is 50MHz.
Moreover, Transmit Enable (TXEN) pin is used to show
when there is valid data on TXD. In addition, Receive Data
Valid (RXDV) pin acts like a Carrier Sense (CRS) in RMII
mode, which indicates when there is valid data on RXD pins
[5].
1) RMII Reception and Transmission Timing
In order to receive packets with RMII Interface, there are
some points that should be taken into consideration. The
protocol uses four signals as shown in Figure 1. CRS DV
signal defines the valid data. However, the preamble can be
started after undefined number of clock cycles. This can be
coded using a state machine that after CRS DV signal waits
for 7 bytes of preamble followed by one byte Start Frame
Delimiter (SFD). Besides, the rising and falling edge of
signals matter in implementation. For example, in
transmission, developer should change TXEN on the rising
edge and TXD on the falling edge of the clock.
A.
Top Layer
B.
III.
PHY Manager
STRUCTURE OF CORE
36
PHY write the response, then I2C reads the response. When
input values are ready, load input should be high for at least
one cycle of clock and then it should go low to start making
commands and writing on MDIO line. Output Management
Data Clock (MDC) and MDIO pins of I2C component are
directly connected to the top layer. MDIO can be input when
command is read, so it should be declared as an inOut signal.
C.
Communication
E.
F.
Timing Analysis
D.
UDPReceiver
UDPSender
15
c= Ic;
( 1)
;=1
where C;
K;
12.5
1
*
106
(2)
37
EXPERIMENT CONSTRAINTS
VI.
Windows Application
Picoscop
38
[6]
[7]
REFERENCES
[1]
[2]
[3]
[4]
[5]
[8]
[9]
39