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

A method and device for realizing look-up table processing

A look-up table technology, which is used in the field of data processing, can solve the problems of multi-pin resources, occupying a huge DDR access bandwidth, and occupying too many pin resources, so as to reduce pin resources and avoid impact

Active Publication Date: 2021-12-07
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
  • A method and device for realizing look-up table processing
  • A method and device for realizing look-up table processing
  • A method and device for realizing look-up table processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

[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 herein.

[0071] figure 1 A flowchart of a method for implementing table lookup processing according to 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 exists by cycl...

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

A method and device for realizing table lookup processing, including: according to the key (KEY) value of the entry, determine whether the entry exists through cyclic redundancy check (CRC) polynomial calculation; when determining that the entry exists, determine the match according to the calculation result of the CRC polynomial Table address; according to the determined matching table address, the result returned after the matching table is checked, determines the off-chip hash (HASH) look-up address; according to the determined off-chip HASH look-up address, the look-up table is obtained to obtain the return of the hash look-up table KEY value, according to whether the KEY value of the entry is consistent with the KEY value returned by the hash lookup table, the table lookup process is performed. The method of the embodiment of the present invention reduces the entries that need to be looked up, reduces the occupation of pin resources and bandwidth resources, and avoids the impact on chip processing performance.

Description

technical field [0001] This article relates to, but is not limited to, data processing technology, especially a method and device for implementing table lookup processing. Background technique [0002] With the development of network technology, the number of related table entries that network switching chips need to support is increasing. Considering content addressable memory (CAM, content addressable memory) and ternary content addressable memory (TCAM, ternary content addressable memory) ) cost factor, in the case of large table entries, the related art generally uses an external double-rate synchronous dynamic random access memory (DDR) method to perform table lookup processing. [0003] Since the external DDR needs to consume more pin resources, the number of external DDR will be limited. When the number of DDR is limited, it is necessary to reduce the number of DDR accesses to prevent the hash (HASH) lookup table from being missed and appearing When multiple table lo...

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 Patents(China)
IPC IPC(8): G06F16/2455G06F16/22G06F11/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