The Encapsulation Implementation of Ethernet Data Frames Format Based on IEEE802.3 Standard
- Author
- GuoXiaoYu
- Advisor
- LiXiaoGuang
- School
- Beijing Jiaotong University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP393.11 Ethernet
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 663
- Citations
- 7
Abstract
Ethernet is the most widely used networking technology in the LAN, of which the transmission rate is growing from original 10Mbit/s to the current 10Gbit/s and the application area is expanding from previous LAN to MAN and WAN. Ethernet is gradually becoming the preferred network protocol in factory because of its advantages of cost and performance, hardware and implementation. In August 2007, Altera firstly announced that they achieved the FPGA IP support for the key industrial Etnernet protocol. However, the IP core integrated Etnernet protocol can only be actualized in a number of Altera high-end FPGA. One of the Altera’s partner--IXXAT, provide Ethernet’s development kit, but the charge is very high. Therefore, designing a reasonable protocol stack, MAC, TCP/IP protocol stack and application interface by ourselves will be of great significance and economic value.This thesis’s prime work is to accomplish the encapsulation of Ethernet frame based on the IEEE802.3 standard. The message from application layer, which is firstly encapsulated in the transport layer using User Datagram Protocol, and then encapsulated in the network layer using Internetworking Protocol, finally encapsulated to the Ethernet frames which accord with IEEE802.3 standard. The completely encapsulated frames can be transported on the internet.The article first introduced the Ethernet data frame format stipulated in the IEEE802.3 standard and the UDP and IP datagram format in the TCP/IP protocol suite. Then, I design and simulate every module for encapsulation using the VHDL hardware description language under the Quartus II environment. In the article, I discussed the realization of the cyclical redundancy check (CRC) in detail. The throughput of traditional LFSR implementation method of CRC32 is only 330Mbps and can’t meet the requirement of 1Gbps throughput of giga-ethernet. I deduced a parallel input structure with 16 bits data input. The throughput of the structure is 2Gbps and meets the requirement easily.In this paper, I completed a whole Ethernet data frame encapsulated correctly. The length of data from the upper layer is 1428 bytes, when it is sent to transport layer, UDP protocol adds its header, including the calculation of the checksum and receive a total of eight bytes field, with a length of 1436 bytes; When the UDP datagram achieves network layer, IP protocol adds its twenty bytes header, and the length of IP datagram is 1456 bytes; At last, the length of the whole frame is 1482 bytes due to the twenty-two bytes header and four bytes FCS field.(Ethernet data here meets the standard of 46 bytes--1500bytes). The frequency of output is 250Mhz, which take out four bits of data each time and send to PHY. The design meets the requirement of Gigabit Etnernet.In the end, I analysed the simulation result of two system modules and gave the FPGA verification methods and results of the UDP checksum module and CRC module.
Related dissertations
- Design and Implementation of Network TOE
- The Embedded Implementation of TCP/IP Protocol
- IP Design of the Reader of 2.4GHz-RFID System Based on MCU
- Researching on Embedded System Connecting to Internet
- Remote control system based on P2P technology
- Data Exchange Platform System
- Design and Implementation of a Communication Platform for Internet-based Teleoperation
- Design and Research of the Display Control Mechanisms for Multi-source
- SOPC Design and Implementation of ISP1362Host IP and Driver
- The Embedded SRAM Compiler Design and IP Verification
- Research of EPON ONU Configuration Management Technology
- Research on High-speed Data Transmission System of Logging Cable
- The Design and Actualize of the IP Testing System
- Design and Implementation of Cryptography RSA IP Core
- Design and Validation of Viterbi Digital IP Core
- The Improvement of the System of International Adoption Laws of China
- Overview of Mental Module:a New Paradigm of Cognitive Psychology
- Early Diagnosis of Colorectal Cancer Clinical Research on Colorectal Cancer Specific Antigen Detection
- Human Stool RASSF1A、RUNX3、hMLH1Gene Methylation Analysis in the Screening and Diagnosis of Colorectal Cancer
- Research and Development of the Dynamic MES System Rrepair Module