Apparatuses and methods for performing logical operations using sensing circuitry
The present disclosure includes apparatuses and methods related to performing logical operations using sensing circuitry. An example apparatus comprises an array of memory cells and sensing circuitry coupled to the array. The sensing circuitry is configured to perform a logical operation using a data value stored in a first memory cell coupled to a sense line as a first input and a data value stored in a second memory cell coupled to the sense line as a second input. The sensing circuitry is configured to perform the logical operation without transferring data via a sense line address access.
1. A system, comprising:
a memory device;
a host coupled to the memory device and configured to provide an instruction to the memory device to perform a logical operation using sensing circuitry comprising a sense amplifier and a compute component coupled to a column of an array of memory cells; and
wherein the memory device is configured to provide control signals to the sensing circuitry to perform the logical operation by using a first data value on a sense line corresponding to the column at a first point in time as a first input and a second data value on the sense line at a second point in time as a second input.
2. The system of claim 1 , wherein the sense amplifier comprises a first latch and the compute component comprises a second latch.
3. The system of claim 1 , wherein the memory device comprises a controller configured to provide control signals to the sensing circuitry to perform the logical operation without activating a column decode signal.
4. The system of claim 1 , wherein the host comprises a processor.
5. The system of claim 1 , wherein the memory device comprises a controller configured to cause a result of the logical operation to be transferred from the sense amplifier and/or the compute component external to the sensing circuitry and the array.
6. The system of claim 1 , wherein the memory device comprises a controller local to the memory device, and wherein the host is external to the memory device.
7. The system of claim 1 , wherein at least one of the first input and the second input are provided to the memory device from the host.
8. The system of claim 1 , wherein the logical operation is a non-Boolean operation.
9. The system of claim 1 , wherein the sense line is a first sense line of a pair of complementary sense lines corresponding to the column, and wherein the compute component comprises:
a first pass transistor coupled to the first sense line and a second pass transistor coupled to a second sense line of the pair of complementary sense lines;
a first n-channel transistor of a pair of cross coupled n-channel transistors coupled to the first pass transistor and a second n-channel transistor of the pair of cross coupled n-channel transistors coupled to the second pass transistor;
a first p-channel transistor of a pair of cross coupled p-channel transistors coupled to the first pass transistor and a second p-channel transistor of the pair of cross coupled p-channel transistors coupled to the second pass transistor;
a first pull down transistor coupled to the first sense line and a second pull down transistor coupled to the second sense line;
a third pull down transistor coupled the first pull down transistor and to a gate of the second n-channel transistor, which is coupled to a gate of the second p-channel transistor; and
a fourth pull down transistor coupled to the second pull down transistor and to a gate of the first n-channel transistor, which is coupled to a gate of the first p-channel transistor.
10. A method of operating a system, the method comprising:
providing an instruction to a memory device; and
executing, on the memory device, the instruction to perform a logical operation using sensing circuitry comprising a sense amplifier and a compute component coupled to a column of an array of memory cells; and
wherein performing the logical operation comprises providing control signals to the sensing circuitry to perform the logical operation by using a first data value on a sense line corresponding to the column at a first point in time as a first input and a second data value on the sense line at a second point in time as a second input.
11. The method of claim 10 , further comprising providing the instruction to the memory device from an external processing resource.
12. The method of claim 11 , wherein the external processing resource is a host processor.
13. The method of claim 10 , further comprising providing the control signals to the sensing circuitry from a controller local to the memory device.
14. The method of claim 10 , wherein the array comprises a plurality of columns each corresponding to a pair of complementary sense lines, wherein the sensing circuitry comprises a sense amplifier and corresponding compute component for each respective one of the plurality of columns, and wherein the method further comprises controlling the sensing circuitry to perform a plurality of logical operations in parallel, the plurality of logical operations being a same quantity as the plurality of columns.
15. The method of claim 10 , further comprising performing the logical operation without activating a column decode line corresponding to the column.
16. The method of claim 10 , further comprising performing the logical operation without transferring data from the array and/or sensing circuitry via input/output lines of the array.
17. A system, comprising:
sensing circuitry comprising:
a sense amplifier coupled to a pair of complementary sense lines of an array of memory cells;
a compute component comprising a latch configured to serve as an accumulator and coupled to the sense amplifier via a pair of pass transistors; and
a controller configured to provide signals to the sensing circuitry in association with performing a compute function that comprises performing a logical operation on a data value represented by a signal on at least one of the pair of complementary sense lines.
18. The system of claim 17 , wherein the compute component comprises a plurality of transistors formed on pitch with memory cells corresponding to a column of the array.
19. The system of claim 17 , wherein the system is a computing system comprising a host coupled to a memory device comprising the controller and the sensing circuitry.
20. The system of claim 19 , wherein the memory device is configured to perform the logical operation in association with executing an instruction received from the host.