Method and apparatus for determining an exact match in a content addressable memory device
First Claim
1. A content addressable memory (CAM) device, comprising:
- a CAM array to store CAM data and mask data, the CAM array including a mask override circuit operable to override the mask data; and
an instruction decoder coupled with the CAM array, the instruction decoder to receive an exact match instruction, the instruction decoder to decode the exact match data to enable the mask override circuit.
11 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for determining an exact match in a ternary CAM device. Each ternary CAM cell includes CAM cells for storing CAM data, local mask cells for storing prefix mask data for the corresponding CAM cells, and a mask override circuit. Each local mask cell includes a masking circuit that masks the prefix mask data or CAM data provided to the comparison circuit, or masks the comparison result from the match line of a CAM cell. The mask override circuit effectively overrides the prefix mask data stored in the local mask cell. The mask override circuit performs the override function by negating the operation of the mask circuit such that no masking operation occurs when an exact match compare or invalidate function is performed by the ternary CAM device. For example, during an exact match operation, the CAM cells compare comparand data with unmasked CAM data and provide the compare results to CAM match lines. The local mask cells also compare mask data with the stored prefix mask data and provide the results to mask match lines. If both compares result in a match, then an exact match entry is located in the ternary CAM device. The locations or indexes of the exact match entries may then be output from the CAM device. One or more of the exact match locations may also be invalidated or deleted.
-
Citations
7 Claims
-
1. A content addressable memory (CAM) device, comprising:
-
a CAM array to store CAM data and mask data, the CAM array including a mask override circuit operable to override the mask data; and
an instruction decoder coupled with the CAM array, the instruction decoder to receive an exact match instruction, the instruction decoder to decode the exact match data to enable the mask override circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7)
a latch coupled with the match line;
a multiplexer coupled with the latch; and
a memory cell coupled to the multiplexer.
-
Specification