Beruflich Dokumente
Kultur Dokumente
net/publication/259910831
CITATIONS READS
2 2,190
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Stefan Oniga on 28 January 2014.
Abstract —This paper presents an implementation MAC (RMAC) can be useful when IP cores are not
of a reduced Ethernet MAC. The reduced MAC is applicable.
simple and not resource wasteful. Therefore it is
suitable to every project which includes network II. THE SOFT MAC
communication. It is especially useful to low
performance FPGAs. In practice the FPGA boards In our work we have made the implementation
are well applicable to implement network protocols, using a Digilent NEXYS_3 SPARTAN-6 FPGA
because the implemented protocols will work in board. Xilinx provides Ethernet IP core with
parallel. The main topics of the article cover the base evaluation license but it expire after a specific
concept of reduced MAC, the implemented network period of time. Moreover, the generated hardware is
protocols and characteristics. time limited. The RMAC includes the two essential
network protocols: DHCP and ARP. The
Keywords—FPGA; PHY; MAC; MII; Ethernet transmitter and receiver parts are detached from
other network units thus the interface between PHY
I. INTRODUCTION (Physical Layer device) and MAC influences only
this component. The whole MAC built from blocks
FPGA (Field-Programmable Gate Array) therefore every block is portable.
provides a better solution to implement network We tested the RMAC in a medium-speed data
protocols than microcontrollers or other devices acquisition system. Figure 1 shows the test
with sequential instruction execution, because the environment and the structure of implemented
parts of the network will work independently and blocks.
do not have to wait for the end of the previous
operation.
Today, there are many device manufacturers, which
support C/C++ or other compilers and built-in
libraries to network communication. Thereby users
can create elementary network communication
simply. Obviously, programming in a high level
programming language is easier than in hardware
description language. Using built-functions we can
save time. On the other hand, in some cases the
built-functions not work well. For instance,
sometimes when a device want to use IP address
from DHCP, but DHCP server (or agent) isn’t
available on the network, the program in the device
will freezes or won’t work appropriately.
Usually device selection depends on the purpose. In
complex data acquisition systems where
information is transmitted on Ethernet, one of the
best decisions is to use FPGA based equipment.
FPGA provides well scalable, flexible and powerful
solution. Often FPGA manufacturers give IP
(Intellectual Property) cores to Ethernet but those
cores are not available to every FPGA type.
Furthermore, IP core is not modifiable while an
own module can be created according to the
purpose. Another important indicator is the FPGA
utilization. Sometimes in complex projects the
Fig. 1. Structure of implemented blocks
available sources are not enough. Thus a reduced
The dark grey components are the soft MAC while Actually RMAC uses UDP transport protocol. In
other components are parts of the test environment. some cases using UDP transport protocol is more
Every MAC component comprises little modules advantageous than TCP, for example when you
which made in HDL (Hardware Description want to use the maximum bandwidth for data
Language). acquisition. Otherwise TCP is the preferred
protocol. On figure 3 we can see the applied
III. OPERATION OF MAC outgoing packet structure.
A. MII interface
REFERENCES