Apparatuses and methods for comparing data patterns in memory
First Claim
Patent Images
1. A method for comparing data patterns, comprising:
- comparing in sensing circuitry a number of data patterns stored in a memory array to a target data pattern by;
storing a first data value of a first data unit of the target data pattern in a compute component;
logically ORing a data value of a first data unit of a first of the number of data patterns with the first data value stored in the compute component and store a result of the logical OR operation in the compute component;
wherein the first data unit of the stored data pattern and the first data unit of the target data pattern have a same data unit position;
comparing of a second data unit of the target data pattern to a second data unit of the stored data pattern by;
inverting of the result of the logical OR operation stored in the compute component; and
performing of a logical AND of the inverted result of the logical OR operation with a data value of the second data unit of the stored first data pattern and storing of a result of the logical AND operation in the compute component;
the second data unit of the target data pattern having a second data value, and wherein the second data unit of the stored data pattern and the second data unit of the target data pattern have a same data unit position; and
determining whether a data pattern of the number of data patterns matches the target data pattern.
8 Assignments
0 Petitions
Accused Products
Abstract
Apparatuses and methods related to comparing data patterns in memory. An example method can include comparing a number of data patterns stored in a memory array to a target data pattern. The method can include determining whether a data pattern of the number of data patterns matches the target data pattern without transferring data from the memory array via an input/output (I/O) line.
-
Citations
36 Claims
-
1. A method for comparing data patterns, comprising:
-
comparing in sensing circuitry a number of data patterns stored in a memory array to a target data pattern by; storing a first data value of a first data unit of the target data pattern in a compute component; logically ORing a data value of a first data unit of a first of the number of data patterns with the first data value stored in the compute component and store a result of the logical OR operation in the compute component; wherein the first data unit of the stored data pattern and the first data unit of the target data pattern have a same data unit position; comparing of a second data unit of the target data pattern to a second data unit of the stored data pattern by; inverting of the result of the logical OR operation stored in the compute component; and performing of a logical AND of the inverted result of the logical OR operation with a data value of the second data unit of the stored first data pattern and storing of a result of the logical AND operation in the compute component; the second data unit of the target data pattern having a second data value, and wherein the second data unit of the stored data pattern and the second data unit of the target data pattern have a same data unit position; and determining whether a data pattern of the number of data patterns matches the target data pattern. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus, comprising:
-
an array of memory cells configured to store a data pattern in a number of memory cells coupled to a sense line; sensing circuitry coupled to the array and controlled by a controller to cause; comparing of a first data unit of a target data pattern to a first data unit of the stored data pattern by; storing a first data value of the first data unit of the target data pattern in the compute component; and logically ORing a data value of the first data unit of the stored first data pattern with the first data value stored in the compute component and store a result of the logical OR operation in the compute component, wherein the first data unit of the stored data pattern and the first data unit of the target data pattern have a same data unit position; comparing of a second data unit of the target data pattern to a second data unit of the stored data pattern by; inverting of the result of the logical OR operation stored in the compute component; and performing of a logical AND of the inverted result of the logical OR operation with a data value of the second data unit of the stored first data pattern and storing of a result of the logical AND operation in the compute component; the second data unit of the target data pattern having a second data value, and wherein the second data unit of the stored data pattern and the second data unit of the target data pattern have a same data unit position; and determining, based on the comparisons, whether the stored data pattern matches the target data pattern. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. An apparatus, comprising:
-
an array of memory cells configured to store a data pattern in a number of memory cells coupled to a sense line; sensing circuitry coupled to the array of memory cells; and a controller configured to control the sensing circuitry to; compare a first data unit and a second data unit of a first set of data units of a target data pattern to a first data unit of the stored data pattern, wherein the first data unit of the stored data pattern corresponds to the first set of data units of the target data pattern; store respective data values in the sensing circuitry that indicate whether each of the compared first and second data units of the target data pattern matches corresponding first data units of the stored data pattern; invert the respective data values; subsequently compare the respective inverted data values to a third data unit and a fourth data unit of a second set of data units of the target data pattern; and determine, based on the comparisons, whether each of the subsequently compared data values matches the target data pattern. - View Dependent Claims (31, 32)
-
-
33. A method for comparing data patterns, comprising:
-
comparing, using a controller and sensing circuitry, a first data value to data values in data unit positions of a plurality of stored data patterns corresponding to data unit positions having the first data value in a target data pattern, wherein each stored data pattern of the plurality of stored data patterns is stored in memory cells coupled to a respective sense line; storing respective data values in the sensing circuitry that indicate whether each of the compared data values matches; inverting the data values stored in the sensing circuitry that indicate whether each of the compared data values matches; subsequently comparing, using the controller and the sensing circuitry, the inverted data values stored in the sensing circuitry to data values in data unit positions of the plurality of stored data patterns corresponding to data unit positions having a second data value in the target data pattern; and storing respective data values in the sensing circuitry that indicate whether each of the subsequently compared data values matches. - View Dependent Claims (34, 35, 36)
-
Specification