TWI806484B - Memory device and memory operation method - Google Patents

Memory device and memory operation method Download PDF

Info

Publication number
TWI806484B
TWI806484B TW111108809A TW111108809A TWI806484B TW I806484 B TWI806484 B TW I806484B TW 111108809 A TW111108809 A TW 111108809A TW 111108809 A TW111108809 A TW 111108809A TW I806484 B TWI806484 B TW I806484B
Authority
TW
Taiwan
Prior art keywords
current
correction
memory
calibration
circuit
Prior art date
Application number
TW111108809A
Other languages
Chinese (zh)
Other versions
TW202336760A (en
Inventor
魏旻良
胡瀚文
Original Assignee
旺宏電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 旺宏電子股份有限公司 filed Critical 旺宏電子股份有限公司
Priority to TW111108809A priority Critical patent/TWI806484B/en
Application granted granted Critical
Publication of TWI806484B publication Critical patent/TWI806484B/en
Publication of TW202336760A publication Critical patent/TW202336760A/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

A memory operation method, including the following steps: using conductances of multiple first memory strings to store multiple multiplication coefficients, wherein the multiple first memory strings are electrically connected to multiple first bit lines and a common source line; receiving multiple input signals through the first bit lines, and generating an output current on the common source line according to the conductances of the first memory strings and the input signals; scaling the output current according to a correction ratio to generate a first correction current by a first correction circuit; and receiving the first correction current by an analog-digital conversion circuit, and obtaining a multiplication operation signal according to the first correction current.

Description

記憶體裝置及記憶體操作方法Memory device and memory operation method

本揭示內容係關於一種記憶體操作方法,特別是能用以執行乘積運算的記憶體裝置。The disclosure relates to a memory operation method, in particular to a memory device capable of performing a product operation.

隨著電腦運算速度的提昇,對於記憶體的速度以及穩定性的要求越來越高。在有眾多不同市場需求的情況下,如何改良記憶體的應用方式,使其不僅能讀寫資料,更能作為運算處理的一部分,即成為當前的一大課題。With the improvement of computer computing speed, the requirements for memory speed and stability are getting higher and higher. In the case of many different market demands, how to improve the application of memory so that it can not only read and write data, but also be used as a part of calculation processing has become a major issue at present.

本揭示內容之一態樣為一種記憶體操作方法,包含下列步驟:利用複數個第一記憶串列之複數個電導,儲存複數個乘積係數,其中該些第一記憶串列電性連接於複數個第一位元線及共同源極線;透過該些第一位元線,接收複數個輸入訊號,且該些輸入訊號與該些第一記憶串列之電導於該共同源極線上產生輸出電流;透過第一校正電路,根據校正比例縮放輸出電流,以產生第一校正電流;以及透過類比數位轉換電路,接收第一校正電流,且根據第一校正電流取得乘積運算訊號。An aspect of the present disclosure is a memory operation method, comprising the following steps: storing a plurality of product coefficients by utilizing a plurality of conductances of a plurality of first memory series, wherein the first memory series are electrically connected to a plurality of A first bit line and a common source line; through the first bit lines, a plurality of input signals are received, and the input signals and the conductance of the first memory series generate an output on the common source line current; through the first correction circuit, the output current is scaled according to the correction ratio to generate the first correction current; and through the analog-to-digital conversion circuit, the first correction current is received, and a product operation signal is obtained according to the first correction current.

本揭示內容之另一態樣為一種記憶體裝置,包含記憶體陣列及第一校正電路。記憶體陣列包含複數個第一記憶串列。該些第一記憶串列之複數個電導用以儲存複數個乘積係數。該些第一記憶串列電性連接於複數個第一位元線及一共同源極線,用以透過該些第一位元線,接收複數個輸入訊號,且於共同源極線上產生輸出電流。第一校正電路電性連接於共同源極線,用以根據校正比例縮放該輸出電流,以產生第一校正電流,其中第一校正電流用以被分析為乘積運算訊號。Another aspect of the disclosure is a memory device, including a memory array and a first correction circuit. The memory array includes a plurality of first memory series. A plurality of conductances of the first memory series are used to store a plurality of product coefficients. The first memory series are electrically connected to a plurality of first bit lines and a common source line for receiving a plurality of input signals through the first bit lines and generating output on the common source line current. The first correction circuit is electrically connected to the common source line, and is used for scaling the output current according to the correction ratio to generate a first correction current, wherein the first correction current is analyzed as a product operation signal.

本揭示內容透過對輸出電流進行縮放,校正記憶體裝置的偏移電流,使記憶體裝置可精確地由電流訊號辨識電流分佈狀態,進而取得正確的乘積運算結果。The content of this disclosure corrects the offset current of the memory device by scaling the output current, so that the memory device can accurately identify the current distribution state from the current signal, and then obtain the correct product operation result.

以下將以圖式揭露本發明之複數個實施方式,為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施方式中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示之。Several embodiments of the present invention will be disclosed in the following figures. For the sake of clarity, many practical details will be described together in the following description. It should be understood, however, that these practical details should not be used to limit the invention. That is, in some embodiments of the present invention, these practical details are unnecessary. In addition, for the sake of simplifying the drawings, some well-known structures and components will be shown in a simple and schematic manner in the drawings.

於本文中,當一元件被稱為「連接」或「耦接」時,可指「電性連接」或「電性耦接」。「連接」或「耦接」亦可用以表示二或多個元件間相互搭配操作或互動。此外,雖然本文中使用「第一」、「第二」、…等用語描述不同元件,該用語僅是用以區別以相同技術用語描述的元件或操作。除非上下文清楚指明,否則該用語並非特別指稱或暗示次序或順位,亦非用以限定本發明。Herein, when an element is referred to as "connected" or "coupled", it may mean "electrically connected" or "electrically coupled". "Connected" or "coupled" may also be used to indicate that two or more elements cooperate or interact with each other. In addition, although terms such as “first”, “second”, . Unless clearly indicated by the context, the terms do not imply any particular order or sequence, nor are they intended to be limiting of the invention.

本揭示內容關於一種記憶體裝置,用以執行計算,例如:執行向量矩陣乘法。為便於說明,在此先以第1圖說明利用記憶體進行向量矩陣乘法(Vector-Matrix Multiplication)的方式。下列算式為向量矩陣乘法的一個實施例:

Figure 02_image001
《公式1》 The present disclosure relates to a memory device for performing calculations, such as performing vector-matrix multiplication. For the convenience of explanation, the method of vector-matrix multiplication (Vector-Matrix Multiplication) using the memory is illustrated in Figure 1. The following formula is an embodiment of vector-matrix multiplication:
Figure 02_image001
"Formula 1"

上述向量矩陣乘法的結果包含兩個數值O 1、O 2,若將計算過程展開,為「W 11×V 1+W 21×V 2=O 1」及「W 12×V 1+W 22×V 2=O 2」。請搭配第1圖,第1圖所示為一種記憶體100的簡化結構示意圖,記憶體100包含多個記憶單元110,每個記憶單元110透過位元線接收輸入電壓。若將每個記憶單元110之電導(conductance,即電阻的倒數)視為《公式1》中第一個矩陣的乘積係數(或稱權重值,W 11、W 21、W 12、W 22),且將輸入電壓視為《公式1》中第二個矩陣的運算值(即,V 1、V 2)。根據電壓、電流、電導的特性(V×G=I,其中V為電壓、I為電流、G為電導)可知,前述向量矩陣乘法結果的數值O 1對應於具有電導W 11和W 21的兩個記憶單元110之電流輸出的總和,而數值O 2對應於具有電導W 12和W 22的兩個記憶單元110之電流輸出的總和。換言之,記憶體100可透過記憶單元110之電導來儲存乘積係數,並利用電壓、電流、電導的特性,即可將記憶單元110的電流總和作為乘積運算的結果。為使圖面簡潔,第1圖僅繪示了4個記憶單元110,但本揭示內容不以此為限,第1圖的記憶體100可以包含非常多的記憶單元110,以增加《公式1》中第一個矩陣和第二個矩陣的元素數量。 The result of the above vector matrix multiplication includes two values O 1 and O 2 , if the calculation process is expanded, it is "W 11 ×V 1 +W 21 ×V 2 =O 1 "and "W 12 ×V 1 +W 22 × V 2 =O 2 ”. Please refer to FIG. 1 . FIG. 1 is a simplified structural diagram of a memory 100 . The memory 100 includes a plurality of memory cells 110 , and each memory cell 110 receives an input voltage through a bit line. If the conductance (reciprocal of resistance) of each memory unit 110 is regarded as the product coefficient (or weight value, W 11 , W 21 , W 12 , W 22 ) of the first matrix in "Formula 1", And the input voltage is regarded as the operation value of the second matrix in "Formula 1" (ie, V 1 , V 2 ). According to the characteristics of voltage, current, and conductance (V×G=I, where V is voltage, I is current, and G is conductance), it can be known that the value O 1 of the aforementioned vector matrix multiplication result corresponds to two The sum of the current outputs of two memory cells 110, and the value O2 corresponds to the sum of the current outputs of two memory cells 110 with conductances W12 and W22 . In other words, the memory 100 can store the product coefficient through the conductance of the memory unit 110, and utilize the characteristics of voltage, current, and conductance, so that the sum of the currents of the memory unit 110 can be used as the result of the product operation. To make the drawing simple, only four memory units 110 are shown in Fig. 1, but the present disclosure is not limited thereto. The memory 100 in Fig. 1 may contain a very large number of memory units 110, so as to increase the number of "Formula 1 "The number of elements in the first matrix and the second matrix.

第2圖為根據本揭示內容之部份實施例之記憶體裝置200之示意圖。如第2圖所示,記憶體裝置200至少包含記憶陣列210、第一校正電路220及類比數位轉換電路230。記憶陣列210之結構可如第1圖所示,且其類型可為2D NAND Flash、3D NAND Flash、相變化記憶體(Phase Change Memory,PCM)、可變電阻式記憶體(Resistive RAM)或磁阻式記憶體(Magnetoresistive RAM),但本揭示內容不以此為限。 FIG. 2 is a schematic diagram of a memory device 200 according to some embodiments of the present disclosure. As shown in FIG. 2 , the memory device 200 at least includes a memory array 210 , a first correction circuit 220 and an analog-to-digital conversion circuit 230 . The structure of the memory array 210 can be as shown in Figure 1, and its type can be 2D NAND Flash, 3D NAND Flash, Phase Change Memory (Phase Change Memory, PCM), variable resistance memory (Resistive RAM) or magnetic Resistive RAM (Magnetoresistive RAM), but the disclosure is not limited thereto.

第3圖為根據本揭示內容之部份實施例之記憶陣列210之示意圖。在一實施例中,記憶陣列210為一種3D NAND記憶體。記憶陣列210可包含多個記憶區塊MB(block),且每個記憶區塊MB又具有多個記憶串列(String)。 FIG. 3 is a schematic diagram of a memory array 210 according to some embodiments of the present disclosure. In one embodiment, the memory array 210 is a 3D NAND memory. The memory array 210 may include a plurality of memory blocks MB (block), and each memory block MB has a plurality of memory strings (String).

具體而言,記憶陣列210包含多個第一記憶串列MS1。每個第一記憶串列MS1中包含多個第一記憶單元MC1。第一記憶單元MC1可由浮柵電晶體實現,且根據浮柵中的電荷量多寡,第一記憶單元MC1會具有不同的閾值電壓。第一記憶單元MC1的等效電阻值對應於其閾值電壓。因此,藉由設定第一記憶單元MC1的閾值電壓,便可決定第一記憶單元MC1的電導值。 Specifically, the memory array 210 includes a plurality of first memory series MS1. Each first memory series MS1 includes a plurality of first memory cells MC1. The first memory cell MC1 can be implemented by a floating gate transistor, and according to the charge amount in the floating gate, the first memory cell MC1 will have different threshold voltages. The equivalent resistance value of the first memory cell MC1 corresponds to its threshold voltage. Therefore, by setting the threshold voltage of the first memory cell MC1, the conductance value of the first memory cell MC1 can be determined.

如第3圖所示,該些第一記憶串列MS1之一端電性連接於多條第一位元線BL1~BLn(Bit line),其另一端則電性連接於同一條共同源極線CSL(Common Source line)。記憶陣列210透過多條源極選擇線 SSL(Source Select Line)、多條接地選擇線GSL、多條位元線BL1~BLn及多條字元線WL0~WLn,依序選擇並提供輸入訊號Vin至每一條第一記憶串列MS1。 As shown in FIG. 3, one end of the first memory series MS1 is electrically connected to a plurality of first bit lines BL1~BLn (Bit line), and the other end is electrically connected to the same common source line. CSL (Common Source line). memory array 210 through multiple source selection lines SSL (Source Select Line), a plurality of ground selection lines GSL, a plurality of bit lines BL1-BLn and a plurality of word lines WL0-WLn sequentially select and provide an input signal Vin to each first memory series MS1.

在一實施例中,第一記憶單元MC1的電導值代表此記憶單元MC1所儲存的二進制資料,例如:高阻值狀態可被設定為「0」、低阻值狀態可被設定為「1」。對應於同一條第一位元線(例如第一位元線BL1)的多個第一記憶串列MS1,其上對應於同一條字元線(例如字元線WL0)的所有第一記憶單元MC1之電導用以代表/儲存其中一個乘積係數。當同一個記憶區塊MB中的第一記憶串列MS1接收第一位元線BL1~BLn傳來的輸入訊號Vin後,將可如第1圖所示之運算原理,輸出電流至共同源極線CSL。共同源極線CSL上之電流總和(以下簡稱為「輸出電流I0」)即為乘積運算的結果。 In one embodiment, the conductance value of the first memory unit MC1 represents the binary data stored in the memory unit MC1, for example, the high resistance state can be set as “0” and the low resistance state can be set as “1”. . A plurality of first memory strings MS1 corresponding to the same first bit line (for example, first bit line BL1), on which all first memory cells corresponding to the same word line (for example, word line WL0) The conductance of MC1 is used to represent/store one of the multiplication coefficients. When the first memory series MS1 in the same memory block MB receives the input signal Vin from the first bit lines BL1~BLn, it can output current to the common source as shown in the operation principle shown in Figure 1 Line CSL. The sum of the currents on the common source line CSL (hereinafter referred to as "output current I0") is the result of the product operation.

然而,由於記憶單元的電氣特性會隨著外界因素(如:溫度、製程因素或3D結構之階層)而有所誤差,因此,同一個記憶區塊MB中之第一記憶串列MS1產生的輸出電流I0並不一定能精確地等同於乘積運算的正確結果。在一實施例中,記憶單元會因為外界因素,使得電流產生誤差,例如產生額外的偏移電流(biased current)。當多個電流相加時,偏移電流也會越明顯。因此,記憶體裝置200透過第一校正電路220對共同源極線CSL輸出的輸出電流I0進行校正,以改善偏移電流於共同源極線CSL上累加而造成的計算誤差。 However, because the electrical characteristics of the memory unit will vary with external factors (such as: temperature, process factors or 3D structure levels), the output of the first memory series MS1 in the same memory block MB The current I0 may not be exactly equal to the correct result of the product operation. In one embodiment, the memory cell may cause current errors due to external factors, such as additional biased current. Offset currents are also more pronounced when multiple currents are added together. Therefore, the memory device 200 corrects the output current I0 output from the common source line CSL through the first calibration circuit 220 to improve the calculation error caused by the accumulation of the offset current on the common source line CSL.

第一校正電路220電性連接於共同源極線CSL,用以接收輸出電流,且根據一個校正比例SF(Scaling Factor)縮放(scale)輸出電流I0,以產生第一校正電流I1。第一校正電流I1用以被分析以產生乘積運算結果(在此簡稱乘積運算訊號)。第一校正電路220之結構及第一校正電流I1的分析方式將於後續段落說明。 The first calibration circuit 220 is electrically connected to the common source line CSL for receiving the output current, and scales the output current I0 according to a calibration ratio SF (Scaling Factor) to generate the first calibration current I1. The first correction current I1 is analyzed to generate a product operation result (referred to as a product operation signal here). The structure of the first correction circuit 220 and the analysis method of the first correction current I1 will be described in the following paragraphs.

類比數位轉換電路230(如:Analog-to-digital converter,ADC)電性連接於第一校正電路220,用以接收第一校正電流I1。類比數位轉換電路230用以分析類比的第一校正電流I1,以取得「電流分佈狀態」,進而產生數位的乘積運算訊號。換言之,類比數位轉換電路230根據接收到之電流訊號,辨識出其中之電流分佈狀態。 The analog-to-digital conversion circuit 230 (eg, Analog-to-digital converter, ADC) is electrically connected to the first correction circuit 220 for receiving the first correction current I1. The analog-to-digital conversion circuit 230 is used to analyze the first analog correction current I1 to obtain the "current distribution state", and then generate a digital product operation signal. In other words, the analog-to-digital conversion circuit 230 recognizes the current distribution state therein according to the received current signal.

「電流分佈狀態」用以表示同一個記憶區塊MB中,所有第一記憶單元MC1的導通且其輸入為「1」之數量。在一實施例中,類比數位轉換電路230透過共同源極線CSL接收第一校正電流I1後,將根據第一校正電流I1之電流值,辨識出對應之記憶區塊MB的多種操作狀態(即,電流分佈狀態)。記憶區塊MB的「操作狀態」為該些第一記憶單元MC1的阻值狀態組合(如:多少個第一記憶單元MC1處於低阻態)。由於本領域人士能理解類比數位轉換電路230辨識電流分佈狀態之運算原理,故在此不另贅述。關於電流分佈狀態之紀錄形式,將於後續段落中配合圖式說明。The "current distribution state" is used to represent the number of all the first memory cells MC1 that are turned on and whose inputs are "1" in the same memory block MB. In one embodiment, after the analog-to-digital conversion circuit 230 receives the first correction current I1 through the common source line CSL, it will identify various operating states of the corresponding memory block MB according to the current value of the first correction current I1 (i.e. , current distribution state). The "operating state" of the memory block MB is the combination of resistance states of the first memory cells MC1 (for example: how many first memory cells MC1 are in a low resistance state). Since those skilled in the art can understand the operation principle of the analog-to-digital conversion circuit 230 to identify the current distribution state, it will not be repeated here. The recording form of the current distribution state will be described in the following paragraphs with the help of diagrams.

如第3圖所示,記憶陣列210透過多條源極選擇線SSL、多條接地選擇線GSL、多條位元線BL1~BLn及多條字元線WL1~WLn,選擇並提供輸入訊號Vin至所選之第一記憶串列MS1,因此,第一記憶串列MS1輸出的電流將會匯集於共同源極線CSL,形成輸出電流I0。接著,第一校正電路220輸出之第一校正電流I1將會提供至類比數位轉換電路230,以被分析出電流分佈狀態,如第4A~4D圖所示之分布狀態之波包。As shown in FIG. 3, the memory array 210 selects and provides the input signal Vin through multiple source selection lines SSL, multiple ground selection lines GSL, multiple bit lines BL1~BLn, and multiple word lines WL1~WLn. To the selected first memory string MS1, therefore, the current output by the first memory string MS1 will be collected in the common source line CSL to form the output current I0. Then, the first correction current I1 output by the first correction circuit 220 will be provided to the analog-to-digital conversion circuit 230 to analyze the current distribution state, such as the wave packet of the distribution state shown in FIGS. 4A-4D .

第4A~4D圖為根據本揭示內容之部份實施例中,類比數位轉換電路230分析各種電流訊號後產生的電流分佈狀態之波形示意圖。其中,每個波形圖可根據多個初始參考閾值r1~r7被劃分為多個狀態區間,每個「狀態區間」代表記憶區塊MB的操作狀態,例如:記憶區塊MB中有多少個第一記憶單元MC1處於低阻態且輸入為「1」。橫軸為電流大小,縱軸則為分佈密度(Probability Density)。「分佈密度」係指第一記憶單元MC1在狀態區間的曲線下面積,其可視為電流出現在該電流區間內的機率。4A-4D are schematic diagrams of waveforms of current distribution states generated by the analog-to-digital conversion circuit 230 after analyzing various current signals in some embodiments according to the present disclosure. Wherein, each waveform diagram can be divided into multiple state intervals according to multiple initial reference thresholds r1-r7, and each "state interval" represents the operation state of the memory block MB, for example: how many first A memory cell MC1 is in a low-impedance state and its input is "1". The horizontal axis is the magnitude of the current, and the vertical axis is the distribution density (Probability Density). "Distribution density" refers to the area under the curve of the first memory cell MC1 in the state interval, which can be regarded as the probability of the current appearing in the current interval.

在部份實施例中,記憶體裝置200還包含參考電路240。參考電路240電性連接於類比數位轉換電路230,且用以產生初始參考電流Ir。類比數位轉換電路230會根據多個初始參考電流Ir產生初始參考閾值r1~r7,以劃分出多個狀態區間(例如:初始參考電流為1,則初始參考閾值r1~r7即為「0、1、2、3…」)。In some embodiments, the memory device 200 further includes a reference circuit 240 . The reference circuit 240 is electrically connected to the analog-to-digital conversion circuit 230 and used to generate the initial reference current Ir. The analog-to-digital conversion circuit 230 generates initial reference thresholds r1-r7 according to multiple initial reference currents Ir to divide multiple state intervals (for example, if the initial reference current is 1, then the initial reference thresholds r1-r7 are "0, 1 , 2, 3...").

第4A圖所示為理想情況下(即,同一列之第一記憶單元MC1輸出之電流沒有誤差)的理想電流Id示意圖。如圖所示,理想電流Id的波形峰值會精確地被初始參考閾值r1~r7劃分,而可精確地分析出不同的狀態區間。FIG. 4A is a schematic diagram of an ideal current Id under ideal conditions (ie, the output current of the first memory unit MC1 in the same column has no error). As shown in the figure, the peak value of the waveform of the ideal current Id will be accurately divided by the initial reference thresholds r1˜r7, so that different state intervals can be accurately analyzed.

第4B圖為實際情況下的輸出電流I0之電流分佈狀態圖。如圖所示,電流分佈狀態中包含複數個峰值,其中越右邊的峰值對應之電流越大,因此累積的誤差也會越大。第4C圖所示為第一校正電流I1之電流分佈狀態圖。如前所述,由於第一校正電路220會將輸出電流I0做縮放(第4C圖所示為放大),因此電流分佈狀態圖中的峰值將能被校正為較為對應於初始參考閾值r1~r7。FIG. 4B is a current distribution state diagram of the output current I0 under actual conditions. As shown in the figure, the current distribution state contains multiple peaks, and the peaks on the right correspond to larger currents, so the accumulated error will also be larger. FIG. 4C is a diagram showing the current distribution state of the first correction current I1. As mentioned above, since the first correction circuit 220 will scale the output current I0 (shown as enlarged in FIG. 4C ), the peaks in the current distribution state diagram will be corrected to be more corresponding to the initial reference thresholds r1˜r7 .

在部份實施例中,記憶體裝置200還包含偏差預估電路250。偏差預估電路250電性連接於第一校正電路220,用以預測記憶陣列210之平均偏差,使得第一校正電路220可根據平均偏差產生校正比例SF。平均偏差與校正比例SF不同,例如偏差預估電路250計算的平均偏差為5%,則校正比例SF可為4%或6%。In some embodiments, the memory device 200 further includes a deviation estimation circuit 250 . The deviation estimation circuit 250 is electrically connected to the first correction circuit 220 for predicting the average deviation of the memory array 210 so that the first correction circuit 220 can generate the correction ratio SF according to the average deviation. The average deviation is different from the correction ratio SF. For example, the average deviation calculated by the deviation estimation circuit 250 is 5%, and the correction ratio SF can be 4% or 6%.

在部份實施例中,偏差預估電路250可包含至少一個感測器(如:溫度感測器)及具模擬功能之處理器,用以偵測外界因素(如:溫度),並據以計算當前的平均偏差。在其他實施例中,偏差預估電路250可由類比數位轉換電路230實現,高精度的類比數位轉換電路230可事先確定應接收到的電流值,從而由實際電流值推測出可能的誤差。例如:由於初始參考電流為預先設定的固定值,因此,當類比數位轉換電路230接收到參考電路240實際產生之初始參考閾值r1~r7時,即可判斷平均偏差。由於預測平均偏差的作法繁多,且本領域人士能理解預測原理,故在此即不贅述。In some embodiments, the deviation estimation circuit 250 may include at least one sensor (such as a temperature sensor) and a processor with analog functions for detecting external factors (such as temperature) and based on Computes the current mean deviation. In other embodiments, the deviation estimation circuit 250 can be implemented by the analog-to-digital conversion circuit 230, and the high-precision analog-to-digital conversion circuit 230 can determine the received current value in advance, so as to estimate possible errors from the actual current value. For example: since the initial reference current is a preset fixed value, when the analog-to-digital conversion circuit 230 receives the initial reference thresholds r1-r7 actually generated by the reference circuit 240, the average deviation can be judged. Since there are many ways to predict the average deviation, and those skilled in the art can understand the principles of prediction, they will not be repeated here.

第5圖為根據本揭示內容之部份實施例之記憶體操作方法之流程圖。在步驟S501中,利用多個第一記憶單元MC1之電導儲存乘積係數(在一實施例中,對應於同一條第一位元線BL1~BL的多個第一記憶串列MS1用以紀錄一個乘積係數),且透過第一位元線BL1~BLn接收輸入訊號Vin,以在共同源極線CSL上產生輸出電流I0。由於本領域人士能理解記憶陣列210的運作原理,故在此即不贅述。FIG. 5 is a flowchart of a memory operation method according to some embodiments of the present disclosure. In step S501, use the conductance storage product coefficients of multiple first memory cells MC1 (in one embodiment, multiple first memory strings MS1 corresponding to the same first bit line BL1-BL are used to record a product coefficient), and receive the input signal Vin through the first bit lines BL1-BLn to generate the output current I0 on the common source line CSL. Since those skilled in the art can understand the operation principle of the memory array 210 , it will not be repeated here.

在步驟S502中,透過第一校正電路220,根據校正比例SF縮放輸出電流I0,並產生第一校正電流I1。此外,如前所述,第一校正電路220可先取得對應於同一個記憶區塊MB中該些第一記憶串列MS1的平均偏差,再據以產生(決定)校正比例SF,以將輸出電流I0等比例縮放,轉換為第一校正電流I1。In step S502 , through the first calibration circuit 220 , the output current I0 is scaled according to the calibration ratio SF, and the first calibration current I1 is generated. In addition, as mentioned above, the first correction circuit 220 can first obtain the average deviation corresponding to the first memory series MS1 in the same memory block MB, and then generate (determine) the correction ratio SF accordingly, so as to output The current I0 is proportionally scaled and converted into the first correction current I1.

在此先說明第一校正電路220之運作。第6圖為根據本揭示內容之部份實施例之第一校正電路220之示意圖。在部份實施例中,第一校正電路220包含電流鏡221及類比開關222。電流鏡221包含輸入電晶體T1及多個輸出電晶體T2~T6。輸入電晶體T1電性連接於共同源極線CSL,用以接收該些第一記憶單元MC1輸出之輸出電流I0。輸出電晶體T2~T6之閘極則皆電性連接於輸入電晶體T1之閘極,且輸出電晶體T2~T6之通道長寬比與輸入電晶體之通道長寬比不同。Here, the operation of the first correction circuit 220 will be described first. FIG. 6 is a schematic diagram of a first correction circuit 220 according to some embodiments of the present disclosure. In some embodiments, the first calibration circuit 220 includes a current mirror 221 and an analog switch 222 . The current mirror 221 includes an input transistor T1 and a plurality of output transistors T2 - T6 . The input transistor T1 is electrically connected to the common source line CSL for receiving the output current I0 output by the first memory cells MC1 . The gates of the output transistors T2-T6 are all electrically connected to the gates of the input transistor T1, and the channel aspect ratio of the output transistors T2-T6 is different from that of the input transistor.

承上,類比開關222電性連接於輸出電晶體T2~T6,用以選擇性地導通對應於輸出電晶體T2~T6之其中一者的線路(如:具有多個對應於輸出電晶體T2~T6之開關),以透過輸出電晶體T2~T6之其中一或多者者輸出電流。根據電晶體的特性公式,在閘極電壓相同的情況下,電流大小將對應於通道長寬比。因此,當第一校正電路220確認校正比例SF後,將導通輸出電晶體T2~T6中具有對應通道長寬比的至少一者的對應控制開關,即可產生第一校正電流I1。Continuing from the above, the analog switch 222 is electrically connected to the output transistors T2-T6, and is used to selectively conduct the circuit corresponding to one of the output transistors T2-T6 (for example: there are multiple circuits corresponding to the output transistors T2-T6 T6 switch) to output current through one or more of the output transistors T2-T6. According to the characteristic formula of the transistor, in the case of the same gate voltage, the magnitude of the current will correspond to the aspect ratio of the channel. Therefore, when the first correction circuit 220 confirms the correction ratio SF, it turns on the corresponding control switch of at least one of the output transistors T2 - T6 having the corresponding channel aspect ratio, so as to generate the first correction current I1 .

換言之,輸入電晶體T1之通道長寬比與被導通之輸出電晶體之通道長寬比的比例為校正比例SF。類比開關222選擇性地透過控制訊號Ca~Ce的至少一者或多者,控制內部多個開關Ta~Te,以產生第一校正電流I1。In other words, the ratio of the channel aspect ratio of the input transistor T1 to the channel aspect ratio of the turned-on output transistor is the calibration ratio SF. The analog switch 222 selectively controls a plurality of internal switches Ta-Te through at least one or more of the control signals Ca-Ce to generate the first calibration current I1.

舉例而言,校正比例SF為5%,輸入電晶體T1的通道長寬比為「X」、輸出電晶體T2的通道長寬比為「0.4X」、輸出電晶體T3的通道長寬比為「0.65X」,則類比開關222將選擇性地導通電晶體T2與電晶體T3,並將電流彙集至第一校正電流I1,其餘輸出電晶體則被關斷。此時,第一校正電路220輸出的電流即為輸出電流I0放大5%(即,1.05倍)後的電流大小。For example, the correction ratio SF is 5%, the channel aspect ratio of the input transistor T1 is "X", the channel aspect ratio of the output transistor T2 is "0.4X", and the channel aspect ratio of the output transistor T3 is "0.65X", the analog switch 222 will selectively turn on the transistor T2 and the transistor T3, and gather the current to the first correction current I1, and the other output transistors will be turned off. At this time, the current output by the first correction circuit 220 is the magnitude of the current after the output current I0 is amplified by 5% (ie, 1.05 times).

如前所述,類比數位轉換電路230接收到第一校正電流I1後,會根據初始參考電流Ir確認電流分佈狀態。然而,如第4C圖所示,由於第一校正電流I1可能仍未完全校正誤差,因此,在部份實施例中,記憶體裝置200還會透過第二校正電路260,對初始參考電流Ir進行校正。As mentioned above, after receiving the first correction current I1, the analog-to-digital conversion circuit 230 will confirm the current distribution state according to the initial reference current Ir. However, as shown in FIG. 4C , since the first calibration current I1 may not completely correct the error, in some embodiments, the memory device 200 also uses the second calibration circuit 260 to adjust the initial reference current Ir. Correction.

在步驟S503中,記憶體裝置200透過參考電路240產生初始參考電流Ir,且透過第二校正電路260產生第二校正電流I2。初始參考電流Ir及第二校正電流I2將被疊加,以形成校正參考電流Ir’。In step S503 , the memory device 200 generates an initial reference current Ir through the reference circuit 240 and generates a second correction current I2 through the second correction circuit 260 . The initial reference current Ir and the second calibration current I2 are superimposed to form the calibration reference current Ir'.

第7圖為根據本揭示內容之部份實施例之參考電路240及第二校正電路260之示意圖。參考電路240包含多個參考記憶串列241,參考電路240已預先設定了參考記憶串列241中各記憶單元的導通或關斷狀態,該些參考記憶串列241同樣透過多條源極選擇線SSL’、多條接地選擇線GSL’、多條位元線BL1’~BLn’及多條字元線WL1’~WLn’,依序選擇並提供參考訊號Vb,以於共同源極線CSL’上產生初始參考電流Ir。FIG. 7 is a schematic diagram of a reference circuit 240 and a second correction circuit 260 according to some embodiments of the present disclosure. The reference circuit 240 includes a plurality of reference memory strings 241. The reference circuit 240 has preset the on or off state of each memory cell in the reference memory strings 241. These reference memory strings 241 also pass through a plurality of source selection lines. SSL', a plurality of ground selection lines GSL', a plurality of bit lines BL1'~BLn' and a plurality of word lines WL1'~WLn' are sequentially selected and provided with a reference signal Vb for the common source line CSL' Generate an initial reference current Ir on.

第二校正電路260的共同源極線CSL’電性連接於參考電路240的共同源極線CSL’’,用以產生第二校正電流I2。第二校正電流I2會與初始參考電流Ir相疊加,以成為校正參考電流Ir’。The common source line CSL' of the second correction circuit 260 is electrically connected to the common source line CSL'' of the reference circuit 240 for generating the second correction current I2. The second calibration current I2 is superimposed with the initial reference current Ir to become the calibration reference current Ir'.

在步驟S504中,類比數位轉換電路230接收第一校正電流I1及校正參考電流Ir’,以根據校正參考電流Ir’調整初始參考閾值r1~r7,進而產生多個校正參考閾值r1’~r7’。根據校正參考電流Ir’(校正參考閾值r1’~r7’),類比數位轉換電路230即可分析第一校正電流I1中的電流分佈狀態,並取得乘積運算訊號。In step S504, the analog-to-digital conversion circuit 230 receives the first correction current I1 and the correction reference current Ir', so as to adjust the initial reference thresholds r1-r7 according to the correction reference current Ir', and then generate a plurality of correction reference thresholds r1'-r7' . According to the correction reference current Ir' (calibration reference thresholds r1'˜r7'), the analog-to-digital conversion circuit 230 can analyze the current distribution state in the first correction current I1, and obtain a product operation signal.

如第2圖所示,在一實施例中,類比數位轉換電路230電性連接於第一校正電路220、參考電路、240及第二校正電路260,以接收第一校正電流I1及校正參考電流Ir’。類比數位轉換電路230用以根據校正參考電流Ir’,分析第一校正電流I1,以取得乘積運算訊號。As shown in FIG. 2, in one embodiment, the analog-to-digital conversion circuit 230 is electrically connected to the first calibration circuit 220, the reference circuit 240, and the second calibration circuit 260 to receive the first calibration current I1 and the calibration reference current. Ir'. The analog-to-digital conversion circuit 230 is used to analyze the first correction current I1 according to the correction reference current Ir' to obtain a product operation signal.

如第4C及4D圖所示,當輸出電流I0被調整為第4C圖所示之第一校正電流I1後,第一校正電流I1的各個狀態區間仍沒有完全對應於初始參考閾值r1~r7,因此無法精確地判斷出電流分佈狀態。因此,透過將初始參考閾值r1~r7平移(如第4D圖所示,該些校正參考閾值r1’~r7’為該些初始參考閾值r1~r7增加一個相同數值),即可更精確地將第一校正電流I1的多個狀態區間給區分出來。據此,根據校正參考電流Ir’,所分析類比之第一校正電流I1的電流分佈狀態,即為數位之乘積運算訊號(運算結果)。As shown in Figures 4C and 4D, after the output current I0 is adjusted to the first correction current I1 shown in Figure 4C, each state interval of the first correction current I1 still does not completely correspond to the initial reference thresholds r1-r7, Therefore, the current distribution state cannot be accurately judged. Therefore, by shifting the initial reference thresholds r1~r7 (as shown in FIG. 4D, the corrected reference thresholds r1'~r7' add a same value to the initial reference thresholds r1~r7), the A plurality of state intervals of the first correction current I1 are distinguished. Accordingly, according to the calibration reference current Ir', the current distribution state of the analyzed analog first calibration current I1 is the digital product operation signal (operation result).

承上,如第7圖所示,第二校正電路260包含多個第二記憶串列MS2。第二記憶串列MS2包含多個第二記憶單元MC2。第二記憶串列MS2電性連接於第二位元線BLx~Bly。該些第二記憶串列MS2同樣透過多條源極選擇線SSL’’、多條接地選擇線GSL’’、多條位元線BLx~Bly及多條字元線WL1’’~WLn’’來驅動。 在部份實施例中,第二記憶串列MS2中的第二記憶單元MC2皆保持導通,第二校正電路260選擇性地導通部份之第二位元線BLx~Bly,以透過部份之第二位元線BLx~Bly,傳送校正訊號至對應之第二記憶串列MS2。據此,該些第二記憶串列MS2於共同源極線CSL’’上輸出的電流總和即為第二校正電流I2。第二校正電流I2用以與初始參考電流Ir相疊加,其作用相當於「平移初始參考閾值r1~r7」,即如第4C及4D圖所示的變化。As mentioned above, as shown in FIG. 7 , the second correction circuit 260 includes a plurality of second memory series MS2. The second memory series MS2 includes a plurality of second memory cells MC2. The second memory series MS2 is electrically connected to the second bit lines BLx˜Bly. These second memory series MS2 also pass through a plurality of source selection lines SSL'', a plurality of ground selection lines GSL'', a plurality of bit lines BLx-Bly and a plurality of word lines WL1''-WLn'' to drive. In some embodiments, the second memory cells MC2 in the second memory series MS2 are all kept on, and the second correction circuit 260 selectively turns on some of the second bit lines BLx-Bly to pass through some of the second bit lines BLx-Bly. The second bit lines BLx-Bly transmit calibration signals to the corresponding second memory series MS2. Accordingly, the sum of the currents output by the second memory series MS2 on the common source line CSL'' is the second calibration current I2. The second correction current I2 is used to superimpose with the initial reference current Ir, and its function is equivalent to "shifting the initial reference thresholds r1-r7", that is, the changes shown in FIGS. 4C and 4D.

前述各實施例中的各項元件、方法步驟或技術特徵,係可相互結合,而不以本揭示內容中的文字描述順序或圖式呈現順序為限。Various components, method steps or technical features in the above-mentioned embodiments can be combined with each other, and are not limited by the order of description in words or presentation in drawings in the present disclosure.

雖然本揭示內容已以實施方式揭露如上,然其並非用以限定本揭示內容,任何熟習此技藝者,在不脫離本揭示內容之精神和範圍內,當可作各種更動與潤飾,因此本揭示內容之保護範圍當視後附之申請專利範圍所界定者為準。Although the content of this disclosure has been disclosed above in terms of implementation, it is not intended to limit the content of this disclosure. Anyone who is skilled in this art can make various changes and modifications without departing from the spirit and scope of this disclosure. Therefore, this disclosure The scope of protection of the content shall be defined by the scope of the attached patent application.

100:記憶體 110:記憶單元 200:記憶體裝置 210:記憶陣列 220:第一校正電路 221:電流鏡 222:類比開關 230:類比數位轉換電路 240:參考電路 241:參考記憶串列 250:偏差預估電路 260:第二校正電路 MS1:第一記憶串列 MS2:第二記憶串列 MC1:第一記憶單元 MC2:第二記憶單元 BLa-BLb:位元線 BL1-BLn:第一位元線 BLx-BLy:第二位元線 CSL:共同源極線 CSL’:共同源極線 CSL’’:共同源極線 GSL:接地選擇線 GSL’:接地選擇線 GSL’’:接地選擇線 SSL1-SSLn:源極選擇線 SSL1’-SSLn’:源極選擇線 SSL1’’-SSLn’’:源極選擇線 WL0-WLn:字元線 WL0’-WLn’:字元線 WL0’’-WLn’’:字元線 T1:輸入電晶體 T2-T5:輸出電晶體 Vin:輸入訊號 Vb:參考訊號 Id:理想電流 I0:輸出電流 I1:第一校正電流 I2:第二校正電流 Ir:初始參考電流 Ir’:校正參考電流 r1-r7:初始參考閾值 r1’-r7’:校正參考閾值 Ca-Ce:控制訊號 Ta-Te:開關 SF:校正比例 S501-S504:步驟 100: Memory 110: memory unit 200: memory device 210: memory array 220: the first correction circuit 221: current mirror 222: Analog switch 230: Analog to digital conversion circuit 240: Reference circuit 241: Reference memory series 250: Bias estimation circuit 260: the second correction circuit MS1: First Memory Serial MS2: Second Memory Serial MC1: the first memory unit MC2: second memory unit BLa-BLb: bit line BL1-BLn: the first bit line BLx-BLy: Second bit line CSL: common source line CSL': common source line CSL'': common source line GSL: Ground Selection Line GSL’: ground selection line GSL'': ground selection line SSL1-SSLn: source selection lines SSL1'-SSLn': source selection line SSL1''-SSLn'': source selection line WL0-WLn: word line WL0'-WLn': word line WL0''-WLn'': word line T1: input transistor T2-T5: output transistor Vin: input signal Vb: reference signal Id: ideal current I0: output current I1: the first correction current I2: Second correction current Ir: initial reference current Ir': correction reference current r1-r7: initial reference threshold r1'-r7': correction reference threshold Ca-Ce: control signal Ta-Te: switch SF: Calibration Scale S501-S504: Steps

第1圖為利用記憶體進行向量矩陣乘法的示意圖。 第2圖為根據本揭示內容之部份實施例之記憶體裝置之示意圖。 第3圖為根據本揭示內容之部份實施例之記憶陣列之示意圖。 第4A~4D圖為根據本揭示內容之部份實施例之電流訊號之複數個電流分佈狀態之示意圖。 第5圖為根據本揭示內容之部份實施例之記憶體操作方法之流程圖。 第6圖為根據本揭示內容之部份實施例之第一校正電路之示意圖。 第7圖為根據本揭示內容之部份實施例之第二校正電路之示意圖。 Figure 1 is a schematic diagram of vector-matrix multiplication using memory. FIG. 2 is a schematic diagram of a memory device according to some embodiments of the present disclosure. FIG. 3 is a schematic diagram of a memory array according to some embodiments of the present disclosure. 4A-4D are schematic diagrams of multiple current distribution states of current signals according to some embodiments of the present disclosure. FIG. 5 is a flowchart of a memory operation method according to some embodiments of the present disclosure. FIG. 6 is a schematic diagram of a first correction circuit according to some embodiments of the present disclosure. FIG. 7 is a schematic diagram of a second correction circuit according to some embodiments of the present disclosure.

國內寄存資訊(請依寄存機構、日期、號碼順序註記) 無 國外寄存資訊(請依寄存國家、機構、日期、號碼順序註記) 無 Domestic deposit information (please note in order of depositor, date, and number) none Overseas storage information (please note in order of storage country, institution, date, and number) none

S501-S504:步驟 S501-S504: Steps

Claims (10)

一種記憶體操作方法,包含:利用複數個第一記憶串列之複數個電導,儲存複數個乘積係數,其中該些第一記憶串列電性連接於複數個第一位元線及一共同源極線;透過該些第一位元線,接收複數個輸入訊號,且該些輸入訊號與該些第一記憶串列之該些電導於該共同源極線上產生一輸出電流;透過一第一校正電路,根據一校正比例縮放該輸出電流,以產生一第一校正電流;以及透過一類比數位轉換電路,接收該第一校正電流,且根據該第一校正電流取得一乘積運算訊號。 A method for operating a memory, comprising: using a plurality of conductances of a plurality of first memory strings to store a plurality of product coefficients, wherein the first memory strings are electrically connected to a plurality of first bit lines and a common source Pole line; through the first bit lines, a plurality of input signals are received, and the input signals and the conductances of the first memory series generate an output current on the common source line; through a first The correction circuit scales the output current according to a correction ratio to generate a first correction current; and receives the first correction current through an analog-to-digital conversion circuit, and obtains a product operation signal according to the first correction current. 如請求項1所述之記憶體操作方法,其中根據該校正比例縮放該輸出電流的方法包含:取得對應於該些第一記憶串列之一平均偏差;根據該平均偏差,取得該校正比例,其中該校正比例與該平均偏差不同;以及根據該校正比例,將該輸出電流轉換為該第一校正電流。 The memory operation method as described in claim 1, wherein the method of scaling the output current according to the correction ratio includes: obtaining an average deviation corresponding to the first memory strings; obtaining the correction ratio according to the average deviation, Wherein the correction ratio is different from the average deviation; and according to the correction ratio, the output current is converted into the first correction current. 如請求項1所述之記憶體操作方法,其中該第一校正電路包含一電流鏡及一類比開關,該電流鏡包含一輸入電晶體及複數個輸出電晶體,根據該校正比例縮放 該輸出電流的方法包含:透過該輸入電晶體,接收該輸出電流;透過該類比開關,選擇性地透過該些輸出電晶體中的至少一者產生該第一校正電流,其中該輸入電晶體之通道長寬比與該些輸出電晶體中的至少一者之通道長寬比的比例為該校正比例。 The memory operation method as described in claim 1, wherein the first correction circuit includes a current mirror and an analog switch, and the current mirror includes an input transistor and a plurality of output transistors, which are scaled according to the correction ratio The method of outputting current includes: receiving the output current through the input transistor; selectively generating the first correction current through at least one of the output transistors through the analog switch, wherein the input transistor The ratio of the channel aspect ratio to the channel aspect ratio of at least one of the output transistors is the calibration ratio. 如請求項3所述之記憶體操作方法,還包含:透過一參考電路,產生一初始參考電流;透過一第二校正電路,產生一第二校正電流;疊加該第二校正電流與該初始參考電流,以產生一校正參考電流;透過該類比數位轉換電路,接收該第一校正電流及該校正參考電流;以及根據該校正參考電流,分析該第一校正電流,以取得該乘積運算訊號。 The memory operation method as described in claim 3, further comprising: generating an initial reference current through a reference circuit; generating a second correction current through a second correction circuit; superimposing the second correction current and the initial reference current to generate a calibration reference current; receive the first calibration current and the calibration reference current through the analog-to-digital conversion circuit; and analyze the first calibration current according to the calibration reference current to obtain the product operation signal. 如請求項4所述之記憶體操作方法,其中該第二校正電路包含複數個第二記憶串列,該些第二記憶串列電性連接於複數個第二位元線,且產生該第二校正電流的方法包含:導通該些第二位元線的一部分,以傳送複數個校正訊號至該些第二記憶串列之對應一部分。 The memory operation method as described in claim 4, wherein the second correction circuit includes a plurality of second memory strings, and the second memory strings are electrically connected to a plurality of second bit lines, and generate the first memory strings The method for correcting the current includes: turning on a part of the second bit lines to send a plurality of correcting signals to the corresponding part of the second memory strings. 一種記憶體裝置,包含:一記憶體陣列,包含複數個第一記憶串列,其中該些第一記憶串列之複數個電導用以儲存複數個乘積係數,該些第一記憶串列電性連接於複數個第一位元線及一共同源極線,用以透過該些第一位元線,接收複數個輸入訊號,且於該共同源極線上產生一輸出電流;一第一校正電路,電性連接於該共同源極線,用以根據一校正比例縮放該輸出電流,以產生一第一校正電流,其中該第一校正電流用以被分析為一乘積運算訊號。 A memory device, comprising: a memory array, including a plurality of first memory strings, wherein the plurality of conductances of the first memory strings are used to store a plurality of product coefficients, and the electrical properties of the first memory strings are connected to a plurality of first bit lines and a common source line, for receiving a plurality of input signals through the first bit lines, and generating an output current on the common source line; a first correction circuit , electrically connected to the common source line, for scaling the output current according to a calibration ratio to generate a first calibration current, wherein the first calibration current is analyzed as a product operation signal. 如請求項6所述之記憶體裝置,其中該第一校正電路包含一電流鏡及一類比開關,該電流鏡包含:一輸入電晶體,電性連接於該共同源極線,用以接收該輸出電流;以及複數個輸出電晶體,該些輸出電晶體之閘極電性連接於該輸入電晶體之閘極,其中該輸入電晶體之通道長寬比與被導通之該些輸出電晶體之通道長寬比的比例為該校正比例,該些輸出電晶體的至少一者透過該類比開關輸出該第一校正電流。 The memory device as described in claim 6, wherein the first correction circuit includes a current mirror and an analog switch, and the current mirror includes: an input transistor electrically connected to the common source line for receiving the output current; and a plurality of output transistors, the gates of these output transistors are electrically connected to the gates of the input transistors, wherein the channel aspect ratio of the input transistors is the same as that of the turned-on output transistors The ratio of channel aspect ratio is the correction ratio, and at least one of the output transistors outputs the first correction current through the analog switch. 如請求項7所述之記憶體裝置,還包含:一參考電路,用以產生一初始參考電流;一第二校正電路,用以產生一第二校正電流,其中該第二校正電流與該初始參考電流被疊加以產生一校正參考電 流;以及一類比數位轉換電路,電性連接於該第一校正電路、該參考電路及該第二校正電路,以接收該第一校正電流及該校正參考電流,其中該類比數位轉換電路用以根據該校正參考電流,分析該第一校正電流,以取得該乘積運算訊號。 The memory device according to claim 7, further comprising: a reference circuit for generating an initial reference current; a second correction circuit for generating a second correction current, wherein the second correction current is the same as the initial reference currents are summed to produce a corrected reference current flow; and an analog-to-digital conversion circuit electrically connected to the first calibration circuit, the reference circuit, and the second calibration circuit to receive the first calibration current and the calibration reference current, wherein the analog-to-digital conversion circuit is used for According to the calibration reference current, the first calibration current is analyzed to obtain the product operation signal. 如請求項8所述之記憶體裝置,其中該第二校正電路包含:複數個第二記憶串列,電性連接於複數個第二位元線,其中該些第二記憶串列中的複數個記憶單元保持導通,該些第二記憶串列用以接收部份之該些第二位元線提供之複數個校正訊號,產生該第二校正電流。 The memory device according to claim 8, wherein the second correction circuit includes: a plurality of second memory strings electrically connected to a plurality of second bit lines, wherein the plurality of second memory strings The memory cells are kept on, and the second memory series are used to receive a plurality of calibration signals provided by some of the second bit lines to generate the second calibration current. 如請求項6所述之記憶體裝置,其中對應於同一條之該些第一位元線的該些第一記憶串列,用以儲存該些乘積係數的其中一者。 The memory device according to claim 6, wherein the first memory strings corresponding to the same first bit lines are used to store one of the multiplication coefficients.
TW111108809A 2022-03-10 2022-03-10 Memory device and memory operation method TWI806484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111108809A TWI806484B (en) 2022-03-10 2022-03-10 Memory device and memory operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111108809A TWI806484B (en) 2022-03-10 2022-03-10 Memory device and memory operation method

Publications (2)

Publication Number Publication Date
TWI806484B true TWI806484B (en) 2023-06-21
TW202336760A TW202336760A (en) 2023-09-16

Family

ID=87803157

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111108809A TWI806484B (en) 2022-03-10 2022-03-10 Memory device and memory operation method

Country Status (1)

Country Link
TW (1) TWI806484B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075067A1 (en) * 2011-11-18 2013-05-23 Aplus Flash Technology, Inc. Low voltage page buffer for use in nonvolatile memory design
TW201329983A (en) * 2007-11-06 2013-07-16 Macronix Int Co Ltd Integrated circuit
US9836219B2 (en) * 2014-07-04 2017-12-05 Samsung Electronics Co., Ltd. Storage device and read methods thereof
US20200202947A1 (en) * 2017-11-22 2020-06-25 Seoul National University R&Db Foundation Flash memory device for protecting data by programing selection transistor of cell string, and data storage device comprising same
TW202135067A (en) * 2020-03-06 2021-09-16 旺宏電子股份有限公司 Memory apparatus, source line voltage adjuster and source line voltage adjusting method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201329983A (en) * 2007-11-06 2013-07-16 Macronix Int Co Ltd Integrated circuit
WO2013075067A1 (en) * 2011-11-18 2013-05-23 Aplus Flash Technology, Inc. Low voltage page buffer for use in nonvolatile memory design
US9836219B2 (en) * 2014-07-04 2017-12-05 Samsung Electronics Co., Ltd. Storage device and read methods thereof
US20200202947A1 (en) * 2017-11-22 2020-06-25 Seoul National University R&Db Foundation Flash memory device for protecting data by programing selection transistor of cell string, and data storage device comprising same
TW202135067A (en) * 2020-03-06 2021-09-16 旺宏電子股份有限公司 Memory apparatus, source line voltage adjuster and source line voltage adjusting method thereof

Also Published As

Publication number Publication date
TW202336760A (en) 2023-09-16

Similar Documents

Publication Publication Date Title
CN111722830B (en) Nonvolatile computing method of flash memory
US9318223B2 (en) Programming nonvolatile memory based on statistical analysis of charge level distributions of memory cells
US8369141B2 (en) Adaptive estimation of memory cell read thresholds
US10388394B2 (en) Syndrome weight based evaluation of memory cells performance using multiple sense operations
KR101310991B1 (en) Read distribution management for phase change memory
TWI596616B (en) Inter-cell interference cancellation
KR20220043243A (en) Memory device with dynamic programming calibration
US20120230081A1 (en) Cell-state measurement in resistive memory
US10741260B1 (en) Systems and methods providing improved calibration of memory control voltage
KR20190054774A (en) Nonvolatile memory device and operating method of the same
KR20130023102A (en) Memory device with reduced sense time readout
JP2013145625A (en) Optimized threshold search in analog memory cells
TWI546807B (en) Soft readout from analog memory cells in the presence of read threshold errors
CN112558917B (en) Integrated storage and calculation circuit and data calculation method based on integrated storage and calculation circuit
JP2020144958A (en) Memory system and method
CN114389612A (en) Analog-digital converter calibration method and device based on memristor array
TWI806484B (en) Memory device and memory operation method
US11342040B2 (en) Memory system
US11430524B2 (en) Method for designing an initialization function for programming a memory element
KR101177458B1 (en) Apparatus and method for computing coupling voltage noise occurred in flash memory device
CN116384246A (en) Integrated memory and calculation device for matrix calculation and operation method thereof
CN115954029A (en) Multi-bit operation module and in-memory calculation circuit structure using the same
CN112017701B (en) Threshold voltage adjusting device and threshold voltage adjusting method
US11107509B1 (en) Continuous sensing to determine read points
US10832772B2 (en) Apparatus for a memristor crossbar array