Decoding System and Physical Layout for Analog Neural Memory in Deep Learning Artificial Neural Networks

By combining CMOS technology and nonvolatile memory arrays, the coding system and physical layout are improved, and the shortcomings of artificial neural network hardware technology in the existing technology are solved, efficient vector matrix multiplication and space utilization efficiency are achieved, which is suitable for the high-performance implementation of deep learning artificial neural networks.

JP7668307B2Active Publication Date: 2025-04-24SILICON STORAGE TECHNOLOGY INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023111962
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-07-03
Filing Date
2023-07-07
Publication Date
2025-04-24
Estimated Expiration
2039-11-17

AI Technical Summary

Technical Problem

The prior art lacks appropriate hardware technology when developing high-performance artificial neural networks, especially in the encoding system and physical layout of nonvolatile memory cells, making it difficult to achieve efficient vector matrix multiplication operations, and at the same time there is a problem of low space utilization efficiency.

Method used

Using a coding system and physical layout combining CMOS technology and nonvolatile memory arrays, through improved line decoder and control gate decoder design, the encoding and operation mode of nonvolatile memory units is optimized, space utilization efficiency is improved, and efficient vector matrix multiplication is supported.

Benefits of technology

It realizes efficient vector matrix multiplication operation, reduces energy consumption and improves space utilization efficiency, and is suitable for high-performance implementation of deep learning artificial neural networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007668307000009
    Figure 0007668307000009
  • Figure 0007668307000010
    Figure 0007668307000010
  • Figure 0007668307000011
    Figure 0007668307000011
Patent Text Reader

Abstract

To provide an improved decoding system and physical layout for an analog neural memory system which uses a non-volatile memory cell.SOLUTION: An analog neural memory system includes a plurality of vector matrix multiplication arrays, a plurality of low voltage row decoders, and a plurality of global high voltage row decoders. Each of the low voltage row decoders provides a row decoder function for one of the plurality of vector matrix multiplication arrays, and each of the global high voltage row decoders is shared by two of the plurality of vector matrix multiplication arrays and provides a high voltage signal to two of the plurality of low voltage row decoders.SELECTED DRAWING: None
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (Priority Claim) This application claims priority to U.S. Provisional Patent Application No. 62 / 840,318, filed April 29, 2019, entitled "DECODING SYSTEM AND PHYSICAL LAYOUT FOR ANALOG NEURAL MEMORY IN DEEP LEARNING ARTIFICIAL NEURAL NETWORK," and U.S. Patent Application No. 16 / 503,355, filed July 3, 2019, entitled "DECODING SYSTEM AND PHYSICAL LAYOUT FOR ANALOG NEURAL MEMORY IN DEEP LEARNING ARTIFICIAL NEURAL NETWORK."

[0002] FIELD OF THEINVENTION An improved decoding system and physical layout is disclosed for an analog neural memory system that utilizes non-volatile memory cells. [Background technology]

[0003] Artificial neural networks mimic biological neural networks (the central nervous systems of animals, particularly the brain), and are used to estimate or approximate functions that may depend on multiple inputs and are generally unknown. Artificial neural networks generally contain layers of interconnected "neurons" that exchange messages.

[0004] FIG. 1 shows an artificial neural network, where the circles represent layers of inputs or neurons. The connections (called synapses) are represented by arrows and have numerical weights that can be adjusted based on experience. This allows the neural network to adapt to the inputs and learn. Typically, a neural network contains multiple layers of inputs. There is typically one or more intermediate layers of neurons, and an output layer of neurons that provides the output of the neural network. At each level, the neurons make decisions, either individually or together, based on the data they receive from the synapses.

[0005] One of the main challenges in the development of artificial neural networks for high-performance information processing is the lack of suitable hardware technologies. In practice, practical neural networks rely on a very large number of synapses, which allows high connectivity between neurons, i.e., a very high degree of parallelization of computation. In principle, such complexity can be achieved by digital supercomputers or dedicated GPU (Graphics Processing Unit) clusters. However, in addition to high costs, these approaches also suffer from poor energy efficiency compared to biological networks, which mainly perform low-precision analog computations and therefore consume much less energy. CMOS analog circuits have been used for artificial neural networks, but most CMOS-implemented synapses are too bulky given the large number of neurons and synapses required.

[0006] Applicant previously disclosed an artificial (analog) neural network utilizing one or more non-volatile memory arrays as synapses in U.S. Patent Application No. 15 / 594,439, published as U.S. Patent Publication No. 2017 / 0337466, which is incorporated by reference. The non-volatile memory array operates as an analog neural memory. The neural network device includes a first plurality of synapses configured to receive a first plurality of inputs and generate a first plurality of outputs therefrom, and a first plurality of neurons configured to receive the first plurality of outputs. The first plurality of synapses includes a plurality of memory cells, each memory cell including spaced apart source and drain regions formed in a semiconductor substrate with a channel region extending therebetween, a floating gate disposed above and insulated from a first portion of the channel region, and a non-floating gate disposed above and insulated from a second portion of the channel region. Each of the plurality of memory cells is configured to store a weight value corresponding to a number of electrons on the floating gate. The plurality of memory cells are configured to multiply the first plurality of inputs by the stored weight values ​​to generate the first plurality of outputs.

[0007] Each non-volatile memory cell used in an analog neural memory system must be erased and programmed to hold a very specific and precise amount of charge, i.e., number of electrons, on its floating gate. For example, each floating gate must hold one of N different values, where N is the number of different weights that can be represented by each cell. Examples of N include 16, 32, 64, 128, and 256.

[0008] One challenge in vector matrix multiplication (VMM) systems is the ability to select specific cells or groups of cells, or possibly entire arrays of cells, for erase, programming, and read operations. A related challenge is improving the use of physical space within a semiconductor die without losing functionality.

[0009] What is needed is an improved decoding system and physical layout for analog neural memory systems that utilize non-volatile memory cells. Summary of the Invention

[0010] An improved decoding system and physical layout is disclosed for an analog neural memory system that utilizes non-volatile memory cells.

[0011]

[0012]

[0013]

[0014]

[0015]

[0016]

[0017]

[0018]

[0019]

[0020]

[0021]

[0022]

[0023]

[0024]

[0025]

[0026]

[0027]

[0028]

[0029]

[0030]

[0031]

[0032]

[0033]

[0034]

[0035]

[0036]

[0037]

[0038]

[0039]

[0040]

[0041]

[0042]

[0043]

[0044]

[0045]

[0046]

[0047]

[0048]

[0049]

[0050]

[0051]

[0052]

[0053]

[0054]

[0055]

[0056]

[0057]

[0058]

[0059]

[0060] [Brief description of the drawings]

[0061] [Figure 1] FIG. 1 illustrates a prior art artificial neural network. [Diagram 2] 1 shows a prior art split-gate flash memory cell. [Diagram 3] 1 illustrates another prior art split-gate flash memory cell. [Figure 4] 1 illustrates another prior art split-gate flash memory cell. [Diagram 5] 1 illustrates another prior art split-gate flash memory cell. [Figure 6] 1 illustrates another prior art split-gate flash memory cell. [Figure 7] 1 shows a prior art stacked gate flash memory cell. [Figure 8] FIG. 1 illustrates various levels of an exemplary artificial neural network that utilizes one or more non-volatile memory arrays. [Figure 9] FIG. 1 is a block diagram illustrating a vector matrix multiplication system. [Figure 10] FIG. 1 is a block diagram illustrating an example artificial neural network utilizing one or more vector-matrix multiplication systems. [Figure 11] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 12] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 13] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 14] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 15] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 16] 1 shows a prior art long-short-term memory system. [Figure 17] An exemplary cell for use in the long- and short-term memory system is shown. [Figure 18] 18 illustrates an embodiment of the exemplary cell of FIG. 17. [Figure 19] 18 illustrates an alternative embodiment of the exemplary cell of FIG. 17. [Figure 20] 1 shows a prior art gated recurrent unit system. [Figure 21] 1 shows an exemplary cell for use in a gated recurrent unit system. [Figure 22] 22 illustrates an embodiment of the exemplary cell of FIG. 21. [Figure 23] 22 illustrates an alternative embodiment of the exemplary cell of FIG. 21. [Figure 24] 4 illustrates another embodiment of a vector matrix multiplication system. [Diagram 25] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 26] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 27] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 28] 4 illustrates another embodiment of a vector matrix multiplication system. [Figure 29] 4 illustrates another embodiment of a vector matrix multiplication system. [Diagram 30] 4 illustrates another embodiment of a vector matrix multiplication system. [Diagram 31] 4 illustrates another embodiment of a vector matrix multiplication system. [Diagram 32] 4 illustrates another embodiment of a vector matrix multiplication system. [Diagram 33] 1 illustrates an example block diagram of a vector matrix multiplication system. [Diagram 34] 1 illustrates an exemplary decoding embodiment of a vector matrix multiplication system. [Diagram 35] 4 illustrates another exemplary decoding embodiment of a vector matrix multiplication system. [Diagram 36] 1 illustrates an exemplary row decoder. [Figure 37] 4 illustrates another exemplary decoding embodiment of a vector matrix multiplication system. [Figure 38] 4 illustrates another exemplary decoding embodiment of a vector matrix multiplication system. [Figure 39] 4 illustrates another exemplary decoding embodiment of a vector matrix multiplication system. [Diagram 40] 1 illustrates one embodiment of a low voltage row decoder. [Diagram 41] 1 illustrates one embodiment of a combined low voltage row decoder and control gate decoder. [Diagram 42] 1 illustrates one embodiment of a bit line decoder. [Diagram 43] 1 shows a vector matrix multiplication system and an input block. [Diagram 44] A multiplexer is shown for receiving outputs from an array and providing inputs to one or more arrays in a multiplexed format. [Figure 45A] 1 illustrates an example layout of a vector matrix multiplication system. [Figure 45B] 1 illustrates an example layout of a vector matrix multiplication system. [Diagram 46] 1 illustrates an example layout of a vector matrix multiplication system. [Figure 47] A word line decoder circuit, a source line decoder circuit, and a high voltage level shifter for use with a vector multiplier matrix are shown. [Figure 48] 1 shows an erase gate decoder circuit, a control gate decoder circuit, a source line decoder circuit, and a high voltage level shifter for use with a vector multiplier matrix. [Figure 49] 1 illustrates another embodiment of a word line driver for use with a vector multiplier matrix. [Figure 50] 1 illustrates another embodiment of a word line driver for use with a vector multiplier matrix. [Figure 51] 4 illustrates another exemplary decoding embodiment of a vector matrix multiplication system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0062] The artificial neural network of the present invention utilizes a combination of CMOS technology and non-volatile memory arrays. Non-volatile Memory Cell

[0063] Digital non-volatile memories are well known. For example, U.S. Patent No. 5,029,130 ​​("the '130 patent"), incorporated herein by reference, discloses an array of split-gate non-volatile memory cells, which are a type of flash memory cell. Such a memory cell 210 is shown in FIG. 2. Each memory cell 210 includes a source region 14 and a drain region 16 formed in a semiconductor substrate 12, with a channel region 18 between the source region 14 and the drain region 16. A floating gate 20 is formed over and insulated from (and controls the conductivity of) a first portion of the channel region 18, and is formed over a portion of the source region 14. A wordline terminal 22 (typically coupled to a wordline) has a first portion disposed above and insulated from (and controls the conductivity of) the second portion of the channel region 18, and a second portion extending upwardly over the floating gate 20. The floating gate 20 and wordline terminal 22 are insulated from the substrate 12 by a gate oxide. A bitline terminal 24 is coupled to the drain region 16.

[0064] The memory cell 210 is erased (electrons are removed from the floating gate) by applying a high positive voltage to the wordline terminal 22, which causes electrons in the floating gate 20 to pass via Fowler-Nordheim tunneling from the floating gate 20 to the wordline terminal 22 through the insulator between them.

[0065] The memory cell 210 is programmed (electrons are applied to the floating gate) by applying a positive voltage to the word line terminal 22 and a positive voltage to the source region 14. An electronic current flows from the source region 14 (source line terminal) towards the drain region 16. The electrons accelerate and heat up when they reach the gap between the word line terminal 22 and the floating gate 20. Some of the heated electrons are injected into the floating gate 20 through the gate oxide due to electrostatic attraction from the floating gate 20.

[0066] The memory cell 210 is read by applying a positive read voltage to the drain region 16 and the word line terminal 22 (turning on the portion of the channel region 18 below the word line terminal). When the floating gate 20 is positively charged (i.e., erased with electrons), the portion of the channel region 18 below the floating gate 20 is also turned on and current flows through the channel region 18, which is detected as the erased or "1" state. When the floating gate 20 is negatively charged (i.e., programmed with electrons), the portion of the channel region below the floating gate 20 is mostly or completely off and no (or very little) current flows through the channel region 18, which is detected as the programmed or "0" state.

[0067] Table 1 shows typical voltage ranges that may be applied to the terminals of memory cell 110 to perform read, erase, and program operations. Table 1: Operation of the Flash Memory Cell 210 of FIG. 2 [Table 1] "Read 1" is a read mode in which the cell current is the output of the bit line. "Read 2" is a read mode in which the cell current is the output of the source line terminal.

[0068] Figure 3 shows a memory cell 310 similar to memory cell 210 of Figure 2 with the addition of a control gate (CG) terminal 28. The control gate terminal 28 is biased at a high voltage (e.g., 10V) during programming, a low or negative voltage (e.g., 0v / -8V) during erasure, and a low or medium voltage (e.g., 0v / 2.5V) during reading. The other terminals are biased similarly to those of Figure 2.

[0069] FIG. 4 shows a four-gate memory cell 410 including a source region 14, a drain region 16, a floating gate 20 above a first portion of a channel region 18, a select gate 22 (typically coupled to a word line, WL) above a second portion of the channel region 18, a control gate 28 above the floating gate 20, and an erase gate 30 above the source region 14. This configuration is described in U.S. Pat. No. 6,747,310, which is incorporated herein by reference for all purposes. Here, all gates, except for the floating gate 20, are non-floating gates, i.e., they are electrically connected or connectable to a voltage source. Programming is performed by heated electrons injecting themselves from the channel region 18 into the floating gate 20. Erasing is performed by electrons tunneling from the floating gate 20 to the erase gate 30.

[0070] Table 2 shows typical voltage ranges that may be applied to the terminals of memory cell 310 to perform read, erase, and program operations. Table 2: Operation of Flash Memory Cell 410 of FIG. [Table 2] "Read 1" is a read mode in which the cell current is the output of the bit line. "Read 2" is a read mode in which the cell current is the output of the source line terminal.

[0071] Figure 5 shows a memory cell 510 similar to memory cell 410 of Figure 4, except that memory cell 510 does not include an erase gate (EG) terminal. Erasing is accomplished by biasing the substrate 18 to a high voltage and the control gate CG terminal 28 to a low or negative voltage. Alternatively, erasure is accomplished by biasing the word line terminal 22 to a positive voltage and the control gate terminal 28 to a negative voltage. Programming and reading are similar to those of Figure 4.

[0072] Figure 6 shows another type of flash memory cell, a three-gate memory cell 610. Memory cell 610 is identical to memory cell 410 of Figure 4, except that memory cell 610 does not have a separate control gate terminal. Erase and read operations (where erasure occurs through the use of the erase gate terminal) are similar to those of Figure 4, except that no control gate bias is applied. Programming operations are also performed without a control gate bias, and as a result, a higher voltage must be applied to the source line terminal during a program operation to compensate for the lack of control gate bias.

[0073] Table 3 shows typical voltage ranges that may be applied to the terminals of memory cell 610 to perform read, erase, and program operations. Table 3: Operation of Flash Memory Cell 610 of FIG. [Table 3] "Read 1" is a read mode in which the cell current is the output of the bit line. "Read 2" is a read mode in which the cell current is the output of the source line terminal.

[0074] Figure 7 shows another type of flash memory cell, a stacked gate memory cell 710. Memory cell 710 is similar to memory cell 210 of Figure 2, except that the floating gate 20 extends over the entire channel region 18, and a control gate terminal 22 (coupled to a wordline) extends over the floating gate 20, separated by an insulating layer (not shown). Erase, programming, and read operations operate in a similar manner as previously described for memory cell 210.

[0075] Table 4 shows typical voltage ranges that may be applied to the terminals of memory cell 710 and substrate 12 to perform read, erase, and program operations. Table 4: Operation of Flash Memory Cell 710 of FIG. [Table 4]

[0076] "Read 1" is a read mode in which the cell current is output on the bit line. "Read 2" is a read mode in which the cell current is output on the source line terminal. Optionally, in an array including rows and columns of memory cells 210, 310, 410, 510, 610, or 710, a source line can be coupled to one row of memory cells or to two adjacent rows of memory cells. That is, a source line terminal can be shared by adjacent rows of memory cells.

[0077] In order to utilize a memory array containing one of the non-volatile memory cell types in an artificial neural network as described above, two modifications are made: First, as explained further below, the lines are configured so that each memory cell can be individually programmed, erased, and read without adversely affecting the memory state of other memory cells in the array; Second, a continuous (analog) programming of the memory cells is provided.

[0078] Specifically, the memory state (i.e., the charge on the floating gate) of each memory cell in the array can be changed continuously from a fully erased state to a fully programmed state, independently and with minimal disturbance to other memory cells. In another embodiment, the memory state (i.e., the charge on the floating gate) of each memory cell in the array can be changed continuously from a fully programmed state to a fully erased state, and vice versa, independently and with minimal disturbance to other memory cells. This means that the cell storage is analog, or can at a minimum store one of many discrete values ​​(such as 16 or 64 different values), making every cell in the memory array very precisely and individually adjustable, and making the memory array ideal for storing and fine-tuning the weights of the synapses of a neural network.

[0079] The methods and means described herein can be applied to other non-volatile memory technologies, such as, but not limited to, SONOS (silicon-oxide-nitride-oxide-silicon, charge traps in nitride), MONOS (metal-oxide-nitride-oxide-silicon, metal charge traps in nitride), ReRAM (resistive RAM), PCM (phase change RAM), MRAM (magnetoresistive RAM), FeRAM (ferroelectric RAM), OTP (bi-level or multi-level one-time programmable) and CeRAM (strongly correlated electron RAM). The methods and means described herein can be applied to, but not limited to, SRAM, DRAM, and volatile memory technologies used in neural networks, such as volatile synapse cells. Neural network using non-volatile memory cell arrays

[0080] 8 conceptually illustrates a non-limiting example of a neural network utilizing the non-volatile memory array of the present embodiments. This example uses the non-volatile memory array neural network for a face recognition application, although other suitable applications can also be implemented using the non-volatile memory array-based neural network.

[0081] S0 is the input layer, which in this example is a 32x32 pixel RGB image with 5-bit precision (i.e., three 32x32 pixel arrays, one for each color R, G, and B, with each pixel being 5-bit precision). Synapse CB1 going from input layer S0 to layer C1 scans the input image with overlapping filters of 3x3 pixels (kernels), applying different sets of weights to some instances and shared weights to other instances, and shifts the filters by one pixel (or two or more pixels, depending on the model). Specifically, the values ​​of the nine pixels in the 3x3 portion of the image (i.e., called filters or kernels) are provided to synapse CB1, which multiplies these nine input values ​​by the appropriate weights, and after summing the outputs of the multiplications, a single output value is determined and given by the first synapse of CB1 to generate one pixel of the layer of feature map C1. The 3x3 filter is then shifted one pixel to the right in the input layer S0 (i.e., add a column of 3 pixels to the right and drop a column of 3 pixels on the left), so that the 9 pixel values ​​of this newly positioned filter are provided to synapse CB1, where they are multiplied by the same weights as above to determine a second single output value by the associated synapse. This process continues until the 3x3 filter scans the entire 32x32 pixel image of input layer S0 for all three colors and all bits (precision values). The process is then repeated using different sets of weights to generate different feature maps of C1, until all feature maps of layer C1 have been calculated.

[0082] In this example, in layer C1, there are 16 feature maps, each with 30x30 pixels. Each pixel is a new feature pixel extracted from the multiplication of the input with a kernel, and thus each feature map is a two-dimensional array, and thus in this example, layer C1 constitutes 16 layers of two-dimensional arrays (note that layers and arrays referred to herein are logical, not necessarily physical, relationships, i.e., arrays are not necessarily oriented in a physical two-dimensional array). Each of the 16 feature maps in layer C1 is generated by one of 16 different sets of synaptic weights applied to the filter scans. The C1 feature maps can all target different aspects of the same image feature, such as boundary identification. For example, a first map (generated using a first set of weights shared by all scans used to generate this first map) can identify circular edges, a second map (generated using a second set of weights different from the first set of weights) can identify square edges, or the aspect ratio of a particular feature, etc.

[0083] Before going from layer C1 to layer S1, an activation function P1 (pooling) is applied that pools values ​​from consecutive non-overlapping 2x2 regions in each feature map. The purpose of the pooling function is to average nearby positions (or a max function can be used), e.g. to reduce edge position dependency, and to reduce data size before going to the next stage. In layer S1, there are 16 15x15 feature maps (i.e. 16 different arrays of 15x15 pixels each). Synapse CB2 going from layer S1 to layer C2 scans the maps in S1 with a 4x4 filter with a filter shift of 1 pixel. In layer C2, there are 22 12x12 feature maps. Before going from layer C2 to layer S2, an activation function P2 (pooling) is applied that pools values ​​from consecutive non-overlapping 2x2 regions in each feature map. In layer S2, there are 22 6x6 feature maps. At synapse CB3 going from layer S2 to layer C3, an activation function (pooling) is applied, where every neuron in layer C3 connects to every map in layer S2 through a respective synapse in CB3. There are 64 neurons in layer C3. Synapse CB4 going from layer C3 to output layer S3 fully connects C3 to S3, i.e. every neuron in layer C3 connects to every neuron in layer S3. The output at S3 contains 10 neurons, where the neuron with the highest output determines the class. This output can indicate, for example, the identification or classification of the content of the original image.

[0084] Each layer of synapses is implemented using an array or part of an array of non-volatile memory cells.

[0085] 9 is a block diagram of a system that can be used for that purpose. A vector matrix multiplication (VMM) system 32 includes non-volatile memory cells and is utilized as a synapse between one layer and the next (such as CB1, CB2, CB3, and CB4 in FIG. 6). Specifically, the VMM system 32 includes a VMM array 33 including non-volatile memory cells arranged in rows and columns, an erase gate and word line gate decoder 34, a control gate decoder 35, a bit line decoder 36, and a source line decoder 37 that decode the respective inputs to the non-volatile memory cell array 33. Inputs to the VMM array 33 can come from the erase gate and word line gate decoder 34 or from the control gate decoder 35. The source line decoder 37 in this example also decodes the output of the VMM array 33. Alternatively, the bit line decoder 36 can decode the output of the VMM array 33.

[0086] The VMM array 33 serves two purposes. First, it stores the weights used by the VMM system 32. Second, it effectively multiplies the inputs by the weights stored in the VMM array 33 and sums them for each output line (source line or bit line) to generate an output, which becomes the input to the next layer or the input to the last layer. By performing multiplication and addition functions, the VMM array 33 eliminates the need for separate multiplication and addition logic and is also power efficient with on-the-fly memory computations.

[0087] The outputs of the VMM array 33 are fed to a differential summer (such as a summing op-amp or summing current mirror) 38, which sums the outputs of the VMM array 33 to create a single value for the convolution. The differential summer 38 is arranged to perform a summation of both the positive and negative weight inputs to output a single value.

[0088] The summed output values ​​of the differential summer 38 are then fed to an activation function circuit 39 which rectifies the output. The activation function circuit 39 may provide a sigmoid function, a tanh function, a ReLU function, or any other non-linear function. The rectified output values ​​of the activation function circuit 39 become elements of the feature map of the next layer (e.g., C1 in FIG. 8) and are then applied to the next synapse to generate the next feature map layer or the last layer. Thus, in this example, the VMM array 33 constitutes a number of synapses (receiving input from a previous layer of neurons or from an input layer such as an image database), and the summer 38 and activation function circuit 39 constitute a number of neurons.

[0089] The inputs to the VMM system 32 of FIG. 9 (WLx, EGx, CGx, and optionally BLx and SLx) may be analog levels, binary levels, digital pulses (in which case a pulse-to-analog converter PAC may be required to convert the pulses to appropriate input analog levels) or digital bits (in which case a DAC is provided to convert the digital bits to appropriate input analog levels), and the outputs may be analog levels, binary levels, digital pulses, or digital bits (in which case an output ADC is provided to convert the output analog levels to digital bits).

[0090] FIG. 10 is a block diagram illustrating the use of multiple layers of the VMM system 32, labeled in the figure as VMM systems 32a, 32b, 32c, 32d, and 32e. As shown in FIG. 10, an input (denoted Inputx) is converted from digital to analog by a digital-to-analog converter 31 and provided to the input VMM system 32a. The converted analog input can be a voltage or a current. The first layer input D / A conversion can be done by using a function or a LUT (look-up table) that maps the input Inputx to the appropriate analog level of the matrix multiplier of the input VMM system 32a. The input conversion can also be done by an analog-to-analog (A / A) converter to convert an external analog input to a mapped analog input to the input VMM system 32a. The input conversion can also be done by a digital-to-digital pulse (D / P) converter to convert an external digital input to a mapped digital pulse(s) to the input VMM system 32a.

[0091] The output generated by the input VMM system 32a is then provided as input to the next VMM system (hidden level 1) 32b, which in turn generates an output that is provided as input to the next VMM system (hidden level 2) 32c, and so on. The various layers of the VMM systems 32 function as layers of synapses and neurons of a convolutional neural network (CNN). Each of the VMM systems 32a, 32b, 32c, 32d, and 32e may be a standalone physical non-volatile memory array, or the multiple VMM systems may utilize different portions of the same physical non-volatile memory array, or the multiple VMM systems may utilize overlapping portions of the same physical non-volatile memory system. Each VMM system 32a, 32b, 32c, 32d, and 32e may also be time multiplexed to various portions of its array or neurons. The example shown in Figure 10 includes five layers (32a, 32b, 32c, 32d, 32e): one input layer (32a), two hidden layers (32b, 32c), and two fully connected layers (32d, 32e). Those skilled in the art will appreciate that this is merely an example and that the system may instead include more than two hidden layers and more than two fully connected layers. VMM Array

[0092] Figure 11 shows a neuron VMM array 1100 that is particularly suited for memory cells 310 shown in Figure 3 and is utilized as part of the synapses and neurons between the input layer and the next layer. The VMM array 1100 includes a memory array 1101 of non-volatile memory cells and a reference array 1102 of non-volatile reference memory cells (located at the top of the array). Alternatively, a separate reference array could be located at the bottom.

[0093] In the VMM array 1100, control gate lines such as control gate line 1103 run vertically (so that row-wise reference array 1102 is orthogonal to control gate line 1103) and erase gate lines such as erase gate line 1104 run horizontally. Here, inputs to the VMM array 1100 are provided on the control gate lines (CG0, CG1, CG2, CG3) and outputs of the VMM array 1100 appear on the source lines (SL0, SL1). In one embodiment, only even rows are used, and in another embodiment, only odd rows are used. The current applied to each source line (SL0, SL1, respectively) performs a function of the sum of all the currents from the memory cells connected to that particular source line.

[0094] As described herein for neural networks, the non-volatile memory cells of VMM array 1100, ie, the flash memory of VMM array 1100, are preferably configured to operate in the sub-threshold region.

[0095] The non-volatile reference memory cells and non-volatile memory cells described herein are biased in weak inversion as follows: Ids=Io * e (Vg-Vth) / nVt =w * Io * e (Vg) / nVt In the formula, w=e (-Vth) / nVt It is. where Ids is the drain-source current, Vg is the gate voltage of the memory cell, Vth is the threshold voltage of the memory cell, and Vt is the thermal voltage=k * T / q, k is the Boltzmann constant, T is temperature in Kelvin, q is the electron charge, n is the slope coefficient=1+(Cdep / Cox), Cdep=the capacitance of the depletion layer, and Cox is the capacitance of the gate oxide layer, Io is the memory cell current at a gate voltage equal to the threshold voltage, and Io is (Wt / L) * u * Cox * (n-1) * Vt 2where u is the carrier mobility, and Wt and L are the width and length of the memory cell, respectively.

[0096] When using an IV log converter that converts the input current Ids to an input voltage Vg using a memory cell (such as a reference memory cell or a peripheral memory cell) or transistor: Vg=n * Vt * log[Ids / wp * Io] where wp is the w of the reference or periphery memory cell.

[0097] For a memory array used as a vector matrix multiplier VMM array, the output current is: Iout=wa * Io * e (Vg) / nVt , i.e. Iout = (wa / wp) * Iin=W * Iin W=e (Vthp-Vtha) / nVt Iin=wp * Io * e (Vg) / nVt where wa=w for each memory cell in the memory array.

[0098] The word line or control gate can be used as the input of the memory cell for an input voltage.

[0099] Alternatively, the non-volatile memory cells of the VMM arrays described herein can be configured to operate in the linear region. Ids=β * (Vgs-Vth) * Vds;β=u * Cox * Wt / L Wα(Vgs-Vth) That is, the weight W in the linear region is proportional to (Vgs-Vth)

[0100] The word line or control gate or bit line or source line can be used as the input of a memory cell operating in the linear region. The bit line or source line can be used as the output of the memory cell.

[0101] For an IV linear converter, memory cells (such as reference or peripheral memory cells) or transistors operating in the linear region, or resistors can be used to linearly convert input and output currents to input and output voltages.

[0102] Alternatively, the flash memory cells of the VMM arrays described herein can be configured to operate in the saturation region. Ids=1 / 2 * β * (Vgs-Vth) 2 ;β=u * Cox * Wt / L Wα(Vgs-Vth) 2 , that is, the weight W is (Vgs-Vth) 2 Proportional to

[0103] The word lines, control gates, or erase gates can be used as inputs for memory cells operating in the saturation region, and the bit lines or source lines can be used as outputs for output neurons.

[0104] Alternatively, the memory cells of the VMM arrays described herein may be used in all regions or combinations thereof (sub-threshold, linear, or saturation).

[0105] Other embodiments for the VMM array 32 of Figure 9 are described in U.S. Patent Application Serial No. 15 / 826,345, which is incorporated herein by reference. As described in that application, the source lines or bit lines can be used as neuron outputs (current sum outputs).

[0106] FIG. 12 shows a neuron VMM array 1200 that is particularly suitable for the memory cells 210 shown in FIG. 2 and used as synapses between an input layer and the next layer. The VMM array 1200 includes a memory array 1203 of non-volatile memory cells, a reference array 1201 of a first non-volatile reference memory cell, and a reference array 1202 of a second non-volatile reference memory cell. The reference arrays 1201 and 1202 arranged in the columns of the array serve to convert current inputs flowing into terminals BLR0, BLR1, BLR2, and BLR3 into voltage inputs WL0, WL1, WL2, and WL3. In practice, the first and second non-volatile reference memory cells are diode-connected through a multiplexer 1214 (only some of which are shown) with current inputs flowing into them. The reference cells are adjusted (e.g., programmed) to a target reference level. The target reference level is provided by a reference mini-array matrix (not shown).

[0107] The memory array 1203 serves two purposes. First, it stores the weights used by the VMM array 1200 in each memory cell. Second, it effectively multiplies the inputs (i.e., the current inputs provided to terminals BLR0, BLR1, BLR2, and BLR3, which the reference arrays 1201 and 1202 convert to input voltages and provide to word lines WL0, WL1, WL2, and WL3) by the weights stored in the memory array 1203, and then adds all the results (memory cell currents) to generate outputs for each bit line (BL0-BLN), which are the inputs to the next layer or the last layer. With the memory array 1203 performing the multiplication and addition functions, the need for separate multiplication and addition logic is eliminated and is also power efficient. Here, voltage inputs are provided to word lines WL0, WL1, WL2, and WL3, and outputs appear on bit lines BL0-BLN, respectively, during read (inference) operations. The current placed on each bit line BL0-BLN performs a function of the sum of the currents from all the non-volatile memory cells connected to that particular bit line.

[0108] Table 5 shows the operating voltages for VMM array 1200. The columns in the table indicate the voltages applied to the word line of the selected cell, the word lines of the unselected cells, the bit lines of the selected cells, the bit lines of the unselected cells, the source lines of the selected cells, and the source lines of the unselected cells, and FLT indicates floating, i.e., no voltage is applied. The rows indicate the operations of read, erase, and program. Table 5: Operation of VMM Array 1200 in FIG. 12 [Table 5]

[0109] FIG. 13 illustrates a neuron VMM array 1300 that is particularly suited for the memory cells 210 shown in FIG. 2 and is utilized as part of synapses and neurons between an input layer and the next layer. The VMM array 1300 includes a memory array 1303 of non-volatile memory cells, a reference array 1301 of first non-volatile reference memory cells, and a reference array 1302 of second non-volatile reference memory cells. The reference arrays 1301 and 1302 run in the row direction of the VMM array 1300. The VMM array is similar to the VMM 1000, except that the word lines run vertically in the VMM array 1300. Here, inputs are provided to the word lines (WLA0, WLB0, WLA1, WLB2, WLA2, WLB2, WLA3, WLB3) and outputs appear on the source lines (SL0, SL1) during a read operation. The current applied to each source line performs a function of the sum of all the currents from the memory cells connected to that particular source line.

[0110] Table 6 shows the operating voltages for VMM array 1300. The columns in the table show the voltages applied to the word line of the selected cell, the word lines of the unselected cells, the bit lines of the selected cells, the bit lines of the unselected cells, the source lines of the selected cells, and the source lines of the unselected cells. The rows show the operations of read, erase, and program. Table 6: Operation of VMM Array 1300 in FIG. 13 [Table 6]

[0111] 14 shows a neuron VMM array 1400 that is particularly suited for the memory cells 310 shown in FIG. 3 and is used as part of synapses and neurons between the input layer and the next layer. The VMM array 1400 includes a memory array 1403 of non-volatile memory cells, a reference array 1401 of a first non-volatile reference memory cell, and a reference array 1402 of a second non-volatile reference memory cell. The reference arrays 1401 and 1402 function to convert current inputs flowing into terminals BLR0, BLR1, BLR2, and BLR3 to voltage inputs CG0, CG1, CG2, and CG3. In practice, the first and second non-volatile reference memory cells are diode-connected through a multiplexer 1412 (only a portion of which is shown), with the current inputs flowing through BLR0, BLR1, BLR2, and BLR3. The multiplexers 1412 each include a respective multiplexer 1405 and cascoding transistor 1404 to ensure a constant voltage on the bit line (e.g., BLR0) of each of the first and second non-volatile reference memory cells during a read operation. The reference cells are adjusted to a target reference level.

[0112] The memory array 1403 serves two purposes. First, it stores the weights used by the VMM array 1400. Second, it effectively multiplies the inputs (current inputs provided to terminals BLR0, BLR1, BLR2, and BLR3, which the reference arrays 1401 and 1402 convert to input voltages and provide to control gates CG0, CG1, CG2, and CG3) by the weights stored in the memory cell array, and then adds all the results (cell currents) to produce an output that appears on BL0-BLN and is the input to the next layer or the input to the last layer. Having the memory array perform the multiplication and addition functions eliminates the need for separate multiplication and addition logic circuits and is also power efficient, where the inputs are provided to the control gate lines (CG0, CG1, CG2, and CG3) and the outputs appear on the bit lines (BL0-BLN) during a read operation. The current applied to each bit line is a function of the sum of all the currents from the memory cells connected to that particular bit line.

[0113] The VMM array 1400 performs one-way conditioning of the non-volatile memory cells in the memory array 1403. That is, each non-volatile memory cell is erased and then partially programmed until the desired charge on the floating gate is reached. This can be done, for example, using the precision programming techniques described below. If too much charge is added to the floating gate (such as an incorrect value being stored in the cell), the cell must be erased and the series of partial programming operations must be redone. As shown, two rows that share the same erase gate (such as EG0 or EG1) must be erased together (known as a page erase), and then each cell is partially programmed until the desired charge on the floating gate is reached.

[0114] Table 7 shows the operating voltages for the VMM array 1400. The columns in the table show the voltages applied to the word line of the selected cell, the word lines of the unselected cells, the bit line of the selected cell, the bit lines of the unselected cells, the control gate of the selected cell, the control gates of the unselected cells in the same sector as the selected cell, the control gates of the unselected cells in a different sector than the selected cell, the erase gate of the selected cell, the erase gates of the unselected cells, the source line of the selected cell, and the source lines of the unselected cells. The rows show the read, erase, and program operations. Table 7: Operation of VMM Array 1400 in FIG. 14 [Table 7]

[0115] FIG. 15 shows a neuron VMM array 1500 that is particularly suited for the memory cells 310 shown in FIG. 3 and is utilized as part of synapses and neurons between an input layer and the next layer. The VMM array 1500 includes a memory array 1503 of non-volatile memory cells, a reference array 1501 or a first non-volatile reference memory cell, and a reference array 1502 of a second non-volatile reference memory cell. The EG lines EGR0, EG0, EG1, and EGR1 run vertically, and the CG lines CG0, CG1, CG2, and CG3 and the SL lines WL0, WL1, WL2, and WL3 run horizontally. The VMM array 1500 is similar to the VMM array 1400, except that the VMM array 1500 implements bidirectional tuning, and each individual cell can be fully erased, partially programmed, and partially erased as needed to reach a desired amount of charge on the floating gate through the use of individual EG lines. As shown, reference arrays 1501 and 1502 convert the input currents in terminals BLR0, BLR1, BLR2 and BLR3 into control gate voltages CG0, CG1, CG2 and CG3 (through the action of diode-connected reference cells via multiplexer 1514) which are applied to the memory cells in the row direction. The current outputs (neurons) are in bit lines BL0-BLN, each of which sums all the currents from the non-volatile memory cells connected to that particular bit line.

[0116] Table 8 shows the operating voltages for the VMM array 1500. The columns in the table show the voltages applied to the word line of the selected cell, the word lines of the unselected cells, the bit line of the selected cell, the bit lines of the unselected cells, the control gate of the selected cell, the control gates of the unselected cells in the same sector as the selected cell, the control gates of the unselected cells in a different sector than the selected cell, the erase gate of the selected cell, the erase gates of the unselected cells, the source line of the selected cell, and the source lines of the unselected cells. The rows show the read, erase, and program operations. Table 8: Operation of VMM Array 1500 in FIG. 15 [Table 8]

[0117] 24 shows a neuron VMM array 2400 that is particularly suited for memory cells 210 shown in FIG. 2 and is used as part of synapses and neurons between an input layer and the next layer. In the VMM array 2400, inputs INPUT0, ..., INPUT N are bit lines BL0, ..., BL N and outputs OUTPUT1, OUTPUT2, OUTPUT3, and OUTPUT4 are generated on source lines SL0, SL1, SL2, and SL3, respectively.

[0118] 2 shows a neuron VMM array 2500 that is particularly suited for memory cells 210 shown in FIG. 2 and is utilized as part of the synapses and neurons between an input layer and the next layer. In this example, inputs INPUT0, INPUT1, INPUT2, and INPUT3 are received on source lines SL0, SL1, SL2, and SL3, respectively, and outputs OUTPUT0, ..., OUTPUT N are bit lines BL0, ..., BL N is generated.

[0119] 26 shows a neuron VMM array 2600 that is particularly suited for memory cells 210 shown in FIG. 2 and is used as part of synapses and neurons between an input layer and the next layer. In this example, inputs INPUT0, ..., INPUT M are the word lines WL0, ..., WL M are received at OUTPUT0, ..., OUTPUT N are bit lines BL0, ..., BL N is generated.

[0120] 27 shows a neuron VMM array 2700 that is particularly suited for memory cells 310 shown in FIG. 3 and is used as part of synapses and neurons between an input layer and the next layer. In this example, inputs INPUT0, ..., INPUT M are the word lines WL0, ..., WL M are received at OUTPUT0, ..., OUTPUT N are bit lines BL0, ..., BL Nis generated.

[0121] 28 shows a neuron VMM array 2800 that is particularly suited for memory cells 410 shown in FIG. 4 and is used as part of synapses and neurons between an input layer and the next layer. In this example, inputs INPUT0, ..., INPUT n are the vertical control gate lines CG0, ..., CG N and outputs OUTPUT1 and OUTPUT2 are generated on source lines SL0 and SL1.

[0122] 29 illustrates a neuron VMM array 2900 that is particularly suited for memory cells 410 shown in FIG. 4 and is used as part of synapses and neurons between an input layer and the next layer. In this example, inputs INPUT0, ..., INPUT N are bit lines BL0, ..., BL N , 2901-(N-1) and 2901-N, which are respectively coupled to bit line control gates 2901-1, 2901-2, ..., 2901-(N-1) and 2901-N. Exemplary outputs OUTPUT1 and OUTPUT2 are generated on source lines SL0 and SL1.

[0123] 30 shows a neuron VMM array 3000 that is particularly suitable for memory cells 310 shown in FIG. 3, memory cells 510 shown in FIG. 5, and memory cells 710 shown in FIG. 7, and is used as part of synapses and neurons between the input layer and the next layer. In this example, inputs INPUT0, ..., INPUT M are the word lines WL0, ..., WL M OUTPUT0, ..., OUTPUT N are bit lines BL0, ..., BL N are generated respectively.

[0124] 31 shows a neuron VMM array 3100 that is particularly suitable for memory cells 310 shown in FIG. 3, memory cells 510 shown in FIG. 5, and memory cells 710 shown in FIG. 7, and is used as part of synapses and neurons between the input layer and the next layer. In this example, inputs INPUT0, ..., INPUT M are the control gate lines CG0, ..., CG M OUTPUT0, ..., OUTPUT N are the vertical source lines SL0, ..., SL N and each source line SL i is coupled to the source lines of all memory cells in column i.

[0125] 32 shows a neuron VMM array 3200 that is particularly suitable for memory cells 310 shown in FIG. 3, memory cells 510 shown in FIG. 5, and memory cells 710 shown in FIG. 7, and is used as part of synapses and neurons between the input layer and the next layer. In this example, inputs INPUT0, ..., INPUT M are the control gate lines CG0, ..., CG M OUTPUT0, ..., OUTPUT N are the vertical bit lines BL0, ..., BL N and each bit line BL i is coupled to the bit lines of all memory cells in column i. Long and short term memory

[0126] Prior art includes a concept known as long short-term memory (LSTM). LSTM units are often used within neural networks. LSTM allows a neural network to store information for any given period of time and use that information in subsequent operations. A traditional LSTM unit includes a cell, an input gate, an output gate, and a forget gate. The three gates regulate the flow of information into and out of the cell, and the period of time that information is stored within the LSTM. VMMs are particularly useful in LSTM units.

[0127] FIG. 16 illustrates an exemplary LSTM 1600. The LSTM 1600 in this example includes cells 1601, 1602, 1603, and 1604. Cell 1601 receives an input vector x0 and generates an output vector h0 and a cell state vector c0. Cell 1602 receives an input vector x1, an output vector (hidden state) h0 from cell 1601, and a cell state c0 from cell 1601, and generates an output vector h1 and a cell state vector c1. Cell 1603 receives an input vector x2, an output vector (hidden state) h1 from cell 1602, and a cell state c1 from cell 1602, and generates an output vector h2 and a cell state vector c2. Cell 1604 receives an input vector x3, an output vector (hidden state) h2 from cell 1603, and a cell state c2 from cell 1603, and generates an output vector h3. Additional cells can be used, the LSTM with four cells is just an example.

[0128] Figure 17 shows an example implementation of an LSTM cell 1700 that can be used for cells 1601, 1602, 1603, and 1604 in Figure 16. The LSTM cell 1700 receives an input vector x(t), a cell state vector c(t-1) from a previous cell, and an output vector h(t-1) from a previous cell, and produces a cell state vector c(t) and an output vector h(t).

[0129] LSTM cell 1700 includes sigmoid function devices 1701, 1702, and 1703, each of which applies a number between 0 and 1 to control the degree to which each component of the input vector contributes to the output vector. LSTM cell 1700 also includes tanh devices 1704 and 1705 for applying a hyperbolic tangent function to the input vector, multiplier devices 1706, 1707, and 1708 for multiplying two vectors, and adder device 1709 for adding the two vectors. The output vector h(t) can be provided to the next LSTM cell in the system or can be accessed for other purposes.

[0130] FIG. 18 shows an example of an implementation of the LSTM cell 1700, the LSTM cell 1800. For the convenience of the reader, the same numbering scheme from the LSTM cell 1700 is used in the LSTM cell 1800. The sigmoid function devices 1701, 1702, and 1703, and the tanh device 1704 each include a plurality of VMM arrays 1801 and activation circuit blocks 1802. It can therefore be seen that the VMM array is particularly useful in the LSTM cell used in certain neural network systems. The multiplier devices 1706, 1707, and 1708, and the adder device 1709 are implemented in a digital or analog manner. The activation function block 1802 can be implemented in a digital or analog manner.

[0131] An alternative example of LSTM cell 1800 (and another example of an implementation of LSTM cell 1700) is shown in Figure 19. In Figure 19, sigmoid function devices 1701, 1702, and 1703, and tanh device 1704 share the same physical hardware (VMM array 1901 and activation function block 1902) in a time-multiplexed manner. LSTM cell 1900 also includes a multiplier device 1903 for multiplying two vectors, an adder device 1908 for adding two vectors, a tanh device 1705 (which includes activation circuit block 1902), a register 1907 for storing the value i(t) output from sigmoid function block 1902, and a value f(t) output from multiplier device 1903 via multiplexer 1910. * A register 1904 stores c(t-1), and a value i(t) output from the multiplier device 1903 via a multiplexer 1910. * A register 1905 for storing u(t) and a value o(t) output from the multiplier device 1903 via a multiplexer 1910 * It includes a register 1906 and a multiplexer 1909 for storing {tilde over (c)}(t).

[0132] Whereas LSTM cell 1800 includes multiple sets of VMM arrays 1801 and respective activation function blocks 1802, LSTM cell 1900 includes only one VMM array 1901 and one set of activation function blocks 1902 that are used to represent multiple layers in embodiments of LSTM cell 1900. LSTM cell 1900 requires less space than LSTM 1800 because it requires ¼ the space for the VMMs and activation function blocks compared to LSTM cell 1800.

[0133] It can further be appreciated that an LSTM unit typically includes multiple VMM arrays, each of which requires functionality provided by specific circuit blocks outside the VMM array, such as an adder and activation circuit block and a high voltage generation block. Providing a separate circuit block for each VMM array would require a significant amount of space within a semiconductor device and would be somewhat inefficient. Gated Recurrent Unit

[0134] Analog VMM implementations can be used for gated recurrent unit (GRU) systems. GRUs are a gating mechanism in recurrent neural networks. GRUs are similar to LSTMs, except that GRU cells generally contain fewer components than LSTM cells.

[0135] 20 illustrates an exemplary GRU 2000. The GRU 2000 in this example includes cells 2001, 2002, 2003, and 2004. Cell 2001 receives input vector x0 and generates output vector h0. Cell 2002 receives input vector x1 and output vector h0 from cell 2001 and generates output vector h1. Cell 2003 receives input vector x2 and output vector (hidden state) h1 from cell 2002 and generates output vector h2. Cell 2004 receives input vector x3 and output vector (hidden state) h2 from cell 2003 and generates output vector h3. Additional cells can be used, and a GRU with four cells is merely an example.

[0136] FIG. 21 illustrates an exemplary implementation of a GRU cell 2100 that can be used for cells 2001, 2002, 2003, and 2004 of FIG. 20. GRU cell 2100 receives an input vector x(t) and an output vector h(t-1) from a preceding GRU cell and generates an output vector h(t). GRU cell 2100 includes sigmoid function devices 2101 and 2102, each of which applies a number between 0 and 1 to the output vector h(t-1) and the components from the input vector x(t). GRU cell 2100 also includes a tanh device 2103 for applying a hyperbolic tangent function to the input vector, a number of multiplier devices 2104, 2105, and 2106 for multiplying two vectors together, an adder device 2107 for adding the two vectors together, and a complementary device 2108 for subtracting the input from 1 to generate an output.

[0137] FIG. 22 shows a GRU cell 2200, which is an implementation example of the GRU cell 2100. For the convenience of the reader, the same numbering method from the GRU cell 2100 is used in the GRU cell 2200. As can be seen from FIG. 22, the sigmoid function devices 2101 and 2102 and the tanh device 2103 each include a plurality of VMM arrays 2201 and activation function blocks 2202. Therefore, it can be understood that the VMM array is particularly used in the GRU cell used in a specific neural network system. The multiplier devices 2104, 2105, 2106, the adder device 2107, and the complementary device 2108 are implemented in a digital or analog manner. The activation function block 2202 can be implemented in a digital or analog manner.

[0138] An alternative example of GRU cell 2200 (and another example implementation of GRU cell 2300) is shown in Figure 23. In Figure 23, GRU cell 2300 uses a VMM array 2301 and activation function block 2302, which, when configured as a sigmoid function, applies a number between 0 and 1 to control how much each component of the input vector contributes to the output vector. In Figure 23, sigmoid function devices 2101 and 2102 and tanh device 2103 share the same physical hardware (VMM array 2301 and activation function block 2302) in a time-multiplexed manner. The GRU cell 2300 also includes a multiplier device 2303 for multiplying two vectors together, an adder device 2305 for adding the two vectors together, a complementary device 2309 for subtracting an input from one to generate an output, a multiplexer 2304, and a value h(t-1) output from the multiplier device 2303 via the multiplexer 2304. * A register 2306 holds r(t) and a value h(t-1) output from the multiplier device 2303 via a multiplexer 2304. * A register 2307 holds z(t), and a value h^(t) output from the multiplier device 2303 via a multiplexer 2304. * and a register 2308 that holds (1-z((t)).

[0139] Whereas GRU cell 2200 includes multiple sets of VMM arrays 2201 and activation function blocks 2202, GRU cell 2300 includes only one set of VMM arrays 2301 and activation function blocks 2302 that are used to represent multiple tiers in embodiments of GRU cell 2300. GRU cell 2300 requires less space than GRU cell 2200 because it requires one-third the space for the VMM and activation function blocks compared to GRU cell 2200.

[0140] It can be further appreciated that a GRU system typically includes multiple VMM arrays, each of which requires functionality provided by specific circuit blocks outside the VMM array, such as adder and activation circuit blocks and high voltage generation blocks. Providing a separate circuit block for each VMM array would require a significant amount of space within a semiconductor device and would be somewhat inefficient.

[0141] The input to the VMM array can be analog levels, binary levels, or digital bits (in which case a DAC is required to convert the digital bits to the appropriate input analog levels), and the output can be analog levels, binary levels, or digital bits (in which case an output ADC is required to convert the output analog levels to digital bits).

[0142] For each memory cell in the VMM array, each weight W can be implemented by a single memory cell, or by a differential cell, or by two blended memory cells (average of two cells). In the case of differential cells, two memory cells are required to implement weight W as a differential weight (W=W+-W-). In the case of two blended memory cells, two memory cells are required to implement weight W as an average of two cells. An embodiment of a decoding system and physical layout for a VMM array

[0143] 33-51 disclose various decoding systems and physical layouts for a VMM array that can be used with any of the memory cell types described above with respect to FIGS. 2-7, or with respect to other non-volatile memory cells.

[0144] 33 shows a VMM system 3300. The VMM system 3300 includes a VMM array 3301 (which may be based on any of the VMM array designs previously described, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, 3100, and 3200, or other VMM designs), a low voltage row decoder 3302, a high voltage row decoder 3303, a column decoder 3304, a column driver 3305, control logic 3306, bias circuits 3307, a neuron output circuit block 3308, an input VMM circuit block 3309, an algorithm controller 3310, a high voltage generator block 3311, an analog circuit block 3315, and control logic 3316.

[0145] The input circuit block 3309 serves as an interface from an external input to the input terminal of the memory array 3301. The input circuit block 3309 may include, without limitation, a DAC (digital-to-analog converter), a DPC (digital-to-pulse converter), an APC (analog-to-pulse converter), an IVC (current-to-voltage converter), an AAC (analog-to-analog converter such as a voltage-to-voltage scaler), or an FAC (frequency-to-analog converter). The neuron output block 3308 serves as an interface from the memory array output to an external interface (not shown). The neuron output block 3308 may include, without limitation, an ADC (analog-to-digital converter), an APC (analog-to-pulse converter), a DPC (digital-to-pulse converter), an IVC (current-to-voltage converter), or an IFC (current-to-frequency converter). The neuron output block 3308 may include, without limitation, an activation function, a normalization circuit, and / or a rescaling circuit.

[0146] The low voltage row decoder 3302 provides bias voltages for read and program operations, and provides decoded signals to the high voltage row decoder 3303. The high voltage row decoder 3303 provides high voltage bias signals for program and erase operations.

[0147] Algorithm controller 3310 provides control of the bit lines during program, verify, and erase operations.

[0148] The high voltage generator block 3311 includes a charge pump 3312, a charge pump regulator 3313, and a high voltage generation circuit 3314 that provide multiple voltages required for various program, erase, program verify, and read operations.

[0149] FIG. 34 illustrates a VMM system 3400 that is particularly suitable for use with memory cells of the type shown in FIG. 4 as memory cell 410. VMM system 3400 includes VMM arrays 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3 , and 3404 (VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, and 310 0、 3, or other VMM array designs), low voltage row decoders 3405, 3406, 3407, and 3408, shared high voltage row decoder 3409, word lines or word input lines 3411, 3412, 3413, and 3414, bit lines 3421, 3422, 3423, and 3424, control gate lines 3432, source lines 3434, and erase gate lines 3434. The shared high voltage row decoder 3409 provides the control gate lines 3432, source lines 3434, and erase gate lines 3434. In this configuration, the word lines 3411, 3412, 3413, and 3414, and the bit lines 3421, 3422, 3423, and 3424 are parallel to each other. In one embodiment, the word lines and bit lines are arranged vertically. The control gate lines 3432, the source line 3434 and the erase gate line 3436 are parallel to each other and are arranged horizontally and thus perpendicular to the word lines or word input lines 3411, 3412, 3413, and 3414 and the bit lines 3421, 3422, 3423, and 3424.

[0150] In the VMM system 3400, the VMM arrays 3401, 3402, 3403, and 3404 include a control gate line 3432, a source line 3 434, erase gate line 3436, and high voltage row decoder 3409. However, each of the arrays has its own low voltage row decoder, such that low voltage row decoder 3405 is used with VMM array 3401, low voltage row decoder 3406 is used with VMM array 3402, low voltage row decoder 3407 is used with VMM array 3403, and low voltage row decoder 3408 is used with VMM array 3404. The advantage of this configuration is that word lines 3411, 3412, 3413, and 3414 are arranged vertically such that word line 3411 can be routed only to VMM array 3401, word line 3412 can be routed only to VMM array 3402, word line 3413 can be routed only to VMM array 3403, and word line 3414 can be routed only to VMM array 3404. This would be very inefficient in a conventional layout where the word lines are arranged horizontally, with multiple VMM arrays sharing the same high voltage decoder and the same high voltage decode lines.

[0151] Figure 35 shows a VMM system 3500 that is particularly suitable for use with memory cells of the type shown in Figure 4 as memory cell 410. VMM system 3500 is similar to VMM system 3300 of Figure 33, except that VMM system 3500 includes separate word lines and low voltage row decoders for read and programming operations.

[0152] VMM system 3500 includes VMM arrays 3501, 3502, 3503, and 3504 (which may be based on any of the VMM designs previously described, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, 3100, and 3200, or other VMM array designs), low voltage read row decoders, and low voltage read row decoders. 3, the memory cell 3500 includes three memory cell arrays 3505, 3506, 3507, and 3508, a shared low voltage program row decoder 3530, a shared high voltage row decoder 3509, read word lines or word input lines 3511, 3512, 3513, and 3514, a program pre-decode row line 3515, bit lines 3521, 3522, 3523, and 3524, a control gate line 3532, a source line 3533, and an erase gate line 3535. The shared high voltage row decoder 3509 provides the control gate line 3532, the source line 3533, and the erase gate line 3535. In this layout, the read word lines or word input lines 3511, 3512, 3513, and 3514, the program pre-decode row line 3515, and the bit lines 3521, 3522, 3523, and 3524 are parallel to one another and are arranged vertically. The control gate lines 3532, source lines 3533, and erase gate lines 3535 are parallel to one another and arranged horizontally and therefore perpendicular to the read word lines or word input lines 3511, 3512, 3513, and 3514, the program pre-decode row lines 3515, and the bit lines 3521, 3522, 3523, and 3524. In this VMM system 3500, a low voltage program row decoder 3530 is shared across multiple VMM arrays.

[0153] In VMM system 3500, VMM arrays 3501, 3502, 3503, and 3504 share control gate lines 3532, source lines 3533, erase gate lines 3535, and high voltage row decoder 3509. However, each of the VMM arrays has its own low voltage read row decoder, such that low voltage read row decoder 3505 is used with VMM array 3501, low voltage read row decoder 3506 is used with VMM array 3502, low voltage read row decoder 3507 is used with VMM array 3503, and low voltage read row decoder 3508 is used with VMM array 3504. The advantage of this layout is that the read word lines or word input lines 3511, 3512, 3513, and 3514 are arranged vertically such that word line 3511 can be routed only to VMM array 3501, word line 3512 can be routed only to VMM array 3502, word line 3513 can be routed only to VMM array 3503, and word line 3514 can be routed only to VMM array 3504. This would be very inefficient in a conventional layout where the word lines are arranged horizontally for multiple arrays sharing the same high voltage decoder and the same high voltage decode lines. In particular, the program pre-decode row line 3515 can be connected to any of the VMM arrays 3501, 3502, 3503, and 3504 through the low voltage program row decoder 3530, so that the cells of one or more of those VMM arrays can be programmed at once.

[0154] 36 provides further details regarding certain aspects of VMM system 3500, particularly low voltage row decoders 3505, 3506, 3507, and 3508, illustrated as low voltage row decoder 3600. Low voltage read row decoder 3600 comprises a number of switches, such as the exemplary switches shown for selectively coupling rows and word lines of cells in VMM arrays 3601, 3602, 3603, and 3604, respectively. Low voltage program decoder 3630 includes exemplary NAND gates 3631 and 3632, PMOS transistors 3633 and 3635, and NMOS transistors 3636 and 3636, configured as shown. NAND gates 3631 and 3632 receive program pre-decoded row line XP 3615 as an input. During a program operation, low voltage read row decoders 3605, 360 6 , 360 7 , and switches Sp (which may be CMOS multiplexers or another type of switch) in 3608 are closed, so that the program word lines Wlp0-n are coupled to word lines in the array to apply a voltage for programming. During a read operation, read word lines or word input lines 3611, 3612, 3613, and 3614 are selectively coupled to apply a voltage to word line terminals of rows in one or more of arrays 3601, 3602, 3603, and 3604 using Sr switches (which may be CMOS multiplexers or another type of switch) in low voltage read row decoders 3605, 3606, 3607, and 3608.

[0155] Figure 37 shows a VMM system 3700 that is particularly suitable for use with memory cells of the type shown in Figure 4 as memory cell 410. VMM system 3700 includes VMM arrays 3701, 3702, 3703, and 3704 (which may each be based on any of the VMM designs discussed above, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, and 3100, or other VMM array designs), a low-voltage row decoder, 3705, 3706, 3707, and 3708, local high voltage row decoders 3709 and 3710, a global high voltage row decoder 3730, word lines 3711, 3712, 3713, and 3714, bit lines 3721, 3722, 3723, and 3724, high voltage and / or low voltage (HV / LV) pre-decode lines 3732, source lines 3733, and erase gate lines 3734. The shared global high voltage row decoder 3730 includes the HV / LV pre-decode lines 3732, the source line 3 3733, and erase gate line 3734. In this layout, word lines 3711, 3712, 3713, and 3714, and bit lines 3721, 3722, 3723, and 3724 are parallel to each other and arranged vertically. line 337. The HV / LV pre-decoded lines 3732 are input to local high voltage decoders 3709 and 3710. The local high voltage decoder 3709 outputs local control gate lines for the VMM arrays 3701 and 3702. The local high voltage decoder 3710 outputs local control gate lines for the VMM arrays 3703 and 3704. In another embodiment, the local high voltage decoders 3709 and 3710 can provide local source lines for the VMM arrays 3701 / 3702 and VMM arrays 3703 / 3704, respectively. In another embodiment, local high voltage decoders 3709 and 3710 can provide local erase gate lines for VMM arrays 3701 / 3702 and VMM arrays 3703 / 3704, respectively.

[0156] Here, local high voltage row decoder 3709 is shared by VMM arrays 3701 and 3702, and local high voltage row decoder 3710 is shared by VMM arrays 3703 and 3704. Global high voltage decoder 3730 routes high and low voltage pre-decoded signals to local high voltage row decoders, such as local high voltage row decoders 3709 and 3710. Thus, the high voltage decode function is split between global high voltage row decoder 3730 and local high voltage decoders, such as local high voltage decoders 3709 and 3710.

[0157] In VMM system 3700, VMM arrays 3701, 3702, 3703, and 3704 share HV / LV pre-decode lines 3732, source lines 3733, erase gate lines 3734, and global high voltage row decoder 3730. However, each of the VMM arrays has its own low voltage row decoder, such that low voltage row decoder 3705 is used with VMM array 3701, low voltage row decoder 3706 is used with VMM array 3702, low voltage row decoder 3707 is used with VMM array 3703, and low voltage row decoder 3708 is used with VMM array 3704. The advantage of this layout is that word lines 3711, 3712, 3713, and 3714 are arranged vertically such that word line 3711 can be routed only to VMM array 3701, word line 3712 can be routed only to VMM array 3702, word line 3713 can be routed only to VMM array 3703, and word line 3714 can be routed only to VMM array 3704. This would be very inefficient for multiple arrays sharing a single high voltage decoder in a conventional layout where the word lines are arranged horizontally.

[0158] FIG. 38 illustrates a VMM system 3800 that is particularly suitable for use with memory cells of the type shown in FIG. 4 as memory cell 410. VMM system 3800 includes VMM arrays 3801, 3802, 3803, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 38 3, and 3804 (which may be based on any of the VMM designs discussed above, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, 3100, and 3200, or other VMM array designs), low voltage row decoders 3805, 3806, 3807, and 3808, local high voltage row decoders 3809 and 3810, global high voltage row decoder 3830, bit lines 3821, 3822, 3823, and 3824, control gate lines or control gate input lines 3811 and 3812, HV / LV pre-decode lines 3833, source lines 3834, and erase gate lines 3835. The shared global high voltage row decoder 3830 is connected to the HV / LV pre-decoded lines 3833, line 3 3804. Local high voltage decoders 3809 and 3810 couple control gate inputs CG 3811 and 3812 to the local control gates of VMM arrays 3801, 3802 and 3803, 3804, respectively. Low voltage row decoders 3805, 3806, 3807, and 3808 provide local (horizontal) word lines to arrays 3801, 3802, 3803, 3804, respectively. In this layout, control gate lines 3811 and 3812 and bit lines 3821, 3822, 3823, and 3824 are parallel to each other and are arranged vertically. The source line 3834 and the erase gate line 3835 are parallel to each other and are arranged horizontally and therefore perpendicular to the control gate lines 3811 and 3812 and the bit lines 3821 , 3822 , 3823 , and 3824 .

[0159] Similar to VMM system 3700 of FIG. 37, local high voltage row decoder 3809 is shared by VMM arrays 3801 and 3802, and local high voltage row decoder 3810 is shared by VMM arrays 3803 and 3804. Global high voltage decoder 3830 routes signals to local high voltage row decoders, such as local high voltage row decoders 3809 and 3810. Thus, the high voltage decode function is shared between global high voltage row decoder 3830 and local high voltage decoders (local sources), such as local high voltage decoders 3809 and 3810. influence and / or local erase gate lines).

[0160] In the VMM system 3800, the VMM arrays 3801, 3802, 3803, and 3804 are connected to the HV / LV pre-decoded lines 3833, the source line 3 834, erase gate line 3835, and global high voltage row decoder 3830. However, each of the VMM arrays has its own low voltage row decoder, such that low voltage row decoder 3805 is used with VMM array 3801, low voltage row decoder 3806 is used with VMM array 3802, low voltage row decoder 3807 is used with VMM array 3803, and low voltage row decoder 3808 is used with VMM array 3804. An advantage of this layout is that the control gate lines 3811 and 3812, which may be readout or input lines, are arranged vertically such that control gate line 3811 can be routed only to VMM arrays 3801 and 3802, and control gate line 3812 can be routed only to VMM arrays 3803 and 3804. This would not be possible in a conventional layout where the word lines are arranged horizontally.

[0161] FIG. 39 shows a VMM system 3900 that is particularly suitable for use with memory cells of the type shown in FIG. 3 as memory cell 310, in FIG. 4 as memory cell 410, in FIG. 5 as memory cell 510, or in FIG. VMM system 3900 includes VMM arrays 3901 and 3902 (which may be based on any of the previously discussed VMM designs, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1500, 2400, 2500, 2600, 2700, 2800, 2900, 3000, 3100, and 3200, respectively, or other VMM array designs), low voltage row decoder 3903 (used in conjunction with arrays 3901 and 3902), local high voltage row decoder 3905, global high voltage row decoder 3904, control gate lines 3908 and 3909, and bit lines 3906 and 3907. In this layout, control gate line 3908 is used only by VMM array 3901, and control gate line 3909 is used only by VMM array 3902. The low voltage row decode line 3910 is used as a decode input to the global high voltage row decoder 3904. The global high voltage row decode line 3911 is used as a decode input to the local high voltage decoder 3905.

[0162] Local high voltage row decoder 3905 is shared by VMM arrays 3901 and 3902. Global high voltage decoder 3904 routes signals to local high voltage row decoders of multiple VMM systems, such as local high voltage row decoder 3905 of VMM system 3900. Thus, the high voltage decoding function is divided between global high voltage row decoder 3904 and local high voltage decoders, such as local high voltage decoder 3905, as described above.

[0163] In VMM system 3900, VMM arrays 3901 and 3902 share word lines (not shown), source gate lines (not shown) if present, erase gate lines (not shown) if present, and a global high voltage row decoder 3904. VMM arrays 3901 and 3902 instead share a low voltage row decoder 3903. An advantage of this layout is that VMM arrays 3901 and 3902 do not share control gate lines, thereby allowing each array to be accessed independently using control gate lines 3908 and 3909, respectively.

[0164] 51 shows a VMM system 5100 that is particularly suitable for use with memory cells of the type shown in FIG. 4 as memory cells 410. VMM system 5100 includes VMM arrays 5101, 5102, 5103, and 5104 (which may be based on any of the VMM array designs previously described, such as VMM arrays 1000, 1100, 1200, 1300, 1400, 1510, 2400, 2510, 2600, 2700, 2800, 2900, 3000, 3100, and 3200, respectively, or other VMM array designs), high voltage decoder 5130, routing blocks 5151 and 5152, input word lines 5111 and 5112, bit lines 5121, 5122, 5123, and 5124, control gate lines 5132, source lines 5133, and erase gate lines 5134. High voltage decoder 5130 provides control gate lines 5132, source lines 5133, and erase gate lines 5134. Routing blocks 5151, 5152 are where the vertically received input word lines 5111 and 5112 are routed to the horizontally running word lines of the VMM arrays 5101-5104, respectively. Alternatively, routing blocks 5151, 5152 may route the vertically received control gate input lines 5132 to the horizontally running control gate lines 5132 of the VMM array.

[0165] FIG. 40 shows a low voltage row decoder 4000 including a NAND gate 4001, a PMOS transistor 4002, and an NMOS transistor 4003. The NAND gate 4001 receives a row address signal 4004. The PMOS transistor 4002 is coupled to a vertical word line input 4005. The output is at a horizontal word line 4006, which is one of many word lines that couple to the respective VMM array. In this example, there are a total of 16 word lines, and therefore there are 16 instances of the row decoder 4000, each outputting one of the 16 word lines. Thus, based on the received row address signal, one word line, such as word line 4006, outputs a respective signal, such as a voltage, and the other word lines are set to ground.

[0166] Figure 41 shows a combined co-select / deselect word line and control gate decoder 4100 including a low voltage row decoder as in Figure 40, now with a NAND gate 4101, a PMOS transistor 4102, an NMOS transistor 4103, a row address signal 4104, a vertical input word line 4105, and a horizontal word output line 4106 that couples to the word lines of the VMM array. The combined word line and control gate decoder 4100 further includes an inverter 4107, switches 4108 and 4112, and an isolation transistor 4109, and receives a control gate input 4110 CGIN0 and outputs a control gate line 4111 CG0. The word line output 4106 WL0 and the control gate output CG0 4111 are simultaneously selected or deselected by decode logic (not shown) that controls the NAND gate 4101.

[0167] Figure 42 shows a bitline decoder 4200 operating with VMM arrays 4201 and 4202. Bitline decoder 4200 includes a column multiplexer 4203 (for selecting one or more bitlines for program and verify, where a verify operation is used to ensure that the cell current reaches a particular target during a tuning operation (program or erase operation), and a sense amplifier 4204 (for performing a read operation on one or more bitlines). As shown, local bitline muxes 4201b and 4202b multiplex the local array bitlines to global bitlines 4220x, which are coupled to column multiplexer 4203. The sense amplifiers may include ADCs or other devices. Thus, bitline decoder 4200 is shared across multiple arrays.

[0168] 43 shows a VMM system 4300 that includes VMM arrays 4301, 4302, 4303, and 4304, low voltage row decoders 4305 and 4307, local high voltage row decoders 4306 and 4308, global high voltage row decoder 4309, digital bus inputs QIN[7:0] 4311 and 4312 (which are here inputs to the VMM array), and bit lines 4321, 4322, 4323, and 4324. Each low voltage row decoder, such as low voltage row decoder 4305, includes a circuit block row decoder 4335 for each word line, such as an exemplary data input block 4331 (which may consist of eight latches or registers) that outputs signal 4333 on the word line, and block 4332 (which may include data-to-voltage conversion circuitry or data-to-pulse conversion circuitry). The input to this low voltage row decoder is therefore a digital bus QIN[7:0] with appropriate control logic. In each circuit block column decoder 4335, the digital inputs QIN[7:0] 4311 and 4312 are appropriately latched by synchronous clocking means and methods (e.g. by a serial to parallel clocking interface, etc.).

[0169] FIG. 44 illustrates a neural network array I / O bus multiplexer 4400 that receives outputs from a VMM array (such as from an ADC) and provides those outputs in a group-multiplexed fashion to the input blocks of other VMM arrays (such as DACs or DPCs). In the example shown, the input to the I / O bus multiplexer 4400 includes 2048 bits (256 sets, NEU0,...,NEU255, each of 8 bits), which the I / O bus multiplexer 4400 provides in 64 different groups of 32 bits per group, multiplexing between the different groups (providing one group of 32 bits at any given time), such as by using time division multiplexing. Control logic 4401 generates control signals 4402 that control the I / O bus multiplexer 4400.

[0170] 45A and 45B show an example layout of a VMM array where the wordlines are laid out in a horizontal fashion (FIG. 45A) versus a vertical fashion (FIG. 45B, such as FIG. 34 or FIG. 35).

[0171] Figure 46 shows an example layout of a VMM array in which the wordlines are laid out in a vertical fashion (like Figure 34 or Figure 35). However, in this layout, two wordlines (such as wordlines 4601 and 4602) can occupy the same column but access different rows in the array (due to the gap between them).

[0172] FIG. 47 shows a VMM high voltage decode circuit including a word line decoder circuit 4701, a source line decoder circuit 4704, and a high voltage level shifter 4708 suitable for use in a memory cell of the type shown in FIG.

[0173] Word line decoder circuit 4701 includes a PMOS select transistor 4702 (controlled by signal HVO_B) and an NMOS deselect transistor 4703 (controlled by signal HVO_B), configured as shown.

[0174] The source line decoder circuit 4704 includes an NMOS monitoring transistor 4705 (controlled by signal HVO), a drive transistor 4706 (controlled by signal HVO), and a deselect transistor 4707 (controlled by signal HVO_B), configured as shown.

[0175] A high voltage level shifter 4708 receives an enable signal EN and outputs a high voltage signal HV and its complement HVO_B.

[0176] FIG. 48 shows a VMM high voltage decode circuit including an erase gate decoder circuit 4801, a control gate decoder circuit 4804, a source line decoder circuit 4807, and a high voltage level shifter 4811 suitable for use in a memory cell of the type shown in FIG.

[0177] The erase gate decoder circuit 4801 and the control gate decoder circuit 4804 use the same design as the word line decoder circuit 4701 of FIG.

[0178] Source line decoder circuit 4807 uses the same design as source line decoder circuit 4704 of FIG.

[0179] High voltage level shifter 4811 uses the same design as high voltage level shifter 4708 in FIG.

[0180] FIG. 49 illustrates a word line driver 4900. The word line driver 4900 selects a word line (such as the exemplary word lines WL0, WL1, WL2, and WL3 shown herein) and provides a bias voltage to that word line. Each word line is attached to a select isolation transistor, such as select transistor 4901, which is controlled by control line 4902. The select transistors, such as select transistor 4901, isolate the high voltages (e.g., 8-12V) used during erase operations from the word line decode transistors, and the select transistors can be implemented using IO transistors that operate at low voltages (e.g., 1.8V, 3.3V). Now, during any operation, the control line 4902 is activated and all select transistors similar to select transistor 4901 are turned on. Exemplary bias transistor 4903 (part of the word line decode circuitry) selectively couples the word lines to a first bias voltage (such as 3V), and exemplary bias transistor 4904 (part of the word line decode circuitry) selectively couples the word lines to a second bias voltage (lower than the first bias voltage, including ground, a bias between ground and the first bias voltage, or a negative voltage bias to reduce leakage from unused memory rows). During an ANN (Analog Neural Network) read operation, all used word lines are selected and tied to the first bias voltage. All unused word lines are tied to the second bias voltage. During other operations, such as program operations, only one word line is selected and the other word line is tied to the second bias voltage, which may be a negative bias (e.g., -0.3 to -0.5V or higher) to reduce array leakage.

[0181] Bias transistors 4903 and 4904 are coupled to the output of a stage 4906 of a shift register 4905. The shift register 4905 allows each row to be independently controlled according to an input data pattern (loaded at the start of the ANN operation).

[0182] FIG. 50 shows a word line driver 5000. Word line driver 5000 is similar to word line driver 4900, except that each select transistor is further coupled to a capacitor, such as capacitor 5001. Capacitor 5001 can provide a precharge or bias to the word line at the start of operation, enabled by transistor 5002 to sample the voltage on line 5003. Capacitor 5001 acts to sample and hold (S / H) the input voltage for each word line. Transistors 5004 and 5005 are off during ANN operation (array current adder and activation function) of the VMM array, meaning that the voltage on S / H capacitor 5001 acts as a (floating) voltage source for the respective word line. Alternatively, capacitor 5001 can be provided by the capacitance of the word line from the VMM array (or as a control gate capacitance if the input is on the control gate).

[0183] It should be noted that, as used herein, both the terms "over" and "on" are inclusive of "directly on" (with no intermediate material, element, or gap disposed between them) and "indirectly on" (with an intermediate material, element, or gap disposed between them). Similarly, the term "adjacent" includes "directly adjacent" (with no intermediate material, element, or gap disposed between them) and "indirectly adjacent" (with an intermediate material, element, or gap disposed between them), "attached" includes "directly attached" (with no intermediate material, element, or gap disposed between them) and "indirectly attached to" (with an intermediate material, element, or gap disposed between them), and "electrically coupled" includes "directly electrically coupled" (without an intermediate material or element disposed between them that electrically connects the elements together) and "indirectly electrically coupled to" (with an intermediate material or element disposed between them that electrically connects the elements together). For example, forming an element "above a substrate" can include forming the element directly on the substrate, with no intermediate materials / elements between them, and forming the element indirectly on the substrate, with one or more intermediate materials / elements between them.

Claims

1. 1. An analog neural memory system, comprising: a plurality of vector matrix multiplication arrays, each array including non-volatile memory cells organized into rows and columns; a plurality of low voltage row decoders, each low voltage row decoder providing a row decoder function for one of the plurality of vector matrix multiplication arrays; a global high voltage row decoder for providing high voltage signals; a plurality of local high voltage row decoders, each local high voltage row decoder shared by two of the plurality of vector matrix multiplication arrays, receiving the high voltage signal from the global high voltage row decoder and providing the high voltage signal to the two of the plurality of vector matrix multiplication arrays.

2. The system of claim 1 , wherein the non-volatile memory cells are split-gate flash memory cells.

3. The system of claim 1 , wherein the non-volatile memory cells are stacked gate flash memory cells.

Citation Information

Patent Citations

  • Low-power operation for flash memory system

    JP2018520454A

  • Deep learning neural network classifier using non-volatile memory array

    WO2017200883A1