US6987684B1 - Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein - Google Patents

Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein Download PDF

Info

Publication number
US6987684B1
US6987684B1 US10/738,264 US73826403A US6987684B1 US 6987684 B1 US6987684 B1 US 6987684B1 US 73826403 A US73826403 A US 73826403A US 6987684 B1 US6987684 B1 US 6987684B1
Authority
US
United States
Prior art keywords
cam
entry
core
error
entries
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US10/738,264
Inventor
Kenneth Branth
Kee Park
Scott Yu-Fan Chu
Thomas Diede
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Avago Technologies International Sales Pte Ltd
Original Assignee
Integrated Device Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US10/619,635 external-priority patent/US6870749B1/en
Priority claimed from US10/701,048 external-priority patent/US6967856B1/en
Application filed by Integrated Device Technology Inc filed Critical Integrated Device Technology Inc
Priority to US10/738,264 priority Critical patent/US6987684B1/en
Assigned to INTEGRATED DEVICE TECHNOLOGY, INC. reassignment INTEGRATED DEVICE TECHNOLOGY, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BRANTH, KENNETH, CHU, SCOTT YU-FAN, DIEDE, THOMAS, PARK, KEE
Priority to US11/181,534 priority patent/US7193876B1/en
Priority to US11/184,414 priority patent/US7304875B1/en
Application granted granted Critical
Publication of US6987684B1 publication Critical patent/US6987684B1/en
Assigned to SILICON VALLEY BANK reassignment SILICON VALLEY BANK SECURITY AGREEMENT Assignors: NETLOGIC MICROSYSTEMS CAYMANS LIMITED, NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED, NETLOGIC MICROSYSTEMS, INC.
Assigned to NETLOGIC MICROSYSTEMS, INC. reassignment NETLOGIC MICROSYSTEMS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INTEGRATED DEVICE TECHNOLOGY, INC.
Assigned to NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED, NETLOGIC MICROSYSTEMS CAYMANS LIMITED, NETLOGIC MICROSYSTEMS, INC. reassignment NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED RELEASE BY SECURED PARTY (SEE DOCUMENT FOR DETAILS). Assignors: SILICON VALLEY BANK
Assigned to NETLOGIC I LLC reassignment NETLOGIC I LLC CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: NETLOGIC MICROSYSTEMS, INC.
Assigned to BROADCOM CORPORATION reassignment BROADCOM CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: NETLOGIC I LLC
Assigned to BANK OF AMERICA, N.A., AS COLLATERAL AGENT reassignment BANK OF AMERICA, N.A., AS COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: BROADCOM CORPORATION
Assigned to AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. reassignment AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BROADCOM CORPORATION
Assigned to BROADCOM CORPORATION reassignment BROADCOM CORPORATION TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Assignors: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1064Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in cache or content addressable memories

Definitions

  • the present invention relates to integrated circuit memory devices and, more particularly, to content addressable memory (CAM) devices and methods of operating same.
  • CAM content addressable memory
  • RAM random access memory
  • data is typically accessed by supplying an address to an array of memory cells and then reading data from the memory cells that reside at the supplied address.
  • data e.g., search words
  • data within a CAM array is not accessed by initially supplying an address, but rather by initially applying data (e.g., search words) to the array and then performing a search operation to identify one or more entries within the CAM array that contain data equivalent to the applied data and thereby represent a “match” condition. In this manner, data is accessed according to its content rather than its address.
  • the identified location(s) containing the equivalent data is typically encoded to provide an address (e.g., block address+row address within a block) at which the matching entry is located.
  • an address e.g., block address+row address within a block
  • local priority encoding operations may be performed to identify a location of a best or highest priority matching entry. Such priority encoding operations frequently utilize the relative physical locations of multiple matching entries within the CAM array to identify a highest priority matching entry.
  • An exemplary CAM device that utilizes a priority encoder to identify a highest priority matching entry is disclosed in commonly assigned U.S. Pat. No.
  • CAM cells are frequently configured as binary CAM cells that store only data bits (as “1” or “0” logic values) or as ternary (or quaternary) CAM cells that store data bits and mask bits.
  • ternary CAM cells when a mask bit within a ternary CAM cell is inactive (e.g., set to a logic 1 value), the ternary CAM cell may operate as a conventional binary CAM cell storing an “unmasked” data bit.
  • the ternary CAM cell When the mask bit is active (e.g., set to a logic 0 value), the ternary CAM cell is treated as storing a “don't care” (X) value, which means that all compare operations performed on the actively masked ternary CAM cell will result in a cell match condition.
  • X don't care
  • a compare operation will yield one or more match conditions whenever all the unmasked data bits of an entry in the ternary CAM array are identical to the corresponding data bits of the applied search word.
  • the applied search word equals ⁇ 1011 ⁇
  • the following entries will result in a match condition in a CAM comprising ternary CAM cells: ⁇ 1011 ⁇ , ⁇ X011 ⁇ , ⁇ 1X11 ⁇ , ⁇ 10X1 ⁇ , ⁇ 101X ⁇ , ⁇ XX11 ⁇ , ⁇ 1XX1 ⁇ , . . .
  • CAM devices may also use coding techniques to detect and correct one-bit soft errors in entries within a CAM array.
  • One such CAM device that uses a parity comparator to detect errors is described in U.S. Pat. No. 6,067,656 to Rusu et al., entitled “Method and Apparatus for Detecting Soft Errors in Content Addressable Memory Arrays.”
  • Another such CAM device that uses dynamic content addressable memory (DCAM) cells is disclosed in U.S. Pat. No.
  • U.S. Pat. No. 6,597,595 to Ichiriu et al. discloses a CAM device that performs error detection signaling operations. These error detection signaling operations are described as background error checking operations that consume little if any compare bandwidth. This is because any operation to read an entry from a CAM array for error checking purposes may be performed concurrently with the performance of compare operations on the same CAM array.
  • FIG. 1 which is a reproduction of FIG. 10 from the '595 patent, a CAM array 321 is provided with multiple storage blocks 325 (shown as Blocks 1 –K).
  • parity-based error detector In response to a read operation from a check address 155 (CADDR) within the CAM array 321 , data, parity and validity values (shown as DPV 1 through DPV K ) are passed through a read/write circuit 322 into a parity-based error detector 323 .
  • This parity-based error detector is illustrated as including a plurality of error detection circuits 329 .
  • This check address 155 may be supplied by a check address generator (see, e.g., Block 124 in FIG. 2 of the '595 patent).
  • Each of these error detection circuits 329 performs a parity-based error detection operation on a corresponding data word and generates a respective block parity error signal 330 (BLOCK ERROR).
  • These block parity error signals 330 may be logically ORed by an OR gate 331 into a global parity error signal 335 (GLOBAL ERROR).
  • the global parity error signal 335 is provided as a load input to an error address register 337 and as a set input to an S-R flip-flop 339 .
  • the resulting global parity error signal 335 is used to load the check address 155 into the error address register 337 and to set the S-R flip-flop 339 .
  • the S-R flip-flop 339 can be reset by driving a reset signal 153 (RESET) high.
  • the error address register 337 is also illustrated as receiving a read signal 151 (READ) and a clock signal 104 (CLK).
  • the error address register 337 and the S-R flip-flop 339 are configured to output an error address 131 (ERROR ADDR) and an error flag (EFLAG) 132 .
  • the error detector 323 may also include circuitry (not shown) to store a value indicative of which of the error detection circuits has signaled a block error. This value, referred to as a block identifier, may be stored along with the check address 155 in the error address register 337 . The block identifier may then be output from the error address register 337 (as part of the error address) to thereby enable a host or other circuitry within the CAM device to identify the block or blocks within the CAM array 321 that produced the error indication.
  • FIG. 2 which is a reproduction of FIG. 16 from the '595 patent, an alternative error detector 501 is illustrated.
  • This error detector 501 is an error detector/corrector that uses a more complex error correction code instead of parity bit(s).
  • a CAM entry is illustrated as including a data word 503 , shown as data D[M ⁇ 1,0], an error correction code word 505 (e.g., Hamming code word) and a validity bit 506 (V).
  • This CAM entry resides at the error address 536 (EADDR) specified by an ECC address generator 535 .
  • This error address 536 may be provided to an address selector (see, e.g., Block 125 in FIG.
  • the error correction code word 505 in order to enable one bit error correction within a data word having a length of M bits, the error correction code word 505 should have a length equal to “c” bits, where the length “c” meets the following relationship: 2 c ⁇ M+c+1 ⁇ 2 c ⁇ 1 .
  • the data word 503 and error correction code word 505 are provided to a syndrome generator 507 , which generates a syndrome 508 (i.e., parity check vector).
  • the bits of the syndrome 508 are logically ORed using an OR gate 511 to generate a result signal that indicates whether an error is present in the CAM entry.
  • An error correction circuit 509 is also provided. The error correction circuit 509 receives the data word 503 and syndrome 508 . If the error represents a single bit error that can be corrected, then the error correction circuit 509 generates a C-bit signal 512 (C-BIT), which indicates whether a correction has taken place, and a corrected CAM word 510 (data word and error correction code word).
  • C-BIT C-bit signal
  • the error address 536 (EADDR), corrected CAM word 510 (CDATA), error signal 514 (E) and C-bit signal 512 (C) are stored within an error address register 517 , which is responsive to a clock signal 104 .
  • the error signals 514 and error addresses 536 that are stored within the error address register 517 may be used to generate an error flag 532 (EFLAG) and error address 531 (EADDR), which may be used to support background self-invalidation operations (see, e.g., FIG. 14 of the '595 patent).
  • a write data multiplexer 540 which is responsive to a path select signal 541 , is also provided so that a corrected CAM word (CDATA 0 –CDATA x-1 ) may be written back into a CAM array at an address specified by the corresponding error address (EADDR 0 –EADDR X-1 ).
  • Search engine devices include a content addressable memory (CAM) core having a plurality of CAM array blocks therein and a control circuit that is electrically coupled to the CAM core.
  • the control circuit may include, among other things, an instruction FIFO, instruction loading and execution logic and check bit generation and error correction logic.
  • the instruction loading and execution logic may perform instruction pipelining operations that eliminate the need for an instruction FIFO, or the instruction loading and execution logic may be configured to support no-op cycle generation even when the instruction FIFO is partially full.
  • the control circuit is configured to support internal error detection and correction operations that can operate without significant impact on the compare bandwidth of the search engine device, even when operations to read entries from the CAM core are performed as foreground operations that may block concurrent search operations.
  • the control circuit may perform the error detection and correction operations by issuing multiple read instructions. These instructions include a first instruction (e.g., error check instruction) to read at least a first entry within the CAM core for the purpose of error detection and then, in response to detecting the first entry as erroneous, issuing a second instruction to read the first entry from the CAM core.
  • a first instruction e.g., error check instruction
  • the first read operation may be performed as a “high bandwidth” error checking operation that causes many CAM entries to be read in parallel from a plurality of CAM array blocks and checked in parallel for parity errors.
  • the second read operation (or sequence of read operations) is a much more selective operation because it is directed at only those entries that have already been detected as erroneous. In many instances, the second read operation will not need to be performed because many of the first “high bandwidth” read operations will result in the detection of no errors in a group of CAM entries.
  • an erroneous entry is transferred to the error correction logic within the control circuit.
  • the error correction logic may operate to detect the presence of one or more errors (e.g, 2–4 errors) within the entry and, if possible, correct the entry.
  • the error correction logic may be configured to detect as many as four errors within an entry and correct one error within the entry. If two or more errors are present and cannot be corrected, then the search engine device may notify a command host of the erroneous entry and the corresponding entry may be invalidated within the CAM core. This notification operation may also include notification of all entries detected as erroneous, even if they are subject to correction within the search engine device.
  • the ability to detect a high number of errors within an entry and also correct the entry without requiring a check word having an excessive number of check bits is achieved using a modified Hamming code word that combines parity and non-parity check bits.
  • the Hamming code word may consist of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two and the following relationship is met: 2 (H+1/2P) ⁇ N+H+1 ⁇ 2P+1 ⁇ 2 (H+1/2P ⁇ 1) , where N is a length of the data word (including validity bit, etc.).
  • Further embodiments of the present invention include methods of operating a CAM-based search engine device. These methods include issuing a parity check instruction and a multi-block row address to a CAM core within a search engine device. This instruction may be issued in response to detecting a presence of a no-op cycle within an instruction pipeline within the search engine device. In response to this instruction, a plurality of entries may be read in parallel from a plurality of CAM array blocks within the CAM core. A local parity check operation is then performed on the plurality of entries in order to detect a presence of at least a first entry in the plurality of entries that is erroneous. This operation may also include the generation of an error indication word at a read data port of the CAM core. The error indication word may be encoded so that each bit of the word indicates whether or not a corresponding one of the plurality of entries is erroneous.
  • an internally generated instruction is issued to read the first entry from the CAM core.
  • This instruction causes a “second” reading of the first entry from the CAM core into error correction logic within the search engine device.
  • the first entry is then corrected within the search engine device using an error correction code that is held by the first entry. Once corrected, the first entry is rewritten into the CAM core. The latter operations are repeated until all entries that have been detected as erroneous are corrected. Once all erroneous entries have been corrected, the multi-block row address is incremented and another parity-check instruction is issued to the CAM core to repeat the error checking and correcting operations.
  • FIG. 1 is a block diagram of a conventional content addressable memory (CAM) device having parity-based error detection circuits therein.
  • CAM content addressable memory
  • FIG. 2 is a block diagram of a conventional content addressable memory (CAM) device having an error correction circuit therein.
  • CAM content addressable memory
  • FIG. 3 is a block diagram of a search engine device according to embodiments of the present invention.
  • FIG. 4A illustrates a CAM array blocking having a pair of CAM arrays therein, according to embodiments of the present invention.
  • FIG. 4B illustrates the arrangement of modified Hamming code bits and data bits within a CAM entry, according to embodiments of the present invention.
  • FIG. 5A is a block diagram of a CAM core according to embodiments of the present invention.
  • FIG. 5B is a block diagram of a CAM core having error detection logic therein, according to embodiments of the present invention.
  • FIG. 5C illustrates the arrangement of data within an encoded error indication word that may be generated by the CAM core of FIG. 5B when an error check instruction is issued to the CAM core.
  • FIG. 5D is a block diagram of circuit elements within an error correction logic circuit, according to embodiments of the present invention.
  • FIG. 6 is a flow diagram of operations that illustrate methods of performing error detection and correction operations within a search engine device, according to embodiments of the present invention.
  • FIG. 3 is a block diagram of a search engine device 10 according to a first embodiment of the present invention.
  • This search engine device 10 is illustrated as including an instruction buffer 12 , which may be configured as a first-in first-out (FIFO) memory device; however, other conventional logic may be used to incorporate received instructions into an instruction pipeline.
  • the instruction buffer 12 is configured to receive instructions (e.g., read, write and search) that are compatible with operations performed by a content addressable memory (CAM) core 16 .
  • CAM core 16 is illustrated as including 32 CAM array blocks and CAM core logic.
  • each CAM array block 20 may include a pair of CAM arrays that are separated by a priority encoder. These CAM arrays are shown as having a capacity of 2048 ⁇ 80 bits for a CAM core having a capacity of 10 Meg.
  • Each 80 bit entry 21 may be configured as illustrated by FIG. 4B .
  • the instructions provided to the instruction buffer 12 may be generated by a command host (not shown), such as a network processing unit (NPU), and received by an instruction mapped interface (not shown) of the search engine device 10 .
  • the search engine device 10 is also illustrated as including an instruction execution module 14 having instruction loading and execution logic therein.
  • This instruction execution module 14 performs operations of a finite state machine (FSM), including, among other things, instruction scheduling and arbitration.
  • FSM finite state machine
  • the instruction execution module 14 may issue instructions to the CAM core 16 via an instruction interface.
  • the CAM core 16 performs operations and generates results that are provided to a result module 18 via a CAM core result interface.
  • results may be processed by the result module 18 and passed to results mailboxes (not shown), for subsequent reporting to the command host, or passed to a results bus for immediate reporting. Other results may be fed back to the instruction execution module 14 , as illustrated.
  • a detailed description of operations performed by the instruction buffer 12 , instruction execution module 14 and result module 18 is also provided in commonly assigned U.S. application Ser. No. 10/721,036, filed Nov. 21, 2003, the disclosure of which is hereby incorporated herein by reference.
  • These devices which surround the CAM core 16 on an integrated circuit chip, collectively define a control circuit as described herein.
  • the instruction execution module 14 is illustrated as including check bit generation and error correction logic therein.
  • the check bit generation logic may be configured to generate check bits that support error detection and error correction operations, which may be performed independently inside and outside the CAM core 16 .
  • the check bit generation logic may be configured to generate a modified Hamming code word for each entry that is written into the CAM core 16 .
  • This modified Hamming code word may be attached to each entry when it is written into the CAM core 16 or stored in a separate check bit memory (not shown) that maps to each entry within the CAM core 16 .
  • the use of separate check bit memory is described more fully in commonly assigned U.S. application Ser. No. 10/619,635, filed Jul. 15, 2003.
  • the modified Hamming code supports limited 4-bit error detection and 1-bit error correction operations. In particular, a maximum of four errors may be detected so long as the four errors are distributed over the Xe, Xo, Ye and Yo bits of an entry, as described below.
  • the 80-bit wide CAM entry 21 of FIG. 4B is illustrated as including 80 ternary CAM (TCAM) cells, which support 160 bits of data in the form of 80 X-bits and 80 Y-bits. These TCAM cells may be configured as lateral XY CAM cells that are each coupled to two pairs of bit lines and one pair of data lines.
  • TCAM ternary CAM
  • the layout, electrical configuration and operation of such XY CAM cells are more fully described in commonly assigned U.S. application Ser. No. 10/609,756, filed Jun. 20, 2003, and U.S. application Ser. No. 10/386,400, filed Mar. 11, 2003, the disclosures of which are hereby incorporated herein by reference.
  • the CAM entry 21 is also illustrated as including an entry valid bit (EV) and a force no-hit bit (FNH).
  • the entry valid bit (EV) is a searchable bit that may be set low to represent an invalid entry or set high to represent a valid entry.
  • the force no-hit bit (FNH) may be set to force a corresponding entry to register a miss condition whenever a search operation is performed on the entry.
  • An active FNH bit will also operate to cause all lower priority matching entries within the same CAM segment, if any, to register a miss condition(s).
  • the entry valid bit (EV) and force no-hit bit (FNH) may be stored within binary CAM cells.
  • Both of these bits can be used in the parity bit calculation, which means any operations to change these bits within an entry in the CAM core 16 may need to be accompanied by or followed by operations to correct the check bit information in the entry. Accordingly, if an EV bit is switched from a valid value to an invalid value to thereby age out a corresponding entry during CAM aging operations, for example, the check bits associated with the entry will also need to be updated. This will prevent a formerly aged out entry from subsequently being detected as erroneous and then corrected (i.e., reborn) by switching back the value of the EV bit.
  • This correction of the check bit information when switching the EV bit to an invalid state can be achieved by writing a default entry with generic data and FNH values (e.g., all 0's), an invalid EV bit and check bits that are properly determined for these values.
  • Operations to perform aging on CAM core entries is more fully illustrated and described in U.S. application Ser. No. 10/714,680, filed Nov. 14, 2003, the disclosure of which is hereby incorporated herein by reference.
  • the entry 21 of FIG. 4B is also illustrated as including ten (10) check bits that constitute a modified Hamming code word. These ten check bits include six standard Hamming code bits, shown as H 2 –H 7 , and four parity bits, shown as Xe, Ye, Xo and Yo, where “e” and “o” represent “even” and “odd”, respectively.
  • the 160 data bits within the entry 21 include 40 even X-bits (X 0 , X 2 , X 4 , . . . , and X 78 ), 40 even Y-bits (Y 0 , Y 2 , Y 4 , . . .
  • the six Hamming code bits H 2 –H 7 and four parity bits may be generated within the check bit generation logic using circuitry that is configured to perform the following boolean operations:
  • the CAM core instruction interface is configured to support communication of various instructions to the CAM core 16 . These instructions are illustrated as search, write, read and parity check. Other instructions (not shown) may also be provided (e.g., learn, search and learn (SNL), clear valid, etc.).
  • the incoming data port to the CAM core is accompanied by an address port, which may pass a write address (e.g., block and row addresses) to the CAM core during write operations.
  • the CAM core 16 is also responsive to various enable signals.
  • the CAM core result interface is configured to generate one or more hit signals, which indicate the presence of matching entries within the CAM core 16 during search operations, and index data that identifies addresses of matching entries.
  • the result interface is also configured with a read data port, as shown. As described more fully hereinbelow, this read data port may be used as a multi-function port that is active during parity check operations.
  • the CAM core logic within the CAM core 16 of FIG. 5A combines parity check logic circuits that are associated with each CAM array block.
  • a read operation is performed in parallel from the CAM array blocks. If the CAM core 16 is configured in a 1/1 parity check mode, then this read operation will be performed in parallel from all of the 32 blocks.
  • programming the CAM core 16 to support a 1 ⁇ 2 or 1/4 parity check mode will cause the parity check read operation to be performed in parallel from 16 or 8 of the 32 CAM array blocks, respectively. For purposes of discussion herein, only the 1/1 parity check mode will be considered.
  • parity check logic circuits In response to the parallel read operation, two entries 21 (left and right) from each CAM array block will be read into the parity check logic circuits associated with each CAM array block.
  • the parity check logic circuits will generate a parity result (PARITY RESULT) upon receipt of each entry 21 .
  • the parity result may be determined using logic that performs the following boolean operations:
  • Each parity check logic circuit in the illustrated CAM core 16 of FIG. 5B generates two parity result bits. One of these is for the left side CAM array within a corresponding CAM array block and the other of these is for the right side CAM array within the corresponding CAM array block.
  • Different CAM array blocks having only one or more than two CAM arrays therein can be used to generate a different number of parity result bits.
  • the parallel read operation may cause only one entry to be read from either the left side CAM array or right side CAM array within the group of CAM array blocks. In this case, the read address accompanying the parallel read operation may specify either the right CAM array or left CAM array, along with a row address. Nonetheless, two parity result bits may be generated for each left or right entry. These two bits of parity result may be computed as:
  • the two bits of parity result that are generated from an entry will indicate whether the error is in the X bits, Y bits, or both X and Y bits.
  • This indication of X bit or Y bit error may be useful when reporting erroneous entries to the command host.
  • these parity result bits are encoded into a 64-bit error indication word, which is passed to a read data port of the CAM core 16 .
  • the encoded error indication word of FIG. 5C which is provided as an example, indicates the presence of parity errors in two entries within the 32 CAM array blocks (from the designated row address). These entries include an entry from the left side of CAM block 4 and an entry from the right side of CAM block 20 .
  • the encoded error indication word of FIG. 5C may indicate an X-bit error in an entry from CAM block 4 and a Y-bit error in an entry from CAM block 20 .
  • this encoded error indication word is passed to the result module 18 and then fed back to the instruction execution module 14 where it is decoded.
  • FIG. 5D which illustrates a portion of the logic within the instruction execution module 14
  • the encoded error indication word is received by a block address decoder 15 .
  • This block address decoder looks for active bits within the encoded error indication word and generates the block addresses of the CAM array blocks having erroneous entries therein.
  • these block addresses may include an array address, which identifies whether a left or right CAM array within a block contains an erroneous entry.
  • These addresses are combined with the multi-block row address that was previously generated when the parity check instruction was issued by the instruction execution module 14 , to thereby generate a row address of each erroneous entry within a corresponding CAM array (left or right).
  • These row addresses are stored within an error address memory device 17 , which is illustrated as a FIFO memory device.
  • this FIFO memory device may be a searchable memory device that can be used to prevent conflicts when write operations are performed into addresses containing erroneous entries.
  • the encoded error indication word may be stored in a register and then checked and updated for the presence of any remaining erroneous addresses. (See, e.g., Block 606 in FIG. 6 , where the check of an error address FIFO may be replaced by a check of the register).
  • the error detection and correction operations 600 performed by the search engine device 10 of FIGS. 3–4 and 5 A– 5 D include a check by the instruction execution module 14 to determine whether an incoming instruction pipeline has an opening therein that can support the insertion of a CAM core instruction. This check is made at Block 602 in FIG. 6 . When this check results in an affirmative answer, control is passed to Block 604 . At Block 604 , a check is made to determine whether any corrected entry is pending in the instruction execution module for insertion into the CAM core 16 . If this check results in a negative answer, control is passed to Block 606 . At Block 606 , a check is made as to whether the error address FIFO 17 within the instruction execution module is empty. If this check results in an affirmative answer, then a multi-block row address counter (not shown) within the instruction execution module 14 , is incremented, Block 608 . Upon reset of the search engine device, this counter may be reset to a zero count.
  • a parity check instruction and the counter value (row address) are forwarded to the CAM core 16 .
  • a parity check instruction and the counter value (row address) are forwarded to the CAM core 16 .
  • a plurality of entries are read in parallel from the CAM array blocks into the parity check logic that is embedded within the CAM core 16 , Block 612 .
  • this parity check read operation results in the parallel transfer of 64 entries 21 into the parity check logic. (See, e.g., FIG. 5B ).
  • the entries are checked for parity errors and the parity results are passed as an encoded error indication word to the read data port.
  • the encoded error indication word is then forwarded from the result module 18 to the instruction execution module, Block 616 .
  • the error indication word indicates the presence of one or more parity errors when it is initially processed by the block address decoder 15 , Block 618 , then it is decoded into one or more corresponding addresses. The addresses of the erroneous entries are then added to the error address FIFO 17 , Block 620 , and control is returned to Block 602 . If the error indication word does not indicate at least one error at Block 618 , then control is returned directly to Block 602 without any further processing of the error indication word.
  • Block 604 a check is made to determine whether there are any corrected entries pending in the instruction execution module, Block 604 . If the answer is no, then a check is made at Block 606 to determine whether the error address FIFO 17 is empty. Assuming that the two entry errors illustrated by FIG. 5C were detected when Block 618 was originally encountered, then this check at Block 606 will result in a negative conclusion and control will be passed to Block 622 . At Block 622 , the next available error address within error address FIFO 17 is designated as the current error address. This error address and read instruction are then passed to the CAM core, Block 624 .
  • this read instruction may constitute a “read-set-invalid” instruction that results in a read of the entry and simultaneously causes the valid bit in the entry to be set to an invalid value. This will remove the invalid entry from the search path within the CAM core 16 until it is subsequently corrected and rewritten.
  • the read instruction may be treated as a multi-cycle instruction, which includes a set-invalid operation to invalidate the entry and then a subsequent read operation to read the erroneous entry and pass it to the read port. The performance of the set-invalid operation before the read operation operates to remove the erroneous entry from the search path as soon as practical.
  • the erroneous entry is then forwarded by the result module 18 to the instruction execution module 14 , Block 628 .
  • the erroneous entry is evaluated further for the presence of errors and corrected by the error correction logic within the instruction execution module 14 if possible.
  • These error correction operations identified by Block 630 may be performed as background operations without impacting the compare bandwidth of the search engine device 10 .
  • the corrected entry is stored in a buffer memory (not shown) in the instruction execution logic 14 pending rewriting into the CAM core 16 .
  • the four bits of parity associated with each entry in the CAM core 16 support the detection of as many as four parity errors.
  • Each of these parity bits, Xe, Ye, Xo and Yo is a function of the data bits and at least some of the Hamming code bits H 2 –H 7 .
  • the parity bit Xe is a function of the even X bits, the FNH bit and Hamming code bit H 4 , as illustrated above.
  • the parity bit Yo is a function of the odd Y bits and Hamming code bits H 3 and H 7 .
  • parity bits and Hamming code bits may also be combined as a check word to support the correction of a single bit error within the entry. If desired, a greater number of check bits can be used in some embodiments to support correction of a greater number of errors.
  • the parity checking operation indicates the presence of two or as many as four errors within the entry 21 that cannot be corrected, then the entry 21 and its address within the CAM core 16 may be reported to the command host for further processing and the entry 21 may be invalidated within the CAM core 16 .
  • These reporting operations may also apply to erroneous entries that are subject to correction. These reporting operations may be facilitated by the use of an error FIFO that retains the erroneous entries and/or their addresses. This error FIFO may be subject to periodic reading operations by the command host.
  • Block 630 control is passed back to Blocks 602 and 604 . Accordingly, upon detection of an opening (e.g., no-op cycle) within the instruction pipeline, the check of whether a corrected entry is pending results in an affirmative answer, Block 604 , and control is passed to Block 632 . The corrected entry, corresponding address and a write instruction are then passed to the CAM core 16 . In response, the corrected entry is written over the corresponding erroneous entry in the designated CAM array block, Block 634 , and the address is removed from the error address FIFO 17 .
  • an opening e.g., no-op cycle
  • Operations may also be performed to compare each incoming write address (e.g., those issued by a command host) against the entries of the error address FIFO 17 to detect a match. If a match is present, the externally generated write instruction is submitted to the CAM core 16 and the matching address within the error address FIFO 17 is removed so that no overwrite operation to correct an “erroneous” entry is performed on a newly written entry. In this manner, the error address FIFO 17 operates as a searchable cache memory. Similar compare operations may also be performed with respect to an incoming read address. In the event a match is detected, the corresponding read operation may be suspended until such time as the erroneous entry has been corrected. Alternatively, the read operation may be marked so that any read result will be accompanied by a flag or other indication that the entry is erroneous.
  • Block 634 Upon completion of the write operation illustrated by Block 634 , control is passed to Block 602 and the sequence of operations is repeated. In particular, control is again passed through Blocks 602 , 604 and 606 and the next error address in the FIFO is set as the current error address, Block 622 . The operations associated with Blocks 624 – 630 are then performed and the error address FIFO 17 , which was originally filled with two addresses as described above, is emptied. Control is then passed through Blocks 602 , 604 , 606 to Block 608 where the multi-block row address counter is incremented before performing the next parity check operation and repeating the above described operations in sequence for all of the rows (e.g., 2048 rows in FIG. 4A ) within the CAM array blocks.
  • the multi-block row address counter is incremented before performing the next parity check operation and repeating the above described operations in sequence for all of the rows (e.g., 2048 rows in FIG. 4A ) within the CAM array blocks.

Abstract

Search engine devices include a content addressable memory (CAM) core having a plurality of CAM array blocks therein and a control circuit that is electrically coupled to the CAM core. The control circuit is configured to support internal error detection and correction operations using modified Hamming code words. These operations are performed without significant impact on the compare bandwidth of the search engine device, even when operations to read entries from the CAM core are performed as foreground operations that may block concurrent search operations. The control circuit may perform the error detection and correction operations by issuing multiple read instructions. These instructions include a first instruction (e.g., error check instruction) to read at least a first entry into the CAM core for the purpose of error detection and then, in response to detecting the first entry as erroneous, issuing a second instruction to read the first entry from the CAM core. The entry is then corrected and written back into the CAM core.

Description

REFERENCE TO RELATED APPLICATION
This application is a continuation-in-part (CIP) of U.S. application Ser. No. 10/619,635, filed Jul. 15, 2003, now U.S. Pat. No. 6,870,749 and a continuation-in-part (CIP) of U.S. application Ser. No. 10/701,048, filed Nov. 4, 2003, the disclosures of which are hereby incorporated herein by reference.
FIELD OF THE INVENTION
The present invention relates to integrated circuit memory devices and, more particularly, to content addressable memory (CAM) devices and methods of operating same.
BACKGROUND OF THE INVENTION
In many memory devices, including random access memory (RAM) devices, data is typically accessed by supplying an address to an array of memory cells and then reading data from the memory cells that reside at the supplied address. However, in content addressable memory (CAM) devices, data within a CAM array is not accessed by initially supplying an address, but rather by initially applying data (e.g., search words) to the array and then performing a search operation to identify one or more entries within the CAM array that contain data equivalent to the applied data and thereby represent a “match” condition. In this manner, data is accessed according to its content rather than its address. Upon completion of the search operation, the identified location(s) containing the equivalent data is typically encoded to provide an address (e.g., block address+row address within a block) at which the matching entry is located. If multiple matching entries are identified in response to the search operation, then local priority encoding operations may be performed to identify a location of a best or highest priority matching entry. Such priority encoding operations frequently utilize the relative physical locations of multiple matching entries within the CAM array to identify a highest priority matching entry. An exemplary CAM device that utilizes a priority encoder to identify a highest priority matching entry is disclosed in commonly assigned U.S. Pat. No. 6,370,613 to Diede et al., entitled “Content Addressable Memory with Longest Match Detect,” the disclosure of which is hereby incorporated herein by reference. Additional CAM devices are described in U.S. Pat. Nos. 5,706,224, 5,852,569 and 5,964,857 to Srinivasan et al. and in U.S. Pat. Nos. 6,101,116, 6,256,216, 6,128,207 and 6,262,907 to Lien et al., assigned to the present assignee, the disclosures of which are hereby incorporated herein by reference.
CAM cells are frequently configured as binary CAM cells that store only data bits (as “1” or “0” logic values) or as ternary (or quaternary) CAM cells that store data bits and mask bits. As will be understood by those skilled in the art, when a mask bit within a ternary CAM cell is inactive (e.g., set to a logic 1 value), the ternary CAM cell may operate as a conventional binary CAM cell storing an “unmasked” data bit. When the mask bit is active (e.g., set to a logic 0 value), the ternary CAM cell is treated as storing a “don't care” (X) value, which means that all compare operations performed on the actively masked ternary CAM cell will result in a cell match condition. Thus, if a logic 0 data bit is applied to a ternary CAM cell storing an active mask bit and a logic 1 data bit, the compare operation will indicate a cell match condition. A cell match condition will also be indicated if a logic 1 data bit is applied to a ternary CAM cell storing an active mask bit and a logic 0 data bit. Accordingly, if a data word of length N, where N is an integer, is applied to a ternary CAM array having a plurality of entries therein of logical width N, then a compare operation will yield one or more match conditions whenever all the unmasked data bits of an entry in the ternary CAM array are identical to the corresponding data bits of the applied search word. This means that if the applied search word equals {1011}, the following entries will result in a match condition in a CAM comprising ternary CAM cells: {1011}, {X011}, {1X11}, {10X1}, {101X}, {XX11}, {1XX1}, . . . , {1XXX}, {XXXX}. As will be understood by those skilled in the art, conventional “quaternary” CAM cells, which have four valid combinations of states: ((data=0, mask=active), (data=1, mask=active), (data=0, mask=inactive), (data=1, mask=inactive)), are frequently treated as “ternary” CAM cells because two of the four states represent an equivalent active mask condition. In contrast, ternary CAM cells may include CAM cells having two bits of data that are configurable in only three valid combinations: ((0,1)=0, (1,0)=1, (0,0)=mask and (1,1)=invalid). Both types of cells will be referred to herein as ternary CAM cells.
CAM devices may also use coding techniques to detect and correct one-bit soft errors in entries within a CAM array. One such CAM device that uses a parity comparator to detect errors is described in U.S. Pat. No. 6,067,656 to Rusu et al., entitled “Method and Apparatus for Detecting Soft Errors in Content Addressable Memory Arrays.” Another such CAM device that uses dynamic content addressable memory (DCAM) cells is disclosed in U.S. Pat. No. 6,430,073 to Batson et al., entitled “DRAM CAM Cell with Hidden Refresh.” In particular, the '073 patent discloses a technique for performing hidden refresh of dynamic CAM entries using non-destructive read operations that may be performed during match line (ML) precharge operations. Upon reading, the entries may be checked for errors and possibly corrected before undergoing a refresh write operation.
U.S. Pat. No. 6,597,595 to Ichiriu et al. discloses a CAM device that performs error detection signaling operations. These error detection signaling operations are described as background error checking operations that consume little if any compare bandwidth. This is because any operation to read an entry from a CAM array for error checking purposes may be performed concurrently with the performance of compare operations on the same CAM array. As illustrated by FIG. 1, which is a reproduction of FIG. 10 from the '595 patent, a CAM array 321 is provided with multiple storage blocks 325 (shown as Blocks 1–K). In response to a read operation from a check address 155 (CADDR) within the CAM array 321, data, parity and validity values (shown as DPV1 through DPVK) are passed through a read/write circuit 322 into a parity-based error detector 323. This parity-based error detector is illustrated as including a plurality of error detection circuits 329. This check address 155 may be supplied by a check address generator (see, e.g., Block 124 in FIG. 2 of the '595 patent). Each of these error detection circuits 329 performs a parity-based error detection operation on a corresponding data word and generates a respective block parity error signal 330 (BLOCK ERROR). These block parity error signals 330 may be logically ORed by an OR gate 331 into a global parity error signal 335 (GLOBAL ERROR). The global parity error signal 335 is provided as a load input to an error address register 337 and as a set input to an S-R flip-flop 339. Whenever a block parity error is signaled by any of the error detection circuits 329, the resulting global parity error signal 335 is used to load the check address 155 into the error address register 337 and to set the S-R flip-flop 339. The S-R flip-flop 339 can be reset by driving a reset signal 153 (RESET) high. The error address register 337 is also illustrated as receiving a read signal 151 (READ) and a clock signal 104 (CLK). The error address register 337 and the S-R flip-flop 339 are configured to output an error address 131 (ERROR ADDR) and an error flag (EFLAG) 132. The error detector 323 may also include circuitry (not shown) to store a value indicative of which of the error detection circuits has signaled a block error. This value, referred to as a block identifier, may be stored along with the check address 155 in the error address register 337. The block identifier may then be output from the error address register 337 (as part of the error address) to thereby enable a host or other circuitry within the CAM device to identify the block or blocks within the CAM array 321 that produced the error indication.
Referring now to FIG. 2, which is a reproduction of FIG. 16 from the '595 patent, an alternative error detector 501 is illustrated. This error detector 501 is an error detector/corrector that uses a more complex error correction code instead of parity bit(s). At the top of FIG. 2, a CAM entry is illustrated as including a data word 503, shown as data D[M−1,0], an error correction code word 505 (e.g., Hamming code word) and a validity bit 506 (V). This CAM entry resides at the error address 536 (EADDR) specified by an ECC address generator 535. This error address 536 may be provided to an address selector (see, e.g., Block 125 in FIG. 2 of the '595 patent). As will be understood by those skilled in the art, in order to enable one bit error correction within a data word having a length of M bits, the error correction code word 505 should have a length equal to “c” bits, where the length “c” meets the following relationship: 2c≧M+c+1≧2c−1. In response to a read operation, the data word 503 and error correction code word 505 are provided to a syndrome generator 507, which generates a syndrome 508 (i.e., parity check vector). The bits of the syndrome 508 are logically ORed using an OR gate 511 to generate a result signal that indicates whether an error is present in the CAM entry. This result signal is provided to an input of a AND gate 513, which also receives the validity bit signal 506. If the CAM entry is valid (i.e., V=1), then an error signal 514 (ERROR) may be generated at the output of the AND gate 513 whenever the result signal indicates the presence of an error. An error correction circuit 509 is also provided. The error correction circuit 509 receives the data word 503 and syndrome 508. If the error represents a single bit error that can be corrected, then the error correction circuit 509 generates a C-bit signal 512 (C-BIT), which indicates whether a correction has taken place, and a corrected CAM word 510 (data word and error correction code word). At the end of each error detection operation, the error address 536 (EADDR), corrected CAM word 510 (CDATA), error signal 514 (E) and C-bit signal 512 (C) are stored within an error address register 517, which is responsive to a clock signal 104. The error signals 514 and error addresses 536 that are stored within the error address register 517 may be used to generate an error flag 532 (EFLAG) and error address 531 (EADDR), which may be used to support background self-invalidation operations (see, e.g., FIG. 14 of the '595 patent). A write data multiplexer 540, which is responsive to a path select signal 541, is also provided so that a corrected CAM word (CDATA0–CDATAx-1) may be written back into a CAM array at an address specified by the corresponding error address (EADDR0–EADDRX-1).
Notwithstanding the disclosure of the '595 patent, the performance of a background operation to read an entry from a CAM array while a foreground compare operation is being performed concurrently on the same CAM array may impact the reliability of the compare operation. This is because the performance of a read operation on a row of CAM cells within a CAM array may operate to “stress” the memory elements within the row of CAM cells and cause the logic levels of signals within the memory elements to fluctuate. Such fluctuations can represent a significant disturbances to the outputs of the memory elements, particularly if the CAM cells are powered at low voltage levels (e.g., Vdd˜1 Volt), and may result in erroneous compare operations. Accordingly, it may be more advantageous to perform read operations for error checking purposes as foreground operations that consume at least some degree of compare bandwidth.
Unfortunately, if the read operations used for error checking purposes in the error detector/corrector 501 of FIG. 2 are performed as foreground operations, then substantial compare bandwidth will likely be consumed as the ECC address generator 535 sequentially steps through the address of each CAM entry within an entire CAM core looking for errors to be corrected. To remedy this performance limitation associated with the error detector/corrector 501 of FIG. 2, a duplicate error detector/corrector 501 could be provided for each CAM storage block in the CAM core. However, unlike parity-based error detectors, which can be made relatively small, the use of an error detector/corrector 501 with each CAM storage block can be expected to consume a substantial amount of layout area and considerably increase power consumption requirements.
SUMMARY OF THE INVENTION
Search engine devices according to embodiments of the present invention include a content addressable memory (CAM) core having a plurality of CAM array blocks therein and a control circuit that is electrically coupled to the CAM core. The control circuit may include, among other things, an instruction FIFO, instruction loading and execution logic and check bit generation and error correction logic. Alternatively, the instruction loading and execution logic may perform instruction pipelining operations that eliminate the need for an instruction FIFO, or the instruction loading and execution logic may be configured to support no-op cycle generation even when the instruction FIFO is partially full. The control circuit is configured to support internal error detection and correction operations that can operate without significant impact on the compare bandwidth of the search engine device, even when operations to read entries from the CAM core are performed as foreground operations that may block concurrent search operations. The control circuit may perform the error detection and correction operations by issuing multiple read instructions. These instructions include a first instruction (e.g., error check instruction) to read at least a first entry within the CAM core for the purpose of error detection and then, in response to detecting the first entry as erroneous, issuing a second instruction to read the first entry from the CAM core.
In particular, the first read operation may be performed as a “high bandwidth” error checking operation that causes many CAM entries to be read in parallel from a plurality of CAM array blocks and checked in parallel for parity errors. The second read operation (or sequence of read operations) is a much more selective operation because it is directed at only those entries that have already been detected as erroneous. In many instances, the second read operation will not need to be performed because many of the first “high bandwidth” read operations will result in the detection of no errors in a group of CAM entries.
To respond to the second read operation, an erroneous entry is transferred to the error correction logic within the control circuit. The error correction logic may operate to detect the presence of one or more errors (e.g, 2–4 errors) within the entry and, if possible, correct the entry. In a typical embodiment, the error correction logic may be configured to detect as many as four errors within an entry and correct one error within the entry. If two or more errors are present and cannot be corrected, then the search engine device may notify a command host of the erroneous entry and the corresponding entry may be invalidated within the CAM core. This notification operation may also include notification of all entries detected as erroneous, even if they are subject to correction within the search engine device.
The ability to detect a high number of errors within an entry and also correct the entry without requiring a check word having an excessive number of check bits is achieved using a modified Hamming code word that combines parity and non-parity check bits. In particular, the Hamming code word may consist of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two and the following relationship is met: 2(H+1/2P)≧N+H+½P+1≧2(H+1/2P−1), where N is a length of the data word (including validity bit, etc.).
Further embodiments of the present invention include methods of operating a CAM-based search engine device. These methods include issuing a parity check instruction and a multi-block row address to a CAM core within a search engine device. This instruction may be issued in response to detecting a presence of a no-op cycle within an instruction pipeline within the search engine device. In response to this instruction, a plurality of entries may be read in parallel from a plurality of CAM array blocks within the CAM core. A local parity check operation is then performed on the plurality of entries in order to detect a presence of at least a first entry in the plurality of entries that is erroneous. This operation may also include the generation of an error indication word at a read data port of the CAM core. The error indication word may be encoded so that each bit of the word indicates whether or not a corresponding one of the plurality of entries is erroneous.
In response to this detection, an internally generated instruction is issued to read the first entry from the CAM core. This instruction causes a “second” reading of the first entry from the CAM core into error correction logic within the search engine device. The first entry is then corrected within the search engine device using an error correction code that is held by the first entry. Once corrected, the first entry is rewritten into the CAM core. The latter operations are repeated until all entries that have been detected as erroneous are corrected. Once all erroneous entries have been corrected, the multi-block row address is incremented and another parity-check instruction is issued to the CAM core to repeat the error checking and correcting operations.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a conventional content addressable memory (CAM) device having parity-based error detection circuits therein.
FIG. 2 is a block diagram of a conventional content addressable memory (CAM) device having an error correction circuit therein.
FIG. 3 is a block diagram of a search engine device according to embodiments of the present invention.
FIG. 4A illustrates a CAM array blocking having a pair of CAM arrays therein, according to embodiments of the present invention.
FIG. 4B illustrates the arrangement of modified Hamming code bits and data bits within a CAM entry, according to embodiments of the present invention.
FIG. 5A is a block diagram of a CAM core according to embodiments of the present invention.
FIG. 5B is a block diagram of a CAM core having error detection logic therein, according to embodiments of the present invention.
FIG. 5C illustrates the arrangement of data within an encoded error indication word that may be generated by the CAM core of FIG. 5B when an error check instruction is issued to the CAM core.
FIG. 5D is a block diagram of circuit elements within an error correction logic circuit, according to embodiments of the present invention.
FIG. 6 is a flow diagram of operations that illustrate methods of performing error detection and correction operations within a search engine device, according to embodiments of the present invention.
DESCRIPTION OF PREFERRED EMBODIMENTS
The present invention now will be described more fully herein with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like reference numerals refer to like elements throughout and signal lines and signals thereon may be referred to by the same reference characters. Signals may also be synchronized and/or undergo minor boolean operations (e.g., inversion) without being considered different signals.
FIG. 3 is a block diagram of a search engine device 10 according to a first embodiment of the present invention. This search engine device 10 is illustrated as including an instruction buffer 12, which may be configured as a first-in first-out (FIFO) memory device; however, other conventional logic may be used to incorporate received instructions into an instruction pipeline. The instruction buffer 12 is configured to receive instructions (e.g., read, write and search) that are compatible with operations performed by a content addressable memory (CAM) core 16. This CAM core 16 is illustrated as including 32 CAM array blocks and CAM core logic. As illustrated by FIG. 4A, each CAM array block 20 may include a pair of CAM arrays that are separated by a priority encoder. These CAM arrays are shown as having a capacity of 2048×80 bits for a CAM core having a capacity of 10 Meg. Each 80 bit entry 21 may be configured as illustrated by FIG. 4B.
The instructions provided to the instruction buffer 12 may be generated by a command host (not shown), such as a network processing unit (NPU), and received by an instruction mapped interface (not shown) of the search engine device 10. The search engine device 10 is also illustrated as including an instruction execution module 14 having instruction loading and execution logic therein. This instruction execution module 14 performs operations of a finite state machine (FSM), including, among other things, instruction scheduling and arbitration. As illustrated, the instruction execution module 14 may issue instructions to the CAM core 16 via an instruction interface. In response, the CAM core 16 performs operations and generates results that are provided to a result module 18 via a CAM core result interface. Some of these results may be processed by the result module 18 and passed to results mailboxes (not shown), for subsequent reporting to the command host, or passed to a results bus for immediate reporting. Other results may be fed back to the instruction execution module 14, as illustrated. A detailed description of operations performed by the instruction buffer 12, instruction execution module 14 and result module 18 is also provided in commonly assigned U.S. application Ser. No. 10/721,036, filed Nov. 21, 2003, the disclosure of which is hereby incorporated herein by reference. These devices, which surround the CAM core 16 on an integrated circuit chip, collectively define a control circuit as described herein.
The instruction execution module 14 is illustrated as including check bit generation and error correction logic therein. In some embodiments of the present invention, the check bit generation logic may be configured to generate check bits that support error detection and error correction operations, which may be performed independently inside and outside the CAM core 16. The check bit generation logic may be configured to generate a modified Hamming code word for each entry that is written into the CAM core 16. This modified Hamming code word may be attached to each entry when it is written into the CAM core 16 or stored in a separate check bit memory (not shown) that maps to each entry within the CAM core 16. The use of separate check bit memory is described more fully in commonly assigned U.S. application Ser. No. 10/619,635, filed Jul. 15, 2003. The modified Hamming code supports limited 4-bit error detection and 1-bit error correction operations. In particular, a maximum of four errors may be detected so long as the four errors are distributed over the Xe, Xo, Ye and Yo bits of an entry, as described below.
The 80-bit wide CAM entry 21 of FIG. 4B is illustrated as including 80 ternary CAM (TCAM) cells, which support 160 bits of data in the form of 80 X-bits and 80 Y-bits. These TCAM cells may be configured as lateral XY CAM cells that are each coupled to two pairs of bit lines and one pair of data lines. The layout, electrical configuration and operation of such XY CAM cells are more fully described in commonly assigned U.S. application Ser. No. 10/609,756, filed Jun. 20, 2003, and U.S. application Ser. No. 10/386,400, filed Mar. 11, 2003, the disclosures of which are hereby incorporated herein by reference.
The CAM entry 21 is also illustrated as including an entry valid bit (EV) and a force no-hit bit (FNH). The entry valid bit (EV) is a searchable bit that may be set low to represent an invalid entry or set high to represent a valid entry. The force no-hit bit (FNH) may be set to force a corresponding entry to register a miss condition whenever a search operation is performed on the entry. An active FNH bit will also operate to cause all lower priority matching entries within the same CAM segment, if any, to register a miss condition(s). The entry valid bit (EV) and force no-hit bit (FNH) may be stored within binary CAM cells. Both of these bits can be used in the parity bit calculation, which means any operations to change these bits within an entry in the CAM core 16 may need to be accompanied by or followed by operations to correct the check bit information in the entry. Accordingly, if an EV bit is switched from a valid value to an invalid value to thereby age out a corresponding entry during CAM aging operations, for example, the check bits associated with the entry will also need to be updated. This will prevent a formerly aged out entry from subsequently being detected as erroneous and then corrected (i.e., reborn) by switching back the value of the EV bit. This correction of the check bit information when switching the EV bit to an invalid state can be achieved by writing a default entry with generic data and FNH values (e.g., all 0's), an invalid EV bit and check bits that are properly determined for these values. Operations to perform aging on CAM core entries is more fully illustrated and described in U.S. application Ser. No. 10/714,680, filed Nov. 14, 2003, the disclosure of which is hereby incorporated herein by reference.
The entry 21 of FIG. 4B is also illustrated as including ten (10) check bits that constitute a modified Hamming code word. These ten check bits include six standard Hamming code bits, shown as H2–H7, and four parity bits, shown as Xe, Ye, Xo and Yo, where “e” and “o” represent “even” and “odd”, respectively. The 160 data bits within the entry 21 include 40 even X-bits (X0, X2, X4, . . . , and X78), 40 even Y-bits (Y0, Y2, Y4, . . . , and Y78), 40 odd X-bits (X1, X3, X5, . . . , and X79) and 40 odd Y-bits (Y1, Y3, Y5, . . . , and Y79).
The six Hamming code bits H2–H7 and four parity bits (Xe, Ye, Xo and Yo) may be generated within the check bit generation logic using circuitry that is configured to perform the following boolean operations:
H2 = XOR(X[0, 1, 4–7, 10, 11, 14, 15, 18–21, 24–27, 30, 31, 34, 35,
38–41, 44–47, 50, 51, 54, 55, 58–61, 64–67, 70, 71, 74, 75, 78,
79], Y[0, 1, 4–7, 10, 11, 14, 15, 18–21, 24–27, 30, 31, 34, 35,
38–41, 44–47, 50, 51, 54, 55, 58–61, 64–67, 70, 71, 74, 75,
78, 79], FNH];
H3 = XOR(X[2–5, 8–11, 16–19, 22–25, 28–31, 36–39, 42–45, 48–51,
56–59, 62–65, 68–71, 76–79], Y[2–5, 8–11, 16–19, 22–25,
28–31, 36–39, 42–45, 48–51, 56–59, 62–65, 68–71, 76–79], EV);
H4 = XOR(X[0–5, 12–25, 32–45, 52–65, 72–79], Y[0–5, 12–25,
32–45, 52–65, 72–79]);
H5 = XOR(X[6–19, 26–39, 46–59, 66–79], Y[6–19, 26–39, 46–59,
66–79]);
H6 = XOR(X[20–39, 60–79], Y[20–39, 60–79]);
H7 = XOR(X[40–79], Y[40–79]);
Xe = XOR(H4, X[0, 2, 4, 6, 8, 10, 12, . . . , 78], FNH);
Ye = XOR(H5, Y[0, 2, 4, 6, 8, 10, 12, . . . , 78]);
Xo = XOR(H2, H6, X[1, 3, 5, 7, 9, 11, 13, . . . , 79], EV); and
Yo = XOR(H3, H7, Y[1, 3, 5, 7, 9, 11, 13, . . . , 79]).
A more detailed explanation of the characteristics and layout of the entry 21 within a segmented CAM array block is provided in U.S. application Ser. No. 10/701,048, filed Nov. 4, 2003.
Communication to and from the CAM core 16 is made by the CAM core instruction and result interfaces. As illustrated by FIG. 5A, the CAM core instruction interface is configured to support communication of various instructions to the CAM core 16. These instructions are illustrated as search, write, read and parity check. Other instructions (not shown) may also be provided (e.g., learn, search and learn (SNL), clear valid, etc.). The incoming data port to the CAM core is accompanied by an address port, which may pass a write address (e.g., block and row addresses) to the CAM core during write operations. The CAM core 16 is also responsive to various enable signals.
The CAM core result interface is configured to generate one or more hit signals, which indicate the presence of matching entries within the CAM core 16 during search operations, and index data that identifies addresses of matching entries. The result interface is also configured with a read data port, as shown. As described more fully hereinbelow, this read data port may be used as a multi-function port that is active during parity check operations.
As illustrated by FIG. 5B, the CAM core logic within the CAM core 16 of FIG. 5A combines parity check logic circuits that are associated with each CAM array block. In response to a parity/error check instruction and multi-block row address issued by the instruction execution module 14, a read operation is performed in parallel from the CAM array blocks. If the CAM core 16 is configured in a 1/1 parity check mode, then this read operation will be performed in parallel from all of the 32 blocks. In contrast, programming the CAM core 16 to support a ½ or 1/4 parity check mode will cause the parity check read operation to be performed in parallel from 16 or 8 of the 32 CAM array blocks, respectively. For purposes of discussion herein, only the 1/1 parity check mode will be considered.
In response to the parallel read operation, two entries 21 (left and right) from each CAM array block will be read into the parity check logic circuits associated with each CAM array block. The parity check logic circuits will generate a parity result (PARITY RESULT) upon receipt of each entry 21. The parity result may be determined using logic that performs the following boolean operations:
    • PARITY RESULT=OR (XP0, XP1, YP0, YP1);
    • XP0=XOR(H4, Xe, X0, X2, X4, X6, . . . , X78, FNH);
    • XP1=XOR(H2, H6, Xo, X1, X3, X5, X7, . . . , X79, EV);
    • YP0=XOR(H5, Ye, Y0, Y2, Y4, Y6, . . . , Y78); and
    • YP1=XOR(H3, H7, Yo, Y1, Y3, Y5, Y7, . . . , Y79).
Each parity check logic circuit in the illustrated CAM core 16 of FIG. 5B generates two parity result bits. One of these is for the left side CAM array within a corresponding CAM array block and the other of these is for the right side CAM array within the corresponding CAM array block. Different CAM array blocks having only one or more than two CAM arrays therein can be used to generate a different number of parity result bits. Moreover, in alternative embodiments, the parallel read operation may cause only one entry to be read from either the left side CAM array or right side CAM array within the group of CAM array blocks. In this case, the read address accompanying the parallel read operation may specify either the right CAM array or left CAM array, along with a row address. Nonetheless, two parity result bits may be generated for each left or right entry. These two bits of parity result may be computed as:
    • PARITY RESULT=(OR (XP0, XP1), OR (YP0, YP1)).
In this manner, the two bits of parity result that are generated from an entry will indicate whether the error is in the X bits, Y bits, or both X and Y bits. This indication of X bit or Y bit error may be useful when reporting erroneous entries to the command host.
As illustrated by FIGS. 5B–5C, these parity result bits are encoded into a 64-bit error indication word, which is passed to a read data port of the CAM core 16. This eliminates the need to pass all 64 entries in sequence across the read data port. The encoded error indication word of FIG. 5C, which is provided as an example, indicates the presence of parity errors in two entries within the 32 CAM array blocks (from the designated row address). These entries include an entry from the left side of CAM block 4 and an entry from the right side of CAM block 20. Alternatively, in the event two bits of parity result are generated from an entry undergoing parity checking, then the encoded error indication word of FIG. 5C may indicate an X-bit error in an entry from CAM block 4 and a Y-bit error in an entry from CAM block 20.
Referring again to FIG. 3, this encoded error indication word is passed to the result module 18 and then fed back to the instruction execution module 14 where it is decoded. As illustrated by FIG. 5D, which illustrates a portion of the logic within the instruction execution module 14, the encoded error indication word is received by a block address decoder 15. This block address decoder looks for active bits within the encoded error indication word and generates the block addresses of the CAM array blocks having erroneous entries therein. In the illustrated embodiment, these block addresses may include an array address, which identifies whether a left or right CAM array within a block contains an erroneous entry. These addresses are combined with the multi-block row address that was previously generated when the parity check instruction was issued by the instruction execution module 14, to thereby generate a row address of each erroneous entry within a corresponding CAM array (left or right). These row addresses are stored within an error address memory device 17, which is illustrated as a FIFO memory device. As described more fully hereinbelow, this FIFO memory device may be a searchable memory device that can be used to prevent conflicts when write operations are performed into addresses containing erroneous entries. Alternatively, the encoded error indication word may be stored in a register and then checked and updated for the presence of any remaining erroneous addresses. (See, e.g., Block 606 in FIG. 6, where the check of an error address FIFO may be replaced by a check of the register).
The error detection and correction operations 600 performed by the search engine device 10 of FIGS. 3–4 and 5A–5D include a check by the instruction execution module 14 to determine whether an incoming instruction pipeline has an opening therein that can support the insertion of a CAM core instruction. This check is made at Block 602 in FIG. 6. When this check results in an affirmative answer, control is passed to Block 604. At Block 604, a check is made to determine whether any corrected entry is pending in the instruction execution module for insertion into the CAM core 16. If this check results in a negative answer, control is passed to Block 606. At Block 606, a check is made as to whether the error address FIFO 17 within the instruction execution module is empty. If this check results in an affirmative answer, then a multi-block row address counter (not shown) within the instruction execution module 14, is incremented, Block 608. Upon reset of the search engine device, this counter may be reset to a zero count.
As illustrated by Block 610, a parity check instruction and the counter value (row address) are forwarded to the CAM core 16. In response to this parity check instruction, a plurality of entries are read in parallel from the CAM array blocks into the parity check logic that is embedded within the CAM core 16, Block 612. In the embodiments described above, this parity check read operation results in the parallel transfer of 64 entries 21 into the parity check logic. (See, e.g., FIG. 5B). At Block 614, the entries are checked for parity errors and the parity results are passed as an encoded error indication word to the read data port. The encoded error indication word is then forwarded from the result module 18 to the instruction execution module, Block 616.
If the error indication word indicates the presence of one or more parity errors when it is initially processed by the block address decoder 15, Block 618, then it is decoded into one or more corresponding addresses. The addresses of the erroneous entries are then added to the error address FIFO 17, Block 620, and control is returned to Block 602. If the error indication word does not indicate at least one error at Block 618, then control is returned directly to Block 602 without any further processing of the error indication word.
Once control is returned to Block 602 and an opening in the instruction pipeline is detected, a check is made to determine whether there are any corrected entries pending in the instruction execution module, Block 604. If the answer is no, then a check is made at Block 606 to determine whether the error address FIFO 17 is empty. Assuming that the two entry errors illustrated by FIG. 5C were detected when Block 618 was originally encountered, then this check at Block 606 will result in a negative conclusion and control will be passed to Block 622. At Block 622, the next available error address within error address FIFO 17 is designated as the current error address. This error address and read instruction are then passed to the CAM core, Block 624. At Block 626, the previously detected erroneous entry is then read from the selected CAM array block and passed to the read data port of the CAM core 16. In some embodiments, this read instruction may constitute a “read-set-invalid” instruction that results in a read of the entry and simultaneously causes the valid bit in the entry to be set to an invalid value. This will remove the invalid entry from the search path within the CAM core 16 until it is subsequently corrected and rewritten. Alternatively, the read instruction may be treated as a multi-cycle instruction, which includes a set-invalid operation to invalidate the entry and then a subsequent read operation to read the erroneous entry and pass it to the read port. The performance of the set-invalid operation before the read operation operates to remove the erroneous entry from the search path as soon as practical.
The erroneous entry is then forwarded by the result module 18 to the instruction execution module 14, Block 628. At Block 630, the erroneous entry is evaluated further for the presence of errors and corrected by the error correction logic within the instruction execution module 14 if possible. These error correction operations identified by Block 630 may be performed as background operations without impacting the compare bandwidth of the search engine device 10.
Thereafter, the corrected entry is stored in a buffer memory (not shown) in the instruction execution logic 14 pending rewriting into the CAM core 16. As described above, the four bits of parity associated with each entry in the CAM core 16 support the detection of as many as four parity errors. Each of these parity bits, Xe, Ye, Xo and Yo, is a function of the data bits and at least some of the Hamming code bits H2–H7. For example, the parity bit Xe is a function of the even X bits, the FNH bit and Hamming code bit H4, as illustrated above. The parity bit Yo is a function of the odd Y bits and Hamming code bits H3 and H7. The functions performed by the parity bits and Hamming code bits may also be combined as a check word to support the correction of a single bit error within the entry. If desired, a greater number of check bits can be used in some embodiments to support correction of a greater number of errors. In the event the parity checking operation indicates the presence of two or as many as four errors within the entry 21 that cannot be corrected, then the entry 21 and its address within the CAM core 16 may be reported to the command host for further processing and the entry 21 may be invalidated within the CAM core 16. These reporting operations may also apply to erroneous entries that are subject to correction. These reporting operations may be facilitated by the use of an error FIFO that retains the erroneous entries and/or their addresses. This error FIFO may be subject to periodic reading operations by the command host.
After the operations of Block 630, control is passed back to Blocks 602 and 604. Accordingly, upon detection of an opening (e.g., no-op cycle) within the instruction pipeline, the check of whether a corrected entry is pending results in an affirmative answer, Block 604, and control is passed to Block 632. The corrected entry, corresponding address and a write instruction are then passed to the CAM core 16. In response, the corrected entry is written over the corresponding erroneous entry in the designated CAM array block, Block 634, and the address is removed from the error address FIFO 17. Operations (not shown) may also be performed to compare each incoming write address (e.g., those issued by a command host) against the entries of the error address FIFO 17 to detect a match. If a match is present, the externally generated write instruction is submitted to the CAM core 16 and the matching address within the error address FIFO 17 is removed so that no overwrite operation to correct an “erroneous” entry is performed on a newly written entry. In this manner, the error address FIFO 17 operates as a searchable cache memory. Similar compare operations may also be performed with respect to an incoming read address. In the event a match is detected, the corresponding read operation may be suspended until such time as the erroneous entry has been corrected. Alternatively, the read operation may be marked so that any read result will be accompanied by a flag or other indication that the entry is erroneous.
Upon completion of the write operation illustrated by Block 634, control is passed to Block 602 and the sequence of operations is repeated. In particular, control is again passed through Blocks 602, 604 and 606 and the next error address in the FIFO is set as the current error address, Block 622. The operations associated with Blocks 624630 are then performed and the error address FIFO 17, which was originally filled with two addresses as described above, is emptied. Control is then passed through Blocks 602, 604, 606 to Block 608 where the multi-block row address counter is incremented before performing the next parity check operation and repeating the above described operations in sequence for all of the rows (e.g., 2048 rows in FIG. 4A) within the CAM array blocks.
In the drawings and specification, there have been disclosed typical preferred embodiments of the invention and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation, the scope of the invention being set forth in the following claims.

Claims (26)

1. An integrated search engine device, comprising:
a content addressable memory (CAM) core comprising:
a plurality of CAM array blocks that are configured to support a plurality of entries therein; and
error detection logic that is configured to check the plurality of entries for the presence of errors and generate error indication data that identifies which ones of the plurality of entries are erroneous; and
a control circuit electrically coupled to said CAM core, said control circuit configured to evaluate the error indication data and then generate an instruction to read a first entry from said CAM core, correct the first entry and generate an instruction to write the first entry back into said CAM core when the evaluation detects the first entry as erroneous.
2. The device of claim 1, wherein said CAM core is configured to support parallel reading of the plurality of entries into said error detection logic in response to an error check instruction issued by said control circuit.
3. The device of claim 2, wherein the error check instruction is issued in response to detecting a no-op cycle within an instruction pipeline in said control circuit.
4. The device of claim 1, wherein each of the plurality of entries includes a modified Hamming code word that is configured to support multi-bit parity checking by the error detection logic and single-bit error correction by error correction logic within said control circuit.
5. The device of claim 4, wherein each of the plurality of entries includes a data word; and wherein a modified Hamming code word consists of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two; and wherein 2(H+1/2P)≧N+H+½P+1≧2(H+1/2P−1), where N is a length of a data word.
6. The device of claim 1, wherein the error indication data comprises an encoded error indication word; and wherein each bit of the encoded error indication word identifies whether a corresponding one of the plurality of entries is erroneous or not.
7. The device of claim 4, wherein each of the plurality of entries includes a data word; and wherein a modified Hamming code word comprises a plurality of non-parity Hamming code bits and at least one parity bit that is derived from an exclusive ORing of a plurality of bits in a corresponding data word and a plurality of the corresponding non-parity Hamming code bits.
8. An integrated search engine device, comprising:
a content addressable memory (CAM) core having a plurality of CAM array blocks and error detection logic therein, said error detection logic configured to support concurrent evaluation of a plurality of entries from the plurality of CAM array blocks for the presence of errors and generation of an encoded error indication word that is passed to a read data port of said CAM core, in response to an error check instruction; and
a control circuit that is configured to decode the encoded error indication word and has error correction logic therein that is configured to support correction of an entry identified by the error indication data as being erroneous using a modified Hamming code word retained by the erroneous entry.
9. The device of claim 8, wherein each of the plurality of entries includes a data word; and wherein a modified Hamming code word consists of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two; and wherein 2(H+1/2P)≧N+H+½P+1≧2 (H+1/2P−1), where N is a length of a data word.
10. An integrated search engine device, comprising:
a content addressable memory (CAM) core having a plurality of CAM array blocks therein; and
parity-based error detection logic that is configured to receive a plurality of entries from said plurality of CAM array blocks in response to a parity check instruction issued to said CAM core, and is further configured to evaluate the plurality of entries for the presence of parity errors, with each of said plurality of entries comprising a data word and a modified Hamming code word that includes both parity and non-parity bits that support error detection and correction.
11. The device of claim 10, wherein each of the plurality of entries includes a data word; wherein a modified Hamming code word consists of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two; and wherein 2(H+1/2P)≧N+H+½P+1≧2(H+1/2P−1), where N is a length of a data word.
12. An integrated search engine device, comprising:
a content addressable memory (CAM) core having a plurality of CAM array blocks and error detection logic therein, said error detection logic configured to support concurrent evaluation of a plurality of entries from the plurality of CAM array blocks for the presence of errors using modified Hamming code words having parity and non-parity bits therein and generation of error indication data that identifies which ones of the plurality of entries are erroneous; and
a control circuit that is configured to evaluate the error indication data and has error correction logic therein that is configured to support correction of an entry identified by the error indication data as being erroneous using a corresponding Hamming code word associated with the erroneous entry.
13. An integrated search engine device, comprising:
a content addressable memory (CAM) core having a plurality of CAM array blocks and parity-based error detection logic therein, said error detection logic configured to support concurrent evaluation of a plurality of entries from the plurality of CAM array blocks for the presence of errors and generation of an encoded error indication word that is passed to a read data port of said CAM core, in response to an error check instruction.
14. An integrated search engine device, comprising:
a content addressable memory (CAM) core; and
a control circuit electrically coupled to said CAM core, said control circuit configured to support error detection and correction operations within the search engine device by issuing a first instruction to read at least a first entry from said CAM core for the purpose of error detection and then, in response to detecting the first entry as erroneous, issuing a second instruction to read the first entry from said CAM core, correcting the first entry and then writing the corrected first entry back into said CAM core.
15. The device of claim 14, wherein the first entry comprises a modified Hamming code word and a data word; wherein the modified Hamming code word consists of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two; and wherein 2(H+1/2P)≧N+H+½P+1≧2(H+1/2P−1), where N is a length of the data word.
16. A method of operating a search engine device, comprising the steps of:
issuing a parity check instruction to a CAM core within a search engine device;
reading a plurality of entries in parallel from a plurality of CAM array blocks within the CAM core, in response to the parity check instruction;
performing a parity check operation on the plurality of entries to detect the location of at least a first entry in the plurality of entries that is erroneous;
internally generating an instruction to read the first entry from said CAM core, in response to detecting the location of the first entry;
reading the first entry from said CAM core into error correction logic within the search engine device, in response to the instruction to read the first entry from said CAM core;
correcting the first entry in the search engine device using an error correction code within the first entry; and
writing the corrected first entry into the CAM core.
17. The method of claim 16, wherein each of the plurality of entries comprises a modified Hamming code word having a plurality of parity and non-parity bits therein.
18. The method of claim 17, wherein said step of issuing a parity check instruction is performed in response to detecting a presence of a no-op cycle within an instruction pipeline in the search engine device.
19. The method of claim 16, wherein said step of performing a parity check instruction comprises generating an encoded error indication word at a read data port of the CAM core.
20. The method of claim 19, wherein each bit of the encoded error indication word indicates whether or not a corresponding one of the plurality of entries is erroneous.
21. An integrated search engine device, comprising:
a content addressable memory (CAM) core; and
a control circuit electrically coupled to said CAM core, said control circuit configured to support internal error detection and correction operations in the search engine device by issuing a first instruction to read at least a first entry from said CAM core for the purpose of error detection and then, in response to detecting the first entry as erroneous, issuing a second instruction to read the first entry from said CAM core, evaluating the first entry to detect a presence of three or more errors therein using a modified Hamming code word comprising parity and non-parity bits, correcting the first entry if only one error is present and then writing the corrected first entry back into said CAM core.
22. The device of claim 21, wherein the first entry comprises the modified Hamming code word and a data word; wherein the modified Hamming code word consists of P parity bits and H non-parity bits, where H is a positive integer greater than one and P is a positive even integer greater than two; and wherein 2(H+1/2P)≧N+H+½P+1≧2(H+1/2P−1), where N is a length of the data word.
23. A method of operating an integrated search engine device having a CAM core therein, comprising the step of:
comparing a read or write address associated with an entry to be read from or written to the CAM core, respectively, against at least one address of an erroneous CAM core entry stored internally in the search engine device, to detect the presence of a match or miss condition between the read or write address and the at least one address.
24. The method of claim 23, further comprising the step of:
deleting or invalidating the at least one address of the erroneous CAM core entry, in response to detecting a match condition between the write address and the at least one address.
25. The method of claim 23, wherein said comparing step is preceded by the step of:
generating an encoded error indication word in response to performing a parity check operation on multiple entries in the CAM core.
26. The method of claim 25, wherein said generating step is followed by the step of decoding the encoded error indication word to determine locations of erroneous entries in the CAM core.
US10/738,264 2003-07-15 2003-12-17 Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein Expired - Fee Related US6987684B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US10/738,264 US6987684B1 (en) 2003-07-15 2003-12-17 Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein
US11/181,534 US7193876B1 (en) 2003-07-15 2005-07-14 Content addressable memory (CAM) arrays having memory cells therein with different susceptibilities to soft errors
US11/184,414 US7304875B1 (en) 2003-12-17 2005-07-19 Content addressable memory (CAM) devices that support background BIST and BISR operations and methods of operating same

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US10/619,635 US6870749B1 (en) 2003-07-15 2003-07-15 Content addressable memory (CAM) devices with dual-function check bit cells that support column redundancy and check bit cells with reduced susceptibility to soft errors
US10/701,048 US6967856B1 (en) 2002-04-10 2003-11-04 Content addressable memory (CAM) devices that utilize segmented match lines and word lines to support pipelined search and write operations and methods of operating same
US10/738,264 US6987684B1 (en) 2003-07-15 2003-12-17 Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
US10/619,635 Continuation-In-Part US6870749B1 (en) 2003-07-15 2003-07-15 Content addressable memory (CAM) devices with dual-function check bit cells that support column redundancy and check bit cells with reduced susceptibility to soft errors
US10/701,048 Continuation-In-Part US6967856B1 (en) 2002-04-10 2003-11-04 Content addressable memory (CAM) devices that utilize segmented match lines and word lines to support pipelined search and write operations and methods of operating same

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US11/181,534 Continuation-In-Part US7193876B1 (en) 2003-07-15 2005-07-14 Content addressable memory (CAM) arrays having memory cells therein with different susceptibilities to soft errors
US11/184,414 Continuation-In-Part US7304875B1 (en) 2003-12-17 2005-07-19 Content addressable memory (CAM) devices that support background BIST and BISR operations and methods of operating same

Publications (1)

Publication Number Publication Date
US6987684B1 true US6987684B1 (en) 2006-01-17

Family

ID=35550812

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/738,264 Expired - Fee Related US6987684B1 (en) 2003-07-15 2003-12-17 Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein

Country Status (1)

Country Link
US (1) US6987684B1 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040187065A1 (en) * 2003-02-25 2004-09-23 Samsung Electronics Co., Ltd. Apparatus and method generating error flag for error correction
US20050289407A1 (en) * 2004-06-14 2005-12-29 Renesas Technology Corporation Associative memory capable of searching for data while keeping high data reliability
US20060031653A1 (en) * 2004-08-04 2006-02-09 Emc Corporation Methods and apparatus for accessing content in a virtual pool on a content addressable storage system
US20060106977A1 (en) * 2002-08-10 2006-05-18 Cisco Technology, Inc. A California Corporation Performing lookup operations on associative memory entries
US20070061668A1 (en) * 2005-08-18 2007-03-15 John Wickeraad Data corruption scrubbing for content addressable memory and ternary content addressable memory
US20070061693A1 (en) * 2005-08-26 2007-03-15 John Wickeraad Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
US20070113158A1 (en) * 2005-10-28 2007-05-17 Fischer Jeffrey H High speed CAM lookup using stored encoded key
US20070206434A1 (en) * 2006-03-01 2007-09-06 Radke William H Memory with multi-page read
US20070271482A1 (en) * 2006-03-02 2007-11-22 Ramesha Doddamane Programmable address space built-in self test (BIST) device and method for fault detection
US20070277066A1 (en) * 2006-05-23 2007-11-29 Micron Technology, Inc. System and method for more efficiently using error correction codes to facilitate memory device testing
US20080037320A1 (en) * 2006-08-14 2008-02-14 Micron Technology, Inc. Flash memory with multi-bit read
US20090019336A1 (en) * 2007-07-11 2009-01-15 Macronix International Co., Ltd. Memory and 1-bit error checking method thereof
US7844867B1 (en) 2007-12-19 2010-11-30 Netlogic Microsystems, Inc. Combined processor access and built in self test in hierarchical memory systems
US20100306439A1 (en) * 2009-06-02 2010-12-02 Sanyo Electric Co., Ltd. Data check circuit
US20110022930A1 (en) * 2009-07-24 2011-01-27 Shusaku Uchibori Error correction circuit and error correction method
US8196017B1 (en) * 2005-01-25 2012-06-05 Netlogic Microsystems, Inc. Method for on-the-fly error correction in a content addressable memory(CAM) and device therefor
US20130326267A1 (en) * 2012-06-04 2013-12-05 SK Hynix Inc. Semiconductor device and operating method thereof
US20140351662A1 (en) * 2012-04-12 2014-11-27 International Business Machines Corporation Read only memory (rom) with redundancy
US9037928B2 (en) 2012-01-01 2015-05-19 Mosys, Inc. Memory device with background built-in self-testing and background built-in self-repair
US9606861B2 (en) 2015-03-28 2017-03-28 International Business Machines Corporation Armonk Concurrent error detection in a ternary content-addressable memory (TCAM) device
US9940191B2 (en) 2015-03-28 2018-04-10 International Business Machines Corporation Concurrent error detection in a ternary content-addressable memory (TCAM) device
US10387251B2 (en) * 2017-07-17 2019-08-20 Cisco Technology, Inc. Error detection and correction in a content-addressable memory using single-bit position lookup operations
US10496299B2 (en) * 2018-04-16 2019-12-03 Cisco Technology, Inc. Efficient content-addressable memory entry integrity checking including for protecting the accuracy of packet processing operations
US11244724B2 (en) 2019-10-21 2022-02-08 Realtek Semiconductor Corporation Content addressable memory device

Citations (75)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3665422A (en) 1970-01-26 1972-05-23 Electronic Arrays Integrated circuit,random access memory
US4112502A (en) 1976-10-18 1978-09-05 Sperry Rand Corporation Conditional bypass of error correction for dual memory access time selection
US4747080A (en) 1985-11-12 1988-05-24 Nippon Telegraph & Telephone Corporation Semiconductor memory having self correction function
US4779226A (en) 1985-05-10 1988-10-18 Haraszti Tegze P Complementary high performance cam cell
US4791606A (en) 1987-09-01 1988-12-13 Triad Semiconductors International Bv High density CMOS dynamic CAM cell
US4903268A (en) 1985-09-26 1990-02-20 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device having on-chip error check and correction functions
US4958352A (en) 1987-10-05 1990-09-18 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with error check and correcting function
US4991136A (en) 1988-01-29 1991-02-05 Mitsubishi Denki Kabushiki Kaisha Semiconductor associative memory device with memory refresh during match and read operations
US5046046A (en) 1978-03-10 1991-09-03 Intel Corporation Redundancy CAM using word line from memory
US5127014A (en) 1990-02-13 1992-06-30 Hewlett-Packard Company Dram on-chip error correction/detection
US5184325A (en) 1989-03-10 1993-02-02 Board Of Regents, The University Of Texas System Dynamic associative memory with logic-in-refresh
US5233614A (en) 1991-01-07 1993-08-03 International Business Machines Corporation Fault mapping apparatus for memory
US5319589A (en) 1992-04-17 1994-06-07 Mitsubishi Denki Kabushiki Kaisha Dynamic content addressable memory device and a method of operating thereof
US5450424A (en) 1992-07-27 1995-09-12 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with error checking and correcting function
US5455834A (en) 1993-06-14 1995-10-03 Hal Computer Systems, Inc. Fault tolerant address translation method and system
US5469450A (en) 1992-07-30 1995-11-21 Samsung Electronics Co., Ltd. Nonvolatile memory device including multi-ECC circuit
US5491703A (en) 1992-06-30 1996-02-13 Sgs-Thomson Microelectronics Ltd. Cam with additional row cells connected to match line
US5561429A (en) 1986-04-16 1996-10-01 Raytheon Company Content limit addressable memory
US5570377A (en) 1992-11-30 1996-10-29 Alcatel N.V. Method and device for detection and correction of errors in ATM cell headers
US5572460A (en) 1993-10-26 1996-11-05 Integrated Device Technology, Inc. Static random-access memory cell with capacitive coupling to reduce sensitivity to radiation
US5604753A (en) 1994-01-04 1997-02-18 Intel Corporation Method and apparatus for performing error correction on data from an external memory
US5629950A (en) 1992-04-24 1997-05-13 Digital Equipment Corporation Fault management scheme for a cache memory
US5642320A (en) 1994-07-11 1997-06-24 Hyundai Electronics Industries Co., Ltd. Self-refreshable dual port dynamic CAM cell and dynamic CAM cell array refreshing circuit
US5644583A (en) 1992-09-22 1997-07-01 International Business Machines Corporation Soft error correction technique and system for odd weight row error correction codes
US5682394A (en) 1989-03-10 1997-10-28 International Business Machines Corporation Fault tolerant computer memory systems and components employing dual level error correction and detection with disablement feature
US5699369A (en) 1995-03-29 1997-12-16 Network Systems Corporation Adaptive forward error correction system and method
US5727003A (en) 1995-07-03 1998-03-10 Cirrus Logic, Inc. Method and apparatus for flash burst error correction
US5761222A (en) 1994-09-30 1998-06-02 Sgs-Thomson Microelectronics, S.R.L. Memory device having error detection and correction function, and methods for reading, writing and erasing the memory device
US5796671A (en) 1996-03-01 1998-08-18 Wahlstrom; Sven E. Dynamic random access memory
US5796758A (en) 1996-10-08 1998-08-18 International Business Machines Corporation Self-checking content-addressable memory and method of operation for detecting multiple selected word lines
US5872802A (en) 1996-05-03 1999-02-16 Cypress Semiconductor Corp. Parity generation and check circuit and method in read data path
US6009548A (en) 1997-12-03 1999-12-28 International Business Machines Corporation Error correcting code retrofit method and apparatus for multiple memory configurations
US6032214A (en) 1990-04-18 2000-02-29 Rambus Inc. Method of operating a synchronous memory device having a variable data output length
US6058500A (en) 1998-01-20 2000-05-02 3Com Corporation High-speed syndrome calculation
US6067656A (en) 1997-12-05 2000-05-23 Intel Corporation Method and apparatus for detecting soft errors in content addressable memory arrays
US6134631A (en) 1996-08-19 2000-10-17 Hyundai Electronics America, Inc. Non-volatile memory with embedded programmable controller
US6137707A (en) 1999-03-26 2000-10-24 Netlogic Microsystems Method and apparatus for simultaneously performing a plurality of compare operations in content addressable memory device
US6151247A (en) 1997-03-31 2000-11-21 Lexar Media, Inc. Method and apparatus for decreasing block write operation times performed on nonvolatile memory
US6154384A (en) 1999-11-12 2000-11-28 Netlogic Microsystems, Inc. Ternary content addressable memory cell
US6188629B1 (en) 1999-11-05 2001-02-13 Cecil H. Kaplinsky Low power, static content addressable memory
US6199140B1 (en) 1997-10-30 2001-03-06 Netlogic Microsystems, Inc. Multiport content addressable memory device and timing signals
US6216246B1 (en) 1996-05-24 2001-04-10 Jeng-Jye Shau Methods to make DRAM fully compatible with SRAM using error correction code (ECC) mechanism
US6233717B1 (en) 1997-12-31 2001-05-15 Samsung Electronics Co., Ltd. Multi-bit memory device having error check and correction circuit and method for checking and correcting data errors therein
US6243281B1 (en) 2000-06-14 2001-06-05 Netlogic Microsystems, Inc. Method and apparatus for accessing a segment of CAM cells in an intra-row configurable CAM system
US6289471B1 (en) 1991-09-27 2001-09-11 Emc Corporation Storage device array architecture with solid-state redundancy unit
US6324087B1 (en) 2000-06-08 2001-11-27 Netlogic Microsystems, Inc. Method and apparatus for partitioning a content addressable memory device
US6362990B1 (en) 1999-09-10 2002-03-26 Sibercore Technologies Three port content addressable memory device and methods for implementing the same
US6374325B1 (en) 1998-02-17 2002-04-16 Texas Instruments Incorporated Content addressable memory (CAM)
US6381191B2 (en) 1995-07-03 2002-04-30 Mitsubishi Denki Kabushiki Kaisha Fast accessible dynamic type semiconductor memory device
US6397290B1 (en) 1999-07-22 2002-05-28 Micron Technology, Inc. Reconfigurable memory with selectable error correction storage
US20020067632A1 (en) 2000-12-06 2002-06-06 Batson Kevin A. Dram cam cell with hidden refresh
US6408417B1 (en) 1999-08-17 2002-06-18 Sun Microsystems, Inc. Method and apparatus for correcting soft errors in digital data
US20020075714A1 (en) 2000-06-08 2002-06-20 Pereira Jose P. Content addressable memory with configurable class-based storage partition
US6421265B1 (en) 2001-03-22 2002-07-16 Integrated Devices Technology, Inc. DRAM-based CAM cell using 3T or 4T DRAM cells
US6434033B1 (en) 2000-11-30 2002-08-13 Pien Chien DRAM module and method of using SRAM to replace damaged DRAM cell
US6445628B1 (en) 1999-10-18 2002-09-03 Netlogic Microsystems, Inc. Row redundancy in a content addressable memory
US20020159320A1 (en) 2001-02-08 2002-10-31 Integrated Device Technology, Inc. CAM circuit with radiation resistance
US6477615B1 (en) 1999-02-01 2002-11-05 International Business Machines Corporation Detecting circuit and detecting method of idle word for content addressable memory
US20030007408A1 (en) 2001-02-08 2003-01-09 Integrated Device Technology, Inc. Cam circuit with error correction
US6538911B1 (en) 2001-08-24 2003-03-25 Sibercore Technologies, Inc. Content addressable memory with block select for power management
US20030074630A1 (en) 2001-10-16 2003-04-17 Batson Kevin A. Method for combining refresh operation with parity validation in a DRAM-based content addressable memory (CAM)
US20030081464A1 (en) 2001-10-31 2003-05-01 Peter Vlasenko Column redundancy for content addressable memory
US6563754B1 (en) 2001-02-08 2003-05-13 Integrated Device Technology, Inc. DRAM circuit with separate refresh memory
US6564754B1 (en) 2002-04-12 2003-05-20 Jeremy Cohen Shock absorbing harness system
US6597595B1 (en) 2001-08-03 2003-07-22 Netlogic Microsystems, Inc. Content addressable memory with error detection signaling
US6618281B1 (en) 2002-05-15 2003-09-09 International Business Machines Corporation Content addressable memory (CAM) with error checking and correction (ECC) capability
US6661687B1 (en) 2002-06-06 2003-12-09 Integrated Device Technology, Inc. Cam circuit with separate memory and logic operating voltages
US6711703B2 (en) 2000-01-26 2004-03-23 Hewlett-Packard Development Company, L.P. Hard/soft error detection
US6741253B2 (en) 2001-10-09 2004-05-25 Micron Technology, Inc. Embedded memory system and method including data error correction
US6754093B2 (en) 2002-06-06 2004-06-22 Integrated Device Technology, Inc. CAM circuit with radiation resistance
US6775168B1 (en) 2002-04-10 2004-08-10 Integrated Device Technology, Inc. Content addressable memory (CAM) devices having adjustable match line precharge circuits therein
US6845472B2 (en) 2000-01-25 2005-01-18 Hewlett-Packard Development Company, L.P. Memory sub-system error cleansing
US6870749B1 (en) 2003-07-15 2005-03-22 Integrated Device Technology, Inc. Content addressable memory (CAM) devices with dual-function check bit cells that support column redundancy and check bit cells with reduced susceptibility to soft errors
US6888732B2 (en) 2002-03-08 2005-05-03 Micron Technology, Inc. Static content addressable memory cell
US6922751B2 (en) * 2002-12-17 2005-07-26 Micron Technology, Inc. Reading or writing while searching in a CAM

Patent Citations (88)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3665422A (en) 1970-01-26 1972-05-23 Electronic Arrays Integrated circuit,random access memory
US4112502A (en) 1976-10-18 1978-09-05 Sperry Rand Corporation Conditional bypass of error correction for dual memory access time selection
US5046046A (en) 1978-03-10 1991-09-03 Intel Corporation Redundancy CAM using word line from memory
US4779226A (en) 1985-05-10 1988-10-18 Haraszti Tegze P Complementary high performance cam cell
US4903268A (en) 1985-09-26 1990-02-20 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device having on-chip error check and correction functions
US4747080A (en) 1985-11-12 1988-05-24 Nippon Telegraph & Telephone Corporation Semiconductor memory having self correction function
US5561429A (en) 1986-04-16 1996-10-01 Raytheon Company Content limit addressable memory
US4791606A (en) 1987-09-01 1988-12-13 Triad Semiconductors International Bv High density CMOS dynamic CAM cell
US4958352A (en) 1987-10-05 1990-09-18 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with error check and correcting function
US4991136A (en) 1988-01-29 1991-02-05 Mitsubishi Denki Kabushiki Kaisha Semiconductor associative memory device with memory refresh during match and read operations
US5184325A (en) 1989-03-10 1993-02-02 Board Of Regents, The University Of Texas System Dynamic associative memory with logic-in-refresh
US5682394A (en) 1989-03-10 1997-10-28 International Business Machines Corporation Fault tolerant computer memory systems and components employing dual level error correction and detection with disablement feature
US5127014A (en) 1990-02-13 1992-06-30 Hewlett-Packard Company Dram on-chip error correction/detection
US6032214A (en) 1990-04-18 2000-02-29 Rambus Inc. Method of operating a synchronous memory device having a variable data output length
US5233614A (en) 1991-01-07 1993-08-03 International Business Machines Corporation Fault mapping apparatus for memory
US6289471B1 (en) 1991-09-27 2001-09-11 Emc Corporation Storage device array architecture with solid-state redundancy unit
US5319589A (en) 1992-04-17 1994-06-07 Mitsubishi Denki Kabushiki Kaisha Dynamic content addressable memory device and a method of operating thereof
US5629950A (en) 1992-04-24 1997-05-13 Digital Equipment Corporation Fault management scheme for a cache memory
US5491703A (en) 1992-06-30 1996-02-13 Sgs-Thomson Microelectronics Ltd. Cam with additional row cells connected to match line
US5450424A (en) 1992-07-27 1995-09-12 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with error checking and correcting function
US5469450A (en) 1992-07-30 1995-11-21 Samsung Electronics Co., Ltd. Nonvolatile memory device including multi-ECC circuit
US5644583A (en) 1992-09-22 1997-07-01 International Business Machines Corporation Soft error correction technique and system for odd weight row error correction codes
US5570377A (en) 1992-11-30 1996-10-29 Alcatel N.V. Method and device for detection and correction of errors in ATM cell headers
US5455834A (en) 1993-06-14 1995-10-03 Hal Computer Systems, Inc. Fault tolerant address translation method and system
US5572460A (en) 1993-10-26 1996-11-05 Integrated Device Technology, Inc. Static random-access memory cell with capacitive coupling to reduce sensitivity to radiation
US5604753A (en) 1994-01-04 1997-02-18 Intel Corporation Method and apparatus for performing error correction on data from an external memory
US5724296A (en) 1994-07-11 1998-03-03 Hyundai Electronics Industries Co., Ltd. Self-refreshable dual port dynamic CAM cell and dynamic CAM cell array refreshing circuit
US5642320A (en) 1994-07-11 1997-06-24 Hyundai Electronics Industries Co., Ltd. Self-refreshable dual port dynamic CAM cell and dynamic CAM cell array refreshing circuit
US5761222A (en) 1994-09-30 1998-06-02 Sgs-Thomson Microelectronics, S.R.L. Memory device having error detection and correction function, and methods for reading, writing and erasing the memory device
US5699369A (en) 1995-03-29 1997-12-16 Network Systems Corporation Adaptive forward error correction system and method
US5727003A (en) 1995-07-03 1998-03-10 Cirrus Logic, Inc. Method and apparatus for flash burst error correction
US6381191B2 (en) 1995-07-03 2002-04-30 Mitsubishi Denki Kabushiki Kaisha Fast accessible dynamic type semiconductor memory device
US5796671A (en) 1996-03-01 1998-08-18 Wahlstrom; Sven E. Dynamic random access memory
US5872802A (en) 1996-05-03 1999-02-16 Cypress Semiconductor Corp. Parity generation and check circuit and method in read data path
US6216246B1 (en) 1996-05-24 2001-04-10 Jeng-Jye Shau Methods to make DRAM fully compatible with SRAM using error correction code (ECC) mechanism
US6134631A (en) 1996-08-19 2000-10-17 Hyundai Electronics America, Inc. Non-volatile memory with embedded programmable controller
US5796758A (en) 1996-10-08 1998-08-18 International Business Machines Corporation Self-checking content-addressable memory and method of operation for detecting multiple selected word lines
US6151247A (en) 1997-03-31 2000-11-21 Lexar Media, Inc. Method and apparatus for decreasing block write operation times performed on nonvolatile memory
US6199140B1 (en) 1997-10-30 2001-03-06 Netlogic Microsystems, Inc. Multiport content addressable memory device and timing signals
US6009548A (en) 1997-12-03 1999-12-28 International Business Machines Corporation Error correcting code retrofit method and apparatus for multiple memory configurations
US6067656A (en) 1997-12-05 2000-05-23 Intel Corporation Method and apparatus for detecting soft errors in content addressable memory arrays
US6233717B1 (en) 1997-12-31 2001-05-15 Samsung Electronics Co., Ltd. Multi-bit memory device having error check and correction circuit and method for checking and correcting data errors therein
US6219815B1 (en) 1998-01-20 2001-04-17 3Com Corporation High-speed syndrome calculation
US6058500A (en) 1998-01-20 2000-05-02 3Com Corporation High-speed syndrome calculation
US6374325B1 (en) 1998-02-17 2002-04-16 Texas Instruments Incorporated Content addressable memory (CAM)
US6477615B1 (en) 1999-02-01 2002-11-05 International Business Machines Corporation Detecting circuit and detecting method of idle word for content addressable memory
US6137707A (en) 1999-03-26 2000-10-24 Netlogic Microsystems Method and apparatus for simultaneously performing a plurality of compare operations in content addressable memory device
US6397290B1 (en) 1999-07-22 2002-05-28 Micron Technology, Inc. Reconfigurable memory with selectable error correction storage
US6408417B1 (en) 1999-08-17 2002-06-18 Sun Microsystems, Inc. Method and apparatus for correcting soft errors in digital data
US6362990B1 (en) 1999-09-10 2002-03-26 Sibercore Technologies Three port content addressable memory device and methods for implementing the same
US6445628B1 (en) 1999-10-18 2002-09-03 Netlogic Microsystems, Inc. Row redundancy in a content addressable memory
US6188629B1 (en) 1999-11-05 2001-02-13 Cecil H. Kaplinsky Low power, static content addressable memory
US6154384A (en) 1999-11-12 2000-11-28 Netlogic Microsystems, Inc. Ternary content addressable memory cell
US6845472B2 (en) 2000-01-25 2005-01-18 Hewlett-Packard Development Company, L.P. Memory sub-system error cleansing
US6715116B2 (en) 2000-01-26 2004-03-30 Hewlett-Packard Company, L.P. Memory data verify operation
US6711703B2 (en) 2000-01-26 2004-03-23 Hewlett-Packard Development Company, L.P. Hard/soft error detection
US20020075714A1 (en) 2000-06-08 2002-06-20 Pereira Jose P. Content addressable memory with configurable class-based storage partition
US6542391B2 (en) 2000-06-08 2003-04-01 Netlogic Microsystems, Inc. Content addressable memory with configurable class-based storage partition
US6324087B1 (en) 2000-06-08 2001-11-27 Netlogic Microsystems, Inc. Method and apparatus for partitioning a content addressable memory device
US6243281B1 (en) 2000-06-14 2001-06-05 Netlogic Microsystems, Inc. Method and apparatus for accessing a segment of CAM cells in an intra-row configurable CAM system
US6434033B1 (en) 2000-11-30 2002-08-13 Pien Chien DRAM module and method of using SRAM to replace damaged DRAM cell
US6430073B1 (en) 2000-12-06 2002-08-06 International Business Machines Corporation Dram CAM cell with hidden refresh
US20020067632A1 (en) 2000-12-06 2002-06-06 Batson Kevin A. Dram cam cell with hidden refresh
US6560156B2 (en) 2001-02-08 2003-05-06 Integrated Device Technology, Inc. CAM circuit with radiation resistance
US20030007408A1 (en) 2001-02-08 2003-01-09 Integrated Device Technology, Inc. Cam circuit with error correction
US6879504B1 (en) 2001-02-08 2005-04-12 Integrated Device Technology, Inc. Content addressable memory (CAM) devices having error detection and correction control circuits therein and methods of operating same
US6563754B1 (en) 2001-02-08 2003-05-13 Integrated Device Technology, Inc. DRAM circuit with separate refresh memory
US20020159320A1 (en) 2001-02-08 2002-10-31 Integrated Device Technology, Inc. CAM circuit with radiation resistance
US6700827B2 (en) 2001-02-08 2004-03-02 Integrated Device Technology, Inc. Cam circuit with error correction
US6421265B1 (en) 2001-03-22 2002-07-16 Integrated Devices Technology, Inc. DRAM-based CAM cell using 3T or 4T DRAM cells
US6690595B1 (en) 2001-08-03 2004-02-10 Netlogic Microsystems, Inc. Content addressable memory with selective error logging
US6728124B1 (en) 2001-08-03 2004-04-27 Netlogic Microsystems, Inc. Content addressable memory with error detection signaling
US6700810B1 (en) 2001-08-03 2004-03-02 Netlogic Microsystems, Inc. Content addressable memory with error detection signaling
US6597595B1 (en) 2001-08-03 2003-07-22 Netlogic Microsystems, Inc. Content addressable memory with error detection signaling
US6707693B1 (en) 2001-08-03 2004-03-16 Netlogic Microsystems, Inc. Content addressable memory with simultaneous write and compare function
US6538911B1 (en) 2001-08-24 2003-03-25 Sibercore Technologies, Inc. Content addressable memory with block select for power management
US6741253B2 (en) 2001-10-09 2004-05-25 Micron Technology, Inc. Embedded memory system and method including data error correction
US20030074630A1 (en) 2001-10-16 2003-04-17 Batson Kevin A. Method for combining refresh operation with parity validation in a DRAM-based content addressable memory (CAM)
US6760881B2 (en) 2001-10-16 2004-07-06 International Business Machines Corporation Method for combining refresh operation with parity validation in a DRAM-based content addressable memory (CAM)
US20030081464A1 (en) 2001-10-31 2003-05-01 Peter Vlasenko Column redundancy for content addressable memory
US6888732B2 (en) 2002-03-08 2005-05-03 Micron Technology, Inc. Static content addressable memory cell
US6775168B1 (en) 2002-04-10 2004-08-10 Integrated Device Technology, Inc. Content addressable memory (CAM) devices having adjustable match line precharge circuits therein
US6564754B1 (en) 2002-04-12 2003-05-20 Jeremy Cohen Shock absorbing harness system
US6618281B1 (en) 2002-05-15 2003-09-09 International Business Machines Corporation Content addressable memory (CAM) with error checking and correction (ECC) capability
US6661687B1 (en) 2002-06-06 2003-12-09 Integrated Device Technology, Inc. Cam circuit with separate memory and logic operating voltages
US6754093B2 (en) 2002-06-06 2004-06-22 Integrated Device Technology, Inc. CAM circuit with radiation resistance
US6922751B2 (en) * 2002-12-17 2005-07-26 Micron Technology, Inc. Reading or writing while searching in a CAM
US6870749B1 (en) 2003-07-15 2005-03-22 Integrated Device Technology, Inc. Content addressable memory (CAM) devices with dual-function check bit cells that support column redundancy and check bit cells with reduced susceptibility to soft errors

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Kalter et al., "A 50-ns 16-Mb DRAM with a 10-ns Data Rate and On-Chip ECC," IEEE Journal of Solid-State Circuits, vol. 25, No. 5, Oct. 1990, pp. 1118-1127.
SiberCore Technologies, Soft Error in TCAMS: Causes and Cures, Jul. 2003, 5 pages.

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060106977A1 (en) * 2002-08-10 2006-05-18 Cisco Technology, Inc. A California Corporation Performing lookup operations on associative memory entries
US7237059B2 (en) * 2002-08-10 2007-06-26 Cisco Technology, Inc Performing lookup operations on associative memory entries
US7370262B2 (en) * 2003-02-25 2008-05-06 Samsung Electronics Co., Ltd. Apparatus and method generating error flag for error correction
US20040187065A1 (en) * 2003-02-25 2004-09-23 Samsung Electronics Co., Ltd. Apparatus and method generating error flag for error correction
US7277306B2 (en) * 2004-06-14 2007-10-02 Renesas Technology Corp. Associative memory capable of searching for data while keeping high data reliability
US20050289407A1 (en) * 2004-06-14 2005-12-29 Renesas Technology Corporation Associative memory capable of searching for data while keeping high data reliability
US20070245168A1 (en) * 2004-06-14 2007-10-18 Renesas Technology Corporation Associative memory capable of searching for data while keeping high data reliability
US20060031653A1 (en) * 2004-08-04 2006-02-09 Emc Corporation Methods and apparatus for accessing content in a virtual pool on a content addressable storage system
US8069269B2 (en) * 2004-08-04 2011-11-29 Emc Corporation Methods and apparatus for accessing content in a virtual pool on a content addressable storage system
US8196017B1 (en) * 2005-01-25 2012-06-05 Netlogic Microsystems, Inc. Method for on-the-fly error correction in a content addressable memory(CAM) and device therefor
US20070061668A1 (en) * 2005-08-18 2007-03-15 John Wickeraad Data corruption scrubbing for content addressable memory and ternary content addressable memory
US7757152B2 (en) * 2005-08-18 2010-07-13 Hewlett-Packard Development Company, L.P. Data corruption scrubbing for content addressable memory and ternary content addressable memory
US20090307569A1 (en) * 2005-08-26 2009-12-10 John Wickeraad Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
US20070061693A1 (en) * 2005-08-26 2007-03-15 John Wickeraad Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
US8473832B2 (en) 2005-08-26 2013-06-25 Hewlett-Packard Development Company, L.P. Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
US7594158B2 (en) * 2005-08-26 2009-09-22 Hewlett-Packard Development Company, L.P. Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
US7761774B2 (en) * 2005-10-28 2010-07-20 Qualcomm Incorporated High speed CAM lookup using stored encoded key
US20070113158A1 (en) * 2005-10-28 2007-05-17 Fischer Jeffrey H High speed CAM lookup using stored encoded key
US20090067249A1 (en) * 2006-03-01 2009-03-12 William Henry Radke Memory with multi-page read
US8670272B2 (en) 2006-03-01 2014-03-11 Micron Technology, Inc. Memory with weighted multi-page read
US7453723B2 (en) 2006-03-01 2008-11-18 Micron Technology, Inc. Memory with weighted multi-page read
US8331143B2 (en) 2006-03-01 2012-12-11 Micron Technology, Inc. Memory with multi-page read
US20070206434A1 (en) * 2006-03-01 2007-09-06 Radke William H Memory with multi-page read
US7990763B2 (en) 2006-03-01 2011-08-02 Micron Technology, Inc. Memory with weighted multi-page read
US7945823B2 (en) 2006-03-02 2011-05-17 Netlogic Microsystems, Inc. Programmable address space built-in self test (BIST) device and method for fault detection
US20070271482A1 (en) * 2006-03-02 2007-11-22 Ramesha Doddamane Programmable address space built-in self test (BIST) device and method for fault detection
US20070277066A1 (en) * 2006-05-23 2007-11-29 Micron Technology, Inc. System and method for more efficiently using error correction codes to facilitate memory device testing
US7506226B2 (en) 2006-05-23 2009-03-17 Micron Technology, Inc. System and method for more efficiently using error correction codes to facilitate memory device testing
US20080037320A1 (en) * 2006-08-14 2008-02-14 Micron Technology, Inc. Flash memory with multi-bit read
US7369434B2 (en) 2006-08-14 2008-05-06 Micron Technology, Inc. Flash memory with multi-bit read
US20080215930A1 (en) * 2006-08-14 2008-09-04 Micron Technology, Inc. Flash memory with multi-bit read
US7738292B2 (en) 2006-08-14 2010-06-15 Micron Technology, Inc. Flash memory with multi-bit read
US8189387B2 (en) 2006-08-14 2012-05-29 Micron Technology, Inc. Flash memory with multi-bit read
US7721181B2 (en) * 2007-07-11 2010-05-18 Macronix International Co., Ltd. Memory and 1-bit error checking method thereof
US20090019336A1 (en) * 2007-07-11 2009-01-15 Macronix International Co., Ltd. Memory and 1-bit error checking method thereof
US7844867B1 (en) 2007-12-19 2010-11-30 Netlogic Microsystems, Inc. Combined processor access and built in self test in hierarchical memory systems
US8327054B2 (en) 2009-06-02 2012-12-04 Semiconductor Components Industries, Llc Data check circuit for checking program data stored in memory
EP2261810A1 (en) * 2009-06-02 2010-12-15 Sanyo Electric Co., Ltd. Data check circuit
US20100306439A1 (en) * 2009-06-02 2010-12-02 Sanyo Electric Co., Ltd. Data check circuit
US20110022930A1 (en) * 2009-07-24 2011-01-27 Shusaku Uchibori Error correction circuit and error correction method
US8621326B2 (en) * 2009-07-24 2013-12-31 Nec Corporation Error correction circuit and error correction method
US9361196B2 (en) 2012-01-01 2016-06-07 Mosys, Inc. Memory device with background built-in self-repair using background built-in self-testing
US9037928B2 (en) 2012-01-01 2015-05-19 Mosys, Inc. Memory device with background built-in self-testing and background built-in self-repair
US20140351662A1 (en) * 2012-04-12 2014-11-27 International Business Machines Corporation Read only memory (rom) with redundancy
US9460811B2 (en) * 2012-04-12 2016-10-04 Globalfoundries Inc. Read only memory (ROM) with redundancy
US9304854B2 (en) * 2012-06-04 2016-04-05 SK Hynix Inc. Semiconductor device and operating method thereof
US20130326267A1 (en) * 2012-06-04 2013-12-05 SK Hynix Inc. Semiconductor device and operating method thereof
US9606861B2 (en) 2015-03-28 2017-03-28 International Business Machines Corporation Armonk Concurrent error detection in a ternary content-addressable memory (TCAM) device
US9940191B2 (en) 2015-03-28 2018-04-10 International Business Machines Corporation Concurrent error detection in a ternary content-addressable memory (TCAM) device
US10387251B2 (en) * 2017-07-17 2019-08-20 Cisco Technology, Inc. Error detection and correction in a content-addressable memory using single-bit position lookup operations
US10496299B2 (en) * 2018-04-16 2019-12-03 Cisco Technology, Inc. Efficient content-addressable memory entry integrity checking including for protecting the accuracy of packet processing operations
US11244724B2 (en) 2019-10-21 2022-02-08 Realtek Semiconductor Corporation Content addressable memory device

Similar Documents

Publication Publication Date Title
US6987684B1 (en) Content addressable memory (CAM) devices having multi-block error detection logic and entry selective error correction logic therein
US7304875B1 (en) Content addressable memory (CAM) devices that support background BIST and BISR operations and methods of operating same
US6879504B1 (en) Content addressable memory (CAM) devices having error detection and correction control circuits therein and methods of operating same
US7257763B1 (en) Content addressable memory with error signaling
US6978343B1 (en) Error-correcting content addressable memory
US6870749B1 (en) Content addressable memory (CAM) devices with dual-function check bit cells that support column redundancy and check bit cells with reduced susceptibility to soft errors
US6597595B1 (en) Content addressable memory with error detection signaling
US7353438B2 (en) Transparent error correcting memory
JP4071940B2 (en) Shared error correction for memory design
US7266747B2 (en) Error correction scheme for memory
EP0418457B1 (en) Pipelined error checking and correction for cache memories
US7069494B2 (en) Application of special ECC matrix for solving stuck bit faults in an ECC protected mechanism
US6067656A (en) Method and apparatus for detecting soft errors in content addressable memory arrays
US5313475A (en) ECC function with self-contained high performance partial write or read/modify/write and parity look-ahead interface scheme
US7193876B1 (en) Content addressable memory (CAM) arrays having memory cells therein with different susceptibilities to soft errors
US7594158B2 (en) Parity error checking and compare using shared logic circuitry in a ternary content addressable memory
JPS6061837A (en) Error corrector
US4506364A (en) Memory address permutation apparatus
US20080049522A1 (en) Content addressable memory entry coding for error detection and correction
US20070168777A1 (en) Error detection and correction in a CAM
US7257762B2 (en) Memory interface with write buffer and encoder
EP1206739B1 (en) Methods and apparatus for correcting soft errors in digital data
US7043673B1 (en) Content addressable memory with priority-biased error detection sequencing
US7237156B1 (en) Content addressable memory with error detection
JPH04277848A (en) Memory-fault mapping device, detection-error mapping method and multipath-memory-fault mapping device

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTEGRATED DEVICE TECHNOLOGY, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BRANTH, KENNETH;PARK, KEE;CHU, SCOTT YU-FAN;AND OTHERS;REEL/FRAME:014821/0311

Effective date: 20031215

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: SILICON VALLEY BANK, CALIFORNIA

Free format text: SECURITY AGREEMENT;ASSIGNORS:NETLOGIC MICROSYSTEMS, INC.;NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED;NETLOGIC MICROSYSTEMS CAYMANS LIMITED;REEL/FRAME:022973/0710

Effective date: 20090717

Owner name: SILICON VALLEY BANK,CALIFORNIA

Free format text: SECURITY AGREEMENT;ASSIGNORS:NETLOGIC MICROSYSTEMS, INC.;NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED;NETLOGIC MICROSYSTEMS CAYMANS LIMITED;REEL/FRAME:022973/0710

Effective date: 20090717

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: NETLOGIC MICROSYSTEMS, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTEGRATED DEVICE TECHNOLOGY, INC.;REEL/FRAME:022980/0624

Effective date: 20090717

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: NETLOGIC MICROSYSTEMS INTERNATIONAL LIMITED, CALIF

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:SILICON VALLEY BANK;REEL/FRAME:026830/0141

Effective date: 20110826

Owner name: NETLOGIC MICROSYSTEMS, INC., CALIFORNIA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:SILICON VALLEY BANK;REEL/FRAME:026830/0141

Effective date: 20110826

Owner name: NETLOGIC MICROSYSTEMS CAYMANS LIMITED, CALIFORNIA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:SILICON VALLEY BANK;REEL/FRAME:026830/0141

Effective date: 20110826

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: NETLOGIC I LLC, DELAWARE

Free format text: CHANGE OF NAME;ASSIGNOR:NETLOGIC MICROSYSTEMS, INC.;REEL/FRAME:035443/0824

Effective date: 20130123

Owner name: BROADCOM CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NETLOGIC I LLC;REEL/FRAME:035443/0763

Effective date: 20150327

AS Assignment

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001

Effective date: 20160201

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH

Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001

Effective date: 20160201

AS Assignment

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD., SINGAPORE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001

Effective date: 20170120

Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001

Effective date: 20170120

AS Assignment

Owner name: BROADCOM CORPORATION, CALIFORNIA

Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS;ASSIGNOR:BANK OF AMERICA, N.A., AS COLLATERAL AGENT;REEL/FRAME:041712/0001

Effective date: 20170119

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.)

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.)

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20180117