[go: up one dir, main page]

TWI889367B - Memory array circuit, ternary content addressable memory and operation method thereof - Google Patents

Memory array circuit, ternary content addressable memory and operation method thereof Download PDF

Info

Publication number
TWI889367B
TWI889367B TW113120353A TW113120353A TWI889367B TW I889367 B TWI889367 B TW I889367B TW 113120353 A TW113120353 A TW 113120353A TW 113120353 A TW113120353 A TW 113120353A TW I889367 B TWI889367 B TW I889367B
Authority
TW
Taiwan
Prior art keywords
voltage
line
electrically connected
data
transistor
Prior art date
Application number
TW113120353A
Other languages
Chinese (zh)
Other versions
TW202501481A (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 US18/755,664 priority Critical patent/US20250006271A1/en
Publication of TW202501481A publication Critical patent/TW202501481A/en
Application granted granted Critical
Publication of TWI889367B publication Critical patent/TWI889367B/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0009RRAM elements whose operation depends upon chemical change
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0023Address circuits or decoders
    • G11C13/0026Bit-line or column circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0023Address circuits or decoders
    • G11C13/0028Word-line or row circuits

Landscapes

  • Read Only Memory (AREA)

Abstract

The present disclosure provides a ternary content addressable memory, which includes a first memory unit and a second memory unit, and the second memory unit is electrically connected to the first memory unit. The first memory unit includes a control transistor and a first variable impedance passive component. One end of the first variable impedance passive component is electrically connected to the gate of the control transistor. The second memory unit includes a data transistor and a second variable impedance passive component. The data transistor is connected in series with the control transistor, and one end of the second variable impedance passive component is electrically connected to the gate of the data transistor.

Description

記憶體陣列電路、三元內容可定址記憶體及其操作方法Memory array circuit, ternary content addressable memory and operation method thereof

本發明是有關於一種儲存電路及其操作方法,且特別是有關於一種記憶體陣列電路、三元內容可定址記憶體及其操作方法。The present invention relates to a storage circuit and an operating method thereof, and in particular to a memory array circuit, a ternary content addressable memory and an operating method thereof.

隨著半導體產業的蓬勃發展,半導體元件亦隨之不斷推陳出新。在許多應用領域中,三元內容可定址記憶體(TCAM)廣泛地運用在各類電子產品。With the rapid development of the semiconductor industry, semiconductor components are constantly being innovated. Among many application areas, ternary content addressable memory (TCAM) is widely used in various electronic products.

傳統上,三元內容可定址記憶體通常由兩個具有額外匹配邏輯元件的靜態隨機存取記憶體(SRAM)單元來實現。然而,SRAM-TCAM不僅佔用十顆以上的電晶體來表示搜尋,而且由於SRAM的揮發性,它也是耗能的。因此,基於上述原因,需要一種新的三元內容可定址記憶體,以改善先前技術的問題。Traditionally, ternary content addressable memory is usually implemented by two static random access memory (SRAM) cells with additional matching logic elements. However, SRAM-TCAM not only occupies more than ten transistors to represent the search, but it is also energy-consuming due to the volatility of SRAM. Therefore, based on the above reasons, a new ternary content addressable memory is needed to improve the problems of the previous technology.

本發明提出一種記憶體陣列電路、三元內容可定址記憶體及其操作方法,改善先前技術的問題。The present invention provides a memory array circuit, a ternary content addressable memory and an operation method thereof to improve the problems of the prior art.

在本發明的一實施例中,本發明所提出的三元內容可定址記憶體,其包含第一記憶單元以及第二記憶單元,第二記憶單元電性連接第一記憶單元。第一記憶單元包含控制電晶體與第一阻抗可變被動元件,第一阻抗可變被動元件的一端電性連接控制電晶體的閘極;第二記憶單元包含資料電晶體與第二阻抗可變被動元件,資料電晶體串接控制電晶體,第二阻抗可變被動元件的一端電性連接資料電晶體的閘極。In one embodiment of the present invention, the ternary content addressable memory proposed by the present invention includes a first memory unit and a second memory unit, wherein the second memory unit is electrically connected to the first memory unit. The first memory unit includes a control transistor and a first variable impedance passive element, wherein one end of the first variable impedance passive element is electrically connected to the gate of the control transistor; the second memory unit includes a data transistor and a second variable impedance passive element, wherein the data transistor is connected in series to the control transistor, and one end of the second variable impedance passive element is electrically connected to the gate of the data transistor.

在本發明的一實施例中,控制電晶體的一源極/汲極電性連接位元線,控制電晶體的另一源極/汲極電性連接資料電晶體的一源極/汲極,控制電晶體的另一源極/汲極與資料電晶體的源極/汲極共同電性連接匹配線,資料電晶體的另一源極/汲極電性連接資料線。In one embodiment of the present invention, a source/drain of the control transistor is electrically connected to the bit line, another source/drain of the control transistor is electrically connected to a source/drain of the data transistor, another source/drain of the control transistor and the source/drain of the data transistor are electrically connected to the matching line, and another source/drain of the data transistor is electrically connected to the data line.

在本發明的一實施例中,第一阻抗可變被動元件的另一端電性連接控制線,第二阻抗可變被動元件的另一端電性連接字元線。In one embodiment of the present invention, the other end of the first variable impedance passive element is electrically connected to the control line, and the other end of the second variable impedance passive element is electrically connected to the word line.

在本發明的一實施例中,第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端共同電性連接字元線。In one embodiment of the present invention, the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are electrically connected to the word line.

在本發明的一實施例中,第一阻抗可變被動元件與第二阻抗可變被動元件中每一者可為可變電阻器、可變電容器或具電子捕捉能力且固定介電常數的電容性元件。In an embodiment of the present invention, each of the first variable impedance passive element and the second variable impedance passive element can be a variable resistor, a variable capacitor, or a capacitive element with electron trapping capability and a fixed dielectric constant.

在本發明的一實施例中,本發明提出的記憶體陣列電路包含複數個三元內容可定址記憶體,複數個三元內容可定址記憶體排列成陣列,複數個三元內容可定址記憶體中的每一者包含第一記憶單元以及第二記憶單元,第二記憶單元電性連接第一記憶單元。第一記憶單元包含控制電晶體與第一阻抗可變被動元件,第一阻抗可變被動元件的一端電性連接控制電晶體的閘極;第二記憶單元包含資料電晶體與第二阻抗可變被動元件,資料電晶體串接控制電晶體,第二阻抗可變被動元件的一端電性連接資料電晶體的閘極。In one embodiment of the present invention, the memory array circuit proposed by the present invention includes a plurality of ternary content addressable memories, the plurality of ternary content addressable memories are arranged in an array, each of the plurality of ternary content addressable memories includes a first memory cell and a second memory cell, and the second memory cell is electrically connected to the first memory cell. The first memory cell includes a control transistor and a first impedance variable passive element, and one end of the first impedance variable passive element is electrically connected to the gate of the control transistor; the second memory cell includes a data transistor and a second impedance variable passive element, the data transistor is connected in series with the control transistor, and one end of the second impedance variable passive element is electrically connected to the gate of the data transistor.

在本發明的一實施例中,控制電晶體的一源極/汲極電性連接複數個位元線中的一者,控制電晶體的另一源極/汲極電性連接資料電晶體的一源極/汲極,控制電晶體的另一源極/汲極與資料電晶體的源極/汲極共同電性連接複數個匹配線中的一者,資料電晶體的另一源極/汲極電性連接複數個資料線中的一者,複數個位元線與複數個資料線電性連接第一電路,複數個匹配線電性連接第二電路。In one embodiment of the present invention, a source/drain of a control transistor is electrically connected to one of a plurality of bit lines, another source/drain of the control transistor is electrically connected to a source/drain of a data transistor, another source/drain of the control transistor and the source/drain of the data transistor are electrically connected to one of a plurality of match lines, another source/drain of the data transistor is electrically connected to one of a plurality of data lines, a plurality of bit lines and a plurality of data lines are electrically connected to a first circuit, and a plurality of match lines are electrically connected to a second circuit.

在本發明的一實施例中,第一阻抗可變被動元件的另一端電性連接複數個控制線中的一者,第二阻抗可變被動元件的另一端電性連接複數個字元線中的一者,複數個控制線電性連接第四電路,複數個字元線電性連接第三電路。In one embodiment of the present invention, the other end of the first variable impedance passive element is electrically connected to one of a plurality of control lines, the other end of the second variable impedance passive element is electrically connected to one of a plurality of word lines, the plurality of control lines are electrically connected to the fourth circuit, and the plurality of word lines are electrically connected to the third circuit.

在本發明的一實施例中,第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端皆電性連接複數個字元線中的一者,複數個字元線電性連接第三電路。In an embodiment of the present invention, the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are both electrically connected to one of a plurality of word lines, and the plurality of word lines are electrically connected to a third circuit.

在本發明的一實施例中,本發明提出的三元內容可定址記憶體的操作方法,三元內容可定址記憶體包含第一記憶單元與第二記憶單元,第一記憶單元包含控制電晶體與第一阻抗可變被動元件,第一阻抗可變被動元件的一端電性連接控制電晶體的一閘極,第二記憶單元包含資料電晶體與第二阻抗可變被動元件,資料電晶體串接控制電晶體,第二阻抗可變被動元件的一端電性連接資料電晶體的一閘極,操作方法包含以下步驟:於搜尋三元內容可定址記憶體時,對第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端皆施予工作電壓,並讀取位元線的電流值以判斷第一記憶單元於相關模式或無關模式,其中控制電晶體的一源極/汲極電性連接位元線,於無關模式,控制電晶體的通道電阻為第一電阻狀態,而於相關模式,控制電晶體的通道電阻為第三電阻狀態,資料電晶體的通道電阻為第二電阻狀態或第四電阻狀態,第一電阻狀態大於第二電阻狀態,第二電阻狀態大於第三電阻狀態,第三電阻狀態大於第四電阻狀態。In one embodiment of the present invention, the present invention provides an operation method for a ternary content addressable memory, wherein the ternary content addressable memory comprises a first memory unit and a second memory unit, wherein the first memory unit comprises a control transistor and a first variable impedance passive element, wherein one end of the first variable impedance passive element is electrically connected to a gate of the control transistor, and the second memory unit comprises a data transistor and a second variable impedance passive element, wherein the data transistor is connected in series with the control transistor, and one end of the second variable impedance passive element is electrically connected to a gate of the data transistor. The operation method comprises the following steps: when searching the ternary content addressable memory, searching the first memory unit for a control transistor; The other end of the impedance variable passive element and the other end of the second impedance variable passive element are both applied with a working voltage, and the current value of the bit line is read to determine whether the first memory unit is in a related mode or an irrelevant mode, wherein a source/drain of the control transistor is electrically connected to the bit line, in the irrelevant mode, the channel resistance of the control transistor is in a first resistance state, and in the related mode, the channel resistance of the control transistor is in a third resistance state, and the channel resistance of the data transistor is in a second resistance state or a fourth resistance state, the first resistance state is greater than the second resistance state, the second resistance state is greater than the third resistance state, and the third resistance state is greater than the fourth resistance state.

在本發明的一實施例中,控制電晶體的另一源極/汲極電性連接資料電晶體的一源極/汲極,控制電晶體的另一源極/汲極與資料電晶體的源極/汲極共同電性連接匹配線,資料電晶體的另一源極/汲極電性連接一資料線,操作方法更包含:當第一記憶單元於相關模式時,對資料線施予第一電壓,對位元線施予互補於第一電壓的一第二電壓,並依據匹配線的電壓值以判斷第二記憶單元所儲存的資訊對應於第一搜尋結果或第二搜尋結果,第二搜尋結果相反於第一搜尋結果。In one embodiment of the present invention, another source/drain of the control transistor is electrically connected to a source/drain of the data transistor, another source/drain of the control transistor and the source/drain of the data transistor are electrically connected to a matching line, and another source/drain of the data transistor is electrically connected to a data line. The operating method further includes: when the first memory unit is in a related mode, a first voltage is applied to the data line, and a second voltage complementary to the first voltage is applied to the bit line, and the information stored in the second memory unit is judged according to the voltage value of the matching line to correspond to the first search result or the second search result, and the second search result is opposite to the first search result.

在本發明的一實施例中,資料電晶體的通道電阻為第四電阻狀態,若資料線的第一電壓為零電壓且位元線的第二電壓為工作電壓,匹配線的電壓值約為零電壓,第二記憶單元所儲存的資訊對應於第一搜尋結果,若資料線的第一電壓為工作電壓且位元線的第二電壓為零電壓時,匹配線的電壓值為比三分之一的工作電壓高的電壓,第二記憶單元所儲存的資訊對應於第二搜尋結果。In one embodiment of the present invention, the channel resistance of the data transistor is in a fourth resistance state. If the first voltage of the data line is zero voltage and the second voltage of the bit line is an operating voltage, the voltage value of the match line is approximately zero voltage, and the information stored in the second memory unit corresponds to the first search result. If the first voltage of the data line is an operating voltage and the second voltage of the bit line is zero voltage, the voltage value of the match line is a voltage higher than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the second search result.

在本發明的一實施例中,資料電晶體的通道電阻為第二電阻狀態,若資料線的第一電壓為零電壓且位元線的第二電壓為工作電壓,匹配線的電壓值為比三分之一的工作電壓高的電壓,第二記憶單元所儲存的資訊對應於第二搜尋結果,若資料線的第一電壓為工作電壓且位元線的第二電壓為零電壓時,匹配線的電壓值約為比三分之一的工作電壓低的電壓,第二記憶單元所儲存的資訊對應於第一搜尋結果。In one embodiment of the present invention, the channel resistance of the data transistor is in a second resistance state. If the first voltage of the data line is zero voltage and the second voltage of the bit line is an operating voltage, the voltage value of the match line is a voltage higher than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the second search result. If the first voltage of the data line is the operating voltage and the second voltage of the bit line is zero voltage, the voltage value of the match line is approximately a voltage lower than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the first search result.

在本發明的一實施例中,第一阻抗可變被動元件的另一端電性連接一控制線,第二阻抗可變被動元件的另一端電性連接一字元線,對第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端皆施予工作電壓之步驟包含:對控制線與字元線皆施予工作電壓。In one embodiment of the present invention, the other end of the first variable impedance passive element is electrically connected to a control line, and the other end of the second variable impedance passive element is electrically connected to a word line. The step of applying a working voltage to the other end of the first variable impedance passive element and the other end of the second variable impedance passive element includes: applying a working voltage to both the control line and the word line.

在本發明的一實施例中,操作方法更包含:於編程第一記憶單元時,對控制線施予一編程電壓,將字元線浮接,將匹配線浮接,對位元線施予一零電壓,將資料線浮接;於編程第二記憶單元時,將控制線浮接,對字元線施予編程電壓,將匹配線浮接,將位元線浮接,對資料線施予零電壓。In one embodiment of the present invention, the operating method further includes: when programming the first memory cell, applying a programming voltage to the control line, floating the word line, floating the match line, applying a zero voltage to the bit line, and floating the data line; when programming the second memory cell, floating the control line, applying a programming voltage to the word line, floating the match line, floating the bit line, and applying zero voltage to the data line.

在本發明的一實施例中,操作方法更包含:於抹除第一記憶單元時,對控制線施予零電壓,將字元線浮接,將匹配線浮接,對位元線施予一抹除電壓,將資料線浮接;於抹除第二記憶單元時,將控制線浮接,對字元線施予零電壓,將匹配線浮接,將位元線浮接,對資料線施予抹除電壓。In one embodiment of the present invention, the operating method further includes: when erasing the first memory cell, applying zero voltage to the control line, floating the word line, floating the match line, applying an erase voltage to the bit line, and floating the data line; when erasing the second memory cell, floating the control line, applying zero voltage to the word line, floating the match line, floating the bit line, and applying an erase voltage to the data line.

在本發明的一實施例中,操作方法更包含:於讀取第一記憶單元時,對控制線施予讀取電壓,對字元線施予零電壓,對匹配線施予零電壓,對位元線施予測試電壓,對資料線施予零電壓;於讀取第二記憶單元時,對控制線施予零電壓,對字元線施予讀取電壓,對匹配線施予零電壓,對位元線施予零電壓,對資料線施予測試電壓。In one embodiment of the present invention, the operating method further includes: when reading the first memory cell, applying a read voltage to the control line, applying a zero voltage to the word line, applying a zero voltage to the match line, applying a test voltage to the bit line, and applying a zero voltage to the data line; when reading the second memory cell, applying a zero voltage to the control line, applying a read voltage to the word line, applying a zero voltage to the match line, applying a zero voltage to the bit line, and applying a test voltage to the data line.

在本發明的一實施例中,第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端共同電性連接一字元線,對第一阻抗可變被動元件的另一端與第二阻抗可變被動元件的另一端皆施予工作電壓之步驟包含:對字元線施予工作電壓。In one embodiment of the present invention, the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are electrically connected to a word line, and the step of applying a working voltage to the other end of the first variable impedance passive element and the other end of the second variable impedance passive element includes: applying the working voltage to the word line.

在本發明的一實施例中,操作方法更包含:於編程第一記憶單元與第二記憶單元時,對字元線施予編程電壓,將匹配線浮接,對位元線施予零電壓,對資料線施予零電壓;於抹除第一記憶單元時,對字元線施予零電壓,將匹配線浮接,對位元線施予抹除電壓,將資料線浮接;於抹除第二記憶單元時,對字元線施予零電壓,將匹配線浮接,將位元線浮接,對資料線施予抹除電壓。In one embodiment of the present invention, the operating method further includes: when programming the first memory cell and the second memory cell, applying a programming voltage to the word line, floating the match line, applying a zero voltage to the bit line, and applying a zero voltage to the data line; when erasing the first memory cell, applying a zero voltage to the word line, floating the match line, applying an erase voltage to the bit line, and floating the data line; when erasing the second memory cell, applying a zero voltage to the word line, floating the match line, floating the bit line, and applying an erase voltage to the data line.

在本發明的一實施例中,操作方法更包含:於讀取第一記憶單元時,對字元線施予讀取電壓,將匹配線浮接,對位元線施予測試電壓,對資料線施予零電壓;於讀取第二記憶單元時,對字元線施予讀取電壓,將匹配線浮接,對位元線施予零電壓,對資料線施予測試電壓。In one embodiment of the present invention, the operating method further includes: when reading the first memory cell, applying a read voltage to the word line, floating the match line, applying a test voltage to the bit line, and applying a zero voltage to the data line; when reading the second memory cell, applying a read voltage to the word line, floating the match line, applying a zero voltage to the bit line, and applying a test voltage to the data line.

綜上所述,本發明之技術方案與現有技術相比具有明顯的優點和有益效果。藉由本發明的技術方案,三元內容可定址記憶體為非揮發性三元內容可定址記憶體,穩定性高並具有較寬的記憶窗口,且節約能耗。In summary, the technical solution of the present invention has obvious advantages and beneficial effects compared with the prior art. By means of the technical solution of the present invention, the ternary content addressable memory is a non-volatile ternary content addressable memory, which has high stability, a wider memory window, and saves energy.

以下將以實施方式對上述之說明作詳細的描述,並對本發明之技術方案提供更進一步的解釋。The following will describe the above description in detail with an implementation method and provide a further explanation of the technical solution of the present invention.

為了使本發明之敘述更加詳盡與完備,可參照所附之圖式及以下所述各種實施例,圖式中相同之號碼代表相同或相似之元件。另一方面,眾所週知的元件與步驟並未描述於實施例中,以避免對本發明造成不必要的限制。In order to make the description of the present invention more detailed and complete, reference may be made to the attached drawings and various embodiments described below, in which the same numbers represent the same or similar elements. On the other hand, well-known elements and steps are not described in the embodiments to avoid unnecessary limitations on the present invention.

請參照第1、2圖,本發明之技術態樣是一種三元內容可定址記憶體100、200,其可在現代數位運算架構中的資料搜尋和匹配中發揮著重要作用,或是廣泛地運用在相關之技術環節。本技術態樣之三元內容可定址記憶體100、200可達到相當的技術進步,並具有産業上的廣泛利用價值。以下將搭配第1、2圖來說明三元內容可定址記憶體100、200之具體實施方式。Please refer to Figures 1 and 2. The technical aspects of the present invention are ternary content addressable memories 100 and 200, which can play an important role in data search and matching in modern digital computing architectures, or can be widely used in related technical links. The ternary content addressable memories 100 and 200 of the present technical aspects can achieve considerable technical progress and have a wide range of industrial utilization value. The specific implementation of the ternary content addressable memories 100 and 200 will be described below in conjunction with Figures 1 and 2.

應瞭解到,三元內容可定址記憶體100、200的多種實施方式搭配第1、2圖進行描述。於以下描述中,為了便於解釋,進一步設定許多特定細節以提供一或多個實施方式的全面性闡述。然而,本技術可在沒有這些特定細節的情況下實施。於其他舉例中,為了有效描述這些實施方式,已知結構與裝置以方塊圖形式顯示。此處使用的「舉例而言」的用語,以表示「作為例子、實例或例證」的意思。此處描述的作為「舉例而言」的任何實施例,無須解讀為較佳或優於其他實施例。It should be understood that various implementations of the ternary content addressable memory 100, 200 are described in conjunction with Figures 1 and 2. In the following description, for ease of explanation, many specific details are further set to provide a comprehensive description of one or more implementations. However, the present technology can be implemented without these specific details. In other examples, in order to effectively describe these implementations, known structures and devices are shown in block diagram form. The term "for example" used here means "as an example, instance or illustration." Any embodiment described herein as "for example" is not necessarily interpreted as better or superior to other embodiments.

第1圖是依照本發明一實施例之一種三元內容可定址記憶體100的電路圖。如第1圖所示,三元內容可定址記憶體100包含第一記憶單元110以及第二記憶單元120。在架構上,第二記憶單元120電性連接第一記憶單元110。於使用時,第一記憶單元110用於控制,第二記憶單元120用於資料儲存和搜尋。具體而言,第一記憶單元110控制「相關(Care)」和「無關(Don’t Care)」模式;第二記憶單元120儲存了一些需要匹配的內容。FIG. 1 is a circuit diagram of a ternary content addressable memory 100 according to an embodiment of the present invention. As shown in FIG. 1 , the ternary content addressable memory 100 includes a first memory unit 110 and a second memory unit 120. Architecturally, the second memory unit 120 is electrically connected to the first memory unit 110. When in use, the first memory unit 110 is used for control, and the second memory unit 120 is used for data storage and search. Specifically, the first memory unit 110 controls the "Care" and "Don't Care" modes; the second memory unit 120 stores some content that needs to be matched.

應瞭解到,於實施方式與申請專利範圍中,涉及『電性連接』之描述,其可泛指一元件透過其他元件而間接電氣耦合至另一元件,或是一元件無須透過其他元件而直接電連結至另一元件。It should be understood that in the embodiments and the scope of the patent application, the description involving "electrical connection" may generally refer to one component being indirectly electrically coupled to another component through other components, or one component being directly electrically connected to another component without going through other components.

於第1圖中,第一記憶單元110包含控制電晶體111與第一阻抗可變被動元件112。在架構上,第一阻抗可變被動元件112的一端電性連接控制電晶體111的閘極。相似地,第二記憶單元120包含資料電晶體121與第二阻抗可變被動元件122。在架構上,資料電晶體121串接控制電晶體111,第二阻抗可變被動元件122的一端電性連接資料電晶體121的閘極。實作上,舉例而言,於第1圖的實施例中,第1圖的控制電晶體111與資料電晶體121皆可為N型場效電晶體;或者,於其他實施例中,控制電晶體111與資料電晶體121亦可為P型場效電晶體,熟習此項技藝者當是實際應用彈性選擇之。In FIG. 1 , the first memory cell 110 includes a control transistor 111 and a first variable impedance passive element 112. In terms of structure, one end of the first variable impedance passive element 112 is electrically connected to the gate of the control transistor 111. Similarly, the second memory cell 120 includes a data transistor 121 and a second variable impedance passive element 122. In terms of structure, the data transistor 121 is connected in series with the control transistor 111, and one end of the second variable impedance passive element 122 is electrically connected to the gate of the data transistor 121. In practice, for example, in the embodiment of FIG. 1 , the control transistor 111 and the data transistor 121 of FIG. 1 may both be N-type field effect transistors; or, in other embodiments, the control transistor 111 and the data transistor 121 may also be P-type field effect transistors. Those familiar with this technology should be able to flexibly select one according to actual application.

再者,需要說明的是,雖然這裡可以使用術語『第一』、『第二』…等來描述各種元件,但是這些元件不應受這些術語的限制。這些術語僅用於將一種元件與另一種元件區分開來。例如,在不脫離實施例的範圍的情況下,第一元件可被稱為第二元件,並且類似地,第二元件可被稱為第一元件。Furthermore, it should be noted that although the terms "first", "second", etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the embodiments.

於第1圖中,控制電晶體111的一源極/汲極電性連接位元線BL,控制電晶體111的另一源極/汲極電性連接資料電晶體121的一源極/汲極,控制電晶體111的另一源極/汲極與資料電晶體121的源極/汲極共同電性連接匹配線ML,資料電晶體121的另一源極/汲極電性連接資料線DL。In FIG. 1 , a source/drain of the control transistor 111 is electrically connected to the bit line BL, another source/drain of the control transistor 111 is electrically connected to a source/drain of the data transistor 121, another source/drain of the control transistor 111 and the source/drain of the data transistor 121 are electrically connected to the match line ML, and another source/drain of the data transistor 121 is electrically connected to the data line DL.

於第1圖中,在本發明的一些實施例中,第一阻抗可變被動元件112的另一端電性連接控制線CL,第二阻抗可變被動元件122的另一端電性連接字元線WL。藉由控制線CL與字元線WL分別連接不同的阻抗可變被動元件,以便於後續分別對第一記憶單元110以及第二記憶單元120進行編程的操作。 In FIG. 1, in some embodiments of the present invention, the other end of the first variable impedance passive element 112 is electrically connected to the control line CL, and the other end of the second variable impedance passive element 122 is electrically connected to the word line WL. Different variable impedance passive elements are connected to the control line CL and the word line WL, so as to facilitate the subsequent programming operation of the first memory unit 110 and the second memory unit 120.

於第1圖中,在本發明的一些實施例中,第一阻抗可變被動元件112與第二阻抗可變被動元件122中每一者可為可變電阻器、可變電容器(如:鐵電電容器)、具電子捕捉能力且固定介電常數的電容性元件(如:快閃記憶體中浮動閘極的材料)或其他可變儲存特性的材料。 In FIG. 1, in some embodiments of the present invention, each of the first variable impedance passive element 112 and the second variable impedance passive element 122 can be a variable resistor, a variable capacitor (such as a ferroelectric capacitor), a capacitive element with electron capture capability and a fixed dielectric constant (such as the material of the floating gate in a flash memory), or other materials with variable storage properties.

綜合以上,本發明採用第一阻抗可變被動元件112與第二阻抗可變被動元件122,使得三元內容可定址記憶體100可做為非揮發性三元內容可定址記憶體,穩定性高並具有較寬的記憶窗口,且節約能耗。 In summary, the present invention adopts the first variable impedance passive element 112 and the second variable impedance passive element 122, so that the ternary content addressable memory 100 can be used as a non-volatile ternary content addressable memory, which has high stability, a wider memory window, and saves energy.

於一控制實驗中,自旋轉矩轉移磁隨機存取記憶體(STT-MRAM)做為三元內容可定址記憶體,但狀態「0」和「1」之間的記憶窗口較窄,導致訊號完整性惡化,且編程電流較大。 In a controlled experiment, spin-torque transfer magnetic random access memory (STT-MRAM) was used as ternary content addressable memory, but the memory window between states "0" and "1" was narrow, resulting in degraded signal integrity and high programming current.

於一控制實驗中,一電晶體搭配一電阻式隨機存取記憶體(RRAM)來做為三元內容可定址記憶體,但有限的耐用週期和RRAM的記憶窗口不足是不可避免的缺點。 In a controlled experiment, a transistor was paired with a resistive random access memory (RRAM) as ternary content addressable memory, but the limited endurance cycle and insufficient memory window of RRAM are inevitable drawbacks.

第2圖是依照本發明另一實施例之一種三元內容可定址記憶體200的電路圖。如第2圖所示,三元內容可定址記憶體200包含第一記憶單元210以及第二記憶單元220。在架構上,第二記憶單元220電性連接第一記憶單元210。 FIG. 2 is a circuit diagram of a ternary content addressable memory 200 according to another embodiment of the present invention. As shown in FIG. 2, the ternary content addressable memory 200 includes a first memory unit 210 and a second memory unit 220. In terms of architecture, the second memory unit 220 is electrically connected to the first memory unit 210.

於第2圖中,第一記憶單元210包含控制電晶體 211與第一阻抗可變被動元件212。在架構上,第一阻抗可變被動元件212的一端電性連接控制電晶體211的閘極。相似地,第二記憶單元220包含資料電晶體221與第二阻抗可變被動元件222。在架構上,資料電晶體221串接控制電晶體211,第二阻抗可變被動元件222的一端電性連接資料電晶體221的閘極。實作上,舉例而言,於第1圖的實施例中,第1圖的控制電晶體111與資料電晶體221皆可為N型場效電晶體;或者,於其他實施例中,控制電晶體211與資料電晶體221亦可為P型場效電晶體,熟習此項技藝者當是實際應用彈性選擇之。 In FIG. 2 , the first memory cell 210 includes a control transistor 211 and a first variable impedance passive element 212. In terms of structure, one end of the first variable impedance passive element 212 is electrically connected to the gate of the control transistor 211. Similarly, the second memory cell 220 includes a data transistor 221 and a second variable impedance passive element 222. In terms of structure, the data transistor 221 is connected in series with the control transistor 211, and one end of the second variable impedance passive element 222 is electrically connected to the gate of the data transistor 221. In practice, for example, in the embodiment of FIG. 1, the control transistor 111 and the data transistor 221 of FIG. 1 can both be N-type field effect transistors; or, in other embodiments, the control transistor 211 and the data transistor 221 can also be P-type field effect transistors. Those familiar with this technology should flexibly choose according to actual application.

於第2圖中,控制電晶體211的一源極/汲極電性連接位元線BL,控制電晶體211的另一源極/汲極電性連接資料電晶體221的一源極/汲極,控制電晶體211的另一源極/汲極與資料電晶體221的源極/汲極共同電性連接匹配線ML,資料電晶體221的另一源極/汲極電性連接資料線DL。 In Figure 2, a source/drain of the control transistor 211 is electrically connected to the bit line BL, another source/drain of the control transistor 211 is electrically connected to a source/drain of the data transistor 221, another source/drain of the control transistor 211 and the source/drain of the data transistor 221 are electrically connected to the matching line ML, and another source/drain of the data transistor 221 is electrically connected to the data line DL.

於第2圖中,在本發明的一些實施例中,第一阻抗可變被動元件212的另一端與第二阻抗可變被動元件222的另一端共同電性連接字元線WL。藉由第一阻抗可變被動元件212與第二阻抗可變被動元件222共用同一字元線WL,使得三元內容可定址記憶體200佔用較小的面積。 In FIG. 2, in some embodiments of the present invention, the other end of the first variable impedance passive element 212 and the other end of the second variable impedance passive element 222 are electrically connected to the word line WL. By sharing the same word line WL, the ternary content addressable memory 200 occupies a smaller area.

為了對三元內容可定址記憶體100的操作方法做具體的闡述,請同時參照第1、3圖。第3圖是依照本發明一實施例之一種三元內容可定址記憶體100的操作方法中於設定、重設及讀取的圖表。For a detailed description of the operation method of the ternary content addressable memory 100, please refer to Figures 1 and 3. Figure 3 is a diagram of setting, resetting and reading in the operation method of the ternary content addressable memory 100 according to an embodiment of the present invention.

在設定三元內容可定址記憶體100的階段,於編程第一記憶單元110時,對控制線CL施予編程電壓V PGM(如:約2 V~4 V),將字元線WL浮接,將匹配線ML浮接,對位元線BL施予零電壓(如:約0V),將資料線DL浮接。相似地,於編程第二記憶單元120時,將控制線CL浮接,對字元線WL施予編程電壓V PGM,將匹配線ML浮接,將位元線BL浮接,對資料線DL施予零電壓。 In the stage of setting the ternary content addressable memory 100, when programming the first memory cell 110, a programming voltage V PGM (e.g., about 2 V to 4 V) is applied to the control line CL, the word line WL is floated, the match line ML is floated, a zero voltage (e.g., about 0V) is applied to the bit line BL, and the data line DL is floated. Similarly, when programming the second memory cell 120, the control line CL is floated, a programming voltage V PGM is applied to the word line WL, the match line ML is floated, the bit line BL is floated, and a zero voltage is applied to the data line DL.

在重設三元內容可定址記憶體100的階段,於抹除第一記憶單元110時,對控制線CL施予零電壓,將字元線WL浮接,將匹配線ML浮接,對位元線BL施予抹除電壓V ERS(如:約2 V~4 V),將資料線DL浮接。相似地,於抹除第二記憶單元120時,將控制線CL浮接,對字元線WL施予零電壓,將匹配線ML浮接,將位元線BL浮接,對資料線DL施予抹除電壓V ERSIn the stage of resetting the ternary content addressable memory 100, when erasing the first memory cell 110, a zero voltage is applied to the control line CL, the word line WL is floated, the match line ML is floated, an erase voltage V ERS (e.g., about 2 V to 4 V) is applied to the bit line BL, and the data line DL is floated. Similarly, when erasing the second memory cell 120, the control line CL is floated, a zero voltage is applied to the word line WL, the match line ML is floated, the bit line BL is floated, and an erase voltage V ERS is applied to the data line DL.

在讀取三元內容可定址記憶體100的階段,於讀取第一記憶單元110時,對控制線CL施予讀取電壓V READ(如:約0.8V),對字元線WL施予零電壓,對匹配線ML施予零電壓,對位元線BL施予測試電壓V TEST(如:約0.3V),對資料線DL施予零電壓。相似地,於讀取第二記憶單元120時,對控制線CL施予零電壓,對字元線WL施予讀取電壓V READ,對匹配線ML施予零電壓,對位元線BL施予零電壓,對資料線DL施予測試電壓V TESTIn the stage of reading the ternary content addressable memory 100, when reading the first memory cell 110, a read voltage V READ (e.g., about 0.8V) is applied to the control line CL, a zero voltage is applied to the word line WL, a zero voltage is applied to the match line ML, a test voltage V TEST (e.g., about 0.3V) is applied to the bit line BL, and a zero voltage is applied to the data line DL. Similarly, when reading the second memory cell 120, a zero voltage is applied to the control line CL, a read voltage V READ is applied to the word line WL, a zero voltage is applied to the match line ML, a zero voltage is applied to the bit line BL, and a test voltage V TEST is applied to the data line DL.

應瞭解到,本文中所使用之『約』、『大約』或『大致』係用以修飾任何可些微變化的數量,但這種些微變化並不會改變其本質。於實施方式中若無特別說明,則代表以『約』、『大約』或『大致』所修飾之數值的誤差範圍一般是容許在百分之二十以內,較佳地是於百分之十以內,而更佳地則是於百分之五以內。It should be understood that the terms "about", "approximately" or "substantially" used herein are used to modify any quantity that may vary slightly, but such slight variations do not change its essence. If there is no special explanation in the implementation method, the error range of the value modified by "about", "approximately" or "substantially" is generally allowed within 20%, preferably within 10%, and more preferably within 5%.

為了對三元內容可定址記憶體200的操作方法做具體的闡述,請同時參照第2、5圖。第5圖是依照本發明另一實施例之一種三元內容可定址記憶體200的操作方法中於設定、重設及讀取的圖表。For a detailed description of the operation method of the ternary content addressable memory 200, please refer to Figures 2 and 5. Figure 5 is a diagram of setting, resetting and reading in the operation method of the ternary content addressable memory 200 according to another embodiment of the present invention.

在設定三元內容可定址記憶體200的階段,於編程第一記憶單元110與第二記憶單元120時,對字元線WL施予編程電壓V PGM(如:約1.5 V~4 V),將匹配線ML浮接,對位元線BL施予零電壓,對資料線DL施予零電壓。由於第一記憶單元110與第二記憶單元120共用同一字元線WL,第一記憶單元110與第二記憶單元120會被共同編程至相同的儲存內容,但可透過分別對第一記憶單元110與第二記憶單元120進行不同程度的抹除,使得第一記憶單元110的儲存內容與第二記憶單元120的儲存內容不同。 In the stage of setting the ternary content addressable memory 200, when programming the first memory cell 110 and the second memory cell 120, a programming voltage V PGM (e.g., about 1.5 V to 4 V) is applied to the word line WL, the match line ML is floated, zero voltage is applied to the bit line BL, and zero voltage is applied to the data line DL. Since the first memory cell 110 and the second memory cell 120 share the same word line WL, the first memory cell 110 and the second memory cell 120 are programmed to the same storage content. However, the storage content of the first memory cell 110 and the storage content of the second memory cell 120 can be different by erasing the first memory cell 110 and the second memory cell 120 to different degrees.

在重設三元內容可定址記憶體200的階段,於抹除第一記憶單元110時,對字元線WL施予零電壓,將匹配線ML浮接,對位元線BL施予抹除電壓V ERS(如:約1.5 V~4 V),將資料線DL浮接。相似地,於抹除第二記憶單元120時,對字元線WL施予零電壓,將匹配線ML浮接,將位元線BL浮接,對資料線DL施予抹除電壓V ERS(如:約1.5 V~4 V)。 In the stage of resetting the ternary content addressable memory 200, when erasing the first memory cell 110, a zero voltage is applied to the word line WL, the match line ML is floated, an erase voltage V ERS (e.g., about 1.5 V to 4 V) is applied to the bit line BL, and the data line DL is floated. Similarly, when erasing the second memory cell 120, a zero voltage is applied to the word line WL, the match line ML is floated, the bit line BL is floated, and an erase voltage V ERS (e.g., about 1.5 V to 4 V) is applied to the data line DL.

在讀取三元內容可定址記憶體200的階段,於讀取第一記憶單元110時,對字元線WL施予讀取電壓V READ(如:約0.8V~1V),將匹配線ML浮接,對位元線BL施予測試電壓V TEST(如:約0.3V~1V),對資料線DL施予零電壓。相似地,於讀取第二記憶單元120時,對字元線WL施予讀取電壓V READ,將匹配線ML浮接,對位元線BL施予零電壓,對資料線DL施予測試電壓V TESTIn the stage of reading the ternary content addressable memory 200, when reading the first memory cell 110, a read voltage V READ (e.g., about 0.8V~1V) is applied to the word line WL, the match line ML is floated, a test voltage V TEST (e.g., about 0.3V~1V) is applied to the bit line BL, and a zero voltage is applied to the data line DL. Similarly, when reading the second memory cell 120, a read voltage V READ is applied to the word line WL, the match line ML is floated, a zero voltage is applied to the bit line BL, and a test voltage V TEST is applied to the data line DL.

為了對三元內容可定址記憶體100的操作方法的搜尋階段做具體的闡述,請同時參照第1、3、4圖。第4圖是依照本發明一實施例之一種三元內容可定址記憶體100的操作方法中於搜尋的圖表。於第1圖中,第一阻抗可變被動元件112的一端電性連接控制電晶體111的閘極,第二阻抗可變被動元件122的一端電性連接資料電晶體121的閘極。In order to specifically explain the search phase of the operation method of the ternary content addressable memory 100, please refer to Figures 1, 3, and 4 at the same time. Figure 4 is a diagram of the search in the operation method of the ternary content addressable memory 100 according to an embodiment of the present invention. In Figure 1, one end of the first variable impedance passive element 112 is electrically connected to the gate of the control transistor 111, and one end of the second variable impedance passive element 122 is electrically connected to the gate of the data transistor 121.

於搜尋三元內容可定址記憶體100時,對第一阻抗可變被動元件112的另一端與第二阻抗可變被動元件122的另一端皆施予工作電壓V dd,並讀取位元線BL的電流值以判斷第一記憶單元110於相關模式或無關模式,其中控制電晶體111的一源極/汲極電性連接位元線BL。 When searching the ternary content addressable memory 100, a working voltage Vdd is applied to the other end of the first variable impedance passive element 112 and the other end of the second variable impedance passive element 122, and the current value of the bit line BL is read to determine whether the first memory unit 110 is in a relevant mode or an irrelevant mode, wherein a source/drain of the control transistor 111 is electrically connected to the bit line BL.

關於施予工作電壓V dd的具體機制,在本發明的一些實施例中,第一阻抗可變被動元件112的另一端電性連接控制線CL,第二阻抗可變被動元件122的另一端電性連接字元線WL。對第一阻抗可變被動元件112的另一端與第二阻抗可變被動元件122的另一端皆施予工作電壓V dd之步驟可包含:對控制線CL與字元線WL皆施予工作電壓V ddRegarding the specific mechanism of applying the working voltage V dd , in some embodiments of the present invention, the other end of the first variable impedance passive device 112 is electrically connected to the control line CL, and the other end of the second variable impedance passive device 122 is electrically connected to the word line WL. The step of applying the working voltage V dd to the other end of the first variable impedance passive device 112 and the other end of the second variable impedance passive device 122 may include: applying the working voltage V dd to both the control line CL and the word line WL.

關於判斷第一記憶單元110於相關模式或無關模式的具體方式,在本發明的一些實施例中,若位元線BL的電流值大於預設電流門檻值,則第一記憶單元110於相關模式;反之,若位元線BL的電流值(如:趨近於零電流)小於或等於預設電流門檻值,則第一記憶單元110於無關模式。實作上,舉例而言,預設電流門檻值可依據實際經驗或實驗數據而設定之。Regarding the specific method of determining whether the first memory unit 110 is in the relevant mode or the irrelevant mode, in some embodiments of the present invention, if the current value of the bit line BL is greater than a preset current threshold value, the first memory unit 110 is in the relevant mode; on the contrary, if the current value of the bit line BL (e.g., close to zero current) is less than or equal to the preset current threshold value, the first memory unit 110 is in the irrelevant mode. In practice, for example, the preset current threshold value can be set according to actual experience or experimental data.

於無關模式,控制電晶體111的通道電阻R ctr為第一電阻狀態GRS,資料電晶體121的通道電阻R data為第二電阻狀態HRS或第四電阻狀態LRS。於相關模式,控制電晶體111的通道電阻R ctr為第三電阻狀態MRS,資料電晶體121的通道電阻R data為第二電阻狀態HRS或第四電阻狀態LRS。第一電阻狀態GRS大於第二電阻狀態HRS,第二電阻狀態HRS大於第三電阻狀態MRS,第三電阻狀態MRS大於第四電阻狀態LRS。 In the irrelevant mode, the channel resistance R ctr of the control transistor 111 is in the first resistance state GRS, and the channel resistance R data of the data transistor 121 is in the second resistance state HRS or the fourth resistance state LRS. In the relevant mode, the channel resistance R ctr of the control transistor 111 is in the third resistance state MRS, and the channel resistance R data of the data transistor 121 is in the second resistance state HRS or the fourth resistance state LRS. The first resistance state GRS is greater than the second resistance state HRS, the second resistance state HRS is greater than the third resistance state MRS, and the third resistance state MRS is greater than the fourth resistance state LRS.

實作上,舉例而言,在第一阻抗可變被動元件112被編程/抹除後,對控制電晶體111於運作時的通道電阻R ctr的電阻狀態有所影響。相似地,在第二阻抗可變被動元件122被編程/抹除後,對資料電晶體121於運作時的通道電阻R data的電阻狀態有所影響。 In practice, for example, after the first variable impedance passive element 112 is programmed/erased, the resistance state of the channel resistance R ctr of the control transistor 111 during operation is affected. Similarly, after the second variable impedance passive element 122 is programmed/erased, the resistance state of the channel resistance R data of the data transistor 121 during operation is affected.

接下來,當第一記憶單元110於相關模式時,對資料線DL施予第一電壓,對位元線BL施予互補於第一電壓的第二電壓,並依據匹配線ML的電壓值以判斷第二記憶單元120所儲存的資訊對應於第一搜尋結果或第二搜尋結果,第二搜尋結果相反於第一搜尋結果。在本發明的一些實施例中,第一搜尋結果為匹配,第二搜尋結果為不匹配。或者,亦可反定義,在本發明的一些實施例中,第一搜尋結果為不匹配,第二搜尋結果為匹配。Next, when the first memory unit 110 is in the correlation mode, a first voltage is applied to the data line DL, a second voltage complementary to the first voltage is applied to the bit line BL, and the information stored in the second memory unit 120 is determined to correspond to the first search result or the second search result according to the voltage value of the match line ML, and the second search result is opposite to the first search result. In some embodiments of the present invention, the first search result is a match, and the second search result is a mismatch. Alternatively, it can also be defined inversely, in some embodiments of the present invention, the first search result is a mismatch, and the second search result is a match.

在本發明的一些實施例中,資料電晶體121的通道電阻R data為第四電阻狀態LRS,若資料線DL的第一電壓約為零電壓(0V)且位元線BL的第二電壓約為工作電壓V dd,匹配線ML的電壓值約為零電壓,第二記憶單元120所儲存的資訊對應於第一搜尋結果;反之,若資料線DL的第一電壓約為工作電壓V dd且位元線BL的第二電壓約為零電壓(0V)時,匹配線ML的電壓值約為比三分之一的工作電壓V dd高的電壓或約為工作電壓V dd,第二記憶單元120所儲存的資訊對應於第二搜尋結果。 In some embodiments of the present invention, the channel resistance R data of the data transistor 121 is in the fourth resistance state LRS. If the first voltage of the data line DL is approximately zero voltage (0V) and the second voltage of the bit line BL is approximately the operating voltage V dd , the voltage value of the match line ML is approximately zero voltage, and the information stored in the second memory unit 120 corresponds to the first search result. Conversely, if the first voltage of the data line DL is approximately the operating voltage V dd and the second voltage of the bit line BL is approximately zero voltage (0V), the voltage value of the match line ML is approximately a voltage higher than one-third of the operating voltage V dd or is approximately the operating voltage V dd , and the information stored in the second memory unit 120 corresponds to the second search result.

或者,在本發明的一些實施例中,資料電晶體121的通道電阻R data為第二電阻狀態HRS,若資料線DL的第一電壓約為零電壓且位元線BL的第二電壓約為工作電壓V dd,匹配線ML的電壓值約為比三分之一的工作電壓V dd高的電壓或約為工作電壓V dd,第二記憶單元120所儲存的資訊對應於第二搜尋結果;反之,若資料線DL的第一電壓約為工作電壓V dd且位元線BL的第二電壓約為零電壓時,匹配線ML的電壓值約為比三分之一的工作電壓V dd低的電壓或約為零電壓,第二記憶單元120所儲存的資訊對應於第一搜尋結果。 Alternatively, in some embodiments of the present invention, the channel resistance R data of the data transistor 121 is in the second resistance state HRS, if the first voltage of the data line DL is approximately zero voltage and the second voltage of the bit line BL is approximately the operating voltage V dd , the voltage value of the match line ML is approximately a voltage higher than one-third of the operating voltage V dd or is approximately the operating voltage V dd , and the information stored in the second memory unit 120 corresponds to the second search result; conversely, if the first voltage of the data line DL is approximately the operating voltage V dd and the second voltage of the bit line BL is approximately zero voltage, the voltage value of the match line ML is approximately a voltage lower than one-third of the operating voltage V dd or is approximately zero voltage, and the information stored in the second memory unit 120 corresponds to the first search result.

為了對三元內容可定址記憶體200的操作方法的搜尋階段做具體的闡述,請同時參照第2、5、6圖。第6圖是依照本發明另一實施例之一種三元內容可定址記憶體200的操作方法中於搜尋的圖表。於第2圖中,第一阻抗可變被動元件212的一端電性連接控制電晶體211的閘極,第二阻抗可變被動元件222的一端電性連接資料電晶體221的閘極。In order to specifically explain the search phase of the operation method of the ternary content addressable memory 200, please refer to Figures 2, 5, and 6. Figure 6 is a diagram of the search in the operation method of the ternary content addressable memory 200 according to another embodiment of the present invention. In Figure 2, one end of the first variable impedance passive element 212 is electrically connected to the gate of the control transistor 211, and one end of the second variable impedance passive element 222 is electrically connected to the gate of the data transistor 221.

於搜尋三元內容可定址記憶體200時,對第一阻抗可變被動元件212的另一端與第二阻抗可變被動元件222的另一端皆施予工作電壓V dd,並讀取位元線BL的電流值以判斷第一記憶單元210於相關模式或無關模式,其中控制電晶體211的一源極/汲極電性連接位元線BL。 When searching the ternary content addressable memory 200, a working voltage Vdd is applied to the other end of the first variable impedance passive element 212 and the other end of the second variable impedance passive element 222, and the current value of the bit line BL is read to determine whether the first memory unit 210 is in a relevant mode or an irrelevant mode, wherein a source/drain of the control transistor 211 is electrically connected to the bit line BL.

關於施予工作電壓V dd的具體機制,第一阻抗可變被動元件212的另一端與第二阻抗可變被動元件222的另一端共同電性連接字元線WL,對第一阻抗可變被動元件212的另一端與第二阻抗可變被動元件222的另一端皆施予工作電壓V dd之步驟包含:對字元線WL施予工作電壓V ddRegarding the specific mechanism of applying the working voltage V dd , the other end of the first variable impedance passive device 212 and the other end of the second variable impedance passive device 222 are electrically connected to the word line WL. The step of applying the working voltage V dd to the other end of the first variable impedance passive device 212 and the other end of the second variable impedance passive device 222 includes: applying the working voltage V dd to the word line WL.

關於判斷第一記憶單元210於相關模式或無關模式的具體方式,在本發明的一些實施例中,若位元線BL的電流值大於預設電流門檻值,則第一記憶單元210於相關模式;反之,若位元線BL的電流值(如:趨近於零電流)小於或等於預設電流門檻值,則第一記憶單元210於無關模式。實作上,舉例而言,預設電流門檻值可依據實際經驗或實驗數據而設定之。Regarding the specific method of determining whether the first memory unit 210 is in the relevant mode or the irrelevant mode, in some embodiments of the present invention, if the current value of the bit line BL is greater than a preset current threshold value, the first memory unit 210 is in the relevant mode; on the contrary, if the current value of the bit line BL (e.g., close to zero current) is less than or equal to the preset current threshold value, the first memory unit 210 is in the irrelevant mode. In practice, for example, the preset current threshold value can be set according to actual experience or experimental data.

於無關模式,控制電晶體211的通道電阻R ctr為第一電阻狀態GRS,資料電晶體221的通道電阻R data為第二電阻狀態HRS或第四電阻狀態LRS。於相關模式,控制電晶體211的通道電阻R ctr為第三電阻狀態MRS,資料電晶體221的通道電阻R data為第二電阻狀態HRS或第四電阻狀態LRS。第一電阻狀態GRS大於第二電阻狀態HRS,第二電阻狀態HRS大於第三電阻狀態MRS,第三電阻狀態MRS大於第四電阻狀態LRS。 In the irrelevant mode, the channel resistance R ctr of the control transistor 211 is in the first resistance state GRS, and the channel resistance R data of the data transistor 221 is in the second resistance state HRS or the fourth resistance state LRS. In the relevant mode, the channel resistance R ctr of the control transistor 211 is in the third resistance state MRS, and the channel resistance R data of the data transistor 221 is in the second resistance state HRS or the fourth resistance state LRS. The first resistance state GRS is greater than the second resistance state HRS, the second resistance state HRS is greater than the third resistance state MRS, and the third resistance state MRS is greater than the fourth resistance state LRS.

實作上,舉例而言,在第一阻抗可變被動元件212被編程/抹除後,對控制電晶體211於運作時的通道電阻R ctr的電阻狀態有所影響。相似地,在第二阻抗可變被動元件222被編程/抹除後,對資料電晶體221於運作時的通道電阻R data的電阻狀態有所影響。 In practice, for example, after the first variable impedance passive element 212 is programmed/erased, the resistance state of the channel resistance R ctr of the control transistor 211 during operation is affected. Similarly, after the second variable impedance passive element 222 is programmed/erased, the resistance state of the channel resistance R data of the data transistor 221 during operation is affected.

接下來,當第一記憶單元210於相關模式時,對資料線DL施予第一電壓,對位元線BL施予互補於第一電壓的第二電壓,並依據匹配線ML的電壓值以判斷第二記憶單元120所儲存的資訊對應於第一搜尋結果或第二搜尋結果,第二搜尋結果相反於第一搜尋結果。在本發明的一些實施例中,第一搜尋結果為匹配,第二搜尋結果為不匹配。或者,亦可反定義,在本發明的一些實施例中,第一搜尋結果為不匹配,第二搜尋結果為匹配。Next, when the first memory unit 210 is in the correlation mode, a first voltage is applied to the data line DL, a second voltage complementary to the first voltage is applied to the bit line BL, and the information stored in the second memory unit 120 is determined to correspond to the first search result or the second search result according to the voltage value of the match line ML, and the second search result is opposite to the first search result. In some embodiments of the present invention, the first search result is a match, and the second search result is a mismatch. Alternatively, it can also be defined inversely, in some embodiments of the present invention, the first search result is a mismatch, and the second search result is a match.

在本發明的一些實施例中,資料電晶體221的通道電阻R data為第四電阻狀態LRS,若資料線DL的第一電壓約為零電壓(0V)且位元線BL的第二電壓約為工作電壓V dd,匹配線ML的電壓值約為零電壓,第二記憶單元220所儲存的資訊對應於第一搜尋結果;反之,若資料線DL的第一電壓約為工作電壓V dd且位元線BL的第二電壓約為零電壓(0V)時,匹配線ML的電壓值約為工作電壓V dd,第二記憶單元220所儲存的資訊對應於第二搜尋結果。 In some embodiments of the present invention, the channel resistance R data of the data transistor 221 is in the fourth resistance state LRS. If the first voltage of the data line DL is approximately zero voltage (0V) and the second voltage of the bit line BL is approximately the operating voltage V dd , the voltage value of the match line ML is approximately zero voltage, and the information stored in the second memory unit 220 corresponds to the first search result. Conversely, if the first voltage of the data line DL is approximately the operating voltage V dd and the second voltage of the bit line BL is approximately zero voltage (0V), the voltage value of the match line ML is approximately the operating voltage V dd , and the information stored in the second memory unit 220 corresponds to the second search result.

或者,在本發明的一些實施例中,資料電晶體221的通道電阻R data為第二電阻狀態HRS,若資料線DL的第一電壓約為零電壓且位元線BL的第二電壓約為工作電壓V dd,匹配線ML的電壓值約為工作電壓V dd,第二記憶單元220所儲存的資訊對應於第二搜尋結果;反之,若資料線DL的第一電壓約為工作電壓V dd且位元線BL的第二電壓約為零電壓時,匹配線ML的電壓值約為零電壓,第二記憶單元220所儲存的資訊對應於第一搜尋結果。 Alternatively, in some embodiments of the present invention, the channel resistance R data of the data transistor 221 is in the second resistance state HRS, if the first voltage of the data line DL is approximately zero voltage and the second voltage of the bit line BL is approximately the operating voltage V dd , the voltage value of the match line ML is approximately the operating voltage V dd , and the information stored in the second memory unit 220 corresponds to the second search result; conversely, if the first voltage of the data line DL is approximately the operating voltage V dd and the second voltage of the bit line BL is approximately zero voltage, the voltage value of the match line ML is approximately zero voltage, and the information stored in the second memory unit 220 corresponds to the first search result.

第7圖是依照本發明一實施例之一種記憶體陣列電路700的等效電路圖。如第7圖所示,記憶體陣列電路700包含複數個三元內容可定址記憶體100,複數個三元內容可定址記憶體100排列成陣列,複數個三元內容可定址記憶體100中的每一者包含第一記憶單元110以及第二記憶單元120,第二記憶單元120電性連接第一記憶單元110。第一記憶單元110包含控制電晶體111與第一阻抗可變被動元件112,第一阻抗可變被動元件112的一端電性連接控制電晶體111的閘極;相似地,第二記憶單元120包含資料電晶體121與第二阻抗可變被動元件122,資料電晶體121串接控制電晶體111,第二阻抗可變被動元件122的一端電性連接資料電晶體121的閘極。FIG. 7 is an equivalent circuit diagram of a memory array circuit 700 according to an embodiment of the present invention. As shown in FIG. 7 , the memory array circuit 700 includes a plurality of ternary content addressable memories 100, the plurality of ternary content addressable memories 100 are arranged in an array, each of the plurality of ternary content addressable memories 100 includes a first memory unit 110 and a second memory unit 120, and the second memory unit 120 is electrically connected to the first memory unit 110. The first memory cell 110 includes a control transistor 111 and a first variable impedance passive element 112, one end of the first variable impedance passive element 112 is electrically connected to the gate of the control transistor 111; similarly, the second memory cell 120 includes a data transistor 121 and a second variable impedance passive element 122, the data transistor 121 is connected in series to the control transistor 111, and one end of the second variable impedance passive element 122 is electrically connected to the gate of the data transistor 121.

在第7圖中,控制電晶體111的一源極/汲極電性連接複數個位元線BL 0~BL n中的一者,控制電晶體111的另一源極/汲極電性連接資料電晶體121的一源極/汲極,控制電晶體111的另一源極/汲極與資料電晶體121的源極/汲極共同電性連接複數個匹配線ML 0~ML n中的一者,資料電晶體121的另一源極/汲極電性連接複數個資料線DL 0~DL n中的一者,複數個位元線BL 0~BL n與複數個資料線DL 0~DL n電性連接第一電路710,複數個匹配線ML 0~ML n電性連接第二電路720。 In FIG. 7 , a source/drain of the control transistor 111 is electrically connected to one of the plurality of bit lines BL 0 to BL n , another source/drain of the control transistor 111 is electrically connected to a source/drain of the data transistor 121, another source/drain of the control transistor 111 and the source/drain of the data transistor 121 are electrically connected to one of the plurality of match lines ML 0 to ML n , another source/drain of the data transistor 121 is electrically connected to one of the plurality of data lines DL 0 to DL n , the plurality of bit lines BL 0 to BL n and the plurality of data lines DL 0 to DL n are electrically connected to a first circuit 710, and the plurality of match lines ML 0 to ML n are electrically connected to a second circuit 720.

在本發明的一些實施例中,第一電路710可包含位元線驅動器、資料線驅動器、控制電路、周邊電路以及感測放大器。於使用時,控制電路控制位元線驅動器對位元線施予適合的電壓(如:抹除電壓、測試電壓、零電壓、浮接…等),控制電路控制資料線驅動器對位元線施予適合的電壓(如:抹除電壓、測試電壓、零電壓、浮接…等),感測放大器可感測位元線上的電流值,控制電路可依據電流值來判斷相關或無關模式。In some embodiments of the present invention, the first circuit 710 may include a bit line driver, a data line driver, a control circuit, a peripheral circuit, and a sense amplifier. When in use, the control circuit controls the bit line driver to apply a suitable voltage (such as: erase voltage, test voltage, zero voltage, floating connection, etc.) to the bit line, and the control circuit controls the data line driver to apply a suitable voltage (such as: erase voltage, test voltage, zero voltage, floating connection, etc.) to the bit line. The sense amplifier can sense the current value on the bit line, and the control circuit can determine the relevant or irrelevant mode based on the current value.

在本發明的一些實施例中,第二電路720可包含匹配線驅動器、控制電路、周邊電路以及讀取電路。於使用時,控制電路控制匹配線驅動器對匹配線施予適合的電壓(如:零電壓、浮接…等),讀取電路可讀取匹配線上的電壓值,控制電路可依據電壓值來判斷搜尋結果。In some embodiments of the present invention, the second circuit 720 may include a match line driver, a control circuit, a peripheral circuit, and a read circuit. When in use, the control circuit controls the match line driver to apply a suitable voltage (such as zero voltage, floating, etc.) to the match line, and the read circuit can read the voltage value on the match line. The control circuit can determine the search result based on the voltage value.

在第7圖中,第一阻抗可變被動元件112的另一端電性連接複數個控制線CL 0~CL n中的一者,第二阻抗可變被動元件122的另一端電性連接複數個字元線WL 0~WL n中的一者,複數個字元線WL 0~WL n電性連接第三電路730,複數個控制線CL 0~CL n電性連接第四電路740。 In FIG. 7 , the other end of the first variable impedance passive element 112 is electrically connected to one of the plurality of control lines CL 0 ~CL n , the other end of the second variable impedance passive element 122 is electrically connected to one of the plurality of word lines WL 0 ~WL n , the plurality of word lines WL 0 ~WL n are electrically connected to the third circuit 730, and the plurality of control lines CL 0 ~CL n are electrically connected to the fourth circuit 740.

在本發明的一些實施例中,第三電路730可包含字元線驅動器、控制電路以及周邊電路。於使用時,控制電路控制字元線驅動器對字元線施予適合的電壓(如:編程電壓、讀取電壓、零電壓、浮接…等)。In some embodiments of the present invention, the third circuit 730 may include a word line driver, a control circuit, and a peripheral circuit. When in use, the control circuit controls the word line driver to apply a suitable voltage (such as programming voltage, read voltage, zero voltage, floating, etc.) to the word line.

在本發明的一些實施例中,第四電路740可包含控制線驅動器、控制電路以及周邊電路。於使用時,控制電路控制控制線驅動器對控制線施予適合的電壓(如:編程電壓、讀取電壓、零電壓、浮接…等)。In some embodiments of the present invention, the fourth circuit 740 may include a control line driver, a control circuit, and a peripheral circuit. When in use, the control circuit controls the control line driver to apply a suitable voltage (such as programming voltage, read voltage, zero voltage, floating connection, etc.) to the control line.

第8圖是依照本發明另一實施例之一種記憶體陣列電路800的等效電路圖。如第8圖所示,記憶體陣列電路800包含複數個三元內容可定址記憶體200,複數個三元內容可定址記憶體200排列成陣列,複數個三元內容可定址記憶體200中的每一者包含第一記憶單元210以及第二記憶單元220,第二記憶單元220電性連接第一記憶單元210。第一記憶單元210包含控制電晶體211與第一阻抗可變被動元件212,第一阻抗可變被動元件212的一端電性連接控制電晶體211的閘極;相似地,第二記憶單元220包含資料電晶體221與第二阻抗可變被動元件222,資料電晶體221串接控制電晶體211,第二阻抗可變被動元件222的一端電性連接資料電晶體221的閘極。FIG8 is an equivalent circuit diagram of a memory array circuit 800 according to another embodiment of the present invention. As shown in FIG8, the memory array circuit 800 includes a plurality of ternary content addressable memories 200, the plurality of ternary content addressable memories 200 are arranged in an array, each of the plurality of ternary content addressable memories 200 includes a first memory unit 210 and a second memory unit 220, and the second memory unit 220 is electrically connected to the first memory unit 210. The first memory cell 210 includes a control transistor 211 and a first variable impedance passive element 212, one end of the first variable impedance passive element 212 is electrically connected to the gate of the control transistor 211; similarly, the second memory cell 220 includes a data transistor 221 and a second variable impedance passive element 222, the data transistor 221 is connected in series to the control transistor 211, and one end of the second variable impedance passive element 222 is electrically connected to the gate of the data transistor 221.

在第8圖中,控制電晶體211的一源極/汲極電性連接複數個位元線BL 0~BL n中的一者,控制電晶體211的另一源極/汲極電性連接資料電晶體221的一源極/汲極,控制電晶體211的另一源極/汲極與資料電晶體221的源極/汲極共同電性連接複數個匹配線ML 0~ML n中的一者,資料電晶體221的另一源極/汲極電性連接複數個資料線DL 0~DL n中的一者,複數個位元線BL 0~BL n與複數個資料線DL 0~DL n電性連接第一電路810,複數個匹配線ML 0~ML n電性連接第二電路820。 In FIG. 8 , a source/drain of the control transistor 211 is electrically connected to one of the plurality of bit lines BL 0 to BL n , another source/drain of the control transistor 211 is electrically connected to a source/drain of the data transistor 221, another source/drain of the control transistor 211 and the source/drain of the data transistor 221 are electrically connected to one of the plurality of match lines ML 0 to ML n , another source/drain of the data transistor 221 is electrically connected to one of the plurality of data lines DL 0 to DL n , the plurality of bit lines BL 0 to BL n and the plurality of data lines DL 0 to DL n are electrically connected to the first circuit 810, and the plurality of match lines ML 0 to ML n are electrically connected to the second circuit 820.

在本發明的一些實施例中,第一電路810可包含位元線驅動器、資料線驅動器、控制電路、周邊電路以及感測放大器。於使用時,控制電路控制位元線驅動器對位元線施予適合的電壓(如:抹除電壓、測試電壓、零電壓、浮接…等),控制電路控制資料線驅動器對位元線施予適合的電壓(如:抹除電壓、測試電壓、零電壓、浮接…等),感測放大器可感測位元線上的電流值,控制電路可依據電流值來判斷相關或無關模式。In some embodiments of the present invention, the first circuit 810 may include a bit line driver, a data line driver, a control circuit, a peripheral circuit, and a sense amplifier. When in use, the control circuit controls the bit line driver to apply a suitable voltage (such as: erase voltage, test voltage, zero voltage, floating connection, etc.) to the bit line, and the control circuit controls the data line driver to apply a suitable voltage (such as: erase voltage, test voltage, zero voltage, floating connection, etc.) to the bit line. The sense amplifier can sense the current value on the bit line, and the control circuit can determine the relevant or irrelevant mode based on the current value.

在本發明的一些實施例中,第二電路820可包含匹配線驅動器、控制電路、周邊電路以及讀取電路。於使用時,控制電路控制匹配線驅動器對匹配線施予適合的電壓(如:零電壓、浮接…等),讀取電路可讀取匹配線上的電壓值,控制電路可依據電壓值來判斷搜尋結果。In some embodiments of the present invention, the second circuit 820 may include a match line driver, a control circuit, a peripheral circuit, and a read circuit. When in use, the control circuit controls the match line driver to apply a suitable voltage (such as zero voltage, floating, etc.) to the match line, and the read circuit can read the voltage value on the match line. The control circuit can determine the search result based on the voltage value.

在第8圖中,第一阻抗可變被動元件212的另一端與第二阻抗可變被動元件222的另一端皆電性連接複數個字元線WL 0~WL n中的一者,複數個字元線WL 0~WL n電性連接第三電路830。 In FIG. 8 , the other end of the first variable impedance passive device 212 and the other end of the second variable impedance passive device 222 are both electrically connected to one of a plurality of word lines WL 0 -WL n , and the plurality of word lines WL 0 -WL n are electrically connected to a third circuit 830 .

在本發明的一些實施例中,第三電路830可包含字元線驅動器、控制電路以及周邊電路。於使用時,控制電路控制字元線驅動器對字元線施予適合的電壓(如:編程電壓、讀取電壓、零電壓…等)。In some embodiments of the present invention, the third circuit 830 may include a word line driver, a control circuit, and a peripheral circuit. When in use, the control circuit controls the word line driver to apply a suitable voltage (such as programming voltage, read voltage, zero voltage, etc.) to the word line.

綜上所述,本發明之技術方案與現有技術相比具有明顯的優點和有益效果。藉由本發明的技術方案,三元內容可定址記憶體100為非揮發性三元內容可定址記憶體,穩定性高並具有較寬的記憶窗口,且節約能耗。In summary, the technical solution of the present invention has obvious advantages and beneficial effects compared with the prior art. By means of the technical solution of the present invention, the ternary content addressable memory 100 is a non-volatile ternary content addressable memory, which has high stability, a wider memory window, and saves energy.

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

100、200:三元內容可定址記憶體 110、210:第一記憶單元 111、211:控制電晶體 112、212:第一阻抗可變被動元件 120、220:第二記憶單元 121、221:資料電晶體 122、222:第二阻抗可變被動元件 700、800:記憶體陣列電路 710、810:第一電路 720、820:第二電路 730、830:第三電路 740:第四電路 BL、BL 0~BL n:位元線 CL、CL 0~CL n:控制線 DL、DL 0~DL n:資料線 GRS:第一電阻狀態 HRS:第二電阻狀態 LRS:第四電阻狀態 MRS:第三電阻狀態 R data:通道電阻 R ctr:通道電阻 V dd:工作電壓 V ERS:抹除電壓 V PGM:編程電壓 V READ:讀取電壓 V TEST:測試電壓 ML、ML 0~ML n:匹配線 WL、WL 0~WL n:字元線 100, 200: ternary content addressable memory 110, 210: first memory cell 111, 211: control transistor 112, 212: first variable impedance passive element 120, 220: second memory cell 121, 221: data transistor 122, 222: second variable impedance passive element 700, 800: memory array circuit 710, 810: first circuit 720, 820: second circuit 730, 830: third circuit 740: fourth circuit BL, BL0 ~ BLn : bit lines CL, CL0 ~ CLn : control lines DL, DL0 ~ DLn : data lines GRS: first resistance state HRS: second resistance state LRS: fourth resistance state MRS: third resistance state Rdata : channel resistance Rctr : Channel resistance V dd : Operating voltage V ERS : Erase voltage V PGM : Programming voltage V READ : Read voltage V TEST : Test voltage ML, ML 0 ~ML n : Matching lines WL, WL 0 ~WL n : Word lines

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下: 第1圖是依照本發明一實施例之一種三元內容可定址記憶體的電路圖; 第2圖是依照本發明另一實施例之一種三元內容可定址記憶體的電路圖; 第3圖是依照本發明一實施例之一種三元內容可定址記憶體的操作方法中於設定、重設及讀取的圖表; 第4圖是依照本發明一實施例之一種三元內容可定址記憶體的操作方法中於搜尋的圖表; 第5圖是依照本發明另一實施例之一種三元內容可定址記憶體的操作方法中於設定、重設及讀取的圖表; 第6圖是依照本發明另一實施例之一種三元內容可定址記憶體的操作方法中於搜尋的圖表; 第7圖是依照本發明一實施例之一種記憶體陣列電路的等效電路圖;以及 第8圖是依照本發明另一實施例之一種記憶體陣列電路的等效電路圖。 In order to make the above and other purposes, features, advantages and embodiments of the present invention more clearly understandable, the attached drawings are described as follows: FIG. 1 is a circuit diagram of a ternary content addressable memory according to an embodiment of the present invention; FIG. 2 is a circuit diagram of a ternary content addressable memory according to another embodiment of the present invention; FIG. 3 is a diagram of setting, resetting and reading in a method for operating a ternary content addressable memory according to an embodiment of the present invention; FIG. 4 is a diagram of searching in a method for operating a ternary content addressable memory according to an embodiment of the present invention; FIG. 5 is a diagram of setting, resetting and reading in a method for operating a ternary content addressable memory according to another embodiment of the present invention; FIG. 6 is a diagram of a search in a method of operating a ternary content addressable memory according to another embodiment of the present invention; FIG. 7 is an equivalent circuit diagram of a memory array circuit according to an embodiment of the present invention; and FIG. 8 is an equivalent circuit diagram of a memory array circuit according to another embodiment of the present invention.

100:三元內容可定址記憶體 100: Ternary content addressable memory

110:第一記憶單元 110: First memory unit

111:控制電晶體 111: Control transistor

112:第一阻抗可變被動元件 112: First variable impedance passive element

120:第二記憶單元 120: Second memory unit

121:資料電晶體 121: Data transistor

122:第二阻抗可變被動元件 122: Second variable impedance passive element

BL:位元線 BL: Bit Line

CL:控制線 CL: Control line

DL:資料線 DL: Data Line

ML:匹配線 ML: Matching Line

WL:字元線 WL: character line

Claims (19)

一種三元內容可定址記憶體,包含: 一第一記憶單元,包含一控制電晶體與一第一阻抗可變被動元件,該第一阻抗可變被動元件的一端電性連接該控制電晶體的一閘極;以及 一第二記憶單元,電性連接該第一記憶單元,該第二記憶單元包含一資料電晶體與一第二阻抗可變被動元件,該資料電晶體串接該控制電晶體,該第二阻抗可變被動元件的一端電性連接該資料電晶體的一閘極, 其中該控制電晶體的一源極/汲極電性連接一位元線,該控制電晶體的另一源極/汲極電性連接該資料電晶體的一源極/汲極,該控制電晶體的該另一源極/汲極與該資料電晶體的該源極/汲極共同電性連接一匹配線,該資料電晶體的另一源極/汲極電性連接一資料線。 A ternary content addressable memory comprises: a first memory cell comprising a control transistor and a first variable impedance passive element, one end of the first variable impedance passive element being electrically connected to a gate of the control transistor; and a second memory cell electrically connected to the first memory cell, the second memory cell comprising a data transistor and a second variable impedance passive element, the data transistor being connected in series to the control transistor, one end of the second variable impedance passive element being electrically connected to a gate of the data transistor, One source/drain of the control transistor is electrically connected to a bit line, the other source/drain of the control transistor is electrically connected to a source/drain of the data transistor, the other source/drain of the control transistor and the source/drain of the data transistor are electrically connected to a matching line, and the other source/drain of the data transistor is electrically connected to a data line. 如請求項1所述之三元內容可定址記憶體,其中該第一阻抗可變被動元件的另一端電性連接一控制線,該第二阻抗可變被動元件的另一端電性連接一字元線。A ternary content addressable memory as described in claim 1, wherein the other end of the first variable impedance passive element is electrically connected to a control line, and the other end of the second variable impedance passive element is electrically connected to a word line. 如請求項1所述之三元內容可定址記憶體,其中該第一阻抗可變被動元件的另一端與該第二阻抗可變被動元件的另一端共同電性連接一字元線。A ternary content addressable memory as described in claim 1, wherein the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are electrically connected to a word line. 如請求項1所述之三元內容可定址記憶體,其中該第一阻抗可變被動元件與該第二阻抗可變被動元件中每一者均為一可變電阻器、一可變電容器或一具電子捕捉能力且固定介電常數的電容性元件。A ternary content addressable memory as described in claim 1, wherein each of the first variable impedance passive element and the second variable impedance passive element is a variable resistor, a variable capacitor, or a capacitive element with electron capturing capability and a fixed dielectric constant. 一種記憶體陣列電路,包含: 複數個三元內容可定址記憶體,排列成陣列,該些三元內容可定址記憶體中的每一者包含: 一第一記憶單元,包含一控制電晶體與一第一阻抗可變被動元件,該第一阻抗可變被動元件的一端電性連接該控制電晶體的一閘極;以及 一第二記憶單元,電性連接該第一記憶單元,該第二記憶單元包含一資料電晶體與一第二阻抗可變被動元件,該資料電晶體串接該控制電晶體,該第二阻抗可變被動元件的一端電性連接該資料電晶體的一閘極, 其中該控制電晶體的一源極/汲極電性連接複數個位元線中的一者,該控制電晶體的另一源極/汲極電性連接該資料電晶體的一源極/汲極,該控制電晶體的該另一源極/汲極與該資料電晶體的該源極/汲極共同電性連接複數個匹配線中的一者,該資料電晶體的另一源極/汲極電性連接複數個資料線中的一者。 A memory array circuit comprises: A plurality of ternary content addressable memories arranged in an array, each of the ternary content addressable memories comprising: A first memory cell comprising a control transistor and a first variable impedance passive element, one end of the first variable impedance passive element being electrically connected to a gate of the control transistor; and A second memory cell electrically connected to the first memory cell, the second memory cell comprising a data transistor and a second variable impedance passive element, the data transistor being connected in series to the control transistor, one end of the second variable impedance passive element being electrically connected to a gate of the data transistor, A source/drain of the control transistor is electrically connected to one of a plurality of bit lines, another source/drain of the control transistor is electrically connected to a source/drain of the data transistor, the other source/drain of the control transistor and the source/drain of the data transistor are electrically connected to one of a plurality of match lines, and another source/drain of the data transistor is electrically connected to one of a plurality of data lines. 如請求項5所述之記憶體陣列電路,其中該些位元線與該些資料線電性連接一第一電路,該些匹配線電性連接一第二電路。A memory array circuit as described in claim 5, wherein the bit lines and the data lines are electrically connected to a first circuit, and the matching lines are electrically connected to a second circuit. 如請求項6所述之記憶體陣列電路,其中該第一阻抗可變被動元件的另一端電性連接複數個控制線中的一者,該第二阻抗可變被動元件的另一端電性連接複數個字元線中的一者,該些字元線電性連接一第三電路,該些控制線電性連接一第四電路。A memory array circuit as described in claim 6, wherein the other end of the first variable impedance passive element is electrically connected to one of a plurality of control lines, the other end of the second variable impedance passive element is electrically connected to one of a plurality of word lines, the word lines are electrically connected to a third circuit, and the control lines are electrically connected to a fourth circuit. 如請求項6所述之記憶體陣列電路,其中該第一阻抗可變被動元件的另一端與該第二阻抗可變被動元件的另一端皆電性連接複數個字元線中的一者,該些字元線電性連接一第三電路。The memory array circuit as described in claim 6, wherein the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are both electrically connected to one of a plurality of word lines, and the word lines are electrically connected to a third circuit. 一種三元內容可定址記憶體的操作方法,該三元內容可定址記憶體包含一第一記憶單元與一第二記憶單元,該第一記憶單元包含一控制電晶體與一第一阻抗可變被動元件,該第一阻抗可變被動元件的一端電性連接該控制電晶體的一閘極,該第二記憶單元包含一資料電晶體與一第二阻抗可變被動元件,該資料電晶體串接該控制電晶體,該第二阻抗可變被動元件的一端電性連接該資料電晶體的一閘極,該操作方法包含以下步驟: 於搜尋該三元內容可定址記憶體時,對該第一阻抗可變被動元件的另一端與該第二阻抗可變被動元件的另一端皆施予一工作電壓,並讀取一位元線的電流值以判斷該第一記憶單元於一相關模式或一無關模式,其中該控制電晶體的一源極/汲極電性連接該位元線,於該無關模式,該控制電晶體的通道電阻為一第一電阻狀態,而於該相關模式,該控制電晶體的通道電阻為一第三電阻狀態,該資料電晶體的通道電阻為一第二電阻狀態或一第四電阻狀態,該第一電阻狀態大於該第二電阻狀態,該第二電阻狀態大於該第三電阻狀態,該第三電阻狀態大於該第四電阻狀態,其中該控制電晶體的一源極/汲極電性連接一位元線,該控制電晶體的另一源極/汲極電性連接該資料電晶體的一源極/汲極,該控制電晶體的該另一源極/汲極與該資料電晶體的該源極/汲極共同電性連接一匹配線,該資料電晶體的另一源極/汲極電性連接一資料線。 A method for operating a ternary content addressable memory, the ternary content addressable memory comprises a first memory unit and a second memory unit, the first memory unit comprises a control transistor and a first variable impedance passive element, one end of the first variable impedance passive element is electrically connected to a gate of the control transistor, the second memory unit comprises a data transistor and a second variable impedance passive element, the data transistor is connected in series to the control transistor, one end of the second variable impedance passive element is electrically connected to a gate of the data transistor, the method comprises the following steps: When searching the ternary content addressable memory, a working voltage is applied to the other end of the first variable impedance passive element and the other end of the second variable impedance passive element, and a current value of a bit line is read to determine whether the first memory unit is in a relevant mode or an irrelevant mode, wherein a source/drain of the control transistor is electrically connected to the bit line, in the irrelevant mode, the channel resistance of the control transistor is a first resistance state, and in the relevant mode, the channel resistance of the control transistor is a third resistance state, and the channel resistance of the data transistor is a third resistance state. Two resistance states or a fourth resistance state, the first resistance state is greater than the second resistance state, the second resistance state is greater than the third resistance state, and the third resistance state is greater than the fourth resistance state, wherein a source/drain of the control transistor is electrically connected to a bit line, another source/drain of the control transistor is electrically connected to a source/drain of the data transistor, the other source/drain of the control transistor and the source/drain of the data transistor are electrically connected to a matching line, and another source/drain of the data transistor is electrically connected to a data line. 如請求項9所述之操作方法,其中該控制電晶體的另一源極/汲極電性連接該資料電晶體的一源極/汲極,該控制電晶體的該另一源極/汲極與該資料電晶體的該源極/汲極共同電性連接一匹配線,該資料電晶體的另一源極/汲極電性連接一資料線,該操作方法更包含: 當該第一記憶單元於該相關模式時,對該資料線施予一第一電壓,對該位元線施予互補於該第一電壓的一第二電壓,並依據該匹配線的電壓值以判斷該第二記憶單元所儲存的資訊對應於一第一搜尋結果或一第二搜尋結果,該第二搜尋結果相反於該第一搜尋結果。 The operating method as described in claim 9, wherein the other source/drain of the control transistor is electrically connected to a source/drain of the data transistor, the other source/drain of the control transistor and the source/drain of the data transistor are electrically connected to a matching line, and the other source/drain of the data transistor is electrically connected to a data line, and the operating method further includes: When the first memory unit is in the relevant mode, a first voltage is applied to the data line, a second voltage complementary to the first voltage is applied to the bit line, and the information stored in the second memory unit is judged to correspond to a first search result or a second search result based on the voltage value of the matching line, and the second search result is opposite to the first search result. 如請求項10所述之操作方法,其中該資料電晶體的通道電阻為該第四電阻狀態,若該資料線的該第一電壓為零電壓且該位元線的該第二電壓為該工作電壓,該匹配線的該電壓值為該零電壓,該第二記憶單元所儲存的該資訊對應於該第一搜尋結果,若該資料線的該第一電壓為該工作電壓且該位元線的該第二電壓為該零電壓時,該匹配線的該電壓值為比三分之一的該工作電壓高的電壓,該第二記憶單元所儲存的該資訊對應於該第二搜尋結果。An operating method as described in claim 10, wherein the channel resistance of the data transistor is in the fourth resistance state, if the first voltage of the data line is zero voltage and the second voltage of the bit line is the operating voltage, the voltage value of the match line is zero voltage, and the information stored in the second memory unit corresponds to the first search result; if the first voltage of the data line is the operating voltage and the second voltage of the bit line is zero voltage, the voltage value of the match line is a voltage higher than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the second search result. 如請求項10所述之操作方法,其中該資料電晶體的通道電阻為該第二電阻狀態,若該資料線的該第一電壓為零電壓且該位元線的該第二電壓為該工作電壓,該匹配線的該電壓值為比三分之一的該工作電壓高的電壓,該第二記憶單元所儲存的該資訊對應於該第二搜尋結果,若該資料線的該第一電壓為該工作電壓且該位元線的該第二電壓為該零電壓時,該匹配線的該電壓值為比三分之一的該工作電壓低的電壓,該第二記憶單元所儲存的該資訊對應於該第一搜尋結果。An operating method as described in claim 10, wherein the channel resistance of the data transistor is in the second resistance state, if the first voltage of the data line is zero voltage and the second voltage of the bit line is the operating voltage, the voltage value of the match line is a voltage higher than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the second search result; if the first voltage of the data line is the operating voltage and the second voltage of the bit line is zero voltage, the voltage value of the match line is a voltage lower than one-third of the operating voltage, and the information stored in the second memory unit corresponds to the first search result. 如請求項10所述之操作方法,其中該第一阻抗可變被動元件的該另一端電性連接一控制線,該第二阻抗可變被動元件的該另一端電性連接一字元線,對該第一阻抗可變被動元件的該另一端與該第二阻抗可變被動元件的該另一端皆施予該工作電壓之步驟包含: 對該控制線與該字元線皆施予該工作電壓。 The operating method as described in claim 10, wherein the other end of the first variable impedance passive element is electrically connected to a control line, and the other end of the second variable impedance passive element is electrically connected to a word line, and the step of applying the operating voltage to the other end of the first variable impedance passive element and the other end of the second variable impedance passive element includes: Applying the operating voltage to both the control line and the word line. 如請求項13所述之操作方法,更包含: 於編程該第一記憶單元時,對該控制線施予一編程電壓,將該字元線浮接,將該匹配線浮接,對該位元線施予一零電壓,將該資料線浮接;以及 於編程該第二記憶單元時,將該控制線浮接,對該字元線施予該編程電壓,將該匹配線浮接,將該位元線浮接,對該資料線施予該零電壓。 The operating method as described in claim 13 further includes: When programming the first memory cell, a programming voltage is applied to the control line, the word line is floated, the match line is floated, a zero voltage is applied to the bit line, and the data line is floated; and When programming the second memory cell, the control line is floated, the programming voltage is applied to the word line, the match line is floated, the bit line is floated, and the zero voltage is applied to the data line. 如請求項14所述之操作方法,更包含: 於抹除該第一記憶單元時,對該控制線施予該零電壓,將該字元線浮接,將該匹配線浮接,對該位元線施予一抹除電壓,將該資料線浮接;以及 於抹除該第二記憶單元時,將該控制線浮接,對該字元線施予該零電壓,將該匹配線浮接,將該位元線浮接,對該資料線施予該抹除電壓。 The operation method as described in claim 14 further includes: When erasing the first memory cell, applying the zero voltage to the control line, floating the word line, floating the match line, applying an erase voltage to the bit line, and floating the data line; and When erasing the second memory cell, floating the control line, applying the zero voltage to the word line, floating the match line, floating the bit line, and applying the erase voltage to the data line. 如請求項14所述之操作方法,更包含: 於讀取該第一記憶單元時,對該控制線施予一讀取電壓,對該字元線施予該零電壓,對該匹配線施予該零電壓,對該位元線施予一測試電壓,對該資料線施予該零電壓;以及 於讀取該第二記憶單元時,對該控制線施予該零電壓,對該字元線施予該讀取電壓,對該匹配線施予該零電壓,對該位元線施予該零電壓,對該資料線施予該測試電壓。 The operating method as described in claim 14 further includes: When reading the first memory cell, applying a read voltage to the control line, applying the zero voltage to the word line, applying the zero voltage to the match line, applying a test voltage to the bit line, and applying the zero voltage to the data line; and When reading the second memory cell, applying the zero voltage to the control line, applying the read voltage to the word line, applying the zero voltage to the match line, applying the zero voltage to the bit line, and applying the test voltage to the data line. 如請求項10所述之操作方法,其中該第一阻抗可變被動元件的該另一端與該第二阻抗可變被動元件的該另一端共同電性連接一字元線,對該第一阻抗可變被動元件的該另一端與該第二阻抗可變被動元件的該另一端皆施予該工作電壓之步驟包含: 對該字元線施予該工作電壓。 The operating method as described in claim 10, wherein the other end of the first variable impedance passive element and the other end of the second variable impedance passive element are electrically connected to a word line, and the step of applying the operating voltage to the other end of the first variable impedance passive element and the other end of the second variable impedance passive element includes: Applying the operating voltage to the word line. 如請求項17所述之操作方法,更包含: 於編程該第一記憶單元與該第二記憶單元時,對該字元線施予一編程電壓,將該匹配線浮接,對該位元線施予一零電壓,對該資料線施予該零電壓; 於抹除該第一記憶單元時,對該字元線施予該零電壓,將該匹配線浮接,對該位元線施予一抹除電壓,將該資料線浮接;以及 於抹除該第二記憶單元時,對該字元線施予該零電壓,將該匹配線浮接,將該位元線浮接,對該資料線施予該抹除電壓。 The operation method as described in claim 17 further includes: When programming the first memory cell and the second memory cell, a programming voltage is applied to the word line, the match line is floated, a zero voltage is applied to the bit line, and the zero voltage is applied to the data line; When erasing the first memory cell, the zero voltage is applied to the word line, the match line is floated, an erase voltage is applied to the bit line, and the data line is floated; and When erasing the second memory cell, the zero voltage is applied to the word line, the match line is floated, the bit line is floated, and the erase voltage is applied to the data line. 如請求項18所述之操作方法,更包含: 於讀取該第一記憶單元時,對該字元線施予一讀取電壓,將該匹配線浮接,對該位元線施予一測試電壓,對該資料線施予該零電壓;以及 於讀取該第二記憶單元時,對該字元線施予一讀取電壓,將該匹配線浮接,對該位元線施予該零電壓,對該資料線施予該測試電壓。 The operating method as described in claim 18 further includes: When reading the first memory cell, applying a read voltage to the word line, floating the match line, applying a test voltage to the bit line, and applying the zero voltage to the data line; and When reading the second memory cell, applying a read voltage to the word line, floating the match line, applying the zero voltage to the bit line, and applying the test voltage to the data line.
TW113120353A 2023-06-28 2024-05-31 Memory array circuit, ternary content addressable memory and operation method thereof TWI889367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/755,664 US20250006271A1 (en) 2023-06-28 2024-06-26 Memory array circuit, ternary content addressable memory and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202363523665P 2023-06-28 2023-06-28
US63/523,665 2023-06-28

Publications (2)

Publication Number Publication Date
TW202501481A TW202501481A (en) 2025-01-01
TWI889367B true TWI889367B (en) 2025-07-01

Family

ID=94111808

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113120353A TWI889367B (en) 2023-06-28 2024-05-31 Memory array circuit, ternary content addressable memory and operation method thereof

Country Status (2)

Country Link
CN (1) CN119274613A (en)
TW (1) TWI889367B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180040374A1 (en) * 2016-08-04 2018-02-08 Hewlett Packard Enterprise Development Lp Ternary content addressable memories having a bit cell with memristors and serially connected match-line transistors

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180040374A1 (en) * 2016-08-04 2018-02-08 Hewlett Packard Enterprise Development Lp Ternary content addressable memories having a bit cell with memristors and serially connected match-line transistors

Also Published As

Publication number Publication date
CN119274613A (en) 2025-01-07
TW202501481A (en) 2025-01-01

Similar Documents

Publication Publication Date Title
US11615844B2 (en) Apparatuses and methods including memory and operation of same
CN107910032B (en) SRAM-based memory structure and method thereof
US9378818B2 (en) Apparatuses and operation methods associated with resistive memory cell arrays with separate select lines
CN101176161B (en) Non-volatile content addressable memory using phase-change-material memory elements
US11742013B2 (en) Apparatus and method for controlling erasing data in ferroelectric memory cells
US8274842B1 (en) Variable impedance memory device having simultaneous program and erase, and corresponding methods and circuits
US10783976B2 (en) Antifuse memory device and operation method thereof
WO2004057621A1 (en) Cmis semiconductor nonvolatile storage circuit
US9502114B1 (en) Non-volatile ternary content-addressable memory with bi-directional voltage divider control and multi-step search
US20190149143A1 (en) Apparatuses for reducing off state leakage currents
CN101123120A (en) One-time programming memory using resistive storage medium and operating method thereof
JPH10255484A (en) Ferroelectric random access semiconductor memory device and method of operating the same
US5812451A (en) Nonvolatile semiconductor storage apparatus and method of writing data to the same
WO2016133661A1 (en) Resistive switching memory with cell access by analog signal controlled transmission gate
CN121127917A (en) Three-dimensional NOR memory array implementing partially polarized thin film ferroelectric memory transistors
Bayram et al. NV-TCAM: Alternative interests and practices in NVM designs
TWI889367B (en) Memory array circuit, ternary content addressable memory and operation method thereof
TW202312159A (en) A method for operating memory device
US20170337962A1 (en) ADAPTIVE REFRESHING AND READ VOLTAGE CONTROL SCHEME FOR A MEMORY DEVICE SUCH AS AN FeDRAM
US7227800B2 (en) Noise suppression in memory device sensing
CN111599396A (en) RRAM circuit and RRAM row forming method
CN117558312A (en) A ferroelectric random access memory array and its control method
US20250006271A1 (en) Memory array circuit, ternary content addressable memory and operation method thereof
Bayram et al. NV-TCAM: Alternative designs with NVM devices
CN204667887U (en) Memory device