WO2019226289A1 - Memory processing unit - Google Patents
Memory processing unit Download PDFInfo
- Publication number
- WO2019226289A1 WO2019226289A1 PCT/US2019/030230 US2019030230W WO2019226289A1 WO 2019226289 A1 WO2019226289 A1 WO 2019226289A1 US 2019030230 W US2019030230 W US 2019030230W WO 2019226289 A1 WO2019226289 A1 WO 2019226289A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- array
- bitline
- wordline
- input
- resistive memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0021—Auxiliary circuits
- G11C13/0023—Address circuits or decoders
- G11C13/0026—Bit-line or column circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0021—Auxiliary circuits
- G11C13/0023—Address circuits or decoders
- G11C13/0028—Word-line or row circuits
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06E—OPTICAL COMPUTING DEVICES
- G06E1/00—Devices for processing exclusively digital data
- G06E1/02—Devices for processing exclusively digital data operating upon the order or content of the data handled
- G06E1/04—Devices for processing exclusively digital data operating upon the order or content of the data handled for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06E1/045—Matrix or vector computation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/544—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices for evaluating functions by calculation
- G06F7/5443—Sum of products
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/56—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0004—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements comprising amorphous/crystalline phase transition cells
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0021—Auxiliary circuits
- G11C13/0069—Writing or programming circuits or methods
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/10—Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C7/1006—Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/48—Indexing scheme relating to groups G06F7/48 - G06F7/575
- G06F2207/4802—Special implementations
- G06F2207/4814—Non-logic devices, e.g. operational amplifiers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/48—Indexing scheme relating to groups G06F7/48 - G06F7/575
- G06F2207/4802—Special implementations
- G06F2207/4828—Negative resistance devices, e.g. tunnel diodes, gunn effect devices
Definitions
- the present disclosure relates to performing computations with an array of resistive memory devices.
- resistive memory (RM) devices store the data in the form of electrical resistance, for example, ZERO is represented by high resistance state (HRS), and ONE is represented by low resistance state (LRS).
- HRS high resistance state
- LRS low resistance state
- RM devices refer to resistive random-access memory (RRAM), magnetic random-access memory (MRAM) and phase-change random-access memory (PCRAM), or other memory technologies that rely on resistance change to store data. These devices can be formed in a crossbar structure that offers high storage density and random-access capability. Programming an RM device between the LRS and HRS states is typically achieved through a voltage or current bias with the amplitude above certain threshold values. Reading the device state is typically achieved with a lower voltage bias below a threshold value.
- the RM devices can act as a two-terminal switch that directly modulates the current passing through it based on the resistance values. Therefore, the current passes through the devices is equal to the applied voltage multiplied by the stored conductance value, without having to retrieve data from a separate memory and processing the multiplication in a separate processor.
- This property in principle allows RM systems to directly perform vector- matrix multiplications (including vector-vector dot-product operations) in-memory, where multiply-accumulate (MAC) operations can be processed in parallel.
- MAC multiply-accumulate
- An in-memory computing system includes an array of resistive memory (RM) devices and an interface circuit, for performing multiply-accumulate (MAC) operations and computing vector-matrix multiplications.
- the array of RM devices is arranged in columns and rows, such that RM devices in each row of the array are interconnected by a respective wordline and RM devices in each column of the array are interconnected by a respective bitline.
- Each RM device in the array of RM devices has an associated threshold voltage and is configured to store a data value as a resistance value.
- the interface circuit electrically coupled to each bitline of the array of RM devices and cooperatively operates with the array of RM devices to compute a vector-matrix multiplication between an input vector applied to the wordlines and data values stored in the array of RM devices. For each bitline, the interface circuit receives an output in response to an input being applied to a given wordline, compares the output to a threshold, and increments a count maintained for each bitline when the output exceeds the threshold. The count represents the digitized multiply-accumulate (MAC) operation performed between the input at the given wordline and the
- the cumulative count for a given bitline after all relevant wordlines are processed represents the digitized dot-product of the input vector and the stored vector represented by values of RM devices along the given bitline.
- the input applied to the given wordline is a voltage applied to the given wordline as a pulse, and the output of each bitline, before reaching the interface circuit, is a current value.
- the input may be a series of pulses, and a total of the series of pulses represents the input value.
- the input may be applied to each wordline sequentially.
- a decoder is electrically coupled to each wordline.
- the decoder is configured to apply the input to each wordline.
- the interface circuit can include a plurality of comparators, where each comparator of the plurality of
- comparators is electrically coupled to a corresponding bitline and a respective comparator receives the output from the corresponding bitline and compares the output to a threshold associated with the respective comparator.
- the interface circuit includes a plurality of counters, where each counter of the plurality of counters is electrically coupled to a corresponding comparator and, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter.
- each device in the array of RM devices stores at least one of a resistance value and a conductance value, and at least one of the resistance value and the conductance value is an element of a potential feature (or weight, or coefficient) vector represented in a column of the array of RM devices.
- An in-memory computing method for computing MAC and vector-matrix multiplications includes applying an input to an array of RM devices arranged in columns and rows, where the array is arranged such that RM devices in each row of the array are interconnected by a respective wordline and RM devices in each column of the array are interconnected by a respective bitline.
- Each RM device in the array of RM devices has an associated threshold voltage and is configured to store a data value therein as a resistance value.
- the method includes computing multiplication and accumulation between an input applied to a given wordline and data values stored in the array of RM devices.
- the multiply-accumulate (MAC) operation is performed by producing an output in response to the input being applied to a given wordline, comparing the output to a threshold, and incrementing a count for the bitline when the output exceeds the threshold.
- the count represents the digitized multiplication between the input at the given wordline and the conductance of the RM device interconnected by the given bitline and the given wordline.
- the cumulative count for a given bitline after all relevant wordlines have been processed represents the digitized dot-product of the input vector and the stored vector represented by values of RM devices along the given bitline.
- the input applied to the given wordline is a voltage applied to the given wordline as a pulse, and the output of each bitline, before reaching the interface circuit, is a current value.
- the input may be a series of pulses and a total of the series of pulses represents an input value.
- the method includes applying the input to each wordline sequentially.
- the method further includes applying the input to each wordline using a decoder.
- the method also includes receiving the output from the given bitline at a respective comparator and comparing the output to a threshold associated with the respective comparator. The method further includes, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter.
- each device in the array of RM devices stores at least one of a resistance value and a conductance value, and at least one of the resistance value and the conductance value is an element of a potential feature (or weight, or coefficient) vector represented in a column of the array of RM devices.
- FIG. 1 is a schematic showing an in-memory computing system including an array of resistive memory (RM) devices;
- Figure 2 is a schematic showing example interface circuitry electrically coupled to an array of RM devices
- Figure 3A is a schematic showing implementation of a column counter electrically coupled to an array of RM devices
- Figure 3B is a schematic depicting a multi-bit column counter electrically coupled to an array of RM devices
- Figure 4A is a schematic depicting a multi-bit value represented by multiple RM devices in the same bitline
- Figure 4B is a schematic depicting a multi-bit value represented by multiple RM devices in the same wordline
- Figure 4C is a schematic depicting a multi-bit value represented by multiple arrays of RM devices
- Figure 5A is a schematic depicting a transistor-gated RM array including a first type of source lines for an ADC-less MAC and matrix multiplication operations;
- Figure 5B is a schematic depicting a transistor-gated RM array including a second type of source lines for an ADC-less MAC and matrix multiplication operations;
- Figure 6 is a flowchart depicting a computation of a vector-matrix multiplication process controlled by an interface circuit electrically coupled to an array of RM devices.
- the system design of the present disclosure overcomes the above described limitations related to RM devices and ADCs, and produces an efficient in- memory computing system, for example, a memory processing unit (MPU) that can significantly outperform current CPU and GPU computing architecture for data-intensive tasks.
- MPU memory processing unit
- the approach is based on an ADC-less in-memory computing approach that can be directly performed using on-chip memory such as RRAM, MRAM, PCRAM, or SRAM, and can support both soft and precise computing tasks.
- the in-memory system tolerates high device variability and low ON/OFF ratios.
- the elimination of area-consuming ADCs and post processing circuitry allows the system to operate at higher speeds using smaller circuit areas compared to its analog and multilevel counterparts.
- a typical analog (multi-level) vector-matrix multiplication operation can be considered in two non-pipelined stages: an analog stage and an iterative sampling stage.
- an analog stage In the first part, all relevant wordlines in an array of RM devices are activated, allowing the current to flow through the array according to the RM devices’ conductance and the voltage applied at the input.
- the output currents at the bitlines are digitized using ADC circuitry, which is naturally of an iterative type such as in SAR or ramp ADCs.
- ADC circuitry which is naturally of an iterative type such as in SAR or ramp ADCs.
- Figure 1 is a schematic showing an in-memory computing system 100 including an array of RM devices.
- the array depicts five wordlines and five bitlines. Further details regarding this example hardware system may be found in U.S. Patent Application No. 15/723,668 filed on October 3, 2017 and entitled“Field-Programmable Crossbar Array For Reconfigurable Computing,” which is incorporated by reference in its entirety.
- Each wordline has a corresponding input.
- a first wordline 104 has an input voltage (V1 ) in the form of a pulse.
- V1 input voltage
- bitline At the intersection of each wordline and bitline is a RM device.
- a first RM device 108 is at the intersection of the first wordline 104 and a first bitline 1 12.
- comparators are coupled to the output of each bitline to determine if the output of a bitline exceeds a threshold value. That is, instead of directly measuring the analog value of the output current or charge, the comparators distinguish whether the output is high or low in a binary fashion.
- the comparator approach relies on the threshold value and is insensitive to the exact values of the current, allowing much better device variability and ON/OFF tolerance.
- the input at each wordline may be discrete in time. That is, one input pulse is being applied to one of the wordlines at any given time, although some algorithms can tolerate applying inputs to multiple wordlines simultaneously.
- an interface circuit 124 may be configured to control the application of the input to each wordline and can monitor which wordline is receiving input at any given time.
- a comparator is connected to each bitline. For example, a first comparator 1 16 is connected to the first bitline 1 12.
- the input value at the wordlines may be binary.
- the input“1” is represented by a voltage pulse, while input“0” is represented by no pulse (or pulse with 0 amplitude) at the wordline.
- the array wordlines may be activated sequentially or in a series manner, as shown in Figure 1. The result is a series of current pulses at the bitline side, each of them representing an analog multiplication between the wordline voltage and the corresponding bitline device conductance, such that,
- bitline i is the input voltage of wordline j
- wordline j is the conductance of the RM device at the intersection of bitline i and wordline j.
- e HRS, LRS ⁇ .
- a simple comparator at the bitline side is sufficient to detect the output signal of each input pulse, where the comparator output is defined as,
- the binary comparator output at bitline i and Q is the comparator threshold.
- the comparator binary output is then fed to a counter, for example, the first counter 120, as shown in Figure 1 , where the counted number is increased by 1 or 0, based on the comparator binary output.
- the count represents the MAC operation performed between the input at the given wordline and the conductance of the RM device interconnected by the given bitline and the given wordline.
- the next wordline is then active and the processes repeated, until all relevant wordlines have been processed.
- the counter output is defined as, where D® is the counter output at bitline i and m is the number of relevant wordlines.
- the cumulative counted number at bitline ⁇ after all wordline inputs have been processed represents the dot-product between the input vector and the feature (for example, weight) vector represented by the conductance values of the RM devices along bitline /.
- a counter is connected to each comparator.
- a first counter 120 is connected to the first comparator 1 16.
- Each counter maintains a count of occurrences where the output current at the corresponding bitline is above the comparator threshold.
- the first counter 120 is incremented in response to the output current of the first bitline 1 12 exceeding the threshold value of the first comparator 1 16.
- each counter and comparator is included in an interface circuit 124.
- the interface circuit 124 may further process the dot-product of the input and RM device conductance vectors. That is, the interface circuit 124 can receive the output of each counter.
- the interface circuit 124 may also be electrically coupled to each wordline (not shown) and include a device to control the application of the input to the wordlines of the array.
- the input applied to the array is non-binary, i.e. multi-bit or analog.
- a series of voltage pulses is applied to a wordline, for example, the first wordline 104.
- This series of pulses applied to each wordline represents a magnitude of the input.
- the input applied to each wordline may be discrete in time. That is, each input pulse of a wordline is non-overlapping with input pulses of a separate wordline.
- the pulses applied to each wordline are applied in a predetermined order, for example, in a sequential order and controlled by the decoder in the interface circuit. In various implementations, the pulses may be used to represent multi-bit inputs or sequential inputs.
- each RM device as binary, e.g. the device conductance is at either HRS or LRS.
- non-binary, i.e. multi-bit data may need to be used.
- the multi-bit data can be represented using multiple binary RM devices within the same bitline, or multiple binary RM devices within the same wordline, as shown in Figures 4A and 4B.
- multi-bit data can be represented over multiple RM arrays, as shown in Figure 4C.
- the input applied to the array may represent a pixel of an image.
- each input can represent the intensity of the pixel of the image.
- each RM device stores a data value.
- each data value in the array of RM devices stores a resistance, a conductance, or both.
- the stored resistance or the stored conductance represents an element of a potential feature represented in the respective column of the array. That is, the array can receive the input and compare the input to a stored potential feature represented in the column, for example, the first bitline 1 12.
- the output at the first bitline 1 12 can indicate a similarity between the input of the first wordline 104 and the first RM device 108, and the first RM device 108 is an element of the potential feature represented in the first bitline 1 12.
- the first comparator 1 16 determines whether the output of the first bitline 1 12 is greater than the threshold associated with the first comparator 1 16. As mentioned previously, when the threshold is exceeded for each comparator the count of the respective counter, in this case the first counter 120, is incremented, performing the digitized multiply-accumulate (MAC) operation performed between the input and the conductance of the RM device.
- MAC multiply-accumulate
- the interface circuit 124 may include a display device (not shown) to display the count to an operator. Further, the interface circuit 124 may perform additional processing on the received count, that is, the dot-product of the input and conductance vector of the respective RM device.
- FIG. 2 is a schematic showing example interface circuitry 200 electrically coupled to an array of RM devices.
- the example interface circuitry 200 excludes an ADC.
- ADC Analog to Digital Converter
- input in the form of pulses are applied to each wordline of a matrix 204.
- the interface circuitry 200 may include a plurality of column counters 208-1 through 208-5.
- the column counters 208-1 through 208-5 count the output pulses at the respective bitline that exceed the respective threshold.
- the interface circuitry 200 also includes a decoder 212.
- the decoder 212 shown as a Row Pulse Decoder (RPD), is used to activate the wordlines in a sequential order.
- RPD Row Pulse Decoder
- the decoder receives the address of the desired wordline through address pins 216 and the input to apply through an input pin 220.
- the decoder 212 activates a corresponding wordline if a ONE is applied to decoder input through the input pin 220. For example, voltage is applied to the activated wordline and is either V_READ or V_WRITE depending on the state of a W/R pin 224.
- the decoder 212 can also be disabled using an enable (En) pin 228.
- En enable
- the decoder address is fed through an address counter 232, where the address counter 232 simply loops on the addresses of the wordlines.
- Figure 3A is a schematic showing implementation of a column counter 300 electrically coupled to an array of RM devices. As described with respect to Figure 2, each bitline is connected to a column counter, for example, the column counter 300 of Figure 3A.
- the column counter 300 in this example includes a comparator 304 and an asynchronous ripple counter 308.
- the asynchronous counter is useful for single-bit number representation, or multi-bit number sored over multiple columns (bitlines) or arrays.
- Figure 3B is a schematic depicting an example of a multi-bit column counter 320 electrically coupled to an array of RM devices.
- an output of a comparator 324 of each bitline is directed to the corresponding counter bit to increment through a DEMUX 328.
- the select line of the DEMUX is supplied through a truncated address counter 332.
- the truncated address counter 332 is the lower significant bits of the wordline address counter ( Figure 2). For instance, a 64x64 array uses a 6-bit address counter, and in the case of adopting 8-bit words, only lower three bits of the address counter are directed to the DEMUX select lines.
- the dot-product is performed over the 64-bit bitlines, while each successive 8-bits are considered a word with bit-location weights.
- the multi-bit column counter determines a count and considers the bit location within the word while counting. For instance, an activated lowest significant bit (LSB) should increase the count by one, while the second LSB should increase the count by two. Thus, each word’s bit should increase a corresponding bit in the column counter. This counter is useful for multi-bit number sored over multiple rows (wordlines).
- FIG. 4A a schematic depicting a first multi-bit value 404 represented by multiple RM devices in the same bitline is shown.
- the first multi-bit value 404 is represented by multiple RM devices across multiple wordlines but in the same bitline.
- a second multi-bit value 408 represented by multiple RM devices in the same wordline, as depicted in Figure 4B.
- the second multi- bit value 408 spans across multiple bitlines and remains in the same wordline.
- FIG. 4C a schematic depicting a third multi-bit value 412 represented by multiple arrays of RM devices is shown. That is, the third multi-bit value 412 spans across multiple arrays and remains at the same location of each array.
- FIG. 5A is a schematic depicting a transistor-gated RM array 500 including a first type of source lines for an ADC-less vector-matrix multiplication operation. Transistor gating allows better control and power-management of the RM arrays at the expense of the system area.
- a third line for example, a source line is included in the array along with the wordlines and the bitlines.
- a first source line 504 and a second source line 508 are shown in Figure 5A.
- the source lines are used to the supply the source voltage to the gate transistor and can be supplied through the wordline or bitline directions.
- the gated array 500 is interfaced in the same technique described for the passive crossbars, and the source lines are parallel to the wordlines.
- the RPD needs to supply the input as the source line voltage, while the wordline is used to activate the desired row transistors.
- Figure 5B is a schematic depicting a transistor-gated RM array 520 including a second type of source lines for an ADC-less vector-matrix multiplication operation.
- the direction of a first source line 524 and a second source line 528 is parallel to the bitlines.
- a modified column counter is implemented to supply the input stream to the source lines when the second type of source line is used.
- Figure 6 is an example flowchart depicting a computation of vector-matrix multiplication controlled by an interface circuit electrically coupled to an array of RM devices.
- Control begins at 604 where the interface circuit applies input to a first wordline of the array of RM devices.
- the input may be a voltage applied to the array.
- the input is applied sequentially to the wordlines of the array, and the input is a pulse waveform.
- Control continues to 608 where the interface circuit receives the output from all bitlines.
- Control proceeds to 612 where comparator attached to a selected bitline compares the output to a respective threshold of the comparator. In response to the output of the selected bitline exceeding the threshold of the comparator, control continues to 616 increment a counter coupled to the comparator of the corresponding bitline. Otherwise, if the output of the selected bitline does not exceed the threshold, control proceeds to 620. Operations on all bitlines can be performed in parallel by control in steps 612-620. Afterwards, control determines if the input includes another wordline. If control determines that the input includes another wordline, control proceeds to 624 where the input is applied to the next wordline. Then, control returns to 608 to determine the output of the bitlines. Otherwise, if control determines that there is not another wordline at 620, control ends. As the interface circuit includes each counter of the array of resistive devices, the interface circuit can store and maintain data regarding the dot-product of the input vector and the vector represented by each bitline.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Crystallography & Structural Chemistry (AREA)
- Chemical & Material Sciences (AREA)
- Logic Circuits (AREA)
- Semiconductor Memories (AREA)
Abstract
An in-memory computing system for computing vector-matrix multiplications includes an array of resistive memory devices arranged in columns and rows, such that resistive memory devices in each row of the array are interconnected by a respective wordline and resistive memory devices in each column of the array are interconnected by a respective bitline. The in-memory computing system also includes an interface circuit electrically coupled to each bitline of the array of resistive memory devices and computes the vector-matrix multiplication between an input vector applied to a given set of wordlines and data values stored in the array. For each bitline, the interface circuit receives an output in response to the input being applied to the given wordline, compares the output to a threshold, and increments a count maintained for each bitline when the output exceeds the threshold. The count for a given bitline represents a dot-product.
Description
MEMORY PROCESSING UNIT
GOVERNMENT FUNDING
[0001] This invention was made with government support under Grant No. CCF- 1617315 awarded by the National Science Foundation. The Government has certain rights in this invention.
FIELD
[0002] The present disclosure relates to performing computations with an array of resistive memory devices.
BACKGROUND
[0003] This section provides background information related to the present disclosure which is not necessarily prior art.
[0004] Historically computing advances were mainly driven by CMOS transistor scaling following Moore’s law, where new generations of devices are smaller, faster, and cheaper, leading to more powerful circuits and systems. However, conventional scaling is facing significant technical challenges and fundamental limits. Moreover, classical computing architectures were not originally designed to handle modern applications, such as cognitive processing, artificial intelligence, big-data analysis, and edge computing. Recently, new devices, circuits, and architectures are being pursued to meet present and future computing needs, where tight integration of memory and logic and parallel processing are highly desired. To this end, emerging resistive memory technologies, such as RRAM, STT-MRAM, and PCRAM, have attracted broad interest as promising candidates for future memory and computing applications. Besides tremendous appeal in data storage applications, resistive devices offer the potential to enable efficient in-memory computing architectures that differ from conventional computing systems.
[0005] For a typical memory/storage application, resistive memory (RM) devices store the data in the form of electrical resistance, for example, ZERO is represented by high resistance state (HRS), and ONE is represented by low resistance state (LRS). In the present application, RM devices refer to resistive random-access memory (RRAM), magnetic random-access memory (MRAM) and phase-change random-access memory
(PCRAM), or other memory technologies that rely on resistance change to store data. These devices can be formed in a crossbar structure that offers high storage density and random-access capability. Programming an RM device between the LRS and HRS states is typically achieved through a voltage or current bias with the amplitude above certain threshold values. Reading the device state is typically achieved with a lower voltage bias below a threshold value. Due to their resistive nature, the RM devices can act as a two-terminal switch that directly modulates the current passing through it based on the resistance values. Therefore, the current passes through the devices is equal to the applied voltage multiplied by the stored conductance value, without having to retrieve data from a separate memory and processing the multiplication in a separate processor. This property in principle allows RM systems to directly perform vector- matrix multiplications (including vector-vector dot-product operations) in-memory, where multiply-accumulate (MAC) operations can be processed in parallel. The co-location of memory and logic, and the high parallelism that can be offered by the crossbar structure, have generated interest in RM-based computing systems.
[0006] The focus has been on tasks such as artificial neural networks, which typically aim to obtain an approximate or qualitative solution, although more general matrix-based tasks can also be implemented. However, a practical realization of these system is difficult due to limitations of these emerging RM technologies, including limited precision, large device variabilities, and limited ON/OFF ratio. In addition, sampling the results of the analog operations requires bulky interface circuitry based on analog-to-digital converters (ADCs), which significantly affects the performance of the complete system.
SUMMARY
[0007] This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
[0008] An in-memory computing system includes an array of resistive memory (RM) devices and an interface circuit, for performing multiply-accumulate (MAC) operations and computing vector-matrix multiplications. The array of RM devices is arranged in columns and rows, such that RM devices in each row of the array are interconnected by a respective wordline and RM devices in each column of the array are interconnected by a respective bitline. Each RM device in the array of RM devices has an associated threshold voltage and is configured to store a data value as a
resistance value. The interface circuit electrically coupled to each bitline of the array of RM devices and cooperatively operates with the array of RM devices to compute a vector-matrix multiplication between an input vector applied to the wordlines and data values stored in the array of RM devices. For each bitline, the interface circuit receives an output in response to an input being applied to a given wordline, compares the output to a threshold, and increments a count maintained for each bitline when the output exceeds the threshold. The count represents the digitized multiply-accumulate (MAC) operation performed between the input at the given wordline and the
conductance of the RM device interconnected by the given bitline and the given wordline. The cumulative count for a given bitline after all relevant wordlines are processed represents the digitized dot-product of the input vector and the stored vector represented by values of RM devices along the given bitline.
[0009] In various implementations, the input applied to the given wordline is a voltage applied to the given wordline as a pulse, and the output of each bitline, before reaching the interface circuit, is a current value. Further, the input may be a series of pulses, and a total of the series of pulses represents the input value. The input may be applied to each wordline sequentially.
[0010] In another aspect, a decoder is electrically coupled to each wordline. The decoder is configured to apply the input to each wordline. The interface circuit can include a plurality of comparators, where each comparator of the plurality of
comparators is electrically coupled to a corresponding bitline and a respective comparator receives the output from the corresponding bitline and compares the output to a threshold associated with the respective comparator.
[0011] In another aspect, the interface circuit includes a plurality of counters, where each counter of the plurality of counters is electrically coupled to a corresponding comparator and, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter.
[0012] In various implementations, each device in the array of RM devices stores at least one of a resistance value and a conductance value, and at least one of the resistance value and the conductance value is an element of a potential feature (or weight, or coefficient) vector represented in a column of the array of RM devices.
[0013] An in-memory computing method for computing MAC and vector-matrix multiplications includes applying an input to an array of RM devices arranged in columns and rows, where the array is arranged such that RM devices in each row of the
array are interconnected by a respective wordline and RM devices in each column of the array are interconnected by a respective bitline. Each RM device in the array of RM devices has an associated threshold voltage and is configured to store a data value therein as a resistance value. The method includes computing multiplication and accumulation between an input applied to a given wordline and data values stored in the array of RM devices.
[0014] The multiply-accumulate (MAC) operation is performed by producing an output in response to the input being applied to a given wordline, comparing the output to a threshold, and incrementing a count for the bitline when the output exceeds the threshold. The count represents the digitized multiplication between the input at the given wordline and the conductance of the RM device interconnected by the given bitline and the given wordline. The cumulative count for a given bitline after all relevant wordlines have been processed represents the digitized dot-product of the input vector and the stored vector represented by values of RM devices along the given bitline.
[0015] In various implementations, the input applied to the given wordline is a voltage applied to the given wordline as a pulse, and the output of each bitline, before reaching the interface circuit, is a current value. Further, the input may be a series of pulses and a total of the series of pulses represents an input value. The method includes applying the input to each wordline sequentially. The method further includes applying the input to each wordline using a decoder.
[0016] In another aspect, the method also includes receiving the output from the given bitline at a respective comparator and comparing the output to a threshold associated with the respective comparator. The method further includes, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter. In various implementations, each device in the array of RM devices stores at least one of a resistance value and a conductance value, and at least one of the resistance value and the conductance value is an element of a potential feature (or weight, or coefficient) vector represented in a column of the array of RM devices.
[0017] Further areas of applicability will become apparent from the description provided herein. The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
DRAWINGS
[0018] The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.
[0019] Figure 1 is a schematic showing an in-memory computing system including an array of resistive memory (RM) devices;
[0020] Figure 2 is a schematic showing example interface circuitry electrically coupled to an array of RM devices;
[0021] Figure 3A is a schematic showing implementation of a column counter electrically coupled to an array of RM devices;
[0022] Figure 3B is a schematic depicting a multi-bit column counter electrically coupled to an array of RM devices;
[0023] Figure 4A is a schematic depicting a multi-bit value represented by multiple RM devices in the same bitline;
[0024] Figure 4B is a schematic depicting a multi-bit value represented by multiple RM devices in the same wordline;
[0025] Figure 4C is a schematic depicting a multi-bit value represented by multiple arrays of RM devices;
[0026] Figure 5A is a schematic depicting a transistor-gated RM array including a first type of source lines for an ADC-less MAC and matrix multiplication operations;
[0027] Figure 5B is a schematic depicting a transistor-gated RM array including a second type of source lines for an ADC-less MAC and matrix multiplication operations; and
[0028] Figure 6 is a flowchart depicting a computation of a vector-matrix multiplication process controlled by an interface circuit electrically coupled to an array of RM devices.
[0029] Corresponding reference numerals indicate corresponding parts throughout the several views of the drawings.
DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings.
[0031] The system design of the present disclosure overcomes the above described limitations related to RM devices and ADCs, and produces an efficient in-
memory computing system, for example, a memory processing unit (MPU) that can significantly outperform current CPU and GPU computing architecture for data-intensive tasks. The approach is based on an ADC-less in-memory computing approach that can be directly performed using on-chip memory such as RRAM, MRAM, PCRAM, or SRAM, and can support both soft and precise computing tasks. The in-memory system tolerates high device variability and low ON/OFF ratios. Furthermore, the elimination of area-consuming ADCs and post processing circuitry allows the system to operate at higher speeds using smaller circuit areas compared to its analog and multilevel counterparts.
[0032] A typical analog (multi-level) vector-matrix multiplication operation can be considered in two non-pipelined stages: an analog stage and an iterative sampling stage. In the first part, all relevant wordlines in an array of RM devices are activated, allowing the current to flow through the array according to the RM devices’ conductance and the voltage applied at the input. In the second stage, the output currents at the bitlines are digitized using ADC circuitry, which is naturally of an iterative type such as in SAR or ramp ADCs. In the present disclosure, an in-memory computing system performing vector-matrix multiplication with an array of RM devices without the need of conventional ADCs is described. Figure 1 is a schematic showing an in-memory computing system 100 including an array of RM devices. The array depicts five wordlines and five bitlines. Further details regarding this example hardware system may be found in U.S. Patent Application No. 15/723,668 filed on October 3, 2017 and entitled“Field-Programmable Crossbar Array For Reconfigurable Computing,” which is incorporated by reference in its entirety.
[0033] Each wordline has a corresponding input. For example, a first wordline 104 has an input voltage (V1 ) in the form of a pulse. At the intersection of each wordline and bitline is a RM device. For example, a first RM device 108 is at the intersection of the first wordline 104 and a first bitline 1 12.
[0034] As ADC are no longer coupled to the array, comparators are coupled to the output of each bitline to determine if the output of a bitline exceeds a threshold value. That is, instead of directly measuring the analog value of the output current or charge, the comparators distinguish whether the output is high or low in a binary fashion. The comparator approach relies on the threshold value and is insensitive to the exact values of the current, allowing much better device variability and ON/OFF tolerance.
[0035] The input at each wordline may be discrete in time. That is, one input pulse is being applied to one of the wordlines at any given time, although some algorithms can tolerate applying inputs to multiple wordlines simultaneously. In various implementations, an interface circuit 124 may be configured to control the application of the input to each wordline and can monitor which wordline is receiving input at any given time. A comparator is connected to each bitline. For example, a first comparator 1 16 is connected to the first bitline 1 12.
[0036] In various applications, the input value at the wordlines may be binary.
The input“1” is represented by a voltage pulse, while input“0” is represented by no pulse (or pulse with 0 amplitude) at the wordline. The array wordlines may be activated sequentially or in a series manner, as shown in Figure 1. The result is a series of current pulses at the bitline side, each of them representing an analog multiplication between the wordline voltage and the corresponding bitline device conductance, such that,
— yW ti.j)
1 BL — VWL u
[0037] where
is the output current of bitline i,
is the input voltage of wordline j, is the conductance of the RM device at the intersection of bitline i and wordline j. In this case,
e (HRS, LRS}. Further, a simple comparator at the bitline side is sufficient to detect the output signal of each input pulse, where the comparator output is defined as,
[0038] where
is the binary comparator output at bitline i and Q is the comparator threshold. The comparator binary output is then fed to a counter, for example, the first counter 120, as shown in Figure 1 , where the counted number is increased by 1 or 0, based on the comparator binary output. The count represents the MAC operation performed between the input at the given wordline and the conductance of the RM device interconnected by the given bitline and the given wordline.
[0039] The next wordline is then active and the processes repeated, until all relevant wordlines have been processed. The counter output is defined as,
where D® is the counter output at bitline i and m is the number of relevant wordlines. The cumulative counted number at bitline ϊ after all wordline inputs have been processed represents the dot-product between the input vector and the feature (for example, weight) vector represented by the conductance values of the RM devices along bitline /.
[0040] A counter is connected to each comparator. For example, a first counter 120 is connected to the first comparator 1 16. Each counter maintains a count of occurrences where the output current at the corresponding bitline is above the comparator threshold. For example, the first counter 120 is incremented in response to the output current of the first bitline 1 12 exceeding the threshold value of the first comparator 1 16. In various implementations, each counter and comparator is included in an interface circuit 124. For example, the interface circuit 124 may further process the dot-product of the input and RM device conductance vectors. That is, the interface circuit 124 can receive the output of each counter. In various implementations, the interface circuit 124 may also be electrically coupled to each wordline (not shown) and include a device to control the application of the input to the wordlines of the array.
[0041] In various implementations, the input applied to the array is non-binary, i.e. multi-bit or analog. When the input is non-binary, a series of voltage pulses is applied to a wordline, for example, the first wordline 104. This series of pulses applied to each wordline represents a magnitude of the input. Additionally, as mentioned above, the input applied to each wordline may be discrete in time. That is, each input pulse of a wordline is non-overlapping with input pulses of a separate wordline. The pulses applied to each wordline are applied in a predetermined order, for example, in a sequential order and controlled by the decoder in the interface circuit. In various implementations, the pulses may be used to represent multi-bit inputs or sequential inputs.
[0042] The above implementation considers each RM device as binary, e.g. the device conductance is at either HRS or LRS. In various implementations, non-binary, i.e. multi-bit data may need to be used. The multi-bit data can be represented using multiple binary RM devices within the same bitline, or multiple binary RM devices within the same wordline, as shown in Figures 4A and 4B. Also, multi-bit data can be represented over multiple RM arrays, as shown in Figure 4C.
[0043] The input applied to the array may represent a pixel of an image. For example, each input can represent the intensity of the pixel of the image. Additionally, each RM device stores a data value. For example, each data value in the array of RM
devices stores a resistance, a conductance, or both. Further, the stored resistance or the stored conductance represents an element of a potential feature represented in the respective column of the array. That is, the array can receive the input and compare the input to a stored potential feature represented in the column, for example, the first bitline 1 12. Therefore, the output at the first bitline 1 12 can indicate a similarity between the input of the first wordline 104 and the first RM device 108, and the first RM device 108 is an element of the potential feature represented in the first bitline 1 12. Then, the first comparator 1 16 determines whether the output of the first bitline 1 12 is greater than the threshold associated with the first comparator 1 16. As mentioned previously, when the threshold is exceeded for each comparator the count of the respective counter, in this case the first counter 120, is incremented, performing the digitized multiply-accumulate (MAC) operation performed between the input and the conductance of the RM device.
[0044] In various implementations, the interface circuit 124 may include a display device (not shown) to display the count to an operator. Further, the interface circuit 124 may perform additional processing on the received count, that is, the dot-product of the input and conductance vector of the respective RM device.
[0045] Figure 2 is a schematic showing example interface circuitry 200 electrically coupled to an array of RM devices. The example interface circuitry 200 excludes an ADC. As mentioned above, to compute a dot-product without using an ADC, input in the form of pulses are applied to each wordline of a matrix 204. The interface circuitry 200 may include a plurality of column counters 208-1 through 208-5. The column counters 208-1 through 208-5 count the output pulses at the respective bitline that exceed the respective threshold. In various implementations, the interface circuitry 200 also includes a decoder 212. The decoder 212, shown as a Row Pulse Decoder (RPD), is used to activate the wordlines in a sequential order. The decoder receives the address of the desired wordline through address pins 216 and the input to apply through an input pin 220. The decoder 212 activates a corresponding wordline if a ONE is applied to decoder input through the input pin 220. For example, voltage is applied to the activated wordline and is either V_READ or V_WRITE depending on the state of a W/R pin 224. The decoder 212 can also be disabled using an enable (En) pin 228. For a typical dot-product operation, the decoder address is fed through an address counter 232, where the address counter 232 simply loops on the addresses of the wordlines.
[0046] Figure 3A is a schematic showing implementation of a column counter 300 electrically coupled to an array of RM devices. As described with respect to Figure 2, each bitline is connected to a column counter, for example, the column counter 300 of Figure 3A. The column counter 300 in this example includes a comparator 304 and an asynchronous ripple counter 308. The asynchronous counter is useful for single-bit number representation, or multi-bit number sored over multiple columns (bitlines) or arrays.
[0047] Figure 3B is a schematic depicting an example of a multi-bit column counter 320 electrically coupled to an array of RM devices. In various implementations, an output of a comparator 324 of each bitline is directed to the corresponding counter bit to increment through a DEMUX 328. The select line of the DEMUX is supplied through a truncated address counter 332. The truncated address counter 332 is the lower significant bits of the wordline address counter (Figure 2). For instance, a 64x64 array uses a 6-bit address counter, and in the case of adopting 8-bit words, only lower three bits of the address counter are directed to the DEMUX select lines. Hence, the dot-product is performed over the 64-bit bitlines, while each successive 8-bits are considered a word with bit-location weights. In one example, the multi-bit column counter determines a count and considers the bit location within the word while counting. For instance, an activated lowest significant bit (LSB) should increase the count by one, while the second LSB should increase the count by two. Thus, each word’s bit should increase a corresponding bit in the column counter. This counter is useful for multi-bit number sored over multiple rows (wordlines).
[0048] Referring to Figure 4A, a schematic depicting a first multi-bit value 404 represented by multiple RM devices in the same bitline is shown. The first multi-bit value 404 is represented by multiple RM devices across multiple wordlines but in the same bitline.
[0049] In various implementations, a second multi-bit value 408 represented by multiple RM devices in the same wordline, as depicted in Figure 4B. The second multi- bit value 408 spans across multiple bitlines and remains in the same wordline.
[0050] Referring now to Figure 4C, a schematic depicting a third multi-bit value 412 represented by multiple arrays of RM devices is shown. That is, the third multi-bit value 412 spans across multiple arrays and remains at the same location of each array.
[0051] Figure 5A is a schematic depicting a transistor-gated RM array 500 including a first type of source lines for an ADC-less vector-matrix multiplication
operation. Transistor gating allows better control and power-management of the RM arrays at the expense of the system area. In a transistor-gated array implementation, a third line, for example, a source line is included in the array along with the wordlines and the bitlines. For example, a first source line 504 and a second source line 508 are shown in Figure 5A. The source lines are used to the supply the source voltage to the gate transistor and can be supplied through the wordline or bitline directions. In the first case, the gated array 500 is interfaced in the same technique described for the passive crossbars, and the source lines are parallel to the wordlines. However, the RPD needs to supply the input as the source line voltage, while the wordline is used to activate the desired row transistors.
[0052] Figure 5B is a schematic depicting a transistor-gated RM array 520 including a second type of source lines for an ADC-less vector-matrix multiplication operation. In various implementations of the second type of source lines, the direction of a first source line 524 and a second source line 528 is parallel to the bitlines. A modified column counter is implemented to supply the input stream to the source lines when the second type of source line is used.
[0053] Figure 6 is an example flowchart depicting a computation of vector-matrix multiplication controlled by an interface circuit electrically coupled to an array of RM devices. Control begins at 604 where the interface circuit applies input to a first wordline of the array of RM devices. As described previously, the input may be a voltage applied to the array. As shown in Figure 1 , the input is applied sequentially to the wordlines of the array, and the input is a pulse waveform. Control continues to 608 where the interface circuit receives the output from all bitlines.
[0054] Control proceeds to 612 where comparator attached to a selected bitline compares the output to a respective threshold of the comparator. In response to the output of the selected bitline exceeding the threshold of the comparator, control continues to 616 increment a counter coupled to the comparator of the corresponding bitline. Otherwise, if the output of the selected bitline does not exceed the threshold, control proceeds to 620. Operations on all bitlines can be performed in parallel by control in steps 612-620. Afterwards, control determines if the input includes another wordline. If control determines that the input includes another wordline, control proceeds to 624 where the input is applied to the next wordline. Then, control returns to 608 to determine the output of the bitlines. Otherwise, if control determines that there is not another wordline at 620, control ends. As the interface circuit includes each counter of
the array of resistive devices, the interface circuit can store and maintain data regarding the dot-product of the input vector and the vector represented by each bitline.
[0055] The foregoing description of the embodiments has been provided for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure. Individual elements or features of a particular embodiment are generally not limited to that particular embodiment, but, where applicable, are interchangeable and can be used in a selected embodiment, even if not specifically shown or described. The same may also be varied in many ways. Such variations are not to be regarded as a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.
Claims
1. An in-memory computing system for performing multiply-accumulate (MAC) operations and computing vector-matrix multiplications, comprising:
an array of resistive memory devices arranged in columns and rows, such that resistive memory devices in each row of the array are interconnected by a respective wordline and resistive memory devices in each column of the array are interconnected by a respective bitline, each resistive memory device in the array of resistive memory devices has an associated threshold voltage and is configured to store a data value therein as a resistance value; and
an interface circuit electrically coupled to each bitline of the array of resistive memory devices and cooperatively operates with the array of resistive memory devices to compute a vector-matrix multiplication between an input applied to a set of wordlines and data values stored in the array of resistive memory devices, where the interface circuit, for each bitline:
receives an output in response to the input being applied to a given wordline;
compares the output to a threshold; and
increments a count maintained for each bitline when the output exceeds the threshold, such that the count for a given bitline represents the MAC operation performed between the input and conductance of the resistive memory device interconnected by the given bitline and the given wordline.
2. The in-memory computing system of claim 1 wherein the input applied to the given wordline is a voltage applied to the given wordline as a pulse, and wherein the output of each bitline is a current value.
3. The in-memory computing system of claim 2 wherein the input is a series of pulses, and wherein a total of the series of pulses represents a non-binary value.
4. The in-memory computing system of claim 1 wherein the input is applied to each wordline sequentially.
5. The in-memory computing system of claim 1 further comprising a decoder electrically coupled to each wordline, wherein the decoder is configured to apply the input to each wordline.
6. The in-memory computing system of claim 1 further comprising a plurality of comparators, wherein each comparator of the plurality of comparators is electrically coupled to a corresponding bitline, and wherein a respective comparator receives the output from the corresponding bitline and compares the output to a threshold associated with the respective comparator.
7. The in-memory computing system of claim 6 further comprising a plurality of counters, wherein each counter of the plurality of counters is electrically coupled to a corresponding comparator and, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter.
8. The in-memory computing system of claim 1 wherein each device in the array of resistive memory devices stores at least one of a resistance value and a conductance value, and wherein at least one of the resistance value and the conductance value is an element of a potential feature represented in a column of the array of resistive memory devices.
9. The in-memory computing system of claim 1 wherein multiple resistive memory devices store multi-bit values in an identified bitline in the array of resistive memory devices.
10. The in-memory computing system of claim 1 wherein multiple resistive memory devices store multi-bit values in an identified wordline in the array of resistive memory devices.
1 1 . The in-memory computing system of claim 1 wherein multiple arrays of resistive memory devices store multi-bit values.
12. The in-memory computing system of claim 1 wherein the interface circuit is implemented with an analog to digital converter.
13. An in-memory computing method for performing multiply-accumulate (MAC) operations and computing vector-matrix multiplications, comprising:
applying an input to an array of resistive memory devices arranged in columns and rows, wherein the array is arranged such that resistive memory devices in each row of the array are interconnected by a respective wordline and resistive memory devices in each column of the array are interconnected by a respective bitline, and wherein each resistive memory device in the array of resistive memory devices has an associated threshold voltage and is configured to store a data value therein as a resistance value; computing vector-matrix multiplication between an input applied to a given set of wordlines and data values stored in the array of resistive memory devices by, for each bitline:
receiving an output in response to the input being applied to a given wordline;
comparing the output to a threshold; and
incrementing a count for each bitline when the output exceeds the threshold, such that the count of a given bitline performs MAC operation between the input and a conductance of the resistive memory device interconnected by the given bitline and the given wordline.
14. The in-memory computing method of claim 13 wherein the input applied to the given wordline is a voltage pulse, and wherein the output of each bitline is a current value.
15. The in-memory computing method of claim 14 wherein the input is a series of pulses, and wherein a total of the series of pulses represents a non-binary value.
16. The in-memory computing method of claim 13 further comprising applying the input to each wordline sequentially.
17. The in-memory computing method of claim 13 further comprising applying the input to each wordline using a decoder.
18. The in-memory computing method of claim 13 further comprising receiving the output from the given bitline at a respective comparator and comparing the output to a threshold associated with the respective comparator.
19. The in-memory computing method of claim 18 further comprising, in response to the output exceeding the threshold associated with the respective comparator, incrementing a count of a respective counter.
20. The in-memory computing method of claim 13 wherein each device in the array of resistive memory devices stores at least one of a resistance value and a conductance value, and wherein at least one of the resistance value and the conductance value is an element of a potential feature vector represented in a column of the array of resistive memory devices.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201980034397.7A CN112154506A (en) | 2018-05-22 | 2019-05-01 | Memory processing unit |
| KR1020207033464A KR20210000313A (en) | 2018-05-22 | 2019-05-01 | Memory processing unit |
| EP19806838.9A EP3797416A4 (en) | 2018-05-22 | 2019-05-01 | MEMORY PROCESSING UNIT |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/986,347 | 2018-05-22 | ||
| US15/986,347 US10943652B2 (en) | 2018-05-22 | 2018-05-22 | Memory processing unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019226289A1 true WO2019226289A1 (en) | 2019-11-28 |
Family
ID=68614814
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2019/030230 Ceased WO2019226289A1 (en) | 2018-05-22 | 2019-05-01 | Memory processing unit |
Country Status (6)
| Country | Link |
|---|---|
| US (2) | US10943652B2 (en) |
| EP (1) | EP3797416A4 (en) |
| KR (1) | KR20210000313A (en) |
| CN (1) | CN112154506A (en) |
| TW (1) | TWI721431B (en) |
| WO (1) | WO2019226289A1 (en) |
Families Citing this family (38)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10943652B2 (en) | 2018-05-22 | 2021-03-09 | The Regents Of The University Of Michigan | Memory processing unit |
| US10440341B1 (en) * | 2018-06-07 | 2019-10-08 | Micron Technology, Inc. | Image processor formed in an array of memory cells |
| US10642922B2 (en) | 2018-09-28 | 2020-05-05 | Intel Corporation | Binary, ternary and bit serial compute-in-memory circuits |
| JP2020160888A (en) * | 2019-03-27 | 2020-10-01 | ソニー株式会社 | Arithmetic logic unit and product-sum calculation system |
| CN113391788B (en) * | 2020-03-11 | 2024-01-26 | 芯立嘉集成电路(杭州)有限公司 | In-memory arithmetic processor and in-memory arithmetic processing method |
| US11934798B2 (en) | 2020-03-31 | 2024-03-19 | Micron Technology, Inc. | Counter-based multiplication using processing in memory |
| TWI792247B (en) * | 2020-04-15 | 2023-02-11 | 旺宏電子股份有限公司 | In-memory computing method and in-memory computing apparatus |
| KR20230008142A (en) * | 2020-04-27 | 2023-01-13 | 라이트매터, 인크. | Photonics Processor Architecture |
| TWI782288B (en) * | 2020-06-29 | 2022-11-01 | 大陸商珠海興芯存儲科技有限公司 | Pseudo-analog memory computing circuit |
| KR102861763B1 (en) | 2020-07-03 | 2025-09-17 | 삼성전자주식회사 | Apparatus for performing in memory processing and computing apparatus having the same |
| US20220027130A1 (en) * | 2020-07-27 | 2022-01-27 | Robert Bosch Gmbh | Time domain ratiometric readout interfaces for analog mixed-signal in memory compute crossbar networks |
| CN115668125A (en) * | 2020-08-31 | 2023-01-31 | 麦姆瑞克斯公司 | Memory Processing Unit Architecture Mapping Technology |
| JPWO2022070947A1 (en) * | 2020-09-30 | 2022-04-07 | ||
| US12147784B2 (en) * | 2021-01-29 | 2024-11-19 | Taiwan Semiconductor Manufacturing Company, Ltd. | Compute in memory |
| KR102916032B1 (en) | 2021-04-13 | 2026-01-20 | 삼성전자주식회사 | Apparatus and method for multi-bit operation |
| KR102868994B1 (en) | 2021-04-21 | 2025-10-10 | 삼성전자주식회사 | Neural network apparatus and operating method of the same |
| CN113380296A (en) * | 2021-05-07 | 2021-09-10 | 中国科学院上海微系统与信息技术研究所 | Image processing device and method of Boolean logic of phase change memory cell |
| CN115310030A (en) * | 2021-05-07 | 2022-11-08 | 脸萌有限公司 | Matrix multiplication circuit module and method |
| TWI788257B (en) * | 2021-05-13 | 2022-12-21 | 聯詠科技股份有限公司 | Method and non-transitory computer readable medium for compute-in-memory macro arrangement, and electronic device applying the same |
| US12541340B2 (en) * | 2021-10-13 | 2026-02-03 | Qualcomm Incorporated | Accumulator for digital computation-in-memory architectures |
| CN113703718B (en) * | 2021-10-14 | 2022-02-22 | 中科南京智能技术研究院 | Multi-bit memory computing device with variable weight |
| KR20230070753A (en) * | 2021-11-15 | 2023-05-23 | 삼성전자주식회사 | Computing device for performing digital pulse-based crossbar operation and method for operating method thereof |
| US11811416B2 (en) * | 2021-12-14 | 2023-11-07 | International Business Machines Corporation | Energy-efficient analog-to-digital conversion in mixed signal circuitry |
| US11942144B2 (en) | 2022-01-24 | 2024-03-26 | Stmicroelectronics S.R.L. | In-memory computation system with drift compensation circuit |
| US20230289143A1 (en) * | 2022-03-13 | 2023-09-14 | Winbond Electronics Corp. | Memory device and computing method |
| US20230325650A1 (en) * | 2022-04-07 | 2023-10-12 | Silicon Storage Technology, Inc. | Vector-by-matrix-multiplication array utilizing analog outputs |
| US12211582B2 (en) | 2022-04-12 | 2025-01-28 | Stmicroelectronics S.R.L. | Signed and binary weighted computation for an in-memory computation system |
| US11894052B2 (en) | 2022-04-12 | 2024-02-06 | Stmicroelectronics S.R.L. | Compensated analog computation for an in-memory computation system |
| FR3135808B1 (en) | 2022-05-23 | 2024-05-31 | Commissariat Energie Atomique | METHOD for calculating a MAC operation in a 1S1R type RRAM memory |
| US12444467B2 (en) * | 2022-07-07 | 2025-10-14 | SK Hynix Inc. | Semiconductor memory device performing a multiplication and accumulation operation |
| KR102813514B1 (en) * | 2022-08-22 | 2025-05-26 | 연세대학교 산학협력단 | Local Computing Cell for Multi-Bit Operation and CIM Comprising The Same |
| US20240231623A9 (en) * | 2022-10-25 | 2024-07-11 | Macronix International Co., Ltd. | In-memory computing (imc) memory device and imc method thereof |
| IT202200026760A1 (en) | 2022-12-23 | 2024-06-23 | St Microelectronics Srl | IN-MEMORY COMPUTING DEVICE WITH IMPROVED DRIFT COMPENSATION |
| CN116579392B (en) * | 2023-02-21 | 2026-01-23 | 鹏城实验室 | Neural network training operation system and method based on conductance adjustable device |
| IT202300011370A1 (en) * | 2023-06-05 | 2024-12-05 | St Microelectronics Int Nv | MEMORY COMPUTING DEVICE FOR PERFORMING A SIGNED MAC OPERATION |
| EP4474977B1 (en) | 2023-06-05 | 2025-10-01 | STMicroelectronics International N.V. | In-memory computation device for performing a multiply-and-accumulate (mac) operation, having a low elaboration time |
| US12355443B2 (en) * | 2023-09-01 | 2025-07-08 | Stmicroelectronics International N.V. | In-memory computation system with built-in subtraction mode for handling matrix vector multiplication of signed feature data and signed computational weight data |
| US12525290B2 (en) * | 2024-02-26 | 2026-01-13 | Tetramem Inc. | Read-out circuits for RRAM-based crossbar circuits |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140172937A1 (en) * | 2012-12-19 | 2014-06-19 | United States Of America As Represented By The Secretary Of The Air Force | Apparatus for performing matrix vector multiplication approximation using crossbar arrays of resistive memory devices |
| US20160049195A1 (en) * | 2014-08-12 | 2016-02-18 | Arizona Board Of Regents On Behalf Of Arizona State University | Resistive cross-point architecture for robust data representation with arbitrary precision |
| US20160336064A1 (en) * | 2015-05-15 | 2016-11-17 | Arizona Board Of Regents On Behalf Of Arizona State University | Neuromorphic computational system(s) using resistive synaptic devices |
| US20170256296A1 (en) * | 2016-03-03 | 2017-09-07 | Flashsilicon Incorporation | Digital perceptron |
| US20180114569A1 (en) | 2016-03-11 | 2018-04-26 | Hewlett Packard Enterprise Development Lp | Hardware accelerators for calculating node values of neural networks |
Family Cites Families (39)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06314264A (en) | 1993-05-06 | 1994-11-08 | Nec Corp | Self-routing crossbar switch |
| US6759869B1 (en) | 2002-06-05 | 2004-07-06 | Xilinx, Inc. | Large crossbar switch implemented in FPGA |
| EP1443417A1 (en) | 2003-01-31 | 2004-08-04 | STMicroelectronics S.r.l. | A reconfigurable signal processor with embedded flash memory device |
| KR100812225B1 (en) | 2005-12-07 | 2008-03-13 | 한국전자통신연구원 | Crossbar switch architecture for multi-processor SoC platform |
| US8082526B2 (en) | 2006-03-08 | 2011-12-20 | Altera Corporation | Dedicated crossbar and barrel shifter block on programmable logic resources |
| US7564262B2 (en) | 2006-04-03 | 2009-07-21 | Blaise Laurent Mouttet | Crossbar comparator |
| US7609086B2 (en) * | 2006-04-03 | 2009-10-27 | Blaise Laurent Mouttet | Crossbar control circuit |
| US7733262B2 (en) * | 2007-06-15 | 2010-06-08 | Micron Technology, Inc. | Quantizing circuits with variable reference signals |
| US7830729B2 (en) * | 2007-06-15 | 2010-11-09 | Micron Technology, Inc. | Digital filters with memory |
| US7852114B2 (en) * | 2008-08-14 | 2010-12-14 | Nantero, Inc. | Nonvolatile nanotube programmable logic devices and a nonvolatile nanotube field programmable gate array using same |
| EP2159799A1 (en) | 2008-08-27 | 2010-03-03 | Panasonic Corporation | Semiconductor memory with shared global busses for reconfigurable logic device |
| KR20100039593A (en) * | 2008-10-08 | 2010-04-16 | 삼성전자주식회사 | Data communication system for measuring resist distribution of memory cell and semiconductor system having the same |
| US20120254541A1 (en) | 2011-04-04 | 2012-10-04 | Advanced Micro Devices, Inc. | Methods and apparatus for updating data in passive variable resistive memory |
| US8542521B2 (en) * | 2011-09-12 | 2013-09-24 | Kabushiki Kaisha Toshiba | Semiconductor storage device including memory cells capable of holding data |
| KR101939234B1 (en) * | 2012-07-23 | 2019-01-16 | 삼성전자 주식회사 | Memory device, memory system and method of controlling a read voltage of the memory device |
| US9047945B2 (en) | 2012-10-15 | 2015-06-02 | Marvell World Trade Ltd. | Systems and methods for reading resistive random access memory (RRAM) cells |
| US9442854B2 (en) | 2012-11-15 | 2016-09-13 | Elwha Llc | Memory circuitry including computational circuitry for performing supplemental functions |
| US9026719B2 (en) | 2012-11-15 | 2015-05-05 | Elwha, Llc | Intelligent monitoring for computation in memory |
| KR102081757B1 (en) * | 2013-06-26 | 2020-02-26 | 삼성전자주식회사 | Nonvolatile memory device and program method thereof |
| JP6328787B2 (en) | 2014-04-15 | 2018-05-23 | インテル・コーポレーション | Neuromorphological graph compression method, system, and computer program product using multiple associative memories |
| US10068652B2 (en) * | 2014-09-03 | 2018-09-04 | Micron Technology, Inc. | Apparatuses and methods for determining population count |
| US9697877B2 (en) * | 2015-02-05 | 2017-07-04 | The Board Of Trustees Of The University Of Illinois | Compute memory |
| US10885429B2 (en) * | 2015-07-06 | 2021-01-05 | University Of Dayton | On-chip training of memristor crossbar neuromorphic processing systems |
| US9627052B1 (en) * | 2015-11-24 | 2017-04-18 | Micron Technology, Inc. | Apparatuses and methods for current limitation in threshold switching memories |
| WO2017131792A1 (en) * | 2016-01-30 | 2017-08-03 | Hewlett Packard Enterprise Development Lp | Dot product engine with negation indicator |
| US10529418B2 (en) * | 2016-02-19 | 2020-01-07 | Hewlett Packard Enterprise Development Lp | Linear transformation accelerators |
| JP6794297B2 (en) * | 2016-05-25 | 2020-12-02 | ヌヴォトンテクノロジージャパン株式会社 | Authentication device and authentication method |
| US10176425B2 (en) * | 2016-07-14 | 2019-01-08 | University Of Dayton | Analog neuromorphic circuits for dot-product operation implementing resistive memories |
| US10114613B2 (en) | 2016-09-07 | 2018-10-30 | International Business Machines Corporation | Mixed-precision memcomputing system |
| US10346347B2 (en) * | 2016-10-03 | 2019-07-09 | The Regents Of The University Of Michigan | Field-programmable crossbar array for reconfigurable computing |
| US9852790B1 (en) | 2016-10-26 | 2017-12-26 | International Business Machines Corporation | Circuit methodology for highly linear and symmetric resistive processing unit |
| US11043535B2 (en) | 2017-01-12 | 2021-06-22 | International Business Machines Corporation | High-resistance memory devices |
| US10171084B2 (en) | 2017-04-24 | 2019-01-01 | The Regents Of The University Of Michigan | Sparse coding with Memristor networks |
| US10699778B2 (en) * | 2017-04-28 | 2020-06-30 | Arizona Board Of Regents On Behalf Of Arizona State University | Static random access memory (SRAM) cell and related SRAM array for deep neural network and machine learning applications |
| US10261977B2 (en) | 2017-05-04 | 2019-04-16 | University Of Rochester | Resistive memory accelerator |
| JP7339723B2 (en) | 2017-07-04 | 2023-09-06 | アークレイ株式会社 | Mutant cytochrome protein and its use |
| US10073733B1 (en) | 2017-09-01 | 2018-09-11 | Purdue Research Foundation | System and method for in-memory computing |
| US10943652B2 (en) | 2018-05-22 | 2021-03-09 | The Regents Of The University Of Michigan | Memory processing unit |
| US10692570B2 (en) * | 2018-07-11 | 2020-06-23 | Sandisk Technologies Llc | Neural network matrix multiplication in memory cells |
-
2018
- 2018-05-22 US US15/986,347 patent/US10943652B2/en active Active
-
2019
- 2019-05-01 CN CN201980034397.7A patent/CN112154506A/en active Pending
- 2019-05-01 KR KR1020207033464A patent/KR20210000313A/en not_active Ceased
- 2019-05-01 WO PCT/US2019/030230 patent/WO2019226289A1/en not_active Ceased
- 2019-05-01 EP EP19806838.9A patent/EP3797416A4/en not_active Withdrawn
- 2019-05-21 TW TW108117512A patent/TWI721431B/en not_active IP Right Cessation
-
2021
- 2021-03-05 US US17/194,155 patent/US11562788B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140172937A1 (en) * | 2012-12-19 | 2014-06-19 | United States Of America As Represented By The Secretary Of The Air Force | Apparatus for performing matrix vector multiplication approximation using crossbar arrays of resistive memory devices |
| US20160049195A1 (en) * | 2014-08-12 | 2016-02-18 | Arizona Board Of Regents On Behalf Of Arizona State University | Resistive cross-point architecture for robust data representation with arbitrary precision |
| US20160336064A1 (en) * | 2015-05-15 | 2016-11-17 | Arizona Board Of Regents On Behalf Of Arizona State University | Neuromorphic computational system(s) using resistive synaptic devices |
| US20170256296A1 (en) * | 2016-03-03 | 2017-09-07 | Flashsilicon Incorporation | Digital perceptron |
| US20180114569A1 (en) | 2016-03-11 | 2018-04-26 | Hewlett Packard Enterprise Development Lp | Hardware accelerators for calculating node values of neural networks |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3797416A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| US11562788B2 (en) | 2023-01-24 |
| US20210210138A1 (en) | 2021-07-08 |
| CN112154506A (en) | 2020-12-29 |
| EP3797416A4 (en) | 2022-03-02 |
| US10943652B2 (en) | 2021-03-09 |
| TW202013213A (en) | 2020-04-01 |
| EP3797416A1 (en) | 2021-03-31 |
| KR20210000313A (en) | 2021-01-04 |
| US20190362787A1 (en) | 2019-11-28 |
| TWI721431B (en) | 2021-03-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11562788B2 (en) | Memory processing unit | |
| Yin et al. | High-throughput in-memory computing for binary deep neural networks with monolithically integrated RRAM and 90-nm CMOS | |
| US20260065044A1 (en) | Neuromorphic Computing Device and Operating Method Thereof | |
| US11501829B2 (en) | Resistive random-access memory for embedded computation | |
| US10534840B1 (en) | Multiplication using non-volatile memory cells | |
| US11436478B2 (en) | Control circuit for multiply accumulate circuit of neural network system | |
| US11302392B2 (en) | Analog-to-digital converter and neuromorphic computing device including the same | |
| US12204961B2 (en) | Resistive and digital processing cores | |
| US11081148B2 (en) | Binary weighted voltage encoding scheme for supporting multi-bit input precision | |
| US20190122105A1 (en) | Training of artificial neural networks | |
| US20200410334A1 (en) | Binary weighted voltage encoding scheme for supporting multi-bit input precision | |
| Yan et al. | iCELIA: A full-stack framework for STT-MRAM-based deep learning acceleration | |
| US12254945B2 (en) | Neuromorphic device | |
| CN114207724B (en) | Device and method for controlling gradual changes in resistance in synaptic elements | |
| US10200058B1 (en) | Analog-to-digital conversion with magnetic tunnel junctions | |
| CN116167420A (en) | Analog-digital hybrid computing method and neuromorphic system using the same | |
| Imani et al. | Digital-based processing in-memory: A highly-parallel accelerator for data intensive applications | |
| WO2022029790A1 (en) | A flash adc based method and process for in-memory computation | |
| Dong et al. | Rectified-linear and recurrent neural networks built with spin devices | |
| KR102419201B1 (en) | Neuromorphic synapse device having multi-bit characteristic and operation method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19806838 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 20207033464 Country of ref document: KR Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2019806838 Country of ref document: EP Effective date: 20201222 |

