Resistive memory elements referred to as memristors are devices that may be programmed to different resistive states by applying electrical voltage or currents to the memristors. After programming, the state of the memristors may be read. The state of the memristors remains stable over a specified time period long enough to regard the device as non-volatile. A number of memristors may be included within a crossbar array in which a number of column lines intersect with a number of row lines at junctions, and the memristors are coupled to the column lines and row lines at the junctions.
The accompanying drawings illustrate various examples of the principles described herein and are a part of the specification. The illustrated examples are merely examples and do not limit the scope of the claims.
The need for fast and efficient vector-matrix processing techniques arises in many computing applications. For example, vector-matrix operations are utilized in data-compression, digital data processing, neural networks, encryption and optimization, to name a few. A memristive crossbar array can be used to perform vector-matrix or dot product computations. For example, an input voltage signal from each row of the crossbar is weighted by the conductance of the resistive devices in each column and accumulated as the current output from each column. Ideally, if wire resistances can be ignored, the current vector, I, flowing out of the crossbar array will be approximately IT=VTG, where V is the input voltage vector and G is the conductance matrix, including contributions from each memristor in the memristive crossbar array.
The use of memristors at each junction or cross-point of the crossbar array enables programming the resistance (or conductance) at each such junction corresponding to the values of G, leading to use of the crossbar array as a dot product engine (DPE). However, real circuits possess resistance in the wires, lines, or electrodes that connect the memristors along each column or row, as well as in the memristors at each junction. The resistance attributable to the wires can result in signal degradation—e.g., decrease in voltage—along each row or column. The disclosure provided herein describes a vector-matrix processing system and method utilizing memristor-based crossbar arrays that reduces signal degradation caused by resistance in the wires, lines, or electrodes connecting the memristors along the rows and columns of the crossbar array.
Various examples of the principles disclosed herein are directed to crossbar-memory systems and their use in performing vector-matrix calculations. Memristor crossbar arrays implement matrices and can lead to substantial increases in performance in vector processing when compared to, e.g., graphics processing units or similar accelerators. The low operating energy of memristors can also lead to substantial reductions in power consumption.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present systems and methods. It will be apparent, however, to one skilled in the art that the present apparatus, systems, and methods may be practiced without these specific details. Reference in the specification to “an example” or similar language means that a particular feature, structure, or characteristic described in connection with that example is included as described, but may not be included in other examples.
Turning now to the figures,
The computing system (100) may be utilized in any data processing scenario including, stand-alone hardware, mobile applications, through a computing network, or combinations thereof. Further, the computing system (100) may be used in a computing network, a public cloud network, a private cloud network, a hybrid cloud network, other forms of networks, or combinations thereof. In one example, the methods provided by the computing system (100) are provided as a service over a network by, for example, a third party. In this example, the service may include, for example, the following: a Software as a Service (SaaS) hosting a number of applications; a Platform as a Service (PaaS) hosting a computing platform including, for example, operating systems, hardware, and storage, among others; an Infrastructure as a Service (IaaS) hosting equipment such as, for example, servers, storage components, network, and components, among others; application program interface (API) as a service (APIaaS), other forms of network services, or combinations thereof. The present systems may be implemented on one or multiple hardware platforms, in which the modules in the system can be executed on one or across multiple platforms. Such modules can run on various forms of cloud technologies and hybrid cloud technologies or offered as a SaaS (Software as a service) that can be implemented on or off the cloud. In another example, the methods provided by the computing system (100) are executed by a local administrator.
To achieve its desired functionality, the computing system (100) includes various hardware components. Among these hardware components may be a number of processors (101), a number of data storage devices (102), a number of peripheral device adapters (103), and a number of network adapters (104). These hardware components may be interconnected through the use of a number of busses and/or network connections. In one example, the processor (101), data storage device (102), peripheral device adapters (103), and a network adapter (104) may be communicatively coupled via a bus (105).
The processor (101) may include the hardware architecture to retrieve executable code from the data storage device (102) and execute the executable code. The executable code may, when executed by the processor (101), cause the processor (101) to implement at least the functionality of applying a number of first voltages to a corresponding number of row lines within a memristive cross-bar array to change the resistive values of a corresponding number of memristors located at junctions between the row lines and a number of column lines, the first voltages representing a corresponding number of values within a matrix, respectively. The executable code may, when executed by the processor (101), also cause the processor (101) to implement at least the functionality of applying a number of second voltages to a corresponding number of row lines within a memristive cross-bar array, the second voltages representing a corresponding number of vector values. The executable code may, when executed by the processor (101), further cause the processor (101) to implement at least the functionality of collecting the output currents from the column lines, the collected output currents representing the dot product. The functionality of the computing system (100) is in accordance to the methods of the present specification described herein. In the course of executing code, the processor (101) may receive input from and provide output to a number of the remaining hardware units.
The data storage device (102) may store data such as executable program code that is executed by the processor (101) or other processing device. As will be discussed, the data storage device (102) may specifically store computer code representing a number of applications that the processor (101) executes to implement at least the functionality described herein.
The data storage device (102) may include various types of memory modules, including volatile and nonvolatile memory. For example, the data storage device (102) of the present example includes Random Access Memory (RAM) (106), Read Only Memory (ROM) (107), and Hard Disk Drive (HDD) memory (108). Many other types of memory may also be utilized, and the present specification contemplates the use of many varying type(s) of memory in the data storage device (102) as may suit a particular application of the principles described herein. In certain examples, different types of memory in the data storage device (102) may be used for different data storage needs. For example, in certain examples the processor (101) may boot from Read Only Memory (ROM) (107), maintain nonvolatile storage in the Hard Disk Drive (HDD) memory (108), and execute program code stored in Random Access Memory (RAM) (106).
The data storage device (102) may include a computer readable medium, a computer readable storage medium, or a non-transitory computer readable medium, among others. For example, the data storage device (102) may be, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium may include, for example, the following: an electrical connection having a number of wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store computer usable program code for use by or in connection with an instruction execution system, apparatus, or device. In another example, a computer readable storage medium may be any non-transitory medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The hardware adapters (103, 104) in the computing system (100) enable the processor (101) to interface with various other hardware elements, external and internal to the computing system (100). For example, the peripheral device adapters (103) may provide an interface to input/output devices, such as, for example, display device (109), a mouse, or a keyboard. The peripheral device adapters (103) may also provide access to other external devices such as an external storage device, a number of network devices such as, for example, servers, switches, and routers, client devices, other types of computing devices, and combinations thereof.
The display device (109) may be provided to allow a user of the computing system (100) to interact with and implement the functionality of the computing system (100). The peripheral device adapters (103) may also create an interface between the processor (101) and the display device (109), a printer, or other media output devices. The network adapter (104) may provide an interface to other computing devices within, for example, a network, thereby enabling the transmission of data between the computing system (100) and other devices located within the network.
The computing system (100) may, when executed by the processor (101), display the number of graphical user interfaces (GUIs) on the display device (109) associated with the executable program code representing the number of applications stored on the data storage device (102). The GUIs may display, for example, interactive screenshots that allow a user to interact with the computing system (100) to input matrix and vector values in association with a double bias dot product engine (DPE) memristive array (110) as will be described in more detail below. Additionally, via making a number of interactive gestures on the GUIs of the display device (109), a user may obtain a dot product value based on the input data. Examples of display devices (109) include a computer screen, a laptop screen, a mobile device screen, a personal digital assistant (FDA) screen, and a tablet screen, among other display devices (106).
The computing system (100) may further include a double bias DPE memristive array (110). As will be described in more detail below, the double bias DPE memristive array (110) includes a number of elements including a number of memristors that function together within an array to perform a weighted sum of multiple inputs. The double bias DPE memristive array (110) may be used in a number of applications. For example, the double bias DPE memristive array (110) may be used as a threshold logic gate (TLG) to perform a matrix product to compare the output with a threshold. Thus, the double bias DPE memristive array (110) may be used as an accelerator in which the double bias DPE memristive array (110) performs a number of functions faster than is possible in software running on a more general-purpose processing device. Although the double bias DPE memristive array (110) is depicted as being a device internal to the computing system (100), in another example, the double bias DPE memristive array (110) may be a peripheral device coupled to the computing system (100) or included within a peripheral device coupled to the computing system (100).
The computing system (100) further includes a number of modules used in the implementation of the systems and methods described herein. The various modules within the computing system (100) include executable program code that may be executed separately. In this example, the various modules may be stored as separate computer program products. In another example, the various modules within the computing system (100) may be combined within a number of computer program products; each computer program product including a number of the modules.
The computing system (100) may include a dot product engine module (111) to, when executed by the processor (101), assist in the functionality of the double bias DPE memristive array (110). The dot product engine module (111), for example, receives a number of input values defining a matrix to be processed in a dot product mathematical calculation. The dot product engine module (111) may send the input values to the double bias DPE memristive array (110) as programming signals to a number of memristors within the double bias DPE memristive array (110) to program the memristors. The dot product engine module (111) may also receive a vector input to be processed in connection with the matrix programmed into the memristors. The dot product engine module (111) may further obtain a value representing the dot product, and convey that value as data to the computing system (100) or another computing device for analysis or further processing.
At electrode intersections, electronic components, such as resistors, and other electronic components, can be fabricated to interconnect two overlapping electrodes (202, 204). An electrode intersection connected by electronic components is sometimes called a “crossbar junction.”
The dot-product engine (300) may also include other peripheral circuitry associated with crossbar arrays (302) used as storage devices. For example, the vector input (310) may include drivers connected to the row electrodes (304). An address decoder can be used to select a row electrode (304) and activate a driver corresponding to the selected row electrode (304). The driver for a selected row electrode (304) can drive a corresponding row electrode (304) with different voltages corresponding to a vector-matrix multiplication or the process of setting resistance values within the memristive elements (308) of the crossbar array (302). Similar driver and decoder circuitry may be included for the column electrodes (306). Control circuitry may also be used to control application of voltages at the inputs and reading of voltages at the outputs of the dot-product engine (300). Digital to analog circuitry and analog to digital circuitry may be used at the vector inputs (310) and at the vector output (314). Input signals to the row electrodes (304) and column electrodes (306) can be either analog or digital. The peripheral circuitry above described can be fabricated using semiconductor processing techniques in the same integrated structure or semiconductor die as the crossbar array (302) in the above example.
In operation, vector and matrix multiplications may be executed through the dot-product engine (300) by applying a set of voltages VI (310) along the rows (304) of the N×M crossbar array (302) and collecting the currents through the columns (306) and measuring the output voltage VO (314). On each column, every input voltage (310) is weighted by the corresponding memristance (1/Gij) and the weighted summation is reflected at the output voltage (314). Using Ohm's law, the relation between the input voltages (310) and output voltages (314) can be represented by a vector matrix multiplication of the form: {VO}T=−{VI}T[G]RS, where Gij is an N×M matrix determined by the conductance (inverse of resistance) of the crossbar array (302), RS is the resistance value of the sense amplifiers and T denotes the transpose of the M×1 and N×1 vectors, VO and VI, respectively. The negative sign follows from use of a negative feedback operational amplifier in the sense amplifiers. From the foregoing, it follows that the dot-product engine (300) can be utilized for vector processing and, more specifically, for multiplying a first vector of values {bi}T by a matrix of values [aij] to obtain a second vector of values {cj}T, where i=1, N and j=1, M. The vector operation can be set forth in more detail as follows.
a11b1+a21b2+ . . . +aN1bN=c1
a1Mb1+a2Mb2+ . . . +aNMbN=cM.
The vector processing or multiplication using the principles described herein generally starts by mapping a matrix of values [aij] onto the crossbar array (302) or, stated otherwise, programming—e.g.; writing—conductance values Gij into the crossbar junctions of the array (302). With reference still to
In accordance with one example of the principles disclosed herein, the memristors used for the dot product engines (300) have a linear current-voltage relation, Linear current-voltage relations permit higher accuracy in the vector multiplication process. However, crossbar arrays (302) having linear memristors are prone to having large sneak path currents during programming of the array (302), particularly when the size of the crossbar array (302) is larger than a certain size, for instance, 32×32. In such cases, the current running through a selected memristor may not be sufficient to program the memristor because most of the current runs through the sneak paths. Alternatively, the memristor may be programmed at an inaccurate value because of the sneak paths. To alleviate the sneak path currents in such instances, and especially when larger arrays are desired, an access device, such as a non-linear selector or transistor (e.g., a normally ON depletion mode transistor) may be incorporated within or utilized together with the memristive element (308) to minimize the sneak path currents in the array. More specifically, the memristive element (308) should be broadly interpreted to include memristive devices including, for example, a memristor, a memristor and selector, or a memristor and transistor.
In one example according to the principles described herein, the first input vector (510) of voltage inputs is applied or connected to the row electrodes (504) adjacent the j=1 column electrode while the second input vector (512) of voltage inputs is applied or connected to the row electrodes (504) adjacent the j=M column electrode. Additional examples position the first and second input vectors (510, 512) of voltage inputs at different locations on the crossbar array (502), such as, for example, the j=¼M and j=¾M columns. In other examples, three or more input vectors (510, 512) of voltage inputs may be utilized. Generally, the voltage inputs will be different for each row. In
In operation, similar to that described above, a matrix of values [aij] is mapped onto the crossbar array (502), which proceeds by programming—e.g., writing—conductance values Gij into the crossbar junctions of the array (502). In one example, each of the conductance values Gij is set by sequentially imposing a voltage drop over each of the crossbar junctions (
As is apparent from the distributions, the double-bias voltage input scheme provides increased accuracy over the single-bias input scheme discussed above in at least two regards First, the signal degradation is generally symmetric, with the largest degradation occurring near the middle of the array (
Operation of the dot-product engine (800) is similar to that described above. A matrix of values [a] is mapped onto the crossbar array (802) in the same manner as described above—e.g., each of the conductance values Gij is set by sequentially imposing a voltage drop over each of the crossbar junctions. Following programming, operation of the dot-product engine (800) proceeds by applying the first vector of input voltages (810) at the corresponding row electrodes (804) adjacent the j=1 column electrode (806) of the array (802) and the second vector of input voltages (812) at the corresponding row electrodes (804) adjacent the j=M column electrode (806) of the array (802). The output voltages are read at the first vector output register or vector output (814) and the second vector output register or vector output (822). The final result of the matrix multiplication is obtained by adding the voltages read at the first and second output vectors (814, 822).
Referring now to
Aspects of the present system and method are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to examples of the principles described herein. Each block of the flowchart illustrations and block diagrams, and combinations of blocks in the flowchart illustrations and block diagrams, may be implemented by computer usable program code. The computer usable program code may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer usable program code, when executed via, for example, the processor (
The preceding description has been presented to illustrate and describe examples of the principles described. This description is not intended to be exhaustive or to limit these principles to any precise form disclosed. Many modifications and variations are possible in light of the above teaching.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2014/063213 | 10/30/2014 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2016/068953 | 5/6/2016 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8395929 | Siau | Mar 2013 | B2 |
8559209 | Siau | Oct 2013 | B2 |
8611134 | Carter | Dec 2013 | B2 |
20070279961 | Rinerson | Dec 2007 | A1 |
20110286259 | Perner | Nov 2011 | A1 |
20120106253 | Scheuerlein et al. | May 2012 | A1 |
20140104922 | Tiburzi et al. | Apr 2014 | A1 |
20140172937 | Linderman et al. | Jun 2014 | A1 |
20150117104 | Senoo | Apr 2015 | A1 |
20180068722 | Friedman | Mar 2018 | A1 |
Number | Date | Country |
---|---|---|
WO-2013162553 | Oct 2013 | WO |
Entry |
---|
International Searching Authority, The International Search Report and the Written Opinion, PCT/US2014/063213, dated Jul. 8, 2015, 9 Pages. |
Zhaoa, W.S. et al., Design and Analysis of Crossbar Architecture Based on Complementary Resistive Switching Non-volatile Memory Cells, Journal of Parallel and Distributed Computer, Aug. 3, 2013, < http://www.ief.u-psud.fr/˜zhao/papers/2013/jpdc.pdf>, 13 pages. |
Number | Date | Country | |
---|---|---|---|
20170316828 A1 | Nov 2017 | US |