Research and FPGA Implementation of IP Lookup Algorithm
- Author
- ZhangXiaoBo
- Advisor
- LiGang
- School
- East China Normal University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 269
- Citations
- 0
Abstract
Recently, internet is popular in people’s life and more and more machines are connected to the internet. On the other hand, the new media service based on the internet emerged.So the internet capability becomes the rare recource. In order to adapt the rapid improvement of internet application and provide more effective service quality,the network capability must be improved. With the improvement of fiber technology and G-bit switch technology, the network bandwidth and router throughput have been effictive resolved. But the router’s transmit efficiency becomes the bottleneck to limit the development of network. The transmit package of router includes these process: package head assemble,update TTL field, caculate and update CRC field , classify the package and put the package into the appropriate queue and so on. However, the search next hop according to package’s destination address in the transmit process is the most time-consuming. So, how to implement the high speed router lookup is the key to implement high speed transmit package.In this thesis, based on the IP address lookup algorithms, their implementing paths and their relative technologies are developed in these fields. The RAM and TCAM are adopted to store IP lookup items. Then the Tree Bitmap structure is implemented in our design with xc2v1000 device of Xilinx VirtexII series.Several aspects are included in the thesis:1. After implementing the IP lookup algorithms in software and hardware, its complexity in space and time domain are analyzed and compared.2. According to the prefix length distribution, especially the prefix longer than 24 have grown fastly in recently year. So the prifix which the length longer than 23 are puted into TCAM ,and the others are stored in the RAM with the Tree Bitmap structure,then the ip lookup can be searched in the RAM and TCAM.3. The Internal Prefix and Extending Path item are synchronized dealed with in our design, when the prefix are being searched in the RAM.This can prevent algorithm trace back and redure access the RAM times, quicken the speed of search ip lookup.4. The forward engine using the above IP lookup algorithms is implemented, the forward engine realize these functions: receive package,check CRC field,update TTL field and CRC field.5. The Top-Down design methodology is used in our design and all modules are coding in Verilog-HDL. The design has been implementing in xc2v1000
Table of contents
The first chapter 10-14
1.1 Introduction 10-11
1.2 routing study the status of the search algorithm 11-12
1.3 of this thesis the significance of the topic and the research content 12-14
Chapter II router Introduction 14-22
2.1 Internet development history 14
2.2 , the Internet address structure and development 14-18
2.3 the Internet protocol hierarchy 18-19
2.4 router structure 19-20
2.5 routers development of the trend 20-21
2.6 Chapter Summary 21-22
Chapter software routing lookup algorithm 22-36
3.1 based on Trie structural and the improved routing lookup algorithm 22-32
3.2 dichotomy routing lookup algorithm 32-34
3.3 algorithm is summarized 34-35
3.4 Chapter Summary 35-36
Chapter hardware routing lookup method the 36-51
4.1 structure based on the DIR-24-8-BASIC implementations 36-39 < br /> 4.2 SRAM-based pipeline way to find the 39-40 4.3 TCAM-based implementations
40-46
4.4 TCAM and RAM - based high-speed routing lookup method 46-49
4.5 Chapter Summary 49-51
Chapter TCAM and RAM - based routing Find achieve 51-64
5.1 TCAM-based and RAM the route lookup system structure 51-54
5.2 main modules designed 54-62
5.3 routing lookup the module overall design 62
5.4 Chapter Summary 62-64
Chapter routing lookup algorithm FPGA verification 64-70
6.1 FPGA design flow 64-65
6.2 the Virtex -II series FPGA architecture and features
6.3 FPGA routing search algorithm to achieve 65-67 the 67-68
6.4 system test scenarios 68-69
6.5 Chapter Summary 69-70
Chapter VII Summary and outlook 70-72
7.1 the dissertation Summary the 70-71
7.2 Looking 71-72
reference 72-75
Master during papers 75-76
Acknowledgements 76
Related dissertations
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA
- Design of High Speed Data Acqusition and Storage System Based on FPGA
- Design and Realize of a Type of Automatic Target-scoring System