The Design of a Dual Protocol Processor of IPv4/IPv6 Based on FPGA

Author
QinChunSheng
Advisor
YanYongHong
School
Hunan University
Major
Microelectronics and Solid State Electronics
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2011
Downloads
31
Citations
0

Request the full text

Abstract

With the rapid development of network technology and optical fiber communication technoligy,the proportion of CPU processor resources occupied by network protocol processing become increasingly higher.As the G-bit network popularizes gradually and spreads to higher bandwidth,which increases the burden of CPU processor.TCP/IP protocol offload engine(TOE) technology is an effective way to reduce the CPU burden.As to the development of protocol,IPv6 protocol will definitely replace IPv4 protocol at last.However,it is an undisputed fact that IPv6 protocol and IPv4 protocol will have co-existed for a long time in the future. Now the compatible model between IPv4 nodes and IPv6 nodes is basically sofeware-based,that is to say compitible processing is realized in CPU processor,which increases the burden of CPU.In this paper,we will combine TOE technology and dual protocol compatibility technology to design a FPGA-based dual protocol processor which can meet the needs of IPv4 and IPv6 contemporaneously.Firstly,the basic principle of TOE technology and implemetation architecture are analysed. The TOE device designed in this paper use FPGA to implement part of TCP/IP protocol processing offload.While to the data packets of IP layer which occupy a relatively large proportion in TCP/IP protocol proceesing and repet mechanically,we can offload them to implement in high speed hardware and greatly improve the system efficiency.Then the composition of IPv4 and IPv6 protocol and the main protocol processing of IP layer are analyzed,from which we obtain the design principle and requirements of IP protocol processor.Lastly,we complete the function module design of IPv4/IPv6 dual protocol processor by FPGA fome top-to-bottom design method,and divide protocol processor into four sub-module:interface module,data transmitting and processing module,data receiving and prosessing module and timing module.On the basis of analysis of working principle and process of each function module,we adopt Verilog HDL hardware description language to realize the logical design of each sub-module.With the Model Tech Company’s simulation sofeware ModelSim,we simulate each function module of IPv4/IPv6 dual protocol processor,and verify their function correctness.Followed by the Synplicity Company’s snythesis tool Synplify Pro all sun-modules are synthesized.At last the codes are download to Changsha E-element company’s fire dragon knife FPGA development board to verify online,verification results show that the IPv4/IPv6 dual protocol processor designed in this paper can achieve basic functions of involved process at the IP layer when IP data packets of IPv4 and IPv6 protocol are being receiced and transmitted.

Table of contents

Summary 5-6 Abstract 6-10 Chapter 1 Introduction 10-22 1.1 Background 10-11 1.2 TCP / IP protocol introduction and development 11-17 transition nbsp 1.2.1 IPv4 to IPv6 ; 14-16 1.2.2 dual stack mechanism 16-17 significance and status of 1.3 TOE technology significance 17-19 1.4 of this paper and the work done 19-22 Article Chapter 2 TOE basic principles and basic ideas 22-31 2.1 TOE basic principles of 22-26 way overhead 2.1.1 software protocol processing 22 -23 2.1.2 TOE technology, the basic principles of 23-26 2.2 TOE basic structure 26-28 2.3 TOE implementations 28-31 2.3.1 TOE overall design 28-29 2.3.2 IP protocol processor- specific designs 29-31 3 Chapter dual protocol processing mechanism and implementation constitute 31-41 3.1 development agreements and protocols 31-33 3.1.1 IPv4 shortcomings of 31 -32 3.1.2 IPv6 main features packet header structure 32-33 3.2 IP protocol analysis 33-37 3.2.1 IPv4 protocol packet header 33-35 3.2.2 IPv6 protocol packet header similarities and differences between 35-36 3.2.3 comparison of the two protocols header 36 - 37 3.3 IP protocol processor design principle analysis 37-40 3.3.1 IP datagram header checksum principle 38-39 3.3.2 IP packet data reorganization process 39-40 implementations 3.4 IP protocol processor 40-41 Chapter 4 dual- protocol processor FPGA-based design 41-66 4.1 FPGA design flow 41-48 4.1.1 FPGA Profile 41-42 4.1.2 FPGA design principles 42 -43 4.1.3 FPGA design flows and design tools 43-47 4.1.4 top-down system module design 47-48 4.2 IPv4/IPv6 dual -processor system design 48-49 4.3 interface module design 49-56 implementation nbsp 4.3.1 PCI bus and PCI bus interface ; 50-53 4.3.2 DMA PCI bus on the way to achieve 53-56 4.4 data transmission processing module design 56-58 4.5 data receiving and processing module design 58-65 4.5.1 packet type identification module design 58-59 4.5.2 IPv4 data receiving and processing module design 59 -63 4.5.3 IPv6 data receiving and processing module design 63-65 4.6 timing module 65-66 Chapter 5 of the sub- processor dual-protocol module design and simulation design description and simulation 66-81 5.1 interface module design description and simulation nbsp 66-68 5.2 data transmission processing module ; design description and simulation 68-70 5.3 data receiving and processing module 70-78 5.3.1 packet type identification module design description 70-71 5.3.2 IPv4 data receiving and processing module logic design and functional simulation 71-76 5.3.3 IPv6 logic design and simulation data receiving and processing module 76-78 <br / > 5.4 timing module logic design and simulation 78 5.5 overall system simulation 78-81 conclusion 81-83 References 83-87 Thanks 87-88 published in Appendix a to pursue a degree during the academic 88-89 Appendix B PCI interface module top-level code 89-93

Related dissertations

  1. Research on Solutions Threeth-Order Magic Cube Robot Based on the AVR
  2. Research and Design of Sea Clutter Analog Signal Generation System Based on FPGA
  3. Research on group behavior of nonlinear decision model based on pressure field
    QiZheng ·Capital University of Economics ·2014 ·Master's thesis
  4. Modelling and Simulation of Organizational Structure Based on Total Relationship Flow Management Theorems
    LuoJieZuo ·Jinan University ·2013 ·Master's thesis
  5. The Effects of the Basic Medical Insurance for Urban Workers on the Patients’ Hospital Choice Behavior in Shenyang:a Study Based on Multi-Agent Modelling Simulation
    ChenLiangLiang ·Northeastern University ·2012 ·Master's thesis
  6. Research on the Effect of Income Difference on R&D Network Cooperative Evolution
  7. The Research on the Knowledge Transfer Model and Strategy of Transformation Bussiness
    YuZuoPeng ·Huaqiao University ·2013 ·Doctoral dissertation
  8. A Study on Food Security of Central City
    LiHuiBao ·Tianjin University ·2012 ·Doctoral dissertation
  9. The Simulation Research of Jiangsu Industrial Development Based on Regional Innovation System
  10. Research on Interaction between Modern Logistics Industry and Economic Development of Shaanxi Province
  11. Estimation of Hong Kong RMB Cash Stocks and Flows on Biomarker Method Modeling Research
  12. Research on Dynamic Pricing Strategy of Market Maker Based on Heterogeneous Agents Beliefs
  13. The Stability Study of Ecological Industrial Link Based on the Dynamic Evolution Game Theory
    XuBaoCheng ·Northeastern University ·2013 ·Master's thesis
  14. Empirical Research on Influence Factors of Industrial Enterprises Energy Efficiency Services Adoption
  15. The Research about the Dynamic Evolution of Group Decisions under the Network Environment
  16. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  17. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  18. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  19. Micro-Grid Operation Status Monitoring System Based on Multi-Agent
    HuKeDong ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA