Method and device for managing list item of content addressable memory CAM
A technology for addressing memory and entry management, which is applied in the computer field and can solve problems such as complex software implementation, low efficiency, and complex implementation of CAM entry management schemes, and achieve the effects of improving efficiency and reducing CPU occupation time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0077]In the prior art, when CAM is in Binary Encoded output mode or Single-match Un-encoded output mode, when there are multiple matches, CAM needs to select from these matching entries One as the last lookup result. In order to meet the needs of practical applications, such as the longest prefix match of routing and the first hit match of ACL, CAM stipulates that the highest or lowest matching address should be returned when there are multiple matches, and it is generally stipulated that the table with the lowest address should be selected from all matching entries in CAM item as the final result. Therefore, when storing entry contents in the CAM, they need to be stored in a certain order, which brings about complex management of CAM entries.
[0078] Figure 5 is a schematic diagram of an existing CAM system. like Figure 5 As shown, when CAM matching is performed according to the search data, two table entries of stored data 2 and stored data w-2 are hit, wherein the m...
Embodiment 2
[0084] In this embodiment 2, for the CAM of the multi-match unencoded (Multi-Match Un-encoded) output mode, its output data width is equal to the TCAM depth, and each entry corresponds to a CAM output bit, then in this embodiment is A corresponding field is added to each CAM output bit, and the corresponding field stores priority information of an entry corresponding to the corresponding CAM output bit. When a single matching result needs to be output, the priority information of the matching entry is compared according to the CAM output data, or the priority information of the matching entry and the matching address information are compared, and finally an output result is selected.
[0085] Figure 8 It is a schematic diagram of the CAM entry management method in Embodiment 2 of the present invention. like Figure 8 As shown, in the CAM system of the Multi-Match Un-encoded output mode, the depth of the TCAM entry is 32, and the width of the CAM output data is also 32 bits,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com