CA2239367C

Longest coincidence data detection using associative memory units having interleaved data

Abstract

In a longest coincidence data detecting apparatus, a control sectiondistributes an external data to N M-bit associative memory units to satisfy a relationof Xij = Y Nj+i where each of N and M is an integer greater than 1, 0 ~ i < N, 0 ~ j < M,i and j are integers, Xij is a j-th bit of the i-th one of the N associative memory units,and Y k is a k-th bit of the external data. Each of the N associative memory unitscompares a distributed portion of the external data and a corresponding portion of aninternal data in a designated bit region from a most significant bit of the distributedportion, and outputs a matching signal when the distributed portion of the externaldata portion and the corresponding portion of the internal data are coincident witheach other in the designated bit region.

CA2239367C, drawing sheet 1
Sheet 1 of 5

Term

Term ended

Expired 2 June 2018, 8.3 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

16 claims: 3 independent, 13 dependent

  1. 1
    CA 02239367 2000-07-21 THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:1. A longest coincidence data detecting apparatus comprising: N M-bit associative memory units, wherein each of N and M is an integer greater than one;a control section for distributing an external data to said N associative memory units to satisfy a relation of X,j = Y Nj+i where 0 i N, 0 j M, i and j are integers, Xy is a j-th bit of said i-th one of said N associative memory units, and Y k is a k-th bit of said external data;wherein each of said N associative memory units compares a distributed portion of said external data and a corresponding portion of a storage data in a designated bit region from a most significant bit of the distributed portion, and outputs a matching signal when the distributed portion of said external data portion and the corresponding portion of said storage data are coincident with each other in the designated bit region;and a coincidence determination unit for generating a coincidence signal indicative of coincidence between said external data and said storage data in the designated bit region when said matching signals are received from said N associative memory units.
  2. 2
    A longest coincidence data detecting apparatus according to claim 1, wherein the designated bit region is designated based on a mask bit data;and wherein said control section supplies to said N associative memory units, said mask bit data which indicates the designated bit region narrowed by one bit from a least significant bit of the distributed portion of said external data each time a shift signal is inputted.
  3. 3
    A longest coincidence data detecting apparatus according to claim 2, wherein all bits of an initial data of said mask bit data is 1, and each bit of the initial data of said mask bit data is changed to 0 from a least significant bit each time CA 02239367 2000-07-21 the shift signal is inputted, and the designated bit region is designated based on the bits of 1 of said mask bit data.
  4. 7
    A method of detecting a longest coincidence data, comprising the steps of:distributing an external data to N M-bit associative memory units to satisfy a relation of Xy = Y Nj+i where each of N and M is an integer greater than one, 0 i N, 0 s j M, i and j are integers, Xy is a j-th bit of said i-th one of said N associative memory units, and Y k is a k-th bit of said external data;comparing a distributed portion of said external data and a corresponding portion of a storage data in a designated bit region from a most significant bit of the distributed portion;generating a matching signal from each of said N associative memory units when the distributed portion of said external data portion and the corresponding portion of said storage data are coincident with each other in the designated bit region;and generating by means of a coincidence determination unit, a coincidence signal indicative of coincidence between said external data and said storage data in the designated bit region when said matching signals are received from said N associative memory units.
  5. 13
    A longest coincidence data detecting apparatus comprising:a plurality of associative memory units, each of which compares a portion of an external data and a corresponding portion of a storage data in accordance with a mask bit data, and outputs a matching signal when said external data portion and the corresponding portion of said storage data are coincident with each other in the region designated by said mask bit data;a control section for respectively supplying said portions of said external data to said plurality of associative memory units in response to a start signal, for shifting a designation data by one bit from a least significant bit to produce a shifted designation data each time a shift signal is inputted, and for outputting, as said mask bit data to all of said plurality of associative memory units, said designation data when no shift signal is inputted, and said shifted designation data when said shift signal is inputted;and CA 02239367 2000-07-21 a coincidence determination unit for generating a coincidence signal indicative of coincidence between said external data and said storage data in portion when said matching signals are received from said plurality of associative memory units.
  6. 15
    A longest coincidence data detecting apparatus according to claim 13, further comprising a bit count outputting section for outputting a data indicative of a number of bits coincident with each other between said external data and said storage data from said shift signal and said matching signal from each of said plurality of associative memory units.