# US 2018/0322911 A1 · Longest element length determination in memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0322911 A1
- Document ID: US20180322911A1
- Status: Published application
- Kind: A1
- Application number: 16/039,443
- Filed: 2018-07-19
- Published: 2018-11-08
- Earliest claimed: 2015-01-07
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Sanjay Tiwari; Kyle B. Wheeler
- Web page: https://patentgrep.com/patent/US20180322911A1

## CPC

- G11C 7/1012: {Data reordering during input/output, e.g. crossbars, layers of multiplexers, shifting or rotating}
- G11C 7/065: {Differential amplifiers of latching type}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/4091: Sense or sense/refresh amplifiers, or associated sense circuitry, e.g. for coupled bit-line precharging, equalising or isolating
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- G11C 19/28: using semiconductor elements (G11C19/14, G11C19/36 take precedence)
- G11C 2207/002: Isolation gates, i.e. gates coupling bit lines to the sense amplifier
- G11C 2207/005: Transfer gates, i.e. gates coupling the sense amplifier output to data lines, I/O lines or global bit lines
- G11C 2207/007: Register arrays
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Examples of the present disclosure provide apparatuses and methods for determining a length of a longest element in a memory. An example method comprises determining, using a controller to control sensing circuitry, a length of a longest element of a plurality of variable length elements of a vector stored in a memory array.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method, comprising:
determining, using sensing circuitry coupled to a memory array and controlled by a controller, a length of a longest element of a plurality of variable length elements of a vector stored in the memory array by:
performing, in the sensing circuitry, a shift operation on an element mask vector indicating most significant bits of the plurality of variable length elements of the vector.

### Claim 22 (depends on 21)

The method of claim 21, wherein determining the length of the longest element comprises an AND operation and the shift operation, wherein the AND operation and the shift operation are based on the length of the longest element.

### Claim 23 (depends on 22)

The method of claim 22, wherein the AND operation and the shift operation are each performed using the sensing circuitry coupled to each of a number of columns of complementary sense lines.

### Claim 24 (depends on 21)

The method of claim 21, wherein the determining of the length of the longest element comprises determining whether one or more of bits of each of the plurality of variable length elements includes a particular value.

### Claim 25 (depends on 24)

The method of claim 24, wherein the particular value includes a bit value of 1.

### Claim 26 (depends on 21)

The method of claim 21, wherein the vector is stored in a group of memory cells coupled to a particular access line.

### Claim 27 (depends on 26)

The method of claim 26, wherein a result of the determination of the length of the longest element is stored in a group of memory cells coupled to a different particular access line of the memory array.

### Claim 28 (depends on 21)

The method of claim 21, further comprising performing an invert operation on the element mask vector and performing a different shift operation on the result of the invert operation to create a static mask.

### Claim 29 (depends on 28)

The method of claim 28, wherein the static mask indicates a left-most boundary to begin performing an AND operation and the shift operation.

### Claim 30

An apparatus comprising:
a group of memory cells, coupled to an access line of a memory array and a plurality sense lines, and configured to store a plurality of variable length elements; and
a controller configured to cause sensing circuitry coupled to the plurality of sense lines to:
perform, in the sensing circuitry, a shift operation on a bit vector indicating most significant bits of the plurality of variable length elements of the vector to determine a length of the longest element; and
concurrently performing an operation with a determination of the length of the longest element, wherein the operation is performed using at least one of the plurality of variable length elements.

### Claim 31 (depends on 30)

The apparatus of claim 30, wherein the controller is configured to cause the sensing circuitry to determine a most significant bit of each of the plurality of variable length elements.

### Claim 32 (depends on 31)

The apparatus of claim 31, wherein the controller is configured to cause a storing of elements representing the most significant bit of each of the plurality of variable length elements as the element mask vector.

### Claim 33 (depends on 32)

The apparatus of claim 32, wherein the controller is configured to cause the sensing circuitry to perform an invert operation on the element mask vector.

### Claim 34 (depends on 33)

The apparatus of claim 33, wherein the controller is configured to cause the sensing circuitry to perform the different shift operation on the inverted element mask vector.

### Claim 35 (depends on 34)

The apparatus of claim 34, wherein the different shift operation is a left shift operation and a result of the shift operation is stored as a static mask in a group of cells coupled to a particular access line of the array.

### Claim 36 (depends on 30)

The apparatus of claim 30, wherein the controller is further to perform a loop operation on the plurality of variable length elements by:
determining whether one or more bits of the element mask vector indicating the most significant bit of each of the plurality of variable length elements include a particular value; and
in response to one or more bits including the particular value:
performing the shift operation on the element mask vector; and
performing an AND operation with the shifted element mask vector and a static mask vector indicating a most significant bit of each of the plurality of variable length elements.

### Claim 37 (depends on 36)

The apparatus of claim 36, wherein the controller is configured to cause the sensing circuitry to repeat the loop operation by:
determining whether one or more bits of a previously shifted mask includes a particular value;
performing an additional shift operation on the previously shifted mask; and
performing an additional AND operation with the previously shifted mask and the static mask vector.

### Claim 38

A method, comprising:
receiving, from a host, an element mask vector indicating a most significant bit for each element of a plurality of variable length elements;
determining, using a controller to control sensing circuitry, a length of a longest element of the plurality of variable length elements of a vector by:
performing, in the sensing circuitry, a shift operation on the element mask vector to determine the length of the longest element of the plurality of variable length elements; and
providing the length of the longest element to the host.

### Claim 39 (depends on 38)

The method of claim 38, wherein the method further comprises:
determining a static mask vector by:
inverting the element mask vector; and
shifting the inverted elements.

### Claim 40 (depends on 39)

The method of claim 39, wherein the method further comprises
ANDing the shifted element mask vector with the static mask vector;
determining, subsequent to the ANDing operation, whether at least one bit of the elements is a particular value; and
in response to at least one bit of the elements being a particular value, repeating the shift operation and the AND operation on the elements.
