Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Lookup processing implementation method and device

A look-up table technology, which is applied in the field of data processing, can solve problems such as multi-pin resources, occupying a huge DDR access bandwidth, and affecting chip processing performance, so as to achieve the effect of reducing pin resources and avoiding impact

Active Publication Date: 2018-10-16
SANECHIPS TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the external DDR needs to consume more pin resources, the number of external DDRs will be limited. When the number of DDRs is limited, it is necessary to reduce the number of DDR accesses to prevent the hash (HASH) lookup table from failing, Multiple table lookups are required; if multiple table entries coexist in a group of DDRs, and different table entries need to be looked up multiple times, it will also need to occupy a huge DDR access bandwidth, which limits the efficiency of table lookups and blocks The processing of the chip greatly reduces the processing performance of the chip
[0004] To sum up, in the case of a large number of table entries, there are problems such as occupying too many pin resources, bandwidth resources, and affecting the processing performance of the chip when performing table lookup.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lookup processing implementation method and device
  • Lookup processing implementation method and device
  • Lookup processing implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0070] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0071] figure 1 A flow chart of a method for implementing table lookup processing in an embodiment of the present invention, such as figure 1 shown, including:

[0072] Step 100, according to the key (KEY) value of the entry, determine whether the entry...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a lookup processing implementation method and device. The method comprises the steps that according to a KEY value of an entry, whether the entry exists is determined through calculation according to a cyclic redundancy check (CRC) polynomial; when it is determined that the entry exists, a matching table address is determined according to the calculation result of the CRC polynomial; according to a result returned after lookup is performed on a matching table according to the determined matching table address, an off-chip HASH lookup address is determined; and lookup isperformed according to the determined off-chip HASH lookup address to obtain a HASH lookup return KEY value, and lookup processing is performed according to the judgment of whether the KEY value of the entry and the HASH lookup return KEY value are consistent. Through the method in the embodiment, entries needing lookup are reduced, occupation of pin resources and bandwidth resources is lowered,and the influence on chip processing performance is avoided.

Description

technical field [0001] This article involves but is not limited to data processing technology, especially a method and device for realizing look-up table processing. Background technique [0002] With the development of network technology, the number of related entries that network switching chips need to support is increasing. Considering content addressable memory (CAM, content addressable memory) and tri-state content addressable memory (TCAM, ternary content addressable memory) ) cost factor, in the case of large table entries, related technologies generally use an external double-rate synchronous dynamic random access memory (DDR) to perform table lookup processing. [0003] Since the external DDR needs to consume more pin resources, the number of external DDRs will be limited. When the number of DDRs is limited, it is necessary to reduce the number of DDR accesses to prevent the hash (HASH) lookup table from failing, Multiple table lookups are required; if multiple ta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F11/10
CPCG06F11/1004G06F11/10G06F16/00
Inventor 王林滨
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products