802.3 Fast Ethernet MAC layer of research and its implementation in FPGA

Author
XuJun
Advisor
LinShuiSheng
School
University of Electronic Science and Technology
Major
Information and Communication Engineering
Classification
TP393.11 Ethernet
Degree
Master's thesis
Year
2005
Downloads
1,325
Citations
12

Request the full text

Abstract

The implementation of IEEE802.3x MAC(Media Access Control ) function isdesigned based on Altera’s FPGA in this dissertation. VerilogHDL is used for thisproject. The IP core’s synthesis, place route and assemble was based on developtool QuartusII4.0. The timing simulation was based on Modelsim . At last, designmodule is downloaded in develop kit upon which real-time simulation was done toanalyse the waveform with Agilent’s Analyzer 1673G .The protocol of Ethernet and theories about the PON(Passive Optical Network)over Ehternet is introduced firstly.Then the master plan, including the architectureof the system, the module dividing, the design method and the coding style isexpatiated. After that, the detail of each module with testing data results and thetiming simulation waveform is given out,.Solutions to the key functional modules of MAC layer are given based onFPGA and HDL in this dissertation, such as Rx module, Tx module, MAC-controland interface between PHY,MAC and host, arithmetic for CRC,CSMA/CD andHASH Table , model of cycle request argorithm as well.While designing the system, it is very important that how to divide and defineeach module and how to coordinate and interconnect these modules. Method ofTop-down are also apply to design.As for the interconnection of each module, theinterface signal is defined to communicate between them, and the internal timing ofthe module is control1ed by states machine. When constructing the code, it shouldbe attention to hardware resource spending and concurrent executable ability of theVerilog Language to make the design close to the hardware working way, so itcould match a high speed with a low hardware spending to satisfy the demand ofthe cost, performance and practicability.Finally the theory of the MPCP(Multiplex Point Control Protocol ) in EPON’sis also reaserched. It give mathematics deduce and example for DBA(DynamicBandwidth Allocation) , dicusse the method to realize adding it to 802.3 MAClayer.

Table of contents

Summary 4-5 Abstract 5-9 Chapter 1 Introduction 9-12 1.1 Project background and significance 9 1.2 domestic and foreign research status 9-10 1.3 design goals and key design elements 10-12 1.3.1 design Goals 10-11 1.3.2 design content 11-12 Chapter II Ethernet and EPON MAC layer protocol outlined 12-23 development process 2.1 Ethernet 12 2.2 Ethernet 802.3 MAC layer protocol 12-18 2.2.1 fast Ethernet features 12-13 2.2.2 duplex Ethernet technology 13-14 importance 2.2.2.1 MAC algorithms and CSMA / CD is 13 2.2.2.2 Full Duplex Ethernet 13-14 2.2.3 802.3 MAC frame format 14-15 2.2.3.1 Ethernet address 14 2.2.3.2 IEEE 802.3 frame format described 14 -15 2.2.4 Ethernet flow control 15-18 2.2.4.1 half-duplex back pressure --CSMA/CD simple algorithm described 16 <br / > 2.2.4.2 full duplex network MAC control algorithm 16-18 2.3 Ethernet-based passive optical network access technology 18-20 2.3.1 OAN 18 2.3.2 Ethernet- based passive optical network - EPON Profile development and application of 18-20 2.3.2.1 EPON is 18 2.3.2.2 EPON works 18-19 <br difficulty /> 2.3.2.3 EPON technology 19-20 2.4 IEEE802.3ah protocol 802.3 supplementary 20-23 2.4.1 MPCP protocol - 802.3ah new content 20-21 function 2.4.2 MPCP sublayer 21 - 23 2.4.3.1 multiplexing control 21 2.4.3.2 discovery process 21-22 2.4.3.3 Gate handle 22 2.4.3.4 Report processing 22-23 Chapter III fast Ethernet MAC layer protocol functions 23-42 3.1 overall design objectives and framework 23 -24 3.2 module Description achieve 24 3.3 register module achieve 3.4 received frame modules 24-25 25-30 <br / > 3.4.1 destination address identifying 27-28 3.4.1.1 module features 27 3.4.1.2 HASH table algorithm 27-28 3.4.2 receiver module counter 28-29 3.4.3 receiver Module state machine 29-30 3.4.4 CRC module 30 3.5 achieve a transmission frame module 30-36 3.5.1 transmission module counter 33-34 3.5.2 generates random function 34 3.5. 3 transmission module state machine achieve 34-36 3.6 MAC control module detection nbsp 36-39 3.6.1 control frame ; 37-38 <br / > 3.6.2 control frames generated 38 3.6.3 control Module and send / receive MAC interface 38 3.6.4 PAUSE time slot 38 -39 3.7 status module realized achieve 39-40 3.8 CRC checksum module 40-42 Chapter IV interface module function and timing of realization 42-52 4.1 MAC and PHY interface module MII 42-48 4.1.1 MII and PHY interface data and signal 42-45 <br / > 4.1.1.1 eth_mii interface module and timing analysis 42-45 4.1.1.2 46/56 codec design 45 4.1.2 MII management module 45-47 4.1.2.1 MII management operations control 46 4.1.2.2 eth_outputcontrol sub-module 46-47 4.1.2.3 eth_shiftreg sub-module 47 design nbsp 4.1.3 divider module ; 47-48 4.2 MAC implementation layer and the host interface bus 48-50 4.2.1 Wishbone bus and its characteristics 48 4.2.2 Wishbone bus module 48-50 4.2.2.1 Wishbone Slave interfaces 49 4.2.2.2 Wishbone Master Interface 49 4.2.2.3 transmit and receive buffer descriptors 49-50 4.2.2.4 access FIFO 50 4.3 memory modules are designed 50-52 4.3.1 RAM design 50-51 4.3.2 dual-port FIFO implementations 51-52 Introduction Chapter development Tools 52-55 5.1 FPGA Profile 52-53 5.2 FPGA choice 53 5.3 software description 53-55 < br /> Chapter 6 System module Validation and testing 55-71 6.1 system features timing simulation 55-63 6.1.1 FIFO module for design verification verify 55-56 6.1.2 CRC checksum module 56-57 6.1.3 for MII interface timing verification 57-58 6.1 verify .4 Maccontrol control module 58-59 6.1.5 send operation module verification 59-61 6.1.6 verify receiver module operation 61 -63 6.2 hardware development board test 63-66 6.3 external interface test program design 66-71 6.3.1 Ethernet PHY functional simulation simulated 67 6.3.2 on the Wishbone bus behavior 67-68 6.3.3 access Register and BD test 68-69 6.3.4 MII management module testing program 69-71 Chapter VII 802.3ah -based MAC protocol to achieve nuclear research 71-75 7.1 EPON network upstream channel multiplexing and access technology selection 71 7.2 MPCP protocol and DBA algorithm 71-75 7.2.1 polling algorithm 72-73 7.2.3 MPCP protocol frame format 73-75 Chapter VIII summary and Outlook 75-76 Thanks 76-77 References 77-79 < br /> CVs 79-80 Appendix 80-86

Related dissertations

  1. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  2. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  3. The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
    SongWei ·South China University of Technology ·2013 ·Master's thesis
  4. Design of 100G interface board based on FPGA and Ethernet Technology
  5. Research and Design of the Des Encryption Chip Based on Resource Optimization
  6. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  7. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  8. System of Panoramic Iamge Collection and Network Transmission Based on FPGA
    NiuGongXi ·Harbin Engineering University ·2013 ·Master's thesis
  9. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Design and Realization of the Ethernet and UART Data Transmit System Based on FPGA
    YangWei ·Harbin Engineering University ·2013 ·Master's thesis
  11. The Research of Networked Embedded Railway Scheduling Monitoring System
    TangLin ·Chengdu University of Technology ·2013 ·Master's thesis
  12. The Study and Implementation of QINQ Technology Based on EPON System
    YuanZuoJia ·Wuhan University of Technology ·2012 ·Master's thesis
  13. EPON Technology in the Application of Residential Broadband Constuction
  14. Implementation of Video Capture and Transmission Based on FPGA
    ChangBin ·Hebei University of Technology ·2007 ·Master's thesis
  15. The Design of MAC Module for Embedded Ethernet Microprocessor
    WangRunChun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. The Research and Implement of the Ethernet MAC Protocol Based on IEEE 802.3
    YuXun ·Tongji University ·2007 ·Master's thesis
  17. IP Core Design of Ehernet MAC Controller
    DuanMaoQiang ·Guizhou University ·2006 ·Master's thesis
  18. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  19. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  20. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis