# Patent

## Title
Apparatuses and methods for performing corner turn operations using sensing circuitry

## Abstract

The present disclosure includes apparatuses and methods related to performing corner turn operations using sensing circuitry. An example apparatus comprises a first group of memory cells coupled to an access line and a plurality of sense lines and a second group of memory cells coupled to a plurality of access lines and a sense line. The example apparatus comprises a controller configured to cause a corner turn operation using sensing circuitry on an element stored in the first group of memory cells resulting in the element being stored in the second group of memory cells.

## Background
TECHNICAL FIELD
The present disclosure relates generally to semiconductor memory and methods, and more particularly, to apparatuses and methods related to performing logical operations using sensing circuitry.
BACKGROUND
Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic systems. There are many different types of memory including volatile and non-volatile memory. Volatile memory can require power to maintain its data (e.g., host data, error data, etc.) and includes random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), and thyristor random access memory (TRAM), among others. Non-volatile memory can provide persistent data by retaining stored data when not powered and can include NAND flash memory, NOR flash memory, and resistance variable memory such as phase change random access memory (PCRAIVI), resistive random access memory (RRAIVI), and magnetoresistive random access memory (MRAM), such as spin torque transfer random access memory (STT RAM), among others.
Electronic systems often include a number of processing resources (e.g., one or more processors), which may retrieve and execute instructions and store the results of the executed instructions to a suitable location. A processor can comprise a number of functional units such as arithmetic logic unit (ALU) circuitry, floating point unit (FPU) circuitry, and/or a combinatorial logic block, for example, which can be used to execute instructions by performing logical operations such as AND, OR, NOT, NAND, NOR, and XOR, and invert (e.g., inversion) logical operations on data (e.g., one or more operands). For example, functional unit circuitry may be used to perform arithmetic operations such as addition, subtraction, multiplication, and/or division on operands via a number of logical operations.
A number of components in an electronic system may be involved in providing instructions to the functional unit circuitry for execution. The instructions may be generated, for instance, by a processing resource such as a controller and/or host processor. Data (e.g., the operands on which the instructions will be executed) may be stored in a memory array that is accessible by the functional unit circuitry. The instructions and/or data may be retrieved from the memory array and sequenced and/or buffered before the functional unit circuitry begins to execute instructions on the data. Furthermore, as different types of operations may be executed in one or multiple clock cycles through the functional unit circuitry, intermediate results of the instructions and/or data may also be sequenced and/or buffered.
In many instances, the processing resources (e.g., processor and/or associated functional unit circuitry) may be external to the memory array, and data is accessed via a bus between the processing resources and the memory array to execute a set of instructions. Processing performance may be improved in a processor-in-memory (PIM) device, in which a processor may be implemented internal and/or near to a memory (e.g., directly on a same chip as the memory array), which may conserve time and power in processing.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an apparatus in the form of a computing system including a memory device in accordance with a number of embodiments of the present disclosure.
FIG. 2 is a schematic diagram illustrating sensing circuitry in accordance with a number of embodiments of the present disclosure.
FIG. 3 is a schematic diagram illustrating sensing circuitry having selectable logical operation selection logic in accordance with a number of embodiments of the present disclosure.
FIG. 4 is a schematic diagram of a portion of a memory array in accordance with a number of embodiments of the present disclosure.
FIGS. 5A-5D each illustrate a table showing the state of memory cells of an array at a particular phase associated with performing corner turn operations in accordance with a number of embodiments of the present disclosure.
FIGS. 6A-6D each illustrate a table showing the state of memory cells of an array at a particular phase associated with performing corner turn operations in accordance with a number of embodiments of the present disclosure.
FIG. 7 is a logic table illustrating selectable logic operation results implemented by a sensing circuitry in accordance with a number of embodiments of the present disclosure.
FIG. 8 illustrates a timing diagram associated with performing a logical operation and a shifting operation using the sensing circuitry in accordance with a number of embodiments of the present disclosure.
FIG. 9 illustrates a timing diagram associated with performing a logical operation and a shifting operation using the sensing circuitry in accordance with a number of embodiments of the present disclosure.



DETAILED DESCRIPTION
An example apparatus comprises a first group of memory cells coupled to an access line and a plurality of sense lines and a second group of memory cells coupled to a plurality of access lines and a sense line. The example apparatus comprises a controller configured to cause sensing circuitry to perform a corner turn operation on an element stored in the first group of memory cells resulting in the element being stored in the second group of memory cells.
According to various embodiments of the present disclosure, sensing circuitry is configured to perform a number of logical operations (e.g., AND operations, SHIFT operations, etc.) to perform the corner turn operation. The corner turn operation can include performing the corner turn operation on a number of elements stored in memory cells of the array coupled to an access line and a plurality of sense lines. For example, the number of elements can be stored in a horizontal fashion, as illustrated in the provided figures below, prior to performing the corner turn operations. The corner turn operation can result in the number of elements being stored in memory cells of the array coupled to a sense line and a plurality of access lines. For example, a result of the corner turn operations can include the number of elements being stored in a vertical fashion, as illustrated below in the provided figures. An element being stored in cells coupled to a single sense line can be beneficial when performing a number of PIM operations in accordance with embodiments of the present disclosure.
As described further herein, in a number of embodiments, the corner turn operations can result in the number of elements being stored in memory cells coupled to a particular sense line and plurality of access lines. For example, the number of elements can be stored vertically in a particular vertical column of memory cells based on a skip value that indicates how many columns to shift the elements when being stored vertically. When the skip value is equal to one, the vertically stored number of elements would be shifted one column. When the skip value is equal to two, the vertically stored number of elements would be shifted two columns, etc.
A number of embodiments of the present disclosure can provide improved parallelism and/or reduced power consumption in association with performing logical operations as compared to previous systems having an external processor (e.g., a processing resource located external from a memory array, such as on a separate integrated circuit chip). For instance, a number of embodiments can provide for performing fully complete logical operations such as integer add, subtract, multiply, divide, and CAM (content addressable memory) functions without transferring data out of the memory array and sensing circuitry via a bus (e.g., data bus, address bus, control bus), for instance. Such logical operations can involve performing a number of logical functions (e.g., logical functions such as AND, OR, NOT, NOR, NAND, XOR, etc.). However, embodiments are not limited to these examples. For instance, performing logical operations can include performing a number of non-Boolean logic operations such as sense amplifier set, sense amplifier clear, copy, compare, destroy, etc.
In previous approaches, data may be transferred from the array and sensing circuitry (e.g., via a bus comprising input/output (I/O) lines) to a processing resource such as a processor, microprocessor, and/or compute engine, which may comprise ALU circuitry and/or other functional unit circuitry configured to perform the appropriate logical operations. However, transferring data from a memory array and sensing circuitry to such processing resource(s) can involve significant power consumption. Even if the processing resource is located on a same chip as the memory array, significant power can be consumed in moving data out of the array to the compute circuitry, which can involve performing a sense line (which may be referred to herein as a digit line or data line) address access (e.g., firing of a column decode signal) in order to transfer data from sense lines onto I/O lines (e.g., local I/O lines), moving the data to the array periphery, and providing the data to the circuitry to perform the compute function.
Some advantages of embodiments of the present disclosure over previous approaches can include capability for implementing a greater quantity of logical operations using a same circuit configuration, and increased flexibility in implementing a plurality of logical operations. Logical operations can be selected dynamically from among a number of possible logical operations. Capability to select a number of different logical operations to implement directly can result in faster operations with fewer manipulations and movements (e.g., storing intermediate results) of data. And direct implementation of a plurality of different logical operations can use less power to obtain a result due in part to less movement of intermediate results. Also, embodiments of the present disclosure can be used to directly implement XOR and XNOR logical operations (e.g., in a single operation), rather than by obtaining the result via one or more logical operations involving intermediate results.
Furthermore, the circuitry of the processing resource(s) (e.g., compute engine) may not conform to pitch rules associated with a memory array. For example, the cells of a memory array may have a 4F2 or 6F2 cell size, where “F” is a feature size corresponding to the cells. As such, the devices (e.g., logic gates) associated with ALU circuitry of previous PIM systems may not be capable of being formed on pitch with the memory cells, which can affect chip size and/or memory density, for example.
For example, the sensing circuitry 150 described herein can be formed on a same pitch as a pair of complementary sense lines. As an example, a pair of complementary memory cells may have a cell size with a 6F2 pitch (e.g., 3F×2F). If the pitch of a pair of complementary sense lines for the complementary memory cells is 3F, then the sensing circuitry being on pitch indicates the sensing circuitry (e.g., a sense amplifier and corresponding compute component per respective pair of complementary sense lines) is formed to fit within the 3F pitch of the complementary sense lines.
Furthermore, the circuitry of the processing resource(s) of various prior systems may not conform to pitch rules associated with a memory array. For example, the memory cells of a memory array may have a 4F2 or 6F2 cell size. As such, the devices (e.g., logic gates) associated with ALU circuitry of previous systems may not be capable of being formed on pitch with the memory cells (e.g., on a same pitch as the sense lines), which can affect chip size and/or memory density, for example. In the context of some computing systems and subsystems (e.g., a central processing unit (CPU)), data may be processed in a location that is not on pitch and/or on chip with memory (e.g., memory cells in the array), as described herein. The data may be processed by a processing resource associated with a host, for instance, rather than on pitch with the memory.
In contrast, a number of embodiments of the present disclosure can include the sensing circuitry 150 (e.g., including sense amplifiers and/or compute components) being formed on pitch with the memory cells of the array. The sensing circuitry 150 can be configured for (e.g., capable of) performing logical operations. A number of embodiments of the present disclosure include sensing circuitry formed on pitch with memory cells of the array and capable of performing logical functions such as those described herein below.
In the following detailed description of the present disclosure, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration how one or more embodiments of the disclosure may be practiced. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the embodiments of this disclosure, and it is to be understood that other embodiments may be utilized and that process, electrical, and/or structural changes may be made without departing from the scope of the present disclosure. As used herein, the designator “N,” particularly with respect to reference numerals in the drawings, indicates that a number of the particular feature so designated can be included. As used herein, “a number of” a particular thing can refer to one or more of such things (e.g., a number of memory arrays can refer to one or more memory arrays).
The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. For example, 206 may reference element “06” in FIG. 2, and a similar element may be referenced as 606 in FIG. 6. As will be appreciated, elements shown in the various embodiments herein can be added, exchanged, and/or eliminated so as to provide a number of additional embodiments of the present disclosure. In addition, as will be appreciated, the proportion and the relative scale of the elements provided in the figures are intended to illustrate certain embodiments of the present invention, and should not be taken in a limiting sense.
FIG. 1 is a block diagram of an apparatus in the form of a computing system 100 including a memory device 120 in accordance with a number of embodiments of the present disclosure. As used herein, a memory device 120, a memory array 130, a controller 140, and/or sensing circuitry 150 might also be separately considered an “apparatus.”
System 100 includes a host 110 coupled (e.g., connected) to memory device 120, which includes a memory array 130. Host 110 can be a host system such as a personal laptop computer, a desktop computer, a digital camera, a smart phone, or a memory card reader, among various other types of hosts. Host 110 can include a system motherboard and/or backplane and can include a number of processing resources (e.g., one or more processors, microprocessors, or some other type of controlling circuitry). The system 100 can include separate integrated circuits or both the host 110 and the memory device 120 can be on the same integrated circuit. The system 100 can be, for instance, a server system and/or a high performance computing (HPC) system and/or a portion thereof. Although the example shown in FIG. 1 illustrates a system having a Von Neumann architecture, embodiments of the present disclosure can be implemented in non-Von Neumann architectures (e.g., a Turing machine), which may not include one or more components (e.g., CPU, ALU, etc.) often associated with a Von Neumann architecture.
For clarity, the system 100 has been simplified to focus on features with particular relevance to the present disclosure. The memory array 130 can be a DRAM array, SRAM array, STT RAM array, PCRAM array, TRAM array, RRAM array, NAND flash array, and/or NOR flash array, for instance. The array 130 can comprise memory cells arranged in rows coupled by access lines (which may be referred to herein as word lines or select lines) and columns coupled by sense lines. Although a single array 130 is shown in FIG. 1, embodiments are not so limited. For instance, memory device 120 may include a number of arrays 130 (e.g., a number of banks of DRAM cells). An example DRAM array is described in association with FIG. 2.
The memory device 120 includes address circuitry 142 to latch address signals provided over an I/O bus 156 (e.g., a data bus) through I/O circuitry 144. Address signals may also be received to controller 140 (e.g., via address circuitry 142 and/or via bus 154). Address signals are received and decoded by a row decoder 146 and a column decoder 152 to access the memory array 130. Data can be read from memory array 130 by sensing voltage and/or current changes on the data lines using sensing circuitry 150. The sensing circuitry 150 can read and latch a page (e.g., row) of data from the memory array 130. The I/O circuitry 144 can be used for bi-directional data communication with host 110 over the I/O bus 156. The write circuitry 148 is used to write data to the memory array 130.
Controller 140 decodes signals provided by control bus 154 from the host 110. These signals can include chip enable signals, write enable signals, and address latch signals that are used to control operations performed on the memory array 130, including data read, data write, and data erase operations. In various embodiments, the controller 140 is responsible for executing instructions from the host 110. The controller 140 can be a state machine, a sequencer, or some other type of control circuitry. Controller 140 can be implemented in hardware, firmware, and/or software. Controller 140 can also control shifting circuitry, which can be implemented, for example, in the sensing circuitry 150 according to various embodiments.
Examples of the sensing circuitry 150 are described further below. For instance, in a number of embodiments, the sensing circuitry 150 can comprise a number of sense amplifiers (e.g., sense amplifier shown as 206 in FIG. 2, 306 in FIG. 3, and/or 406 in FIG. 4) and a number of compute components (e.g., compute component shown as 231 in FIG. 2, 331 in FIG. 3, and/or 431 in FIG. 4), which can be used to perform logical operations (e.g., such as corner turn operations on data associated with complementary data lines). The sense amplifier can comprise a static latch, for example, which can be referred to herein as the primary latch. The compute component 231 can comprise a dynamic and/or static latch, for example, which can be referred to herein as the secondary latch, and which can serve as, and be referred to as, an accumulator.
In a number of embodiments, the sensing circuitry (e.g., 150) can be used to perform logical operations (e.g., corner turn operations) using data stored in array 130 as inputs and store the results of the logical operations back to the array 130 without transferring data via a sense line address access (e.g., without firing a column decode signal). As such, various logical functions can be performed using, and within, sensing circuitry 150 rather than (or in association with) being performed by processing resources external to the sensing circuitry (e.g., by a processor associated with host 110 and/or other processing circuitry, such as ALU circuitry, located on device 120 (e.g., on controller 140 or elsewhere)).
In various previous approaches, data associated with an operand, for instance, would be read from memory via sensing circuitry and provided to external ALU circuitry via I/O lines (e.g., via local I/O lines and/or global I/O lines). The external ALU circuitry could include a number of registers and would perform logical functions using the operands, and the result would be transferred back to the array (e.g., 130) via the I/O lines. In contrast, in a number of embodiments of the present disclosure, sensing circuitry (e.g., 150) is configured to perform logical operations on data stored in memory (e.g., array 130) and store the result back to the memory without enabling an I/O line (e.g., a local I/O line) coupled to the sensing circuitry, which can be formed on pitch with the memory cells of the array. Enabling an I/O line can include enabling (e.g., turning on) a transistor having a gate coupled to a decode signal (e.g., a column decode signal) and a source/drain coupled to the I/O line. Embodiments are not so limited. For instance, in a number of embodiments, the sensing circuitry (e.g., 150) can be used to perform logical operations without enabling column decode lines of the array; however, the local I/O line(s) may be enabled in order to transfer a result to a suitable location other than back to the array (e.g., to an external register).
As such, in a number of embodiments, various circuitry external to array 130 and sensing circuitry 150 (e.g., external registers associated with an ALU) is not needed to perform logical functions as the sensing circuitry 150 can perform the appropriate logical operations to perform such logical functions without the use of an external processing resource. Therefore, the sensing circuitry 150 may be used to compliment and/or to replace, at least to some extent, such an external processing resource (or at least the bandwidth of such an external processing resource). However, in a number of embodiments, the sensing circuitry 150 may be used to perform logical operations (e.g., to execute instructions) in addition to logical operations performed by an external processing resource (e.g., host 110). For instance, host 110 and/or sensing circuitry 150 may be limited to performing only certain logical operations and/or a certain number of logical operations.
FIG. 2 is a schematic diagram illustrating sensing circuitry in accordance with a number of embodiments of the present disclosure. A memory cell comprises a storage element (e.g., capacitor) and an access device (e.g., transistor). For instance, transistor 202-1 and capacitor 203-1 comprise a memory cell, and transistor 202-2 and capacitor 203-2 comprise a memory cell, etc. In this example, the memory array 230 is a DRAM array of 1T1C (one transistor one capacitor) memory cells. In a number of embodiments, the memory cells may be destructive read memory cells (e.g., reading the data stored in the cell destroys the data such that the data originally stored in the cell is refreshed after being read).
The cells of the memory array 230 can be arranged in rows coupled by word lines 204-X (ROW X), 204-Y (ROW Y), etc., and columns coupled by pairs of complementary sense lines (e.g., data lines DIGIT(n)/DIGIT(n)_). The individual sense lines corresponding to each pair of complementary sense lines can also be referred to as data lines 205-1 (D) and 205-2 (D_) respectively. Although only one pair of complementary data lines (e.g., one column) are shown in FIG. 2, embodiments of the present disclosure are not so limited, and an array of memory cells can include additional columns of memory cells and/or data lines (e.g., 4,096, 8,192, 16,384, etc.).
Memory cells can be coupled to different data lines and/or word lines. For example, a first source/drain region of a transistor 202-1 can be coupled to data line 205-1 (D), a second source/drain region of transistor 202-1 can be coupled to capacitor 203-1, and a gate of a transistor 202-1 can be coupled to word line 204-Y. A first source/drain region of a transistor 202-2 can be coupled to data line 205-2 (D_), a second source/drain region of transistor 202-2 can be coupled to capacitor 203-2, and a gate of a transistor 202-2 can be coupled to word line 204-X. The cell plate, as shown in FIG. 2, can be coupled to each of capacitors 203-1 and 203-2. The cell plate can be a common node to which a reference voltage (e.g., ground) can be applied in various memory array configurations.
The memory array 230 is coupled to sensing circuitry 250 in accordance with a number of embodiments of the present disclosure. In this example, the sensing circuitry 250 comprises a sense amplifier 206 and a compute component 231 corresponding to respective columns of memory cells (e.g., coupled to respective pairs of complementary data lines). The sensing circuitry 250 can correspond to sensing circuitry 150 shown in FIG. 1, for example. The sense amplifier 206 can be coupled to the pair of complementary sense lines 205-1 and 205-2. The compute component 231 can be coupled to the sense amplifier 206 via pass gates 207-1 and 207-2. The gates of the pass gates 207-1 and 207-2 can be coupled to logical operation selection logic 213.
The logical operation selection logic 213 can be configured to include pass gate logic for controlling pass gates that couple the pair of complementary sense lines 205-1 and 205-2 un-transposed between the sense amplifier 206 and the compute component 231 (as shown in FIG. 2) and/or swap gate logic for controlling swap gates that couple the pair of complementary sense lines transposed between the sense amplifier 206 and the compute component 231 (as is discussed later with respect to FIGS. 11, 12, 14, and 15, for example). The logical operation selection logic 213 can also be coupled to the pair of complementary sense lines 205-1 and 205-2. The logical operation selection logic 213 can be configured to control pass gates 207-1 and 207-2 (e.g., to control whether the pass gates 207-1 and 207-2 are in a conducting state or a non-conducting state) based on a selected logical operation, as described in detail below for various configurations of the logical operation selection logic 213.
The sense amplifier 206 can be operated to determine a data value (e.g., logic state) stored in a selected memory cell. The sense amplifier 206 can comprise a cross coupled latch, which can be referred to herein as a primary latch. In the example illustrated in FIG. 2, the circuitry corresponding to sense amplifier 206 comprises a latch 215 including four transistors coupled to the pair of complementary data lines 205-1 and 205-2. However, embodiments are not limited to this example. The latch 215 can be a cross coupled latch (e.g., gates of a pair of transistors, such as n-channel transistors (e.g., NMOS transistors) 227-1 and 227-2 are cross coupled with the gates of another pair of transistors, such as p-channel transistors (e.g., PMOS transistors) 229-1 and 229-2).
In operation, when a memory cell is being sensed (e.g., read), the voltage on one of the data lines 205-1 (D) or 205-2 (D_) will be slightly greater than the voltage on the other one of data lines 205-1 (D) or 205-2 (D_). An ACT signal can be driven high and the RNL* signal can be driven low to enable (e.g., fire) the sense amplifier 206. The data line 205-1 (D) or 205-2 (D_) having the lower voltage will turn on one of the PMOS transistor 229-1 or 229-2 to a greater extent than the other of PMOS transistor 229-1 or 229-2, thereby driving high the data line 205-1 (D) or 205-2 (D_) having the higher voltage to a greater extent than the other data line 205-1 (D) or 205-2 (D_) is driven high.
Similarly, the data line 205-1 (D) or 205-2 (D_) having the higher voltage will turn on one of the NMOS transistor 227-1 or 227-2 to a greater extent than the other of the NMOS transistor 227-1 or 227-2, thereby driving low the data line 205-1 (D) or 205-2 (D_) having the lower voltage to a greater extent than the other data line 205-1 (D) or 205-2 (D_) is driven low. As a result, after a short delay, the data line 205-1 (D) or 205-2 (D_) having the slightly greater voltage is driven to the voltage of the supply voltage VDD (e.g., through a source transistor (not shown)), and the other data line 205-1 (D) or 205-2 (D_) is driven to the voltage of the reference voltage (e.g., to ground (GND) through a sink transistor (not shown)). Therefore, the cross coupled NMOS transistors 227-1 and 227-2 and PMOS transistors 229-1 and 229-2 serve as a sense amplifier pair, which amplify the differential voltage on the data lines 205-1 (D) and 205-2 (D_) and operate to latch a data value sensed from the selected memory cell.
Embodiments are not limited to the sense amplifier 206 configuration illustrated in FIG. 2. As an example, the sense amplifier 206 can be current-mode sense amplifier and/or single-ended sense amplifier (e.g., sense amplifier coupled to one data line). Also, embodiments of the present disclosure are not limited to a folded data line architecture such as that shown in FIG. 2.
The sense amplifier 206 can, in conjunction with the compute component 231, be operated to perform various logical operations using data from an array as input. In a number of embodiments, the result of a logical operation can be stored back to the array without transferring the data via a data line address access (e.g., without firing a column decode signal such that data is transferred to circuitry external from the array and sensing circuitry via local I/O lines). As such, a number of embodiments of the present disclosure can enable performing logical operations associated therewith using less power than various previous approaches. Additionally, since a number of embodiments can eliminate the need to transfer data across I/O lines in order to perform logical functions (e.g., between memory and discrete processor), a number of embodiments can enable an increased parallel processing capability as compared to previous approaches.
The sense amplifier 206 can further include equilibration circuitry 214, which can be configured to equilibrate the data lines 205-1 (D) and 205-2 (D_). In this example, the equilibration circuitry 214 comprises a transistor 224 coupled between data lines 205-1 (D) and 205-2 (D_). The equilibration circuitry 214 also comprises transistors 225-1 and 225-2 each having a first source/drain region coupled to an equilibration voltage (e.g., VDD/2), where VDD is a supply voltage associated with the array. A second source/drain region of transistor 225-1 can be coupled data line 205-1 (D), and a second source/drain region of transistor 225-2 can be coupled data line 205-2 (D_). Gates of transistors 224, 225-1, and 225-2 can be coupled together, and to an equilibration (EQ) control signal line 226. As such, activating EQ enables the transistors 224, 225-1, and 225-2, which effectively shorts data lines 205-1 (D) and 205-2 (D_) together and to the an equilibration voltage (e.g., VDD/2).
Although FIG. 2 shows sense amplifier 206 comprising the equilibration circuitry 214, embodiments are not so limited, and the equilibration circuitry 214 may be implemented discretely from the sense amplifier 206, implemented in a different configuration than that shown in FIG. 2, or not implemented at all.
As described further below, in a number of embodiments, the sensing circuitry (e.g., sense amplifier 206 and compute component 231) can be operated to perform a selected logical operation and initially store the result in one of the sense amplifier 206 or the compute component 231 without transferring data from the sensing circuitry via an I/O line (e.g., without performing a data line address access via activation of a column decode signal, for instance).
Performance of logical operations (e.g., Boolean logical functions involving data values) is fundamental and commonly used. Boolean logical functions are used in many higher level functions. Consequently, speed and/or power efficiencies that can be realized with improved logical operations, which can translate into speed and/or power efficiencies of higher order functionalities. Described herein are apparatuses and methods for performing logical operations without transferring data via an input/output (I/O) line and/or without transferring data to a control component external to the array. Depending on memory array architecture, the apparatuses and methods for performing the logical operations may not require amplification of a sense line (e.g., data line, digit line, bit line) pair.
As shown in FIG. 2, the compute component 231 can also comprise a latch 264, which can be referred to herein as a secondary latch. The secondary latch 264 can be configured and operated in a manner similar to that described above with respect to the primary latch 215, with the exception that the pair of cross coupled p-channel transistors (e.g., PMOS transistors) comprising the secondary latch can have their respective sources coupled to a supply voltage (e.g., VDD), and the pair of cross coupled n-channel transistors (e.g., NMOS transistors) of the secondary latch can have their respective sources selectively coupled to a reference voltage (e.g., ground), such that the secondary latch is continuously enabled. The configuration of the compute component is not limited to that shown in FIG. 2 at 231, and various other embodiments are described further below.
FIG. 3 is a schematic diagram illustrating sensing circuitry having selectable logical operation selection logic in accordance with a number of embodiments of the present disclosure. FIG. 3 shows a number of sense amplifiers 306 coupled to respective pairs of complementary sense lines 305-1 and 305-2, and a corresponding number of compute component 331 coupled to the sense amplifiers 306 via pass gates 307-1 and 307-2. The gates of the pass gates 307-1 and 307-2 can be controlled by a logical operation selection logic signal, PASS. For example, an output of the logical operation selection logic 313-6 can be coupled to the gates of the pass gates 307-1 and 307-2.
According to the embodiment illustrated in FIG. 3, the compute components 331 can comprise respective stages (e.g., shift cells) of a loadable shift register configured to shift data values left and right. According to some embodiments, the compute component 331 can have bidirectional shift capabilities. According to various embodiments of the present disclosure, the compute components 331 can comprise a loadable shift register (e.g., with each compute component 331 serving as a respective shift stage) configured to shift in multiple directions (e.g., right and left). According to various embodiments of the present disclosure, the compute components 331 can comprise respective stages (e.g., shift cells) of a loadable shift register configured to shift in one direction. The loadable shift register can be coupled to the pairs of complementary sense lines 305-1 and 305-2, with node ST2 of each stage being coupled to the sense line (e.g., DIGIT(n)) communicating a true data value and with node SF2 of each stage being coupled to the sense line (e.g., DIGIT(n)_) communicating a complementary (e.g., false) data value.
According to some embodiments and as illustrated in FIG. 3, each compute component 331 (e.g., stage) of the shift register comprises a pair of right-shift transistors 381 and 386, a pair of left-shift transistors 389 and 390, and a pair of inverters 387 and 388. The signals PHASE 1R, PHASE 2R, PHASE 1L, and PHASE 2L can be applied to respective control lines 382, 383, 391 and 392 to enable/disable feedback on the latches of the corresponding compute components 331 in association with performing logical operations and/or shifting data in accordance with embodiments described herein. Examples of shifting data (e.g., from a particular compute component 331 to an adjacent compute component 331) is described further below with respect to FIGS. 8 and 9.
The compute components 331 (e.g., stages) of the loadable shift register can comprise a first right-shift transistor 381 having a gate coupled to a first right-shift control line 380 (e.g., “PHASE 1R”), and a second right-shift transistor 386 having a gate coupled to a second right-shift control line 382 (e.g., “PHASE 2R”). Node ST2 of each stage of the loadable shift register is coupled to an input of a first inverter 387. The output of the first inverter 387 (e.g., node SF1) is coupled to one source/drain of the second right-shift transistor 386, and another source/drain of the second right-shift transistor 386 is coupled to an input of a second inverter 388 (e.g., node SF2). The output of the second inverter 388 (e.g., node ST1) is coupled to one source/drain of the first right-shift transistor 381, and another source/drain of the first right-shift transistor 381 is coupled to an input of a second inverter (e.g., node SF2) for an adjacent compute component 331. Latch transistor 385 has a gate coupled to a LATCH control signal 384. One source/drain of the latch transistor 385 is coupled to node ST2, and another source/drain of the latch transistor 385 is coupled to node ST1.
Sense amplifiers 306 can be coupled to respective pairs of complementary sense lines 305-1 and 305-2, and corresponding compute components 331 coupled to the sense amplifiers 306 via respective pass gates 307-1 and 307-2. The gates of the pass gates 307-1 and 307-2 can be controlled by respective logical operation selection logic signals, “Passd” and “Passdb,” which can be output from logical operation selection logic (not shown for clarity).
A first left-shift transistor 389 is coupled between node SF2 of one loadable shift register to node SF1 of a loadable shift register corresponding to an adjacent compute component 331. The channel of second left-shift transistor 390 is coupled from node ST2 to node ST1. The gate of the first left-shift transistor 389 is coupled to a first left-shift control line 391 (e.g., “PHASE 1L”), and the gate of the second left-shift transistor 390 is coupled to a second left-shift control line 392 (e.g., “PHASE 2L”).
The logical operation selection logic 313-6 includes the swap gates 342, as well as logic to control the pass gates 307-1 and 307-2 and the swap gates 342. The logical operation selection logic 313-6 includes four logic selection transistors: logic selection transistor 362 coupled between the gates of the swap transistors 342 and a TF signal control line, logic selection transistor 352 coupled between the gates of the pass gates 307-1 and 307-2 and a TT signal control line, logic selection transistor 354 coupled between the gates of the pass gates 307-1 and 307-2 and a FT signal control line, and logic selection transistor 364 coupled between the gates of the swap transistors 342 and a FF signal control line. Gates of logic selection transistors 362 and 352 are coupled to the true sense line through isolation transistor 350-1 (having a gate coupled to an ISO signal control line). Gates of logic selection transistors 364 and 354 are coupled to the complementary sense line through isolation transistor 350-2 (also having a gate coupled to an ISO signal control line). FIGS. 8 and 9 illustrate timing diagrams associated with performing logical operations and shifting operations using the sensing circuitry shown in FIG. 3.
Data values on the respective pairs of complementary sense lines 305-1 and 305-2 can be loaded into the corresponding compute components 331 (e.g., loadable shift register) by causing the pass gates 307-1 and 307-2 to conduct, such as by causing the Passd control signal to go high. Gates that are controlled to have continuity (e.g., electrical continuity through a channel) are conducting, and can be referred to herein as being OPEN. Gates that are controlled to not have continuity (e.g., electrical continuity through a channel) are said to be non-conducting, and can be referred to herein as being CLOSED. For instance, continuity refers to a low resistance condition in which a gate is conducting. The data values can be loaded into the respective compute components 331 by either the sense amplifier 306 overpowering the corresponding compute component 331 (e.g., to overwrite an existing data value in the compute component 331) and/or by turning off the PHASE 1R and PHASE 2R control signals 380 and 382 and the LATCH control signal 384. A first latch (e.g., sense amplifier) can be configured to overpower a second latch (e.g., compute component) when the current provided by the first latch and presented to the second latch is sufficient to flip the second latch.
The sense amplifier 306 can be configured to overpower the compute component 331 by driving the voltage on the pair of complementary sense lines 305-1 and 305-2 to the maximum power supply voltage corresponding to a data value (e.g., driving the pair of complementary sense lines 305-1 and 305-2 to the rails), which can change the data value stored in the compute component 331. According to a number of embodiments, the compute component 331 can be configured to communicate a data value to the pair of complementary sense lines 305-1 and 305-2 without driving the voltages of the pair of complementary sense lines 305-1 and 305-2 to the rails (e.g., to VDD or GND). As such, the compute component 331 can be configured to not overpower the sense amplifier 306 (e.g., the data values on the pair of complementary sense lines 305-1 and 305-2 from the compute component 331 will not change the data values stored in the sense amplifier 306 until the sense amplifier is enabled.
Once a data value is loaded into a compute component 331 of the loadable shift register, the true data value is separated from the complement data value by the first inverter 387. The data value can be shifted to the right (e.g., to an adjacent compute component 331) by alternate operation of first right-shift transistor 381 and second right-shift transistor 386, which can be accomplished when the first right-shift control line 380 and the second right-shift control line 382 have periodic signals that go high out-of-phase from one another (e.g., non-overlapping alternating square waves 180 degrees out of phase with one another). LATCH control signal 384 can be activated to cause latch transistor 385 to conduct, thereby latching the data value into a corresponding compute component 331 of the loadable shift register (e.g., while signal PHASE 1R remains low and PHASE 2R remains high to maintain the data value latched in the compute component 331).
FIG. 4 (3 of 1002.173) illustrates a schematic diagram of a portion of a memory array 430 in accordance with a number of embodiments of the present disclosure. The array 430 includes memory cells (referred to generally as memory cells 403, and more specifically as 403-0 to 403-J) coupled to rows of access lines 404-0, 404-1, 404-2, 404-3, 404-4, 404-5, 404-6, . . . , 404-R and columns of sense lines 405-0, 405-1, 405-2, 405-3, 405-4, 405-5, 405-6, 405-7, . . . , 405-S. Memory array 430 is not limited to a particular number of access lines and/or sense lines, and use of the terms “rows” and “columns” does not intend a particular physical structure and/or orientation of the access lines and/or sense lines. Although not pictured, each column of memory cells can be associated with a corresponding pair of complementary sense lines (e.g., complementary sense lines 305-1 and 305-2 in FIG. 3).
Each column of memory cells can be coupled to sensing circuitry (e.g., sensing circuitry 150 shown in FIG. 1). In this example, the sensing circuitry comprises a number of sense amplifiers 406-0, 406-1, 406-2, 406-3, 406-4, 406-5, 406-6, 406-7, . . . , 406-U coupled to the respective sense lines 405-0, 405-1, 405-2, 405-3, 405-4, 405-5, 405-6, 405-7, . . . , 405-S. The sense amplifiers 406 are coupled to input/output (I/O) line 434 (e.g., a local I/O line) via access devices (e.g., transistors) 408-0, 408-1, 408-2, 408-3, 408-4, 408-5, 408-6, 408-7, . . . , 408-V. In this example, the sensing circuitry also comprises a number of compute components 431-0, 431-1, 431-2, 431-3, 431-4, 431-5, 431-6, 431-7, . . . , 431-X coupled to the respective sense lines. Column decode lines 410-1 to 410-W are coupled to the gates of transistors 408-1 to 408-V, respectively, and can be selectively activated to transfer data sensed by respective sense amps 406-0 to 406-U and/or stored in respective compute components 431-0 to 431-X to a secondary sense amplifier 412. In a number of embodiments, the compute components 431 can be formed on pitch with the memory cells of their corresponding columns and/or with the corresponding sense amplifiers 406.
In a number of embodiments, the sensing circuitry (e.g., compute components 431 and sense amplifiers 406) is configured to perform corner turn operations on an element stored in array 401. As an example, a first element (e.g., a 4-bit element) can be stored in a first group of memory cells (e.g., cells 403-0 to 403-3) coupled to a particular access line (e.g., 404-0) and to a number of sense lines (e.g., 405-0 to 405-3), referred to herein as stored in a horizontal fashion, as illustrated. A number of corner turn operations can be performed on the first element, resulting in the first element being stored in a second group of memory cells coupled to a plurality of access lines (e.g., 404-1 to 404-4) and to a sense line (e.g., 405-0), referred to herein as stored in a vertical fashion, as illustrated.
In a number of embodiments, the sensing circuitry (e.g., compute components 431 and sense amplifiers 406) is configured to perform corner turn operations on a plurality of elements stored in array 401. As an example, a first plurality of elements (two elements each 4-bits wide, in this example) can be stored in a first group of memory cells (e.g., cells 403-0 to 403-7) coupled to a particular access line (e.g., 404-0) and to a number of sense lines (e.g., 405-0 to 405-7), referred to herein as stored in a horizontal fashion. A second plurality of elements (e.g., two elements each 4-bits wide, in this example) can be stored in a second group of memory cells coupled to a different access line (e.g., 404-1) and the respective number of sense lines (405-0 to 405-7). A number of corner turn operations can be performed on the first plurality of elements resulting in each of the elements being stored in a third group of memory cells coupled to a plurality of access lines and a sense line (e.g., in a vertical fashion, as illustrated). For example, a first element of the first plurality of elements can be stored in cells coupled to access lines 404-2 to 404-5 and sense line 405-0 after performing the number of corner turn operations. A second element of the first plurality of elements can be stored in cells coupled to access lines 404-2 to 404-5 and sense line 405-1 after performing the number of corner turns. In addition, after performing the number of corner turn operations, a first element of the second plurality of elements can be stored in cells coupled to access lines 404-2 to 404-5 and sense line 405-4 and a second element of the second plurality of elements can be stored in cells coupled to access lines 404-2 to 404-5 and sense line 405-5. While the example described above refers to two elements per row, examples are not so limited.
FIGS. 5A-5D each illustrate a table showing the state of memory cells of an array at a particular phase associated with performing corner turn operations in accordance with a number of embodiments of the present disclosure. The reference numbers of the rows of the tables shown in FIG. 5A correspond to respective reference numbers of the pseudo code described below (e.g., row 551-0 corresponds to reference number 0 of the pseudo code, rows 551-1 to 551-3 correspond to reference number 1 to 3, respectively, of the pseudocode. Each row of the tables indicates the values of a number of bit vectors 531 (COMP_COMP), 533 (TMP_LOOKUP), 535 (DEST), and 537 (SRC) at a particular phase of the corner turn operation as can be stored in rows and/or columns of memory cells in the array (e.g., 430 in FIG. 4).
The example shown in FIG. 5A is associated with performing a corner turn on eight elements stored in memory cells coupled to an access line (e.g., access line 404-0 in FIG. 4) and to sense lines (e.g., sense lines 405-0 to 405-31 in FIG. 4). In this example, the eight elements are 4-bit wide elements. The eight elements to be corner turned are illustrated as bit-vector in a first row of bit-vector SRC 537 in FIG. 5A. Bit-vector SRC 537 is illustrated as including 4 rows to indicate that additional elements can be stored in additional rows (e.g., in cells coupled to a second access line and a plurality of sense lines such as 405-0 to 405-31, cells coupled to a third access and the plurality of sense lines, and cells coupled to a fourth access line and the plurality of sense lines). However, in this example, elements corresponding to cells coupled to a first access line (e.g., 404-0) will be corner turned.
In the example below, the eight elements are represented by bit-vector SRC 537 (e.g., [1111 1111, 1111 1111, 1111 1111, 1111 1111]), which can be represented in hexadecimal notation as [0X FF,FF,FF,FF] (where the “0X” notation indicates hexadecimal and commas can group a pair of elements for ease of reference) and is shown in FIG. 5A as “0XFF,FF,FF,FF”). A first element of SRC 537 (e.g., [0XF]) can represent a base ten (10) numerical value of 15. Each of the subsequent second, third, fourth, fifth, sixth, seventh, and eighth elements (e.g., each indicated by “F” in bit-vector SRC 537 [0XFF,FF,FF,FF]) can represent a base ten (10) numerical value of 15. As illustrated in FIGS. 5A-5D, a bit-vector stored as COMP_COMP 531 corresponds to a row of compute components such as compute components 431 in FIG. 4. Bit-vector TMP_LOOKUP 533 corresponds to data stored in a row of cells. In contrast, bit-vectors DEST 535 and SRC 537 are illustrated as 4 rows of data, indicating four bit-vectors stored in 4 separate rows of cells. Bit-vectors DEST 535 and SRC 537 will referenced such that a first bit-vector of a first row of cells is separated by a semicolon along with subsequent bit-vectors of a second, third, and fourth row of cells. For example, DEST 535 at row 551-0 will be referenced as [0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00] and SRC 537 at row 551-0 will be referenced as [0XFF,FF,FF,FF; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00].
In this example, the bit-vectors TMP_LOOKUP 533, DEST 535, and SRC 537 have a length of 32 bits and eight elements that are each 4 bits wide. It is noted that although hexadecimal notation is used in FIG. 5A, the bit-vectors are stored as binary data patterns in the array during the corner turn operations. Also, in the examples described herein, commas and/or spaces may be used to separate a number of elements within a bit-vector for ease of reference. For instance, in the example above, the bit-vectors 535 and 537 each comprise eight elements which include two elements separated out by commas. Embodiments are not limited to a particular element size (e.g., to a particular number of elements and/or bits per element). The result of the corner turn operations can be stored in array (e.g., 430) and/or can be transferred external to the array (e.g., to functional unit circuitry of a host).
The expected result of corner turning SRC 537 (e.g., [0XFF,FF,FF,FF]) is bit-vector [0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88]. As described further below, the result of performing a corner turn can be stored as a bit-vector in a particular group of memory cells. For instance, in the example of FIGS. 5A-5D, the memory cells corresponding to DEST 535 are used to store the result of the corner turn. As such, at the conclusion of the example described in FIGS. 5A-5D, the value of DEST 535 [0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88] in hexadecimal (e.g., binary [1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000]), which represents the eight elements being stored in a vertical fashion (e.g., in cells coupled to a sense line and a plurality of access lines).
As described further below, the bit vectors 533 (TMP_LOOKUP), 535 (DEST) and 537 (SRC) can be used in association with performing a plurality of corner turn operations on eight elements of the SRC bit-vector 537. The bit-vectors 533, 535, and 537 can be stored in respective groups of memory cells coupled to particular access lines, which may be referred to as temporary storage rows. As used herein, temporary storage rows of memory cells are storing data that may be updated during various phases of a plurality of corner turn operations. As an example, the bit-vectors 533 and 535 can have a same length as the SRC bit-vector 537, respectively, and can be stored in cells coupled to the same sense lines as the SRC bit-vector 537 (e.g., sense lines 405-0 to 405-31). For instance, the bit-vector 533 (TMP_LOOKUP) can have a length of 32 bits and can be stored in a group of cells coupled to access line 404-1 and to sense lines 405-0 to 405-31. The bit-vectors 535 (DEST) can have lengths of 32 bits and can each be stored in a group of cells coupled to access line 404-3 (corresponding to a first row of data), 404-4 (corresponding to a second row of data), 404-5 (corresponding to a third row of data), and 404-6 (corresponding to a fourth row of data) and to sense lines 405-0 to 405-31. The bit-vector 531 (COMP_COMP) represents the data stored in the sensing circuitry (e.g., compute components 431 and/or sense amplifiers 406) corresponding to the sense lines having cells coupled thereto which store elements being divided (e.g., sense lines 405-0 to 405-31 in this example). A first row of data of SRC 537 (e.g., [0XFF,FF,FF,FF]) can have a length of 32 bits and can be stored in a group of cells coupled to access line 404-0 and to sense lines 405-0 to 405-31.
In the example described in association with FIG. 5A, the first element of the SRC bit-vector 537 (e.g., hexadecimal value “F” in the most significant element position) can be stored (e.g., as a four bit bit-vector [1111]) in memory cells 403-0 to 403-3 coupled to access line 304-0 (e.g., ROW 0). The second element of the SRC bit-vector 537 (e.g., hexadecimal value “F” in the second most significant element position) can be stored (e.g., as a four bit bit-vector [1111]) in memory cells 403-4 to 403-7 coupled to access line 404-0 (e.g., ROW 0), and each of the subsequent third, fourth, fifth, sixth, seventh, and eighth elements of bit-vector SRC 537 stored in subsequent cells coupled to access line 404-0.
The below pseudocode represents instructions executable to perform a number of corner turn operations in a memory in accordance with a number of embodiments of the present disclosure. The example pseudocode is referenced using reference numbers 0-3, which correspond to the reference numbers of the rows shown in the tables of FIGS. 5A-5D and in reference to the column numbers of FIGS. 5A-5D. For instance, reference number 1 (e.g., “Generate LSB”) corresponds to row 551-1, columns 531 and 533, reference number 2 (e.g., “Store as TMP_LOOKUP”) corresponds to row 551-2, columns 531 and 533, and 441, and so forth.

    
    
        0. Get Temp Rows TMP_LOOKUP, DEST and Load SRC;
        1. Generate LSB;
        2. Store COMP_COMP as TMP_LOOKUP;
        3. Run fixed LOOP for element width;
        
            a. Perform AND on COMP_COMP and SRC
            b. SHIFT Left=Element Width−C−1
            c. Store COMP_COMP as DEST row=C
            d. Load TMP_LOOKUP as COMP_COMP
            e. SHIFT COMP_COMP Left
            f. Store COMP_COMP as TMP_LOOKUP
        
        
    
    


For purposes of discussion, the above pseudo code will be divided into a setup phase and a corner turn phase associated with performing a corner turn operation (e.g., corner turning the thirty-two elements of the SRC bit-vector 537). The pseudo code referenced by reference numbers 0-2 can correspond to the setup phase. The setup phase can be performed simultaneously for a number of the corner turn operations. In the example illustrated in FIG. 5A, a bit-vector value illustrated in bold indicates a change in the value of the bit-vector (e.g., the value of the bit-vector stored in the memory cells corresponding to COMP_COMP 531 is shown in bold in FIG. 5A to indicate a change from [0X00000000] (as shown in row 551-0) to [0X11,11,11,11] (as shown in row 551-1). FIG. 5A illustrates the values of a number of bit-vectors associated with performing the setup phase of a corner turn operation at rows 551- to 551-2. The pseudo code referenced by reference number 3 can correspond to the corner turn phase.
In a number of embodiments, the setup phase can be performed simultaneously for all of the elements that will be corner turned. The results (e.g., the resulting stored bit-vectors) corresponding to a number of operations performed in the setup phase are shown in FIG. 5A. Rows 551-0 to 551-2 of the table in FIG. 5A corresponds to the above pseudocode instructions referenced by reference numbers 0 to 2, respectively. As such, rows 551-0 to 551-2 indicate values of the bit vectors 533, 535, and 537 during execution of the setup phase as described by the above pseudocode. Reference number 0 (e.g., “Get Temp Rows TMP_LOOKUP, DEST and Load SRC”) of the above pseudocode is associated with initializing a number of groups of memory cells for use as temporary storage rows to be used to store bit-vectors (e.g., 533, 535). Initializing refers to designating and/or assigning particular access lines used to store particular bit-vectors for performing the corner turn operation. For instance, the number of groups of memory cells can be initialized and/or designated groups of cells that can be coupled to respective access lines (e.g., rows) that store data (e.g., on a temporary basis) in association with performing the division operation. For example, a first group of memory cells can be coupled to a particular access line (e.g., 404-1, ROW 1, not shown) and can store a bit-vector referred to as a “TMP_LOOKUP” bit-vector 533. A second group of memory cells can be coupled to another group of access lines (e.g., 404-2 to 404-5, ROWs 2 to 5) and can store bit-vectors referred to as “DEST” bit-vectors 535. Embodiments are not limited to a particular number of temporary storage rows and/or to storage of the corresponding bit-vectors on particular access lines. Also, although the groups of memory cells used to store bit-vectors 533, 535 may be referred to as “rows,” the respective groups of memory cells may comprise fewer than all of the cells coupled to a particular access line (e.g. ROW). Furthermore, in a number of embodiments, temporary storage rows can refer to access lines which may not be addressable by a user (e.g., access lines that are outside of a user-addressable address space). In addition, a bit-vector to be corner turned can be loaded as SRC 537 (e.g., [0XFF,FF,FF,FF], as illustrated at row 551-0).
Reference number 1 (e.g., “Generate LSB”) of the above pseudocode can be associated with determining a least significant bit (LSB) of each of the elements. A number of methods to determine the LSBs can be used but, as an example, one method can include setting all values of COMP_COMP 531 to include a particular value (e.g., a “1”, resulting in bit-vector [0XFF,FF,FF,FF]), shift left one position while replacing shifted values at an end of an element with “0”s (resulting in bit-vector [0XEE,EE,EE,EE]), and invert the result to obtain LSBs (e.g., [0X11,11,11,11], illustrated as COMP_COMP 531 at 551-1 in FIG. 5A). Reference number 2 (e.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode can be associated with storing the COMP_COMP 531 (e.g., [0X11,11,11,11]) as bit-vector TMP_LOOKUP 533, as illustrated at 551-2.
At the conclusion of the setup phase corresponding to reference numbers 0-2 of the above pseudocode, and as shown in row 551-2 of FIG. 5A, TMP_LOOKUP 533 stores [0X11,11,11,11] (e.g., binary [0001 0001, 0001 0001, 0001 0001, 0001 0001]), DEST 535 stores [0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00] (e.g., binary [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000]), and SRC 537 stores [0XFF,FF,FF,FF] (e.g., binary [1111 1111, 1111 1111, 1111 1111, 1111 1111]), where each of the eight (8) elements (e.g., each of [1111]) of SRC 537 represents a decimal value of “15.”
Reference number 3 (e.g., 3a to 3f) of the above pseudocode corresponds to the corner turn phase of a corner turn operation in accordance with a number of embodiments of the present disclosure. Reference number 3 (e.g., “Run fixed LOOP for element width”) of the above pseudocode is associated with performing a LOOP including a number of iterations corresponding to an element width. In this example, each of the elements of SRC 537 are 4 bits wide therefore four iterations of the loop will be performed. A first iteration of the loop is associated with the description of FIG. 5A at rows 551-3.1a to 551-3.1f which corresponds to reference numbers 3a to 3f for a first iteration (where the “1” of 3.1 indicates a first iteration). The first iteration can correspond to a determination of a least significant bit for each element that is corner turned to a 0th row of DEST 535. A second iteration of the loop is associated with the description of FIG. 5B at rows 551-3.2a to 551-3.2f, which corresponds to reference numbers 3a to 3f for a second iteration. The second iteration of the loop can correspond to a determination of a second least (or third most) significant bit for each element that is corner turned to a 1st row of DEST 535. Likewise, a third iteration is associated with FIG. 5C and corresponds to third least/second most significant bit for each element that is corner turned to a 2nd row of DEST 535. A fourth iteration is associated with FIG. 5D and correspond to a most significant bit for each element that is corner turned to a 3rd row of DEST 535.
During a first iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 531 (e.g., [0X11,11,11,11]) and SRC 537 (e.g., [0XFF,FF,FF,FF]). Performing the AND operation results in bit-vector [0X11,11,11,11] being stored as COMP_COMP 531, as illustrated at 551-3.1a in FIG. 5A.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 531 (e.g., [0X11,11,11,11]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 531 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the first iteration (corresponding to a value of C=0′′, whereas a second iteration has C=1, a third has C=2, and a fourth has C=3). Therefore, a shift is performed equal to shifting each data value three positions (since 4−0−1=3) to the left, as illustrated, resulting in bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 531 at 551-3.1b in FIG. 5A.
Reference number 3c (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as a row of DEST 535 equal to C (e.g., 0 for a first iteration). For example, COMP_COMP 531 (e.g., [0X88,88,88,88]) is stored in memory cells corresponding to a ROW 0 of DEST 535 (which in this case can refer to memory cells coupled to access line 404-2, which is the 0th row of DEST 535). As a result, a least significant bit of each of the elements is stored in a 0th row of DEST 535. For example, bolded bits of SRC 537 illustrated as [1111 1111, 1111 1111, 1111 1111,1111 1111] correspond to each successively stored bit (also bolded) of DEST 535 [1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000]. While in this example the least significant bit is illustrated as a right-most bit, examples are not so limited. A most significant bit could be at a right-most position and then row 0 of DEST 535 would correspond to a most significant bit of each of the elements.
Reference number 3d (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 533 (e.g., [0X11,11,11,11]) as COMP_COMP 531, as illustrated at 551-3.1d. For example, each data unit (e.g., bit) of TMP_LOOKUP 533 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3e (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 531 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X22,22,22,22]) stored as COMP_COMP 531, as illustrated at 531-3.1e. Reference number 3f (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X22,22,22,22]) as TMP_LOOKUP 533, as illustrated at 551-3.1f. Reference numbers 3d to 3f are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this first iteration corresponded to a least significant bit and a second iteration will correspond to a next most significant bit).
During a second iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 531 (e.g., [0X22,22,22,22]) and SRC 537 (e.g., [0XFF,FF,FF,FF]). Performing the AND operation results in bit-vector [0X22,22,22,22] being stored as COMP_COMP 531, as illustrated at 551-3.2a in FIG. 5B.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 531 (e.g., [0X22,22,22,22]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 531 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the second iteration (corresponding to a value of C=1′′). Therefore, a shift is performed equal to shifting each data value two positions (since 4−1−1=2) to the left, as illustrated, resulting in bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 531 at 551-3.2b in FIG. 5B.
Reference number 3c (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as a row of DEST 535 equal to C (e.g., 1 for a second iteration). For example, COMP_COMP 531 (e.g., [0X88,88,88,88]) is stored in memory cells corresponding to a ROW 1 of DEST 535 (which in this case can refer to memory cells coupled to access line 404-3, which is the 1st row of DEST 535). As a result, a second least (third most) significant bit of each of the elements is stored in a 1st row of DEST 535. For example, bolded bits of SRC 537 illustrated as [1111 1111, 1111 1111, 1111 1111,1111 1111] correspond to each successively stored bit (also bolded) of DEST 535 [1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000]. While in this example the second least (third most) significant bit is illustrated as a third-to-the-right bit, examples are not so limited. A most significant bit could be at a right-most position and then row 1 of DEST 535 would correspond to a second most significant bit of each of the elements.
Reference number 3d (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 533 (e.g., [0X22,22,22,22]) as COMP_COMP 531, as illustrated at 551-3.2d. For example, each data unit (e.g., bit) of TMP_LOOKUP 533 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3e (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 531 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X44,44,44,44]) stored as COMP_COMP 531, as illustrated at 531-3.2e. Reference number 3f (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X44,44,44,44]) as TMP_LOOKUP 533, as illustrated at 551-3.2f Reference numbers 3d to 3f are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this second iteration corresponded to a second least significant bit and a third iteration will correspond to a next most significant bit or a third least/second most significant bit).
During a third iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 531 (e.g., [0X44,44,44,44]) and SRC 537 (e.g., [0XFF,FF,FF,FF]). Performing the AND operation results in bit-vector [0X44,44,44,44] being stored as COMP_COMP 531, as illustrated at 551-3.3a in FIG. 5C.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 531 (e.g., [0X44,44,44,44]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 531 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the third iteration (corresponding to a value of C=2′′). Therefore, a shift is performed equal to shifting each data value one position (since 4−2−1=1) to the left, as illustrated, resulting in bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 531 at 551-3.3b in FIG. 5C.
Reference number 3c (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as a row of DEST 535 equal to C (e.g., 2 for a third iteration). For example, COMP_COMP 531 (e.g., [0X88,88,88,88]) is stored in memory cells corresponding to a ROW 2 of DEST 535 (which in this case can refer to memory cells coupled to access line 404-4, which is the 2nd row of DEST 535). As a result, a second most (third least) significant bit of each of the elements is stored in a 2nd row of DEST 535. For example, bolded bits of SRC 537 illustrated as [1111 1111, 1111 1111, 1111 1111,1111 1111] correspond to each successively stored bit (also bolded) of DEST 535 [1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000]. While in this example the second most (third least) significant bit is illustrated as a third from-the-right (second from the left) bit, examples are not so limited. A most significant bit could be at a right-most position and then row 2 of DEST 535 would correspond to a third most significant bit of each of the elements.
Reference number 3d (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 533 (e.g., [0X44,44,44,44]) as COMP_COMP 531, as illustrated at 551-3.3d. For example, each data unit (e.g., bit) of TMP_LOOKUP 533 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3e (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 531 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X88,88,88,88]) stored as COMP_COMP 531, as illustrated at 531-3.3e. Reference number 3f (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as TMP_LOOKUP 533, as illustrated at 551-3.3f Reference numbers 3d to 3f are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this third iteration corresponded to a second most significant bit and a fourth iteration will correspond to a most significant bit.
During a fourth iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 531 (e.g., [0X88,88,88,88]) and SRC 537 (e.g., [0XFF,FF,FF,FF]). Performing the AND operation results in bit-vector [0X88,88,88,88] being stored as COMP_COMP 531, as illustrated at 551-3.4a in FIG. 5D.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 531 (e.g., [0X88,88,88,88]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 531 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the fourth iteration (corresponding to a value of C=3′′). Therefore, a shift is performed equal to shifting each data value zero positions (since 4−3−1=0) to the left, as illustrated, resulting in COMP_COMP 531 remaining bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 531 at 551-3.4b in FIG. 5D.
Reference number 3c (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as a row of DEST 535 equal to C (e.g., 3 for a fourth iteration). For example, COMP_COMP 531 (e.g., [0X88,88,88,88]) is stored in memory cells corresponding to a ROW 3 of DEST 535 (which in this case can refer to memory cells coupled to access line 404-5, which is the 3rd row of DEST 535). As a result, a most significant bit of each of the elements is stored in a 3rd row of DEST 535. For example, bolded bits of SRC 537 illustrated as [1111 1111, 1111 1111, 1111 1111,1111 1111] correspond to each successively stored bit (also bolded) of DEST 535 [1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000; 1000 1000, 1000 1000, 1000 1000, 1000 1000]. While in this example the most significant bit is illustrated as a furthest left bit, examples are not so limited. A most significant bit could be at a right-most position and then row 3 of DEST 535 would correspond to a least significant bit of each of the elements.
Reference number 3d (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 533 (e.g., [0X88,88,88,88]) as COMP_COMP 531, as illustrated at 551-3.4d. For example, each data unit (e.g., bit) of TMP_LOOKUP 533 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3e (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 531 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X00,00,00,00]) stored as COMP_COMP 531, as illustrated at 531-3.4e. Reference number 3f (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X88,88,88,88]) as TMP_LOOKUP 533, as illustrated at 551-3.4f Reference numbers 3d to 3f are associated with shifting to a next most significant bit for a subsequent iteration. However, since this is the fourth iteration and the loop is performed a number of times based on a width of the elements, the loop is terminated and no further iterations are performed. The result of the corner turn on the plurality of elements is stored as DEST 535 (e.g., [0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88; 0X88,88,88,88]) at 551-3.4f in FIG. 5D. Therefore, each of the elements [0XF] illustrated as stored horizontally in SRC 537 were corner turned to result in an element [0X8; 0X8; 0X8; 0X8] illustrated as stored vertically in DEST 535.
FIGS. 6A-6D each illustrate a table showing the state of memory cells of an array at a particular phase associated with performing corner turn operations in accordance with a number of embodiments of the present disclosure. The reference numbers of the rows of the tables shown in FIGS. 6A-6D correspond to respective reference numbers of the pseudo code described below (e.g., row 653-0 corresponds to reference number 0 of the pseudo code, rows 653-1 to 653-3 correspond to reference number 1 to 3, respectively, of the pseudocode. Each row of the tables indicates the values of a number of bit vectors 631 (COMP_COMP), 641 (TMP_LOOKUP), 643 (DEST), and 645 (SRC) at a particular phase of the corner turn operation as can be stored in rows and/or columns of memory cells in the array (e.g., 430 in FIG. 4).
The example shown in FIGS. 6A-6D is associated with performing a corner turn including a skip (e.g., a shift) on eight elements stored in memory cells coupled to an access line (e.g., access line 404-0 in FIG. 4) and to sense lines (e.g., sense lines 405-0 to 405-31 in FIG. 4). In this example, the eight elements are 4-bit wide elements. The eight elements to be corner turned are illustrated as bit-vector in a first row of bit-vector SRC 537 in FIG. 5A. Bit-vector SRC 537 is illustrated as including 4 rows to indicate that additional elements can be stored in additional rows (e.g., in cells coupled to a second access line and a plurality of sense lines such as 405-0 to 405-31, cells coupled to a third access and the plurality of sense lines, and cells coupled to a fourth access line and the plurality of sense lines). However, in this example, elements corresponding to cells coupled to a first access line (e.g., 404-0) will be corner turned.
In the example below, the eight elements are represented by bit-vector SRC 645 (e.g., [1010 1010, 1010 1010, 1010 1010, 1010 1010]), which can be represented in hexadecimal notation as [0X AA,AA,AA,AA] (where the “OX” notation indicates hexadecimal and commas can group a pair of elements for ease of reference) and is shown in FIG. 6A “0XAA,AA,AA,AA”). A first element of SRC 645 (e.g., [0XA]) can represent a base ten (10) numerical value of 10. Each of the subsequent second, third, fourth, fifth, sixth, seventh, and eighth elements (e.g., each indicated by “A” in bit-vector SRC 645 [0XAA,AA,AA,AA]) can represent a base ten (10) numerical value of 10. As illustrated in FIGS. 6A-6D, a bit-vector stored as COMP_COMP 531 corresponds to a row of compute components such as compute components 431 in FIG. 4. Bit-vector TMP_LOOKUP 641 corresponds to data stored in a row of cells. In contrast, bit-vectors DEST 643 and SRC 645 are illustrated as 4 rows of data, indicating four bit-vectors stored in 4 separate rows of cells. Bit-vectors DEST 643 and SRC 645 will referenced such that a first bit-vector of a first row of cells is separated by a semicolon along with subsequent bit-vectors of a second, third, and fourth row of cells. For example, DEST 643 at row 651-0 will be referenced as [0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00] and SRC 645 at row 653-0 will be referenced as [AA,AA,AA,AA; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00].
In this example, the bit-vectors TMP_LOOKUP 641, DEST 643, and SRC 645 have a length of 32 bits and eight elements that are each 4 bits wide. It is noted that although hexadecimal notation is used in FIG. 6A, the bit-vectors are stored as binary data patterns in the array during the corner turn operations. Also, in the examples described herein, commas and/or spaces may be used to separate a number of elements within a bit-vector for ease of reference. For instance, in the example above, the bit-vectors 643 and 645 each comprise eight elements which include two elements separated out by commas. Embodiments are not limited to a particular element size (e.g., to a particular number of elements and/or bits per element). The result of the corner turn operations can be stored in array (e.g., 430) and/or can be transferred external to the array (e.g., to functional unit circuitry of a host).
The example illustrated in FIGS. 6A-6D includes a corner turning including a skip. In this example, a skip (e.g., shift) of one position rightward is performed or, put another way, data values are shifted from a cell coupled to a first sense line to a cell coupled to a second neighboring sense line. The expected result of performing a corner turn with a skip on bit-vector SRC 645 (e.g., [0XAA,AA,AA,AA]) is bit-vector [0X00,00,00,00; 44,44,44,44; 00,00,00,00; 44,44,44,44]. As described further below, the result of performing a corner turn with a skip can be stored as a bit-vector in a particular group of memory cells. For instance, in the example of FIGS. 6A-6D, the memory cells corresponding to DEST 535 are used to store the result of the corner turn. As such, at the conclusion of the example described in FIGS. 6A-6D, the value of DEST 643 [0X00,00,00,00; 44,44,44,44; 00,00,00,00; 44,44,44,44] in hexadecimal (e.g., binary [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100]), which represents the eight elements being stored in a vertical fashion (e.g., in cells coupled to a sense line and a plurality of access lines).
As described further below, the bit vectors 641 (TMP_LOOKUP), 643 (DEST) and 645 (SRC) can be used in association with performing a plurality of corner turn operations with a skip on eight elements of the SRC bit-vector 645. The bit-vectors 641, 643, and 645 can be stored in respective groups of memory cells coupled to particular access lines, which may be referred to as temporary storage rows. As used herein, temporary storage rows of memory cells are storing data that may be updated during various phases of a plurality of corner turn operations. As an example, the bit-vectors 641 and 643 can have a same length as the SRC bit-vector 645, respectively, and can be stored in cells coupled to the same sense lines as the SRC bit-vector 645 (e.g., sense lines 405-0 to 405-31). For instance, the bit-vector 641 (TMP_LOOKUP) can have a length of 32 bits and can be stored in a group of cells coupled to access line 404-1 and to sense lines 405-0 to 405-31. The bit-vectors 643 (DEST) can have lengths of 32 bits and can each be stored in a group of cells coupled to access line 404-3 (corresponding to a first row of data), 404-4 (corresponding to a second row of data), 404-5 (corresponding to a third row of data), and 404-6 (corresponding to a fourth row of data) and to sense lines 405-0 to 405-31. The bit-vector 631 (COMP_COMP) represents the data stored in the sensing circuitry (e.g., compute components 431 and/or sense amplifiers 406) corresponding to the sense lines having cells coupled thereto which store elements being divided (e.g., sense lines 405-0 to 405-31 in this example). A first row of data of SRC 645 (e.g., [0XAA,AA,AA,AA]) can have a length of 32 bits and can be stored in a group of cells coupled to access line 404-0 and to sense lines 405-0 to 405-31.
In the example described in association with FIG. 6A, the first element of the SRC bit-vector 645 (e.g., hexadecimal value “A” in the most significant element position) can be stored (e.g., as a four bit bit-vector [1010]) in memory cells 403-0 to 403-3 coupled to access line 304-0 (e.g., ROW 0). The second element of the SRC bit-vector 645 (e.g., hexadecimal value “A” in the second most significant element position) can be stored (e.g., as a four bit bit-vector [1010]) in memory cells 403-4 to 403-7 coupled to access line 404-0 (e.g., ROW 0), and each of the subsequent third, fourth, fifth, sixth, seventh, and eighth elements of bit-vector SRC 645 stored in subsequent cells coupled to access line 404-0.
The below pseudocode represents instructions executable to perform a number of corner turn operations in a memory in accordance with a number of embodiments of the present disclosure. The example pseudocode is referenced using reference numbers 0-3, which correspond to the reference numbers of the rows shown in the tables of FIGS. 6A-6D and in reference to the column numbers of FIGS. 6A-6D. For instance, reference number 1 (e.g., “Generate LSB”) corresponds to row 651-1, columns 631 and 641, reference number 2 (e.g., “Store as TMP_LOOKUP”) corresponds to row 653-2, columns 631 and 641, and so forth.

    
    
        0. Get Temp Rows TMP_LOOKUP, DEST and Load SRC;
        1. Generate LSB;
        2. Store COMP_COMP as TMP_LOOKUP;
        3. Run fixed LOOP for element width;
        
            a. Perform AND on COMP_COMP and SRC
            b. SHIFT Left=Element Width−C−1
            c. SHIFT Right Equal to Skip
            d. Store COMP_COMP as DEST row=C
            e. Load TMP_LOOKUP as COMP_COMP
            f. SHIFT COMP_COMP Left
            g. Store COMP_COMP as TMP_LOOKUP
        
        
    
    


For purposes of discussion, the above pseudo code will be divided into a setup phase and a corner turn phase associated with performing a corner turn operation (e.g., corner turning the thirty-two elements of the SRC bit-vector 645). The pseudo code referenced by reference numbers 0-2 can correspond to the setup phase. The setup phase can be performed simultaneously for a number of the corner turn operations. In the example illustrated in FIG. 6A, a bit-vector value illustrated in bold indicates a change in the value of the bit-vector (e.g., the value of the bit-vector stored in the memory cells corresponding to COMP_COMP 531 is shown in bold in FIG. 6A to indicate a change from [0X00000000] (as shown in row 653-0) to [0X11,11,11,11] (as shown in row 653-1). FIG. 6A illustrates the values of a number of bit-vectors associated with performing the setup phase of a corner turn operation at rows 653- to 653-2. The pseudo code referenced by reference number 3 can correspond to the corner turn phase.
In a number of embodiments, the setup phase can be performed simultaneously for all of the elements that will be corner turned. The results (e.g., the resulting stored bit-vectors) corresponding to a number of operations performed in the setup phase are shown in FIG. 6A. Rows 653-0 to 653-2 of the table in FIG. 6A corresponds to the above pseudocode instructions referenced by reference numbers 0 to 2, respectively. As such, rows 653-0 to 653-2 indicate values of the bit vectors 641, 643, and 645 during execution of the setup phase as described by the above pseudocode. Reference number 0 (e.g., “Get Temp Rows TMP_LOOKUP, DEST and Load SRC”) of the above pseudocode is associated with initializing a number of groups of memory cells for use as temporary storage rows to be used to store bit-vectors (e.g., 641, 643). Initializing refers to designating and/or assigning particular access lines used to store particular bit-vectors for performing the corner turn operation. For instance, the number of groups of memory cells can be initialized and/or designated groups of cells that can be coupled to respective access lines (e.g., rows) that store data (e.g., on a temporary basis) in association with performing the division operation. For example, a first group of memory cells can be coupled to a particular access line (e.g., 404-1, ROW 1, not shown) and can store a bit-vector referred to as a “TMP_LOOKUP” bit-vector 641. A second group of memory cells can be coupled to another group of access lines (e.g., 404-2 to 404-5, ROWs 2 to 5) and can store bit-vectors referred to as “DEST” bit-vectors 643. Embodiments are not limited to a particular number of temporary storage rows and/or to storage of the corresponding bit-vectors on particular access lines. Also, although the groups of memory cells used to store bit-vectors 641, 643 may be referred to as “rows,” the respective groups of memory cells may comprise fewer than all of the cells coupled to a particular access line (e.g. ROW). Furthermore, in a number of embodiments, temporary storage rows can refer to access lines which may not be addressable by a user (e.g., access lines that are outside of a user-addressable address space). In addition, a bit-vector to be corner turned can be loaded as SRC 645 (e.g., [0XFF,FF,FF,FF], as illustrated at row 653-0).
Reference number 1 (e.g., “Generate LSB”) of the above pseudocode can be associated with determining a least significant bit (LSB) of each of the elements. A number of methods to determine the LSBs can be used but, as an example, one method can include setting all values of COMP_COMP 631 to include a particular value (e.g., a “1”, resulting in bit-vector [0XFF,FF,FF,FF]), shift left one position while replacing shifted values at an end of an element with “0”s (resulting in bit-vector [0XEE,EE,EE,EE]), and invert the result to obtain LSBs (e.g., [0X11,11,11,11], illustrated as COMP_COMP 631 at 653-1 in FIG. 6A). Reference number 2 (e.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode can be associated with storing the COMP_COMP 631 (e.g., [0X11,11,11,11]) as bit-vector TMP_LOOKUP 641, as illustrated at 653-2.
At the conclusion of the setup phase corresponding to reference numbers 0-2 of the above pseudocode, and as shown in row 653-2 of FIG. 6A, TMP_LOOKUP 641 stores [0X11,11,11,11] (e.g., binary [0001 0001, 0001 0001, 0001 0001, 0001 0001]), DEST 535 stores [0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00; 0X00,00,00,00] (e.g., binary [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000]), and SRC 645 stores [0XAA,AA,AA,AA] (e.g., binary [1010 1010, 1010 1010, 1010 1010, 1010 1010]), where each of the eight (8) elements (e.g., each of [1010]) of SRC 645 represents a decimal value of “10.”
Reference number 3 (e.g., 3a to 3g) of the above pseudocode corresponds to the corner turn phase of a corner turn operation in accordance with a number of embodiments of the present disclosure. Reference number 3 (e.g., “Run fixed LOOP for element width”) of the above pseudocode is associated with performing a LOOP including a number of iterations corresponding to an element width. In this example, each of the elements of SRC 645 are 4 bits wide therefore four iterations of the loop will be performed. A first iteration of the loop is associated with the description of FIG. 6A at rows 653-3.1a to 653-3.1g which corresponds to reference numbers 3a to 3g for a first iteration (where the “1” of 3.1 indicates a first iteration). The first iteration can correspond to a determination of a least significant bit for each element that is corner turned to a 0th row of DEST 643. A second iteration of the loop is associated with the description of FIG. 6B at rows 653-3.2a to 653-3.2g, which corresponds to reference numbers 3a to 3g for a second iteration. The second iteration of the loop can correspond to a determination of a second least (or third most) significant bit for each element that is corner turned to a 1st row of DEST 643. Likewise, a third iteration is associated with FIG. 6C and corresponds to third least/second most significant bit for each element that is corner turned to a 2nd row of DEST 643. A fourth iteration is associated with FIG. 6D and correspond to a most significant bit for each element that is corner turned to a 3rd row of DEST 643.
During a first iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 531 (e.g., [0X11,11,11,11]) and SRC 645 (e.g., [0XAA,AA,AA,AA]). Performing the AND operation results in bit-vector [0X00,00,00,00] being stored as COMP_COMP 531, as illustrated at 653-3.1a in FIG. 6A.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 631 (e.g., [0X00,00,00,00]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 631 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the first iteration (corresponding to a value of C=0′′, whereas a second iteration has C=1, a third has C=2, and a fourth has C=3). Therefore, a shift is performed equal to shifting each data value three positions (since 4−0−1=3) to the left, as illustrated, resulting in bit-vector [0X00,00,00,00], as illustrated as COMP_COMP 631 at 653-3.1b in FIG. 6A.
Reference number 3c (e.g., “SHIFT right Equal to Skip”) of the above pseudocode is associated with performing a SHIFT based on a particular skip value. A skip value can refer to a value that indicates how many shifts to perform in order to relocate an element stored in cells coupled to a plurality of access lines and a sense line. For example, a skip value of one (1) can indicate to store a value in a cell coupled to a second sense line rather than a first sense line when the first and the second sense lines are neighboring sense lines (e.g., sense lines 405-0 and 405-1). A skip value of two can indicate to store a data value in a third sense line (e.g., 405-2) rather than a first sense line (e.g., 405-0), etc. In this example described in relation to FIGS. 6A-6D, a skip value of one is used and therefore a SHIFT of one to the right is performed on COMP_COMP 631 (e.g., [0X00,00,00,00]), resulting in [0X00,00,00,00], as illustrated at 653-3.1c in FIG. 6A.
Reference number 3d (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X00,00,00,00]) as a row of DEST 643 equal to C (e.g., 0 for a first iteration). For example, COMP_COMP 631 (e.g., [0X00,00,00,00]) is stored in memory cells corresponding to a ROW 0 of DEST 643 (which in this case can refer to memory cells coupled to access line 404-2, which is the 0th row of DEST 643). As a result, a least significant bit of each of the elements is stored in a 0th row of DEST 643. For example, bolded bits of SRC 645 illustrated as [1010 1010, 1010 1010, 1010 1010, 1010 1010] correspond to each successively stored bit (also bolded) of DEST 643 [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000]. While in this example the least significant bit is illustrated as a right-most bit, examples are not so limited. A most significant bit could be at a right-most position and then row 0 of DEST 643 would correspond to a most significant bit of each of the elements.
Reference number 3e (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 641 (e.g., [0X11,11,11,11]) as COMP_COMP 631, as illustrated at 653-3.1e. For example, each data unit (e.g., bit) of TMP_LOOKUP 641 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3f (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 631 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X22,22,22,22]) stored as COMP_COMP 631, as illustrated at 653-3.fe. Reference number 3g (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 531 (e.g., [0X22,22,22,22]) as TMP_LOOKUP 641, as illustrated at 653-3.1g. Reference numbers 3d to 3f are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this first iteration corresponded to a least significant bit and a second iteration will correspond to a next most significant bit).
During a second iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 631 (e.g., [0X22,22,22,22]) and SRC 645 (e.g., [0XAA,AA,AA,AA]). Performing the AND operation results in bit-vector [0X22,22,22,22] being stored as COMP_COMP 631, as illustrated at 653-3.2a in FIG. 6B.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 631 (e.g., [0X22,22,22,22]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 631 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the second iteration (corresponding to a value of C=1′′). Therefore, a shift is performed equal to shifting each data value two positions (since 4−1−1=2) to the left, as illustrated, resulting in bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 631 at 653-3.2b in FIG. 6B.
Reference number 3c (e.g., “SHIFT right Equal to Skip”) of the above pseudocode is associated with performing a SHIFT based on a particular skip value. In this example described in relation to FIGS. 6A-6D, a skip value of one is used and therefore a SHIFT of one to the right is performed on COMP_COMP 631 (e.g., [0X88,88,88,88]), resulting in [0X44,44,44,44], as illustrated at 653-3.2c in FIG. 6B.
Reference number 3d (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X44,44,44,44]) as a row of DEST 643 equal to C (e.g., 1 for a second iteration). For example, COMP_COMP 631 (e.g., [0X44,44,44,44]) is stored in memory cells corresponding to a ROW 1 of DEST 643 (which in this case can refer to memory cells coupled to access line 404-3, which is the 1st row of DEST 643). As a result, a second least (third most) significant bit of each of the elements is stored in a 1st row of DEST 643. For example, bolded bits of SRC 645 illustrated as [1010 1010, 1010 1010, 1010 1010, 1010 1010] correspond to each successively stored bit (also bolded) of DEST 643 [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000], illustrated as [0X00,00,00,00; 0X44,44,44,44; 0X00,00,00,00; 0X00,00,00,00] at 653-3.2d. While in this example the least significant bit is illustrated as a right-most bit, examples are not so limited. A most significant bit could be at a right-most position and then row 1 of DEST 643 would correspond to a second most significant bit of each of the elements.
Reference number 3e (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 641 (e.g., [0X22,22,22,22]) as COMP_COMP 631, as illustrated at 653-3.2e. For example, each data unit (e.g., bit) of TMP_LOOKUP 641 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3f (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 631 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X44,44,44,44]) is stored as COMP_COMP 631, as illustrated at 653-3.2e. Reference number 3g (E.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X44,44,44,44]) as TMP_LOOKUP 641, as illustrated at 653-3.2g. Reference numbers 3e to 3g are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this second iteration corresponded to a second least significant bit and a third iteration will correspond to a next most significant bit).
During a third iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 631 (e.g., [0X44,44,44,44]) and SRC 645 (e.g., [AA,AA,AA,AA]). Performing the AND operation results in bit-vector [0X00,00,00,00] being stored as COMP_COMP 631, as illustrated at 653-3.3a in FIG. 6C.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 631 (e.g., [0X00,00,00,00]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 631 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the third iteration (corresponding to a value of C=2′′). Therefore, a shift is performed equal to shifting each data value one position (since 4−2−1=1) to the left, as illustrated, resulting in bit-vector [0X00,00,00,00], as illustrated as COMP_COMP 631 at 653-3.3b in FIG. 6C.
Reference number 3c (e.g., “SHIFT right Equal to Skip”) of the above pseudocode is associated with performing a SHIFT based on a particular skip value. In this example described in relation to FIGS. 6A-6D, a skip value of one is used and therefore a SHIFT of one to the right is performed on COMP_COMP 631 (e.g., [0X00,00,00,00]), resulting in [0X00,00,00,00], as illustrated at 653-3.3c in FIG. 6C.
Reference number 3d (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X00,00,00,00]) as a row of DEST 643 equal to C (e.g., 2 for a third iteration). For example, COMP_COMP 631 (e.g., [0X00,00,00,00]) is stored in memory cells corresponding to a ROW 2 of DEST 643 (which in this case can refer to memory cells coupled to access line 404-3, which is the 2nd row of DEST 643). As a result, a third least (second most) significant bit of each of the elements is stored in a 2nd row of DEST 643. For example, bolded bits of SRC 645 illustrated as [1010 1010, 1010 1010, 1010 1010, 1010 1010] correspond to each successively stored bit (also bolded) of DEST 643 [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0000 0000, 0000 0000, 0000 0000, 0000 0000], illustrated as [0X00,00,00,00; 0X44,44,44,44; 0X00,00,00,00; 0X00,00,00,00] at 653-3.3d. While in this example the least significant bit is illustrated as a right-most bit, examples are not so limited. A most significant bit could be at a right-most position and then row 2 of DEST 643 would correspond to a second most significant bit of each of the elements.
Reference number 3e (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 641 (e.g., [0X44,44,44,44]) as COMP_COMP 631, as illustrated at 653-3.3e. For example, each data unit (e.g., bit) of TMP_LOOKUP 641 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3f (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 631 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X88,88,88,88]) is stored as COMP_COMP 631, as illustrated at 653-3.3e. Reference number 3g (e.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X88,88,88,88]) as TMP_LOOKUP 641, as illustrated at 653-3.3g. Reference numbers 3e to 3g are associated with shifting to a next most significant bit for a subsequent iteration (e.g., this third iteration corresponded to a second most significant bit and a fourth iteration will correspond to a most significant bit).
During a fourth iteration of the loop, reference number 3a (e.g., “Perform AND on COMP_COMP and SRC”) of the above pseudocode is associated with performing an AND operation on COMP_COMP 631 (e.g., [0X88,88,88,88]) and SRC 645 (e.g., [0XAA,AA,AA,AA]). Performing the AND operation results in bit-vector [0X88,88,88,88] being stored as COMP_COMP 631, as illustrated at 653-3.4a in FIG. 6D.
Reference number 3b (e.g., “SHIFT Left=Element Width−C−1”) of the above pseudocode is associated with performing a SHIFT operation on COMP_COMP 631 (e.g., [0X88,88,88,88]). The SHIFT operation is performed in a direction of a most significant bit, as illustrated, which is referred to as a leftward direction in this example. The number of positions to shift each of the data values (e.g., bits) stored as COMP_COMP 631 is determined based on an element width, an iteration of the loop, and a subtraction of a value of “1.” The elements in this example are 4 bits in width and this is the fourth iteration (corresponding to a value of C=3′′). Therefore, a shift is performed equal to shifting each data value zero positions (since 4−3−1=0) to the left, as illustrated, resulting in COMP_COMP 631 remaining bit-vector [0X88,88,88,88], as illustrated as COMP_COMP 631 at 653-3.4b in FIG. 6D.
Reference number 3c (e.g., “SHIFT right Equal to Skip”) of the above pseudocode is associated with performing a SHIFT based on a particular skip value. In this example described in relation to FIGS. 6A-6D, a skip value of one is used and therefore a SHIFT of one to the right is performed on COMP_COMP 631 (e.g., [0X88,88,88,88]), resulting in [0X44,44,44,44], as illustrated at 653-3.4c in FIG. 6C.
Reference number 3d (e.g., “Store COMP_COMP as DEST row=C”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X44,44,44,44]) as a row of DEST 643 equal to C (e.g., 3 for a fourth iteration). For example, COMP_COMP 631 (e.g., [0X00,00,00,00]) is stored in memory cells corresponding to a ROW 3 of DEST 643 (which in this case can refer to memory cells coupled to access line 404-3, which is the 3rd row of DEST 643). As a result, a most significant bit of each of the elements is stored in a 3rd row of DEST 643. For example, bolded bits of SRC 645 illustrated as [1010 1010, 1010 1010, 1010 1010, 1010 1010] correspond to each successively stored bit (also bolded) of DEST 643 [0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100; 0000 0000, 0000 0000, 0000 0000, 0000 0000; 0100 0100, 0100 0100, 0100 0100, 0100 0100], illustrated as [0X00,00,00,00; 0X44,44,44,44; 0X00,00,00,00; 0X44,44,44,44] at 653-3.4d. While in this example the least significant bit is illustrated as a right-most bit, examples are not so limited. A most significant bit could be at a right-most position and then row 3 of DEST 643 would correspond to a least significant bit of each of the elements.
Reference number 3e (e.g., “Load TMP_LOOKUP as COMP_COMP”) of the above pseudocode is associated with loading TMP_LOOKUP 641 (e.g., [0X88,88,88,88]) as COMP_COMP 631, as illustrated at 653-3.4e. For example, each data unit (e.g., bit) of TMP_LOOKUP 641 is loaded into a corresponding compute component (e.g., compute components 431 in FIG. 4). Reference number 3f (e.g., “SHIFT COMP_COMP Left”) of the above pseudocode is associated with shifting COMP_COMP 631 one position to the left, as illustrated (e.g., in this example toward a most significant bit). The result of the shift operation (e.g., [0X00,00,00,00]) is stored as COMP_COMP 631, as illustrated at 653-3.4e. Reference number 3g (e.g., “Store COMP_COMP as TMP_LOOKUP”) of the above pseudocode is associated with storing COMP_COMP 631 (e.g., [0X00,00,00,00]) as TMP_LOOKUP 641, as illustrated at 653-3.4g. Reference numbers 3e to 3g are associated with shifting to a next most significant bit for a subsequent iteration However, since this is the fourth iteration and the loop is performed a number of times based on a width of the elements, the loop is terminated and no further iterations are performed. The result of the corner turn on the plurality of elements is stored as DEST 643 (e.g., [0X00,00,00,00; 44,44,44,44; 00,00,00,00; 44,44,44,44]]) at 653-3.4f in FIG. 6D. Therefore, each of the elements [0XA] illustrated as stored horizontally in SRC 645 were corner turned with a skip to result in an element [0X0; 0X4; 0X0; 0X4] illustrated as stored vertically in DEST 643.
FIG. 7 is a logic table illustrating selectable logic operation results implemented by a sensing circuitry (e.g., sensing circuitry 250 shown in FIG. 2) in accordance with a number of embodiments of the present disclosure. The four logic selection control signals (e.g., TF, TT, FT, and FF), in conjunction with a particular data value present on the complementary sense lines, can be used to select one of a plurality of logical operations to implement involving the starting data values stored in the sense amplifier 206 and compute component 231. The four control signals (e.g., TF, TT, FT, and FF), in conjunction with a particular data value present on the complementary sense lines (e.g., on nodes S and S*), controls the pass gates 307-1 and 307-2 and swap transistors 342, which in turn affects the data value in the compute component 331 and/or sense amplifier 306 before/after firing. The capability to selectably control the swap transistors 342 facilitates implementing logical operations involving inverse data values (e.g., inverse operands and/or inverse result), among others.
Logic Table 7-1 illustrated in FIG. 7 shows the starting data value stored in the compute component 231 shown in column A at 744, and the starting data value stored in the sense amplifier 206 shown in column B at 745. The other 3 column headings in Logic Table 7-1 refer to the state of the pass gates 207-1 and 207-2 and the swap transistors 242, which can respectively be controlled to be OPEN or CLOSED depending on the state of the four logic selection control signals (e.g., TF, TT, FT, and FF), in conjunction with a particular data value present on the pair of complementary sense lines 205-1 and 205-2 when the ISO control signal is asserted. The “NOT OPEN” column corresponds to the pass gates 207-1 and 207-2 and the swap transistors 242 both being in a non-conducting condition, the “OPEN TRUE” column corresponds to the pass gates 207-1 and 207-2 being in a conducting condition, and the “OPEN INVERT” column corresponds to the swap transistors 242 being in a conducting condition. The configuration corresponding to the pass gates 207-1 and 207-2 and the swap transistors 242 both being in a conducting condition is not reflected in Logic Table 7-1 since this results in the sense lines being shorted together.
Via selective control of the pass gates 207-1 and 207-2 and the swap transistors 242, each of the three columns of the upper portion of Logic Table 7-1 can be combined with each of the three columns of the lower portion of Logic Table 7-1 to provide nine (e.g., 3×3) different result combinations, corresponding to nine different logical operations, as indicated by the various connecting paths shown at 775. The nine different selectable logical operations that can be implemented by the sensing circuitry 250 are summarized in Logic Table 7-2.
The columns of Logic Table 7-2 show a heading 780 that includes the states of logic selection control signals (e.g., FF, FT, TF, TT). For example, the state of a first logic selection control signal (e.g., FF) is provided in row 776, the state of a second logic selection control signal (e.g., FT) is provided in row 777, the state of a third logic selection control signal (e.g., TF) is provided in row 778, and the state of a fourth logic selection control signal (e.g., TT) is provided in row 779. The particular logical operation corresponding to the results is summarized in row 747.
FIG. 8 illustrates a timing diagram associated with performing a logical AND operation and a shifting operation using the sensing circuitry in accordance with a number of embodiments of the present disclosure. FIG. 8 includes waveforms corresponding to signals EQ, ROW X, ROW Y, SENSE AMP, TF, TT, FT, FF, PHASE 1R, PHASE 2R, PHASE 1L, PHASE 2L, ISO, Pass, Pass*, DIGIT, and DIGIT_. The EQ signal corresponds to an equilibrate signal associated with a sense amplifier (e.g., EQ 226 shown in FIG. 2). The ROW X and ROW Y signals correspond to signals applied to respective access line (e.g., access lines 204-X and 204-Y shown in FIG. 2) to access a selected cell (or row of cells). The SENSE AMP signal corresponds to a signal used to enable/disable a sense amplifier (e.g., sense amplifier 306). The TF, TT, FT, and FF signals correspond to logic selection control signals such as those shown in FIG. 3 (e.g., signals coupled to logic selection transistors 362, 352, 354, and 364). The PHASE 1R, PHASE 2R, PHASE 1L, and PHASE 2L signals correspond to the control signals (e.g., clock signals) provided to respective control lines 382, 383, 391 and 392 shown in FIG. 3. The ISO signal corresponds to the signal coupled to the gates of the isolation transistors 350-1 and 350-2 shown in FIG. 3. The PASS signal corresponds to the signal coupled to the gates of pass transistors 307-1 and 307-2 shown in FIG. 3, and the PASS* signal corresponds to the signal coupled to the gates of the swap transistors 342. The DIGIT and DIGIT_ signals correspond to the signals present on the respective sense lines 305-1 (e.g., DIGIT (n)) and 305-2 (e.g., DIGIT (n)_).
The timing diagram shown in FIG. 8 is associated with performing a logical AND operation on a data value stored in a first memory cell and a data value stored in a second memory cell of an array. The memory cells can correspond to a particular column of an array (e.g., a column comprising a complementary pair of sense lines) and can be coupled to respective access lines (e.g., ROW X and ROW Y). In describing the logical AND operation shown in FIG. 8, reference will be made to the sensing circuitry described in FIG. 3. For example, the logical operation described in FIG. 8 can include storing the data value of the ROW X memory cell (e.g., the “ROW X data value) in the latch of the corresponding compute component 331 (e.g., the “A” data value), which can be referred to as the accumulator 331, storing the data value of the ROW Y memory cell (e.g., the “ROW Y data value”) in the latch of the corresponding sense amplifier 306 (e.g., the “B” data value), and performing a selected logical operation (e.g., a logical AND operation in this example) on the ROW X data value and the ROW Y data value, with the result of the selected logical operation being stored in the latch of the compute component 331.
As shown in FIG. 8, at time T1, equilibration of the sense amplifier 306 is disabled (e.g., EQ goes low). At time T2, ROW X goes high to access (e.g., select) the ROW X memory cell. At time T3, the sense amplifier 306 is enabled (e.g., SENSE AMP goes high), which drives the complementary sense lines 305-1 and 305-2 to the appropriate rail voltages (e.g., VDD and GND) responsive to the ROW X data value (e.g., as shown by the DIGIT and DIGIT signals), and the ROW X data value is latched in the sense amplifier 306. At time T4, the PHASE 2R and PHASE 2L signals go low, which disables feedback on the latch of the compute component 331 (e.g., by turning off transistors 386 and 390, respectively) such that the value stored in the compute component may be overwritten during the logical operation. Also, at time T4, ISO goes low, which disables isolation transistors 350-1 and 350-2. At time T5, TT and FT are enabled (e.g., go high), which results in PASS going high (e.g., since either transistor 352 or 354 will conduct depending on which of node ST2 (corresponding to node “S” in FIG. 2) or node SF2 (corresponding to node “S*” in FIG. 2) was high when ISO was disabled at time T4 (recall that when ISO is disabled, the voltages of the nodes ST2 and SF2 reside dynamically on the gates of the respective enable transistors 352 and 354). PASS going high enables the pass transistors 307-1 and 307-2 such that the DIGIT and DIGIT signals, which correspond to the ROW X data value, are provided to the respective compute component nodes ST2 and SF2. At time T6, TT and FT are disabled, which results in PASS going low, which disables the pass transistors 307-1 and 307-2. It is noted that PASS* remains low between time T5 and T6 since the TF and FF signals remain low. At time T7, ROW X is disabled, and PHASE 2R, PHASE 2L, and ISO are enabled. Enabling PHASE 2R and PHASE 2L at time T7 enables feedback on the latch of the compute component 331 such that the ROW X data value is latched therein. Enabling ISO at time T7 again couples nodes ST2 and SF2 to the gates of the enable transistors 352, 354, 362, and 364. At time T8, equilibration is enabled (e.g., EQ goes high such that DIGIT and DIGIT_ are driven to an equilibrate voltage such as VDD/2) and the sense amplifier 306 is disabled (e.g., SENSE AMP goes low).
With the ROW X data value latched in the compute component 331, equilibration is disabled (e.g., EQ goes low at time T9). At time T10, ROW Y goes high to access (e.g., select) the ROW Y memory cell. At time T11, the sense amplifier 306 is enabled (e.g., SENSE AMP goes high), which drives the complementary sense lines 305-1 and 305-2 to the appropriate rail voltages (e.g., VDD and GND) responsive to the ROW Y data value (e.g., as shown by the DIGIT and DIGIT_ signals), and the ROW Y data value is latched in the sense amplifier 306. At time T12, the PHASE 2R and PHASE 2L signals go low, which disables feedback on the latch of the compute component 331 (e.g., by turning off transistors 386 and 390, respectively) such that the value stored in the compute component may be overwritten during the logical operation. Also, at time T12, ISO goes low, which disables isolation transistors 350-1 and 350-2. Since the desired logical operation in this example is an AND operation, at time T13, TT is enabled while TF, FT and FF remain disabled (as shown in TABLE 7-2, FF=0, FT=0, TF=0, and TT=1 corresponds to a logical AND operation). Whether enabling TT results in PASS going high depends on the value stored in the compute component 331 when ISO is disabled at time T12. For example, enable transistor 352 will conduct if node ST2 was high when ISO is disabled, and enable transistor will not conduct if node ST2 was low when ISO was disabled at time T12.
In this example, if PASS goes high at time T13, the pass transistors 307-1 and 307-2 are enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, are provided to the respective compute component nodes ST2 and SF2. As such, the value stored in the compute component 331 (e.g., the ROW X data value) may be flipped, depending on the value of DIGIT and DIGIT_ (e.g., the ROW Y data value). In this example, if PASS stays low at time T13, the pass transistors 307-1 and 307-2 are not enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, remain isolated from the nodes ST2 and SF2 of the compute component 331. As such, the data value in the compute component (e.g., the ROW X data value) would remain the same.
At time T14, TT is disabled, which results in PASS going (or remaining) low, such that the pass transistors 307-1 and 307-2 are disabled. It is noted that PASS* remains low between time T13 and T14 since the TF and FF signals remain low. At time T15, ROW Y is disabled, and PHASE 2R, PHASE 2L, and ISO are enabled. Enabling PHASE 2R and PHASE 2L at time T15 enables feedback on the latch of the compute component 331 such that the result of the AND operation (e.g., “A” AND “B”) is latched therein. Enabling ISO at time T15 again couples nodes ST2 and SF2 to the gates of the enable transistors 352, 354, 362, and 364. At time T16, equilibration is enabled (e.g., EQ goes high such that DIGIT and DIGIT_ are driven to an equilibrate voltage) and the sense amplifier 306 is disabled (e.g., SENSE AMP goes low).
The result of the AND operation, which is initially stored in the compute component 331 in this example, can be transferred back to the memory array (e.g., to a memory cell coupled to ROW X, ROW Y, and/or a different row via the complementary sense lines) and/or to an external location (e.g., an external processing component) via I/O lines.
FIG. 8 also includes (e.g., at 801) signaling associated with shifting data (e.g., from a compute component 331 to an adjacent compute component 331). The example shown in FIG. 8 illustrates two left shifts such that a data value stored in a compute component corresponding to column “N” is shifted left to a compute component corresponding to column “N−2”. As shown at time T16, PHASE 2R and PHASE 2L are disabled, which disables feedback on the compute component latches, as described above. To perform a first left shift, PHASE 1L is enabled at time T17 and disabled at time T18. Enabling PHASE 1L causes transistor 389 to conduct, which causes the data value at node SF1 to move left to node SF2 of a left-adjacent compute component 331. PHASE 2L is subsequently enabled at time T19 and disabled at time T20. Enabling PHASE 2L causes transistor 390 to conduct, which causes the data value from node ST1 to move left to node ST2 completing a left shift.
The above sequence (e.g., enabling/disabling PHASE 1L and subsequently enabling/disabling PHASE 2L) can be repeated to achieve a desired number of left shifts. For instance, in this example, a second left shift is performed by enabling PHASE 1L at time T21 and disabling PHASE 1L at time T22. PHASE 2L is subsequently enabled at time T23 to complete the second left shift. Subsequent to the second left shift, PHASE 2L remains enabled and PHASE 2R is enabled (e.g., at time T24) such that feedback is enabled to latch the data values in the compute component latches.
FIG. 9 illustrates a timing diagram associated with performing a logical XOR operation and a shifting operation using the sensing circuitry in accordance with a number of embodiments of the present disclosure. FIG. 9 includes the same waveforms described in FIG. 8 above. However, the timing diagram shown in FIG. 9 is associated with performing a logical XOR operation on a ROW X data value and a ROW Y data value (e.g., as opposed to a logical AND operation). Reference will again be made to the sensing circuitry described in FIG. 3.
The signaling indicated at times T0 through T9 for FIG. 9 are the same as for FIG. 8 and will not be repeated here. As such, at time T9, EQ is disabled with the ROW X data value being latched in the compute component 331. At time T10, ROW Y goes high to access (e.g., select) the ROW Y memory cell. At time T11, the sense amplifier 306 is enabled (e.g., SENSE AMP goes high), which drives the complementary sense lines 305-1 and 305-2 to the appropriate rail voltages (e.g., VDD and GND) responsive to the ROW Y data value (e.g., as shown by the DIGIT and DIGIT_ signals), and the ROW Y data value is latched in the sense amplifier 306. At time T12, the PHASE 2R and PHASE 2L signals go low, which disables feedback on the latch of the compute component 1431 (e.g., by turning off transistors 386 and 390, respectively) such that the value stored in the compute component 331 may be overwritten during the logical operation. Also, at time T12, ISO goes low, which disables isolation transistors 350-1 and 350-2. Since the desired logical operation in this example is an XOR operation, at time T13, TF and FT are enabled while TT and FF remain disabled (as shown in TABLE 7-2, FF=0, FT=1, TF=1, and TT=0 corresponds to a logical XOR (e.g., “AXB”) operation). Whether enabling TF and FT results in PASS or PASS* going high depends on the value stored in the compute component 331 when ISO is disabled at time T12. For example, enable transistor 362 will conduct if node ST2 was high when ISO is disabled, and enable transistor 362 will not conduct if node ST2 was low when ISO was disabled at time T12. Similarly, enable transistor 354 will conduct if node SF2 was high when ISO is disabled, and enable transistor 354 will not conduct if node SF2 was low when ISO is disabled.
In this example, if PASS goes high at time T13, the pass transistors 307-1 and 307-2 are enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, are provided to the respective compute component nodes ST2 and SF2. As such, the value stored in the compute component 331 (e.g., the ROW X data value) may be flipped, depending on the value of DIGIT and DIGIT_ (e.g., the ROW Y data value). In this example, if PASS stays low at time T13, the pass transistors 307-1 and 307-2 are not enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, remain isolated from the nodes ST2 and SF2 of the compute component 331. As such, the data value in the compute component (e.g., the ROW X data value) would remain the same. In this example, if PASS* goes high at time T13, the swap transistors 342 are enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, are provided to the respective compute component nodes ST2 and SF2 in a transposed manner (e.g., the “true” data value on DIGIT(n) would be provided to node SF2 and the “complement” data value on DIGIT(n)_ would be provided to node ST2). As such, the value stored in the compute component 331 (e.g., the ROW X data value) may be flipped, depending on the value of DIGIT and DIGIT_ (e.g., the ROW Y data value). In this example, if PASS* stays low at time T13, the swap transistors 342 are not enabled such that the DIGIT and DIGIT_ signals, which correspond to the ROW Y data value, remain isolated from the nodes ST2 and SF2 of the compute component 331. As such, the data value in the compute component (e.g., the ROW X data value) would remain the same.
At time T14, TF and FT are disabled, which results in PASS and PASS* going (or remaining) low, such that the pass transistors 307-1 and 307-2 and swap transistors 342 are disabled. At time T15, ROW Y is disabled, and PHASE 2R, PHASE 2L, and ISO are enabled. Enabling PHASE 2R and PHASE 2L at time T15 enables feedback on the latch of the compute component 331 such that the result of the XOR operation (e.g., “A” XOR “B”) is latched therein. Enabling ISO at time T15 again couples nodes ST2 and SF2 to the gates of the enable transistors 352, 354, 362, and 364. At time T16, equilibration is enabled (e.g., EQ goes high such that DIGIT and DIGIT_ are driven to an equilibrate voltage) and the sense amplifier 306 is disabled (e.g., SENSE AMP goes low).
The result of the XOR operation, which is initially stored in the compute component 331 in this example, can be transferred back to the memory array (e.g., to a memory cell coupled to ROW X, ROW Y, and/or a different row via the complementary sense lines) and/or to an external location (e.g., an external processing component) via I/O lines.
FIG. 9 also includes (e.g., at 901) signaling associated with shifting data (e.g., from a compute component 331 to an adjacent compute component 331). The example shown in FIG. 9 illustrates two right shifts such that a data value stored in a compute component corresponding to column “N” is shifted right to a compute component corresponding to column “N+2”. As shown at time T16, PHASE 2R and PHASE 2L are disabled, which disables feedback on the compute component latches, as described above. To perform a first right shift, PHASE 1R is enabled at time T17 and disabled at time T18. Enabling PHASE 1R causes transistor 381 to conduct, which causes the data value at node ST1 to move right to node ST2 of a right-adjacent compute component 331. PHASE 2R is subsequently enabled at time T19 and disabled at time T20. Enabling PHASE 2R causes transistor 386 to conduct, which causes the data value from node SF1 to move right to node SF2 completing a right shift.
The above sequence (e.g., enabling/disabling PHASE 1R and subsequently enabling/disabling PHASE 2R) can be repeated to achieve a desired number of right shifts. For instance, in this example, a second right shift is performed by enabling PHASE 1R at time T21 and disabling PHASE 1R at time T22. PHASE 2R is subsequently enabled at time T23 to complete the second right shift. Subsequent to the second right shift, PHASE 1R remains disabled, PHASE 2R remains enabled, and PHASE 2L is enabled (e.g., at time T24) such that feedback is enabled to latch the data values in the compute component latches.
Although the examples described in FIGS. 8 and 9 include the logical operation result being stored in the compute component (e.g., 331), sensing circuitry in accordance with embodiments described herein can be operated to perform logical operations with the result being initially stored in the sense amplifier (e.g., as illustrated in FIG. 8). Also, embodiments are not limited to the “AND” and “XOR” logical operation examples described in FIGS. 8 and 9, respectively. For example, sensing circuitry in accordance with embodiments of the present disclosure (e.g., 350 shown in FIG. 3) can be controlled to perform various other logical operations such as those shown in Table 7-2.
While example embodiments including various combinations and configurations of sensing circuitry, sense amps, compute components, dynamic latches, isolation devices, and/or shift circuitry have been illustrated and described herein, embodiments of the present disclosure are not limited to those combinations explicitly recited herein. Other combinations and configurations of the sensing circuitry, sense amps, compute component, dynamic latches, isolation devices, and/or shift circuitry disclosed herein are expressly included within the scope of this disclosure.
Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of one or more embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of skill in the art upon reviewing the above description. The scope of the one or more embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of one or more embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.
In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the disclosed embodiments of the present disclosure have to use more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.

## Claims

1. An apparatus comprising:
a first group of memory cells coupled to an access line and a plurality of sense lines;
a second group of memory cells coupled to a plurality of access lines and a sense line, wherein the access line is a different access line than each of the plurality of access lines; and
a controller configured to cause a corner turn operation on an element stored in the first group of memory cells resulting in the element being stored in the second group of memory cells to be performed using sensing circuitry.

2. The apparatus of claim 1, wherein the controller is further configured to operate the first and second group of memory cells and the sensing circuitry to perform a number of AND operations and SHIFT operations without performing a sense line address access.

3. The apparatus of claim 2, wherein the sensing circuitry comprises a number of transistors on pitch with a number of memory cells of a number of columns of complementary sense lines corresponding to the first and second groups of memory cells.

4. The apparatus of claim 3, wherein the sensing circuitry comprises a sense amplifier and a compute component corresponding to each respective one of the number of columns.

5. The apparatus of claim 4, wherein the sense amplifier further comprises a primary latch and the compute component comprises a secondary latch.

6. A method for performing a corner turn, comprising:
performing, in parallel, a plurality of corner turn operations on an element stored in a number of first memory cells coupled to a first access line and to a number of sense lines of a memory array,
wherein a result of performing the plurality of corner turn operations comprises the element being stored in a number of second memory cells coupled to a plurality of access lines different than the first access line and a sense line of the number of sense lines.

7. The method of claim 6, wherein a number of the plurality of corner turn operations performed corresponds to a width of the elements independent of a number of the elements.

8. The method of claim 6, wherein a first data unit of the element is:
initially stored in a memory cell coupled to the access line and to a first of the number of sense lines; and
subsequent to performance of the plurality of corner turn operations, stored in a memory cell coupled to an access line of the plurality of access lines and the first sense line.

9. The method of claim 8, wherein additional data units of the element are:
initially stored in memory cells coupled to the access line and to sense lines of the number of sense lines other than the first sense line; and
subsequent to performance of the plurality of corner turn operations, stored in memory cells coupled to the number of access lines and the first sense line.

10. The method of claim 6, wherein a first data unit of the element is:
initially stored in a memory cell coupled to the access line and to a first of the number of sense lines; and
subsequent to performance of the plurality of corner turn operations, stored in a memory cell coupled to an access line of the plurality of access lines and a second sense line of the number of sense lines.

11. The method of claim 10, wherein:
the first data unit is a most significant bit and a second data unit is a second most significant bit;
the second data unit is initially stored in a memory cell coupled to the access line and to a second of the number of sense lines; and
subsequent to performance of the plurality of corner turn operations, the first data unit, the second data unit, and additional data units are stored in memory cells coupled to the number of access lines and the second sense line.

12. The method of claim 6, wherein the element includes:
a first data unit is initially stored in a memory cell coupled to the first access line and a first sense line;
a second data unit is initially stored in a memory cell coupled to the first access line and a second sense line;
a third data unit is initially stored in a memory cell coupled to the first access line and a third sense line; and
subsequent to performing the number of corner turn operations, the first data unit is stored in a memory cell coupled to an access line other than the first access line and a sense line other than the first sense line.

13. The method of claim 12, wherein the first access line, the second access line, and the third access line are different access lines and are successively ordered next to each other.

14. A method for performing a corner turn, comprising:
performing a plurality of corner turn operations on elements stored in a number of first memory cells coupled to a first access line and to a number of sense lines of a memory array,
wherein:
a result of performing the plurality of corner turn operations comprises each of the elements being stored in a number of second memory cells coupled to a plurality of access lines and a sense line of the number of sense lines;
the first access line is a different access line than each of the plurality of access lines; and
a controller controls sensing circuitry to perform the plurality of corner turn operations in parallel on each of the elements.

15. The method of claim 14, wherein performing the plurality of corner turn operations comprises relocating, in parallel, a first data unit of each of the elements from being stored in memory cells coupled to the first access line to being stored in memory cells coupled to a second access line of the plurality of access lines.

16. The method of claim 15, wherein performing the plurality of corner turn operations comprises relocating, in parallel, a second data unit of each of the elements from being stored in memory cells coupled to the first access line to being stored in memory cells coupled to a third access line of the plurality of access lines.

17. The method of claim 16, wherein performing the plurality of corner turn operations comprises relocating, in parallel, a respective third data unit and fourth data unit of each of the elements stored in memory cells coupled to the first access line to being stored in memory cells coupled to a fourth access line and fifth access line, respectively, of the plurality of access lines.

18. The method of claim 14, wherein a number of the plurality of corner turn operations performed corresponds to a width of the elements independent of a number of the elements.

19. The method of claim 14, wherein which of the plurality of sense lines each of the elements is stored in is indicated by a particular skip value.

20. The method of claim 19, wherein the particular skip value indicates a particular number of SHIFT operations to perform.

21. The method of claim 19, wherein:
when the particular skip value is one, a first of the elements is stored in memory cells coupled to a consecutively second sense line; and
when the particular skip value is two, the first of the elements is stored in memory cells coupled to a consecutively third sense line.

22. An apparatus, comprising:
a first group of memory cells coupled to a first access line and a plurality of sense lines configured to store a number of first elements;
a second group of memory cells coupled to a second access line and the plurality of sense lines configured to store a number of second elements; and
a third group of memory cells coupled to a plurality of access lines and to the plurality of sense lines; and
a controller configured to cause a plurality of corner turn operations on the number of first elements and the number of second elements to be performed using sensing circuitry;
wherein the plurality of corner turn operations comprises:
relocating a first data unit of each of the number of first and second elements from being stored in memory cells coupled to the first access line and the second access line, respectively, to being stored in memory cells of the third group of memory cells coupled to a third access line of the plurality of access lines.

23. The apparatus of claim 22, wherein the controller is further configured to operate the memory cells and the sensing circuitry to relocate a second data unit of each of the number of first and second elements from being stored in memory cells coupled to the first access line and the second access line, respectively, to being stored in memory cells of the third group of memory cells coupled to a fourth access line of the plurality of access lines.

24. The apparatus of claim 22, wherein the first access line, the second access line, and the plurality of access lines are different access lines.