[go: up one dir, main page]

TWI849716B - Hybrid ims cam cell, memory device and data search method - Google Patents

Hybrid ims cam cell, memory device and data search method Download PDF

Info

Publication number
TWI849716B
TWI849716B TW112103433A TW112103433A TWI849716B TW I849716 B TWI849716 B TW I849716B TW 112103433 A TW112103433 A TW 112103433A TW 112103433 A TW112103433 A TW 112103433A TW I849716 B TWI849716 B TW I849716B
Authority
TW
Taiwan
Prior art keywords
search
ims
voltage
cell
cam
Prior art date
Application number
TW112103433A
Other languages
Chinese (zh)
Other versions
TW202433470A (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 TW112103433A priority Critical patent/TWI849716B/en
Application granted granted Critical
Publication of TWI849716B publication Critical patent/TWI849716B/en
Publication of TW202433470A publication Critical patent/TW202433470A/en

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Read Only Memory (AREA)

Abstract

A hybrid in-memory search (IMS) content addressable memory (CAM) cell includes: a first IMS CAM cell; and a second IMS CAM cell, coupled to the first IMS CAM cell. The first IMS CAM cell and the second IMS CAM cell are of different types. When the hybrid IMS CAM cell stores a storage data, the first IMS CAM cell stores a first part of the storage data and the second IMS CAM cell stores the storage data or a second part of the storage data.

Description

混合式記憶體內搜尋(IMS)內容定址記憶體 (CAM)單元、記憶體裝置及資料搜尋方法 Hybrid in-memory search (IMS) content-addressable memory (CAM) unit, memory device, and data search method

本發明是有關於一種混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元、記憶體裝置及資料搜尋方法。 The present invention relates to a hybrid in-memory search (IMS) content-addressable memory (CAM) unit, a memory device and a data search method.

隨著大數據與人工智慧(AI)硬體加速器的興起,資料搜尋與資料比對是重要功能。現有的三元內容定址記憶體(Ternary Content Addressable Memory,TCAM)可用於實現高度平行搜尋(highly parallel searching)。傳統TCAM通常由靜態隨機存取記憶體(Static Random Access Memory,SRAM)組成,因此記憶密度低且存取功率高。為了透過密集的記憶密度來節省功耗,最近提出了基於TCAM的非揮發性記憶體陣列。 With the rise of big data and artificial intelligence (AI) hardware accelerators, data search and data comparison are important functions. Existing ternary content addressable memory (TCAM) can be used to achieve highly parallel searching. Traditional TCAM is usually composed of static random access memory (SRAM), so the memory density is low and the access power is high. In order to save power consumption through dense memory density, a non-volatile memory array based on TCAM has been proposed recently.

現有的NAND型記憶體內搜尋(in-memory search,IMS)可執行精準匹配(exact-matching)操作。然而,精準匹配操作限制了匹配彈性(match flexibility)。故而,記憶體內近似搜尋(in-memory approximate search,IMAS)被提出以 提供近似搜尋,來達成模糊比對(fuzzy comparison)功能,以改善匹配彈性。 Existing NAND-type in-memory search (IMS) can perform exact-matching operations. However, exact-matching operations limit match flexibility. Therefore, in-memory approximate search (IMAS) is proposed to provide approximate search to achieve fuzzy comparison function to improve match flexibility.

故而,需有要一種新的IMS CAM做法,可提供高準確度、高內容密度(high content density)與穩定的搜尋系統。 Therefore, a new IMS CAM approach is needed that can provide a high accuracy, high content density and stable search system.

根據本案一方面,提出一種混合式記憶體內搜尋(IMS)內容定址記憶體(Content Addressable Memory,CAM)單元,包括:一第一IMS CAM晶胞;以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,以及當該混合式IMS CAM單元係儲存一儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份。 According to one aspect of the present invention, a hybrid in-memory search (IMS) content addressable memory (CAM) unit is provided, comprising: a first IMS CAM unit cell; and a second IMS CAM unit cell coupled to the first IMS CAM unit cell, wherein the first IMS CAM unit cell and the second IMS CAM unit cell are of different types, and when the hybrid IMS CAM unit stores a storage data, the first IMS CAM unit cell stores a first part of the storage data, and the second IMS CAM unit cell stores the storage data or a second part of the storage data.

根據本案另一方面,提出一種混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,包括:一混合式IMS CAM記憶體陣列,包括複數個混合式IMS CAM單元、複數條字元線,以及複數個位元線,該些混合式IMS CAM單元耦接至該些字元線與該些位元線;一字元線驅動電路,耦接至該些字元線,用以根據複數個搜尋資料而施加複數個搜尋電壓至該些混合式IMS CAM單元,以搜尋該些混合式IMS CAM單元;一位元線驅動電路,耦接至該些位元線,用以施加複數個位元線驅動電壓至該些位元線;以及一感應放大器,耦接至該些混合式IMS CAM單 元,用以接收由該些混合式IMS CAM單元所傳來的複數個感應電流,以決定該搜尋資料是否匹配於該些混合式IMS CAM單元內的複數個儲存資料。該混合式IMS CAM單元包括:一第一IMS CAM晶胞;以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞。該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型。當該混合式IMS CAM單元係儲存一儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份。於資料搜尋時,將該搜尋資料的一第一部份解碼成一第一搜尋電壓與一第二搜尋電壓,以搜尋儲存於該第一IMS CAM晶胞內的該儲存資料之該第一部份,以及,將該搜尋資料或該搜尋資料的一第二部份解碼成一第三搜尋電壓與一第四搜尋電壓,以搜尋儲存於該第二IMS CAM晶胞內的該儲存資料或該儲存資料之該第二部份。 According to another aspect of the present invention, a hybrid in-memory search (IMS) content-addressable memory (CAM) memory device is provided, comprising: a hybrid IMS CAM memory array, comprising a plurality of hybrid IMS CAM cells, a plurality of word lines, and a plurality of bit lines, wherein the hybrid IMS CAM cells are coupled to the word lines and the bit lines; a word line driving circuit coupled to the word lines for applying a plurality of search voltages to the hybrid IMS CAM cells according to a plurality of search data to search the hybrid IMS CAM cells; a bit line driving circuit coupled to the bit lines for applying a plurality of bit line driving voltages to the bit lines; and a sense amplifier coupled to the hybrid IMS The CAM unit is used to receive a plurality of induced currents transmitted by the hybrid IMS CAM units to determine whether the search data matches a plurality of stored data in the hybrid IMS CAM units. The hybrid IMS CAM unit includes: a first IMS CAM unit cell; and a second IMS CAM unit cell coupled to the first IMS CAM unit cell. The first IMS CAM unit cell and the second IMS CAM unit cell are of different types. When the hybrid IMS CAM unit stores a stored data, the first IMS CAM unit cell stores a first part of the stored data, and the second IMS CAM unit cell stores the stored data or a second part of the stored data. During data search, a first part of the search data is decoded into a first search voltage and a second search voltage to search for the first part of the stored data stored in the first IMS CAM cell, and the search data or a second part of the search data is decoded into a third search voltage and a fourth search voltage to search for the stored data or the second part of the stored data stored in the second IMS CAM cell.

根據本案又一方面,提出一種混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,包括:儲存一儲存資料於一混合式IMS CAM單元內,該混合式IMS CAM單元包括:一第一IMS CAM晶胞,以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,以及當該混合式IMS CAM單元係儲存該儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份;以一搜尋資料對該混合式IMS CAM單元進行資料搜尋, 其中,於資料搜尋時,將該搜尋資料的一第一部份解碼成一第一搜尋電壓與一第二搜尋電壓,以搜尋儲存於該第一IMS CAM晶胞內的該儲存資料之該第一部份,以及,將該搜尋資料或該搜尋資料的一第二部份解碼成一第三搜尋電壓與一第四搜尋電壓,以搜尋儲存於該第二IMS CAM晶胞內的該儲存資料或該儲存資料之該第二部份;感應該混合式IMS CAM單元所產生的一感應電流以產生一感應結果;以及根據該感應結果以判斷該搜尋資料是否匹配於該儲存資料。 According to another aspect of the present invention, a hybrid in-memory search (IMS) content-addressable memory (CAM) data search method is provided, comprising: storing a storage data in a hybrid IMS CAM unit, the hybrid IMS CAM unit comprising: a first IMS CAM unit cell, and a second IMS CAM unit cell coupled to the first IMS CAM unit cell, wherein the first IMS CAM unit cell and the second IMS CAM unit cell are of different types, and when the hybrid IMS CAM unit stores the storage data, the first IMS CAM unit cell stores a first part of the storage data, and the second IMS CAM unit cell stores the storage data or a second part of the storage data; searching the storage data for the hybrid IMS The CAM unit performs a data search, wherein during the data search, a first part of the search data is decoded into a first search voltage and a second search voltage to search for the first part of the stored data stored in the first IMS CAM cell, and the search data or a second part of the search data is decoded into a third search voltage and a fourth search voltage to search for the stored data or the second part of the stored data stored in the second IMS CAM cell; a sensing current generated by the hybrid IMS CAM unit is sensed to generate a sensing result; and whether the search data matches the stored data is determined based on the sensing result.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下: In order to better understand the above and other aspects of the present invention, the following is a specific example and a detailed description with the attached drawings as follows:

100:混合式記憶體內搜尋CAM單元 100: Search CAM unit in hybrid memory

110:單位元晶胞記憶體內近似搜尋CAM晶胞 110: Approximate search for CAM cells in unit cell memory

120:類比IMS CAM晶胞 120: Analog IMS CAM cell

T1-T4:快閃記憶體晶胞 T1-T4: Flash memory cell

SL_1、SL_2、VA、VB:搜尋電壓 SL_1, SL_2, VA, VB: Search voltage

I1~I6:電流 I1~I6: current

S:搜尋資料 S: Search data

S_1:搜尋資料之第一部份 S_1: The first part of the search data

S_2:搜尋資料之第二部份 S_2: The second part of searching data

Fn:特徵 Fn: Features

Fn_1:特徵之第一部份 Fn_1: The first part of the characteristics

Fn_2:特徵之第二部份 Fn_2: The second part of the characteristics

1100:混合式記憶體內搜尋CAM記憶體裝置 1100: Searching for CAM memory device in hybrid memory

1110:混合式記憶體內搜尋CAM記憶體陣列 1110: Searching for CAM memory array in hybrid memory

1120:字元線驅動電路 1120: word line driver circuit

1130:位元線驅動電路 1130: Bit line driver circuit

1140:感應放大器 1140: Inductive amplifier

WL1~WLn:字元線 WL1~WLn: character line

BL1~BLm:位元線 BL1~BLm: bit line

1200A-1200D:混合式記憶體內搜尋CAM單元 1200A-1200D: Hybrid in-memory search CAM unit

1210A-1210D:第一IMS CAM晶胞 1210A-1210D: First IMS CAM cell

1220A-1220D:第二IMS CAM晶胞 1220A-1220D: Second IMS CAM cell

1310、1320:SLC IMS CAM晶胞 1310, 1320: SLC IMS CAM cell

1410、1420、1430、1440:MLC IMS CAM晶胞 1410, 1420, 1430, 1440: MLC IMS CAM cell

1500:MLC IMAS CAM晶胞 1500:MLC IMAS CAM cell

M1、M2:電晶體 M1, M2: transistors

d1、d2:汲極 d1, d2: drain

s1、s2:源極 s1, s2: source

g1、g2:閘極 g1, g2: gate

BL1:位元線 BL1: bit line

WL1(1)、WL1(2):字元線 WL1(1), WL1(2): character line

1610-1640:步驟 1610-1640: Steps

第1圖繪示本案一實施例中之混合式記憶體內搜尋(Hybrid IMS)內容定址記憶體(Content Addressable Memory,CAM)單元。 Figure 1 shows a hybrid in-memory search (Hybrid IMS) content addressable memory (CAM) unit in an embodiment of the present invention.

第2A圖顯示本案一實施例中,晶胞數量與臨界電壓的關係圖。 Figure 2A shows the relationship between the number of cells and the critical voltage in an embodiment of the present invention.

第2B圖顯示根據本案一實施例的搜尋電壓(SL_1、SL_2)與晶胞電流的關係圖。 Figure 2B shows the relationship between the search voltage (SL_1, SL_2) and the cell current according to an embodiment of the present invention.

第3A圖顯示根據本案一實施例之類比IMS CAM晶胞之電壓電流曲線圖。 Figure 3A shows the voltage-current curve of an analog IMS CAM cell according to an embodiment of the present invention.

第3B圖顯示根據本案一實施例之類比IMS CAM晶胞之另一種電壓電流曲線圖。 FIG. 3B shows another voltage-current curve diagram of an analog IMS CAM cell according to an embodiment of the present invention.

第4圖顯示根據本案一實施例之匹配範圍(match range)示意圖。 Figure 4 shows a schematic diagram of the match range according to an embodiment of the present invention.

第5A圖至第5C圖顯示根據本案一實施例之類比IMS CAM晶胞之匹配範圍示意圖。 Figures 5A to 5C show schematic diagrams of the matching range of an analog IMS CAM cell according to an embodiment of the present invention.

第6A圖與第6B圖顯示根據本案一實施例之類比IMS CAM晶胞之匹配電流示意圖。 Figures 6A and 6B show schematic diagrams of matching current of an analog IMS CAM cell according to an embodiment of the present invention.

第7圖顯示根據本案一實施例之類比IMS CAM晶胞之匹配範圍示意圖。 Figure 7 shows a schematic diagram of the matching range of an analog IMS CAM cell according to an embodiment of the present invention.

第8圖顯示從影像擷取出特徵的示意圖。 Figure 8 shows a schematic diagram of extracting features from an image.

第9A圖與第9B圖顯示根據本案一實施例的第一種資料儲存與搜尋方法。 Figures 9A and 9B show the first data storage and search method according to an embodiment of the present invention.

第10A圖與第10B圖顯示根據本案一實施例的第二種資料儲存與搜尋方法。 Figures 10A and 10B show the second data storage and search method according to an embodiment of the present invention.

第11圖顯示根據本案一實施例的混合式記憶體內搜尋CAM記憶體裝置的電路示意圖。 FIG. 11 shows a circuit diagram of a hybrid memory search CAM memory device according to an embodiment of the present invention.

第12A圖至第12D圖顯示根據本案其他實施例的混合式記憶體內搜尋CAM單元的例子。 Figures 12A to 12D show examples of hybrid memory intra-memory search CAM units according to other embodiments of the present invention.

第13A圖與第13B圖顯示根據本案一實施例的SLC IMS CAM晶胞的示意圖。 Figures 13A and 13B show schematic diagrams of an SLC IMS CAM cell according to an embodiment of the present invention.

第14A圖至第14D顯示根據本案一實施例的MLC IMS CAM晶胞及其操作示意圖。 Figures 14A to 14D show schematic diagrams of an MLC IMS CAM cell and its operation according to an embodiment of the present invention.

第15A圖至第15G圖顯示根據本案一實施例的MLC IMAS CAM晶胞及其操作示意圖。 Figures 15A to 15G show the MLC IMAS CAM cell and its operation schematic diagram according to an embodiment of the present invention.

第16圖顯示根據本案一實施例的混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法。 FIG. 16 shows a hybrid in-memory search (IMS) content-addressable memory (CAM) data search method according to an embodiment of the present invention.

本說明書的技術用語係參照本技術領域之習慣用語,如本說明書對部分用語有加以說明或定義,該部分用語之解釋係以本說明書之說明或定義為準。本揭露之各個實施例分別具有一或多個技術特徵。在可能實施的前提下,本技術領域具有通常知識者可選擇性地實施任一實施例中部分或全部的技術特徵,或者選擇性地將這些實施例中部分或全部的技術特徵加以組合。 The technical terms in this specification refer to the customary terms in this technical field. If this specification explains or defines some terms, the interpretation of these terms shall be based on the explanation or definition in this specification. Each embodiment disclosed in this disclosure has one or more technical features. Under the premise of possible implementation, a person with ordinary knowledge in this technical field can selectively implement part or all of the technical features in any embodiment, or selectively combine part or all of the technical features in these embodiments.

請參照第1圖,其繪示本案一實施例中之混合式記憶體內搜尋(Hybrid IMS)內容定址記憶體(Content Addressable Memory,CAM)單元。如第1圖所示,混合式記憶體內搜尋CAM單元100包括:單位元晶胞(single level cell,SLC)記憶體內近似搜尋(IMAS)CAM晶胞110與類比IMS CAM晶胞120。 Please refer to FIG. 1, which illustrates a hybrid IMS content addressable memory (CAM) unit in an embodiment of the present invention. As shown in FIG. 1, the hybrid IMS CAM unit 100 includes: a single level cell (SLC) intra-memory proximity search (IMAS) CAM cell 110 and an analog IMS CAM cell 120.

在本案一實施例中,混合式記憶體內搜尋CAM單元可提供高陣列密度(array density)與高精準度(high accuracy)及可接受的穩定度(acceptable stability)。以第1圖為例,混合式記憶體內搜尋CAM單元100例如但不受限於,包括單位元晶胞記憶體內近似搜尋CAM晶胞110與類比IMS CAM晶胞120。單位元晶胞記憶體內近似搜尋CAM晶胞110具有高系統穩定度,可用於粗匹配(coarse-matching)。類比IMS CAM晶胞120可 用於類比值比較,以改善精準度,可用於細匹配(fine-matching)。 In an embodiment of the present case, the hybrid intra-memory search CAM unit can provide high array density, high accuracy and acceptable stability. Taking FIG. 1 as an example, the hybrid intra-memory search CAM unit 100 includes, for example but not limited to, a unit cell intra-memory approximate search CAM unit 110 and an analog IMS CAM unit 120. The unit cell intra-memory approximate search CAM unit 110 has high system stability and can be used for coarse-matching. The analog IMS CAM unit 120 can be used for analog value comparison to improve accuracy and can be used for fine-matching.

單位元晶胞記憶體內近似搜尋CAM晶胞110包括串聯的快閃記憶體晶胞T1與T2,而類比IMS CAM晶胞120包括串聯的快閃記憶體晶胞T3與T4。該些快閃記憶體晶胞T1~T4例如但不受限於為,浮接閘極記憶體晶胞(floating gate memory cell)、矽-氧化物-氮化物-氧化物-矽(Silicon-Oxide-Nitride-Oxide-Silicon,SONOS)記憶體晶胞、浮點記憶體晶胞(floating dot memory cell)、鐵電場效電晶體記憶體晶胞(Ferroelectric FET(FeFET)memory cell)、電阻式記憶體(Resistive Random Access Memory,RRAM)、相變化記憶體(Phase-change memory)、導電橋接隨機存取記憶體(conductive-bridging RAM,CBRAM)等。 The single-bit cell memory intra-scan proximity search CAM cell 110 includes serially connected flash memory cells T1 and T2, and the analog IMS CAM cell 120 includes serially connected flash memory cells T3 and T4. The flash memory cells T1~T4 are, for example but not limited to, floating gate memory cells, Silicon-Oxide-Nitride-Oxide-Silicon (SONOS) memory cells, floating dot memory cells, Ferroelectric FET (FeFET) memory cells, Resistive Random Access Memory (RRAM), Phase-change memory, Conductive-bridging RAM (CBRAM), etc.

快閃記憶體晶胞T1的閘極接收第一搜尋電壓SL_1,快閃記憶體晶胞T2的閘極用以接收第二搜尋電壓SL_2,快閃記憶體晶胞T1的源極係與快閃記憶體晶胞T2的源極電性連接。快閃記憶體晶胞T1的汲極則電性連接至其他信號線(未示出)。快閃記憶體晶胞T2的汲極則電性連接至類比IMS CAM晶胞120的快閃記憶體晶胞T3的汲極。 The gate of the flash memory cell T1 receives the first search voltage SL_1, the gate of the flash memory cell T2 receives the second search voltage SL_2, and the source of the flash memory cell T1 is electrically connected to the source of the flash memory cell T2. The drain of the flash memory cell T1 is electrically connected to other signal lines (not shown). The drain of the flash memory cell T2 is electrically connected to the drain of the flash memory cell T3 of the analog IMS CAM cell 120.

快閃記憶體晶胞T3的閘極接收第三搜尋電壓VA,快閃記憶體晶胞T4的閘極用以接收第四搜尋電壓VB,快閃記憶體晶胞T3的源極係與快閃記憶體晶胞T4的源極電性連接。快閃記憶體晶胞T3的汲極則電性連接至快閃記憶體晶胞T2的汲極。快閃記憶 體晶胞T4的汲極則電性連接至其他信號線(未示出)。 The gate of the flash memory cell T3 receives the third search voltage VA, the gate of the flash memory cell T4 receives the fourth search voltage VB, and the source of the flash memory cell T3 is electrically connected to the source of the flash memory cell T4. The drain of the flash memory cell T3 is electrically connected to the drain of the flash memory cell T2. The drain of the flash memory cell T4 is electrically connected to other signal lines (not shown).

現將說明本案一實施例之單位元晶胞記憶體內近似搜尋CAM晶胞110與類比IMS CAM晶胞120之細節。 The details of the approximate search CAM cell 110 and the analog IMS CAM cell 120 in the unit-bit cell memory of an embodiment of the present invention will now be described.

單位元晶胞記憶體內近似搜尋CAM晶胞110之儲存資料決定於(第一)快閃記憶體晶胞T1與(第二)快閃記憶體晶胞T2之複數個臨界電壓之組合。 The storage data of the approximate search CAM cell 110 in the unit cell memory is determined by the combination of multiple critical voltages of the (first) flash memory cell T1 and the (second) flash memory cell T2.

現請參照第2A圖與第2B圖。第2A圖顯示本案一實施例中,晶胞數量與臨界電壓的關係圖。第2B圖顯示根據本案一實施例的搜尋電壓(SL_1、SL_2)與晶胞電流的關係圖。 Please refer to Figure 2A and Figure 2B. Figure 2A shows the relationship between the number of cells and the critical voltage in an embodiment of the present invention. Figure 2B shows the relationship between the search voltage (SL_1, SL_2) and the cell current according to an embodiment of the present invention.

如第2A圖所示,於本案一實施例中,高參考臨界電壓(HVT)例如但不受限於為3~4V,而低參考臨界電壓(LVT)例如但不受限於為小於0V。此外,參考搜尋電壓VH1與VH2則代表第一搜尋電壓SL_1與/或第二搜尋電壓SL_2之可能值。例如,但不受限於,參考搜尋電壓VH1與VH2可分別為5V與8V,亦即,VH1小於VH2。 As shown in FIG. 2A, in an embodiment of the present invention, the high reference critical voltage (HVT) is, for example but not limited to, 3-4V, and the low reference critical voltage (LVT) is, for example but not limited to, less than 0V. In addition, the reference search voltages VH1 and VH2 represent possible values of the first search voltage SL_1 and/or the second search voltage SL_2. For example, but not limited to, the reference search voltages VH1 and VH2 can be 5V and 8V respectively, that is, VH1 is less than VH2.

於本案一實施例中,快閃記憶體晶胞T1的臨界電壓(亦可稱為第一臨界電壓)、快閃記憶體晶胞T2的臨界電壓(亦可稱為第二臨界電壓)、第一搜尋電壓SL_1與第二搜尋電壓SL_2之設定可如下表,其中,於進行資料比對時,將搜尋資料解碼成第一搜尋電壓SL_1與第二搜尋電壓SL_2:

Figure 112103433-A0305-02-0010-1
In an embodiment of the present case, the critical voltage of the flash memory cell T1 (also referred to as the first critical voltage), the critical voltage of the flash memory cell T2 (also referred to as the second critical voltage), the first search voltage SL_1 and the second search voltage SL_2 may be set as shown in the following table, wherein when performing data comparison, the search data is decoded into the first search voltage SL_1 and the second search voltage SL_2:
Figure 112103433-A0305-02-0010-1

Figure 112103433-A0305-02-0011-2
Figure 112103433-A0305-02-0011-2

在本案一實施例中,當儲存資料為第一既定儲存資料(1)時,第一臨界電壓為高參考臨界電壓(HVT),第二臨界電壓為低參考臨界電壓(LVT);當儲存資料為第二既定儲存資料(0)時,第一臨界電壓為低參考臨界電壓(LVT),第二臨界電壓為高參考臨界電壓(HVT);當儲存資料為第三既定儲存資料(X(don’t care),不重要)時,第一臨界電壓與第二臨界電壓皆為高參考臨界電壓(HVT);當儲存資料為第四既定儲存資料(即無效資料)時,第一臨界電壓與第二臨界電壓皆為低參考臨界電壓(LVT)。亦即,於本案一實施例中,SLC IMAS CAM晶胞110之儲存資料決定於快閃記憶體晶胞T1之第一臨界電壓與快閃記憶體晶胞T2之第二臨界電壓之組合。 In an embodiment of the present case, when the stored data is the first predetermined stored data (1), the first critical voltage is the high reference critical voltage (HVT), and the second critical voltage is the low reference critical voltage (LVT); when the stored data is the second predetermined stored data (0), the first critical voltage is the low reference critical voltage (LVT), and the second critical voltage is the high reference critical voltage (HVT); when the stored data is the third predetermined stored data (X(don’t care), the first critical voltage and the second critical voltage are both high reference critical voltage (HVT); when the stored data is the fourth predetermined stored data (i.e. invalid data), the first critical voltage and the second critical voltage are both low reference critical voltage (LVT). That is, in one embodiment of the present case, the stored data of the SLC IMAS CAM cell 110 is determined by the combination of the first critical voltage of the flash memory cell T1 and the second critical voltage of the flash memory cell T2.

在本案一實施例中,當搜尋資料為第一既定搜尋資料(1)時,第一搜尋電壓SL_1為第一參考搜尋電壓(VH1),第二搜尋 電壓SL_2為第二參考搜尋電壓(VH2);當搜尋資料為第二既定搜尋資料(0)時,第一搜尋電壓SL_1為第二參考搜尋電壓(VH2),第二搜尋電壓SL_2為第一參考搜尋電壓(VH1);當搜尋資料為第三既定搜尋資料(WC)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為第二參考搜尋電壓(VH2);以及,當搜尋資料為第四既定搜尋資料(無效搜尋)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為第一參考搜尋電壓(VH1),其中,第一參考搜尋電壓(VH1)低於第二參考搜尋電壓(VH2)。 In an embodiment of the present case, when the search data is the first predetermined search data (1), the first search voltage SL_1 is the first reference search voltage (VH1), and the second search voltage SL_2 is the second reference search voltage (VH2); when the search data is the second predetermined search data (0), the first search voltage SL_1 is the second reference search voltage (VH2), and the second search voltage SL_2 is the first reference search voltage (VH1); When the search data is the third predetermined search data (WC), the first search voltage SL_1 and the second search voltage SL_2 are both the second reference search voltage (VH2); and when the search data is the fourth predetermined search data (invalid search), the first search voltage SL_1 and the second search voltage SL_2 are both the first reference search voltage (VH1), wherein the first reference search voltage (VH1) is lower than the second reference search voltage (VH2).

如第2B圖所顯示,於本案一實施例中,將搜尋電壓與臨界電壓之間的電壓差稱為閘極過驅動電壓(gate overdrive voltage,GO)。於匹配狀態下,閘極過驅動電壓超過一門檻值,該快閃記憶體晶胞T1/T2提供高晶胞電流;相反地,於不匹配狀態下,閘極過驅動電壓低於該門檻值,該快閃記憶體晶胞T1/T2提供低晶胞電流。以第2B圖為例,參考搜尋電壓VH1與VH2可分別為5V與8V,高參考臨界電壓例如但不受限於為3~4V,而低參考臨界電壓例如但不受限於為小於0V。參考搜尋電壓VH2(8V)與高參考臨界電壓(3~4V)之間的閘極過驅動電壓約為4~5V,可視為是高閘極過驅動電壓;參考搜尋電壓VH2(8V)與低參考臨界電壓(小於0V)之間的閘極過驅動電壓約為大於8V,可視為是高閘極過驅動電壓;參考搜尋電壓VH1(5V)與高參考臨界電壓(3~4V)之間的閘極過驅動電壓約為1~2V,可視為是低閘極過驅動電壓;參考搜尋電壓VH1(5V)與低參考臨界電壓(小於0V)之間的閘極過驅動電壓約為大於5V, 可視為是高閘極過驅動電壓。 As shown in FIG. 2B , in one embodiment of the present invention, the voltage difference between the search voltage and the critical voltage is referred to as a gate overdrive voltage (GO). In a matched state, the gate overdrive voltage exceeds a threshold value, and the flash memory cell T1/T2 provides a high cell current; conversely, in a mismatched state, the gate overdrive voltage is lower than the threshold value, and the flash memory cell T1/T2 provides a low cell current. Taking FIG. 2B as an example, the reference search voltages VH1 and VH2 may be 5V and 8V respectively, the high reference critical voltage may be, for example but not limited to, 3~4V, and the low reference critical voltage may be, for example but not limited to, less than 0V. The gate overdrive voltage between the reference search voltage VH2 (8V) and the high reference critical voltage (3~4V) is approximately 4~5V, which can be regarded as a high gate overdrive voltage; the gate overdrive voltage between the reference search voltage VH2 (8V) and the low reference critical voltage (less than 0V) is approximately greater than 8V, which can be regarded as a high gate overdrive voltage; The gate overdrive voltage between the reference search voltage VH1 (5V) and the high reference critical voltage (3~4V) is about 1~2V, which can be regarded as a low gate overdrive voltage; the gate overdrive voltage between the reference search voltage VH1 (5V) and the low reference critical voltage (less than 0V) is about greater than 5V, which can be regarded as a high gate overdrive voltage.

細言之,當搜尋電壓為第二參考搜尋電壓(VH2)時,不論快閃記憶體晶胞T1/T2的臨界電壓是低參考臨界電壓(LVT)或高參考臨界電壓(HVT),快閃記憶體晶胞T1/T2的該閘極過驅動電壓超過該門檻值,所以,快閃記憶體晶胞T1/T2的晶胞電流為高參考晶胞電流(I1)。當搜尋電壓為第一參考搜尋電壓(VH1)時,(1)如果快閃記憶體晶胞T1/T2的臨界電壓是低參考臨界電壓(LVT),快閃記憶體晶胞T1/T2的該閘極過驅動電壓超過該門檻值,所以,快閃記憶體晶胞T1/T2的晶胞電流約為高參考晶胞電流(I1);以及,(2)如果快閃記憶體晶胞T1/T2的臨界電壓是高參考臨界電壓(HVT),快閃記憶體晶胞T1/T2的該閘極過驅動電壓低於該門檻值,所以,快閃記憶體晶胞T1/T2的晶胞電流約為低參考晶胞電流(I2)。 In detail, when the search voltage is the second reference search voltage (VH2), regardless of whether the critical voltage of the flash memory cell T1/T2 is the low reference critical voltage (LVT) or the high reference critical voltage (HVT), the gate overdrive voltage of the flash memory cell T1/T2 exceeds the threshold value, so the cell current of the flash memory cell T1/T2 is the high reference cell current (I1). When the search voltage is the first reference search voltage (VH1), (1) if the critical voltage of the flash memory cell T1/T2 is the low reference critical voltage (LVT), the gate overdrive voltage of the flash memory cell T1/T2 exceeds the threshold value, so the cell current of the flash memory cell T1/T2 is approximately the high reference critical voltage (LVT). cell current (I1); and, (2) if the critical voltage of the flash memory cell T1/T2 is the high reference critical voltage (HVT), the gate overdrive voltage of the flash memory cell T1/T2 is lower than the threshold value, so the cell current of the flash memory cell T1/T2 is approximately the low reference cell current (I2).

在一例中,當高參考臨界電壓(HVT)為3~4V,低參考臨界電壓(LVT)為小於0V,參考搜尋電壓VH1與VH2分別為5V與8V時,則高參考晶胞電流(I1)與低參考晶胞電流(I2)例如但不受限於,分別為100~500nA與1~99nA。 In one example, when the high reference critical voltage (HVT) is 3~4V, the low reference critical voltage (LVT) is less than 0V, and the reference search voltages VH1 and VH2 are 5V and 8V respectively, the high reference cell current (I1) and the low reference cell current (I2) are, for example but not limited to, 100~500nA and 1~99nA respectively.

在本案一實施例中,SLC IMAS CAM晶胞110之搜尋資料與儲存資料之間的匹配關係如下表所示:

Figure 112103433-A0305-02-0013-3
In an embodiment of the present case, the matching relationship between the search data and the storage data of the SLC IMAS CAM cell 110 is shown in the following table:
Figure 112103433-A0305-02-0013-3

Figure 112103433-A0305-02-0014-4
X:不導通(或低閘極過驅動電壓)O:導通(或高閘極過驅動電壓)
Figure 112103433-A0305-02-0014-4
X: No conduction (or low gate overdrive voltage) O: Conduction (or high gate overdrive voltage)

因此,當搜尋資料為1而儲存資料為0時,快閃記憶體晶胞T1不導通而快閃記憶體晶胞T2為導通,所以,SLC IMAS CAM晶胞110之晶胞電流為低參考晶胞電流(I2),亦即搜尋結果為不匹配。同理,當搜尋資料為0而儲存資料為0時,快閃記憶體晶胞T1導 通而快閃記憶體晶胞T2為導通,所以,SLC IMAS CAM晶胞110之晶胞電流為高參考晶胞電流(I1),亦即搜尋結果為匹配。其餘可依此類推。 Therefore, when the search data is 1 and the storage data is 0, the flash memory cell T1 is not turned on and the flash memory cell T2 is turned on, so the cell current of the SLC IMAS CAM cell 110 is the low reference cell current (I2), that is, the search result is not matched. Similarly, when the search data is 0 and the storage data is 0, the flash memory cell T1 is turned on and the flash memory cell T2 is turned on, so the cell current of the SLC IMAS CAM cell 110 is the high reference cell current (I1), that is, the search result is matched. The rest can be deduced in this way.

於對SLC IMAS CAM晶胞110進行搜尋時,當搜尋資料匹配於儲存資料時,SLC IMAS CAM晶胞110之晶胞電流為高參考晶胞電流(I1),代表搜尋結果為匹配;當搜尋資料未匹配於儲存資料時,SLC IMAS CAM晶胞110之晶胞電流為低參考晶胞電流(I2),代表搜尋結果為不匹配。 When searching the SLC IMAS CAM cell 110, when the search data matches the stored data, the cell current of the SLC IMAS CAM cell 110 is a high reference cell current (I1), indicating that the search result is a match; when the search data does not match the stored data, the cell current of the SLC IMAS CAM cell 110 is a low reference cell current (I2), indicating that the search result is a mismatch.

當搜尋資料為萬用字元(wildcard,WC)時,不論儲存資料為何值,SLC IMAS CAM晶胞110之晶胞電流為高參考晶胞電流(I1),代表搜尋結果為匹配;當搜尋資料為無效搜尋時,不論儲存資料為1或0或無效資料,SLC IMAS CAM晶胞110之晶胞電流為低參考晶胞電流(I2),代表搜尋結果為不匹配。 When the search data is a wildcard (WC), regardless of the value of the stored data, the cell current of the SLC IMAS CAM cell 110 is a high reference cell current (I1), indicating that the search result is a match; when the search data is an invalid search, regardless of whether the stored data is 1 or 0 or invalid data, the cell current of the SLC IMAS CAM cell 110 is a low reference cell current (I2), indicating that the search result is a mismatch.

當儲存資料為X(don’t care,不重要)時,不論搜尋資料為何值,SLC IMAS CAM晶胞110之晶胞電流為高參考晶胞電流(I1),代表搜尋結果為匹配。當儲存資料為無效資料,不論搜尋資料為1或0或無效搜尋,SLC IMAS CAM晶胞110之晶胞電流為低參考晶胞電流(I2),代表搜尋結果為不匹配。 When the stored data is X (don’t care, not important), regardless of the search data value, the cell current of the SLC IMAS CAM cell 110 is the high reference cell current (I1), indicating that the search result is a match. When the stored data is invalid data, regardless of the search data is 1 or 0 or invalid search, the cell current of the SLC IMAS CAM cell 110 is the low reference cell current (I2), indicating that the search result is a mismatch.

現將說明根據本案一實施例的類比IMS CAM晶胞120的細節。以類比搜尋資料來搜尋類比IMS CAM晶胞120所儲存之類比儲存資料。藉由調整類比IMS CAM晶胞120的快閃記憶體晶胞T3與T4的臨界電壓,可以建立不同的匹配範圍。第 三搜尋電壓(其為類比搜尋電壓)VA與第四搜尋電壓(其為類比搜尋電壓)VB分別透過不同字元線而輸入至快閃記憶體晶胞T3與T4。 The details of the analog IMS CAM cell 120 according to an embodiment of the present invention will now be described. The analog storage data stored in the analog IMS CAM cell 120 is searched by analog search data. By adjusting the critical voltages of the flash memory cells T3 and T4 of the analog IMS CAM cell 120, different matching ranges can be established. The third search voltage (which is the analog search voltage) VA and the fourth search voltage (which is the analog search voltage) VB are input to the flash memory cells T3 and T4 respectively through different word lines.

第3A圖顯示根據本案一實施例之類比IMS CAM晶胞120之電壓電流曲線圖。在第3A圖中,快閃記憶體晶胞T3的臨界電壓表示為VT_A(或稱為第三臨界電壓),而快閃記憶體晶胞T4的臨界電壓表示為VT_B(或稱為第四臨界電壓)。臨界電壓VT_A與VT_B可依需要而被獨立程式化至任意臨界電壓值。 FIG. 3A shows a voltage-current curve of an analog IMS CAM cell 120 according to an embodiment of the present invention. In FIG. 3A, the critical voltage of the flash memory cell T3 is represented as VT_A (or the third critical voltage), and the critical voltage of the flash memory cell T4 is represented as VT_B (or the fourth critical voltage). The critical voltages VT_A and VT_B can be independently programmed to any critical voltage value as needed.

通道電流IA代表流經快閃記憶體晶胞T3的通道電流。通道電流IB代表流經快閃記憶體晶胞T4的通道電流。 Channel current IA represents the channel current flowing through flash memory cell T3. Channel current IB represents the channel current flowing through flash memory cell T4.

在本案一實施例中,第三搜尋電壓VA與第四搜尋電壓VB之關係例如但不受限於,為:VB=Vmax+Vmin-VA,其中,Vmax與Vmin分別代表類比搜尋電壓最大值與類比搜尋電壓最小值,皆為常數。例如但不受限於,Vmax=9V而Vmin=0V。 In an embodiment of the present case, the relationship between the third search voltage VA and the fourth search voltage VB is, for example but not limited to: VB=Vmax+Vmin-VA, where Vmax and Vmin represent the maximum value of the analog search voltage and the minimum value of the analog search voltage, respectively, and are both constants. For example but not limited to, Vmax=9V and Vmin=0V.

在本案一實施例中,當最小參考電壓值Vmin大於等於0V時,第三搜尋電壓VA與第四搜尋電壓VB皆為正值;當最大參考電壓值Vmax小於等於0V時,第三搜尋電壓VA與第四搜尋電壓VB皆為負值;以及,當最大參考電壓值Vmax大於0V且最小參考電壓值Vmin小於0V時,第三搜尋電壓VA與第四搜尋電壓VB之一為正值而另一者為負值。 In an embodiment of the present case, when the minimum reference voltage value Vmin is greater than or equal to 0V, the third search voltage VA and the fourth search voltage VB are both positive values; when the maximum reference voltage value Vmax is less than or equal to 0V, the third search voltage VA and the fourth search voltage VB are both negative values; and, when the maximum reference voltage value Vmax is greater than 0V and the minimum reference voltage value Vmin is less than 0V, one of the third search voltage VA and the fourth search voltage VB is positive and the other is negative.

如第3A圖所示,當VA=0.7V且VB=8.3V時,快閃記憶體晶胞T3沒有電流而快閃記憶體晶胞T4有電流。或者是, 當VA=4.05V且VB=4.95V時,快閃記憶體晶胞T3與快閃記憶體晶胞T4皆沒有電流。或者是,當VA=8.52V且VB=0.48V時,快閃記憶體晶胞T3有電流,但快閃記憶體晶胞T4沒有電流。 As shown in Figure 3A, when VA=0.7V and VB=8.3V, flash memory cell T3 has no current and flash memory cell T4 has current. Or, when VA=4.05V and VB=4.95V, both flash memory cell T3 and flash memory cell T4 have no current. Or, when VA=8.52V and VB=0.48V, flash memory cell T3 has current, but flash memory cell T4 has no current.

第3B圖顯示根據本案一實施例之類比IMS CAM晶胞120之另一種電壓電流曲線圖。在第3B圖中的臨界電壓VT_A與VT_B皆小於第3A圖中的臨界電壓VT_A與VT_B。 FIG. 3B shows another voltage-current curve of the analog IMS CAM cell 120 according to an embodiment of the present invention. The critical voltages VT_A and VT_B in FIG. 3B are both smaller than the critical voltages VT_A and VT_B in FIG. 3A.

如第3B圖所示,當VA=0.7V且VB=8.3V時,快閃記憶體晶胞T3與快閃記憶體晶胞T4皆沒有電流。或者是,當VA=4.05V且VB=4.95V時,快閃記憶體晶胞T3與快閃記憶體晶胞T4皆有電流。或者是,當VA=8.52V且VB=0.48V時,快閃記憶體晶胞T3有電流,但快閃記憶體晶胞T4沒有電流。 As shown in Figure 3B, when VA=0.7V and VB=8.3V, both flash memory cell T3 and flash memory cell T4 have no current. Alternatively, when VA=4.05V and VB=4.95V, both flash memory cell T3 and flash memory cell T4 have current. Alternatively, when VA=8.52V and VB=0.48V, flash memory cell T3 has current, but flash memory cell T4 has no current.

第4圖顯示根據本案一實施例之匹配範圍(match range)示意圖。在本案一實施例中,匹配範圍可由快閃記憶體晶胞T3的電壓電流關係(亦即電壓電流關係曲線圖)與快閃記憶體晶胞T4的電壓電流關係(亦即電壓電流關係曲線圖)所決定。在本案一實施例中,匹配範圍有關於類比IMS CAM晶胞120之該類比儲存資料。例如但不受限於,將類比IMS CAM晶胞120之該類比儲存資料轉換成該匹配範圍。該匹配範圍由類比IMS CAM晶胞120之快閃記憶體晶胞T3之第三臨界電壓與快閃記憶體晶胞T4之第四臨界電壓所決定。 FIG. 4 is a schematic diagram of a match range according to an embodiment of the present invention. In an embodiment of the present invention, the match range can be determined by the voltage-current relationship (i.e., voltage-current relationship curve) of the flash memory cell T3 and the voltage-current relationship (i.e., voltage-current relationship curve) of the flash memory cell T4. In an embodiment of the present invention, the match range is related to the analog storage data of the analog IMS CAM cell 120. For example, but not limited to, the analog storage data of the analog IMS CAM cell 120 is converted into the match range. The matching range is determined by the third critical voltage of the flash memory cell T3 and the fourth critical voltage of the flash memory cell T4 of the analog IMS CAM cell 120.

類比儲存資料D具有一類比儲存資料範圍,介於類比儲存資料最小值Dmin與類比儲存資料最大值Dmax之間。例 如但不受限於,在本案一實施例中,類比IMS CAM晶胞120之類比儲存資料D可介於0.00(Dmin)~1.00(Dmax)。在本案一實施例中,透過編碼原則,可將類比儲存資料最小值Dmin與類比儲存資料最大值Dmax分別編碼成第三臨界電壓或第四臨界電壓之臨界電壓最小值VTmin與臨界電壓最大值VTmax,亦即,根據類比儲存資料最小值Dmin與類比儲存資料最大值Dmax而分別決定成臨界電壓最小值VTmin與臨界電壓最大值VTmax。快閃記憶體晶胞T3與T4的臨界電壓則介於臨界電壓最小值VTmin與臨界電壓最大值VTmax之間。 The analog storage data D has an analog storage data range between the analog storage data minimum value Dmin and the analog storage data maximum value Dmax. For example, but not limited to, in an embodiment of the present case, the analog storage data D of the analog IMS CAM cell 120 may be between 0.00 (Dmin) and 1.00 (Dmax). In an embodiment of the present case, the analog storage data minimum value Dmin and the analog storage data maximum value Dmax can be encoded into the critical voltage minimum value VTmin and the critical voltage maximum value VTmax of the third critical voltage or the fourth critical voltage respectively through the coding principle, that is, the critical voltage minimum value VTmin and the critical voltage maximum value VTmax are determined respectively according to the analog storage data minimum value Dmin and the analog storage data maximum value Dmax. The critical voltage of the flash memory cells T3 and T4 is between the critical voltage minimum value VTmin and the critical voltage maximum value VTmax.

此外,類比搜尋資料S具有一類比搜尋資料範圍,介於類比搜尋資料最小值Smin與類比搜尋資料最大值Smax之間。例如但不受限於,在本案一實施例中,可用於搜尋類比IMS CAM晶胞120之類比搜尋資料S可介於0.00(Smin)~1.00(Smax)。在本案一實施例中,透過編碼原則,可將類比搜尋資料最小值Smin與類比搜尋資料最大值Smax分別編碼成第三搜尋電壓VA與第四搜尋電壓的最小值Vmin與類比搜尋電壓最大值Vmax。經編碼後,類比搜尋資料S被轉換成第三搜尋電壓VA與第四搜尋電壓VB。其中,第三搜尋電壓VA與第四搜尋電壓VB皆為連續值,第三搜尋電壓VA介於類比搜尋電壓最小值Vmin與類比搜尋電壓最大值Vmax之間,而VB=Vmax+Vmin-VA。 In addition, the analog search data S has an analog search data range between the analog search data minimum value Smin and the analog search data maximum value Smax. For example, but not limited to, in an embodiment of the present case, the analog search data S that can be used to search the analog IMS CAM cell 120 can be between 0.00 (Smin) and 1.00 (Smax). In an embodiment of the present case, through the coding principle, the analog search data minimum value Smin and the analog search data maximum value Smax can be encoded into the third search voltage VA and the fourth search voltage minimum value Vmin and the analog search voltage maximum value Vmax, respectively. After encoding, the analog search data S is converted into the third search voltage VA and the fourth search voltage VB. Among them, the third search voltage VA and the fourth search voltage VB are both continuous values, the third search voltage VA is between the analog search voltage minimum value Vmin and the analog search voltage maximum value Vmax, and VB=Vmax+Vmin-VA.

於第4圖中,該些電壓電流曲線圖分別相關於臨界 電壓VT1_A~VTn_A,以及,臨界電壓VT1_B~VTn_B。VT1_A~VTn_A分別代表快閃記憶體晶胞T3的不同n個臨界電壓(n為正整數);以及,VT1_B~VTn_B分別代表快閃記憶體晶胞T4的不同n個臨界電壓。其中,VT1_A<VT2_A<...<VTn_A,以及,VT1_B<VT2_B<...<VTn_B。 In FIG. 4, the voltage-current curves are respectively related to critical voltages VT1_A~VTn_A, and critical voltages VT1_B~VTn_B. VT1_A~VTn_A respectively represent n different critical voltages (n is a positive integer) of the flash memory cell T3; and VT1_B~VTn_B respectively represent n different critical voltages of the flash memory cell T4. Among them, VT1_A<VT2_A<...<VTn_A, and VT1_B<VT2_B<...<VTn_B.

匹配範圍可由快閃記憶體晶胞T3的電壓電流關係(亦即電壓電流關係曲線圖)與快閃記憶體晶胞T4的電壓電流關係(亦即電壓電流關係曲線圖)所決定。例如但不受限於,當快閃記憶體晶胞T3與T4的臨界電壓分別為VT1_A與VT1_B時,可以決定一種匹配範圍,而當快閃記憶體晶胞T3與T4的臨界電壓分別為VT2_A與VT1_B時,可以決定另一種匹配範圍。 The matching range can be determined by the voltage-current relationship of the flash memory cell T3 (i.e., the voltage-current relationship curve) and the voltage-current relationship of the flash memory cell T4 (i.e., the voltage-current relationship curve). For example, but not limited to, when the critical voltages of the flash memory cells T3 and T4 are VT1_A and VT1_B, respectively, one matching range can be determined, and when the critical voltages of the flash memory cells T3 and T4 are VT2_A and VT1_B, respectively, another matching range can be determined.

第5A圖至第5C圖顯示根據本案一實施例之類比IMS CAM晶胞120之匹配範圍示意圖。在本案一實施例中,例如但不受限於,匹配範圍介於1.5V~2.5V之間,則此匹配範圍的範圍寬度為2.5V-1.5V=1V,而此匹配範圍的最大值與最小值即為2.5V與1.5V。匹配範圍的最大值與最小值亦可稱為匹配範圍的位置(position)。 Figures 5A to 5C show schematic diagrams of the matching range of the analog IMS CAM cell 120 according to an embodiment of the present invention. In an embodiment of the present invention, for example but not limited to, the matching range is between 1.5V and 2.5V, then the range width of the matching range is 2.5V-1.5V=1V, and the maximum and minimum values of the matching range are 2.5V and 1.5V. The maximum and minimum values of the matching range can also be referred to as the position of the matching range.

如第5A圖所示,藉由改變快閃記憶體晶胞T3與T4的臨界電壓VT_A與VT_B,可以改變匹配範圍MR的範圍寬度。匹配範圍MR的定義將於底下另外說明之。 As shown in FIG. 5A, by changing the critical voltages VT_A and VT_B of the flash memory cells T3 and T4, the range width of the matching range MR can be changed. The definition of the matching range MR will be explained separately below.

如第5B圖所示,藉由改變快閃記憶體晶胞T3與T4的臨界電壓VT_A與VT_B,可以改變匹配範圍MR的最大值與 最小值(位置)。 As shown in Figure 5B, by changing the critical voltages VT_A and VT_B of the flash memory cells T3 and T4, the maximum and minimum values (positions) of the matching range MR can be changed.

如第5C圖所示,藉由改變快閃記憶體晶胞T3與T4的臨界電壓VT_A與VT_B,可以改變匹配範圍MR的範圍寬度與最大值與最小值(位置)。 As shown in FIG. 5C, by changing the critical voltages VT_A and VT_B of the flash memory cells T3 and T4, the range width and the maximum and minimum values (positions) of the matching range MR can be changed.

亦即,在本案一實施例中,藉由改變快閃記憶體晶胞T3與T4的臨界電壓VT_A與VT_B,可以改變匹配範圍MR的範圍寬度及/或位置。 That is, in one embodiment of the present case, by changing the critical voltages VT_A and VT_B of the flash memory cells T3 and T4, the range width and/or position of the matching range MR can be changed.

第6A圖與第6B圖顯示根據本案一實施例之類比IMS CAM晶胞120之匹配電流示意圖。在本案一實施例中,藉由改變快閃記憶體晶胞T3的臨界電壓及/或快閃記憶體晶胞T4的臨界電壓,可以改變匹配電流值。在此,匹配電流係指,當類比搜尋資料匹配於匹配範圍時,由快閃記憶體晶胞T3或T4所輸出的電流。 FIG. 6A and FIG. 6B show matching current schematic diagrams of the analog IMS CAM cell 120 according to an embodiment of the present invention. In an embodiment of the present invention, the matching current value can be changed by changing the critical voltage of the flash memory cell T3 and/or the critical voltage of the flash memory cell T4. Here, the matching current refers to the current output by the flash memory cell T3 or T4 when the analog search data matches the matching range.

如第6A圖所示,當快閃記憶體晶胞T4的臨界電壓分別為VT1_B~VT6_B(VT1_B<VT2_B<...<VT6_B)時,匹配電流值分別為MC11~MC16,其中,MC11>MC12...>MC16。 As shown in Figure 6A, when the critical voltage of the flash memory cell T4 is VT1_B~VT6_B (VT1_B<VT2_B<...<VT6_B), the matching current values are MC11~MC16, where MC11>MC12...>MC16.

如第6B圖所示,當快閃記憶體晶胞T3的臨界電壓分別為VT1_A~VT6_A(VT1_A<VT2_A<...<VT6_A)時,匹配電流值分別為MC21~MC26,其中,MC21>MC22...>MC26。 As shown in Figure 6B, when the critical voltage of the flash memory cell T3 is VT1_A~VT6_A (VT1_A<VT2_A<...<VT6_A), the matching current values are MC21~MC26, where MC21>MC22...>MC26.

也就是說,在本案一實施例中,藉由調整快閃記憶體晶胞T3及/或TB的臨界電壓,可以調整匹配電流值。 That is to say, in one embodiment of the present case, by adjusting the critical voltage of the flash memory cell T3 and/or TB, the matching current value can be adjusted.

第7圖顯示根據本案一實施例之類比IMS CAM晶 胞120之匹配範圍示意圖。如第7圖所示,在此假設第三搜尋電壓VA的最大值與最小值分別為4V與0V,則第四搜尋電壓VB(VB=Vmax+Vmin-VA)介於0V~4V之間。以下舉例說明,但當知本案並不受限於此。例如但不受限於,當第三搜尋電壓VA與第四搜尋電壓VB分別為1.6V與2.4V時,以第7圖的電壓電流曲線來看,快閃記憶體晶胞T3與T4皆有電流,此情況視為匹配。所以,匹配範圍定義為當快閃記憶體晶胞T3與T4皆有電流時。 FIG. 7 shows a schematic diagram of the matching range of the analog IMS CAM cell 120 according to an embodiment of the present invention. As shown in FIG. 7, it is assumed that the maximum value and the minimum value of the third search voltage VA are 4V and 0V respectively, and the fourth search voltage VB (VB=Vmax+Vmin-VA) is between 0V and 4V. The following example is given for illustration, but it should be noted that the present invention is not limited thereto. For example, but not limited to, when the third search voltage VA and the fourth search voltage VB are 1.6V and 2.4V respectively, according to the voltage-current curve of FIG. 7, both the flash memory cells T3 and T4 have current, and this situation is considered to be matched. Therefore, the matching range is defined as when both the flash memory cells T3 and T4 have current.

當第三搜尋電壓VA與第四搜尋電壓VB分別為3.7V與0.3V時,以第7圖的電壓電流曲線來看,快閃記憶體晶胞T3有電流而快閃記憶體晶胞T4無電流,此情況視為不匹配。或者是,當第三搜尋電壓VA與第四搜尋電壓VB分別為0.3V與3.7V時,以第7圖的電壓電流曲線來看,快閃記憶體晶胞T3無電流而快閃記憶體晶胞T4有電流,此情況視為不匹配。故而,當快閃記憶體晶胞T3與快閃記憶體晶胞T4之其中一者有電流而另一者無電流時,視為不匹配。 When the third search voltage VA and the fourth search voltage VB are 3.7V and 0.3V respectively, from the voltage-current curve of Figure 7, the flash memory cell T3 has current but the flash memory cell T4 has no current, and this situation is considered as mismatch. Alternatively, when the third search voltage VA and the fourth search voltage VB are 0.3V and 3.7V respectively, from the voltage-current curve of Figure 7, the flash memory cell T3 has no current but the flash memory cell T4 has current, and this situation is considered as mismatch. Therefore, when one of the flash memory cell T3 and the flash memory cell T4 has current but the other has no current, it is considered as mismatch.

也就是說,在本案一實施例的類比IMS CAM晶胞120之中,當第三搜尋電壓VA落於匹配範圍內時,快閃記憶體晶胞T3與快閃記憶體晶胞T4皆有電流,類比IMS CAM晶胞120之輸出匹配電流。當第三搜尋電壓VA落於匹配範圍之外時,快閃記憶體晶胞T3與快閃記憶體晶胞T4之其中一者有電流而另一者無電流,類比IMS CAM晶胞120不輸出匹配電流。 That is, in the analog IMS CAM cell 120 of the first embodiment of the present case, when the third search voltage VA falls within the matching range, both the flash memory cell T3 and the flash memory cell T4 have current, and the analog IMS CAM cell 120 outputs a matching current. When the third search voltage VA falls outside the matching range, one of the flash memory cell T3 and the flash memory cell T4 has current and the other has no current, and the analog IMS CAM cell 120 does not output a matching current.

如上所述,在本案一實施例中,偵測類比IMS CAM晶胞120是否輸出匹配電流,來決定是匹配或不匹配。 As described above, in one embodiment of the present case, the analog IMS CAM cell 120 is detected to determine whether it is matched or not by outputting a matching current.

現將說明根據本案一實施例的混合式記憶體內搜尋CAM單元100的資料搜尋。 The data search of the hybrid memory search CAM unit 100 according to an embodiment of the present invention will now be described.

第8圖顯示從影像擷取出特徵的示意圖。如第8圖所示,特徵擷取器對影像擷取出多個特徵,在此以擷取出512個特徵F1~F512且每個特徵F1~F512為8位元解析度為例做說明,但當知本案並不受限於此。該些特徵F1~F512可以儲存至512個混合式記憶體內搜尋CAM單元100內。 FIG. 8 is a schematic diagram showing how to extract features from an image. As shown in FIG. 8 , the feature extractor extracts multiple features from an image. Here, 512 features F1 to F512 are extracted and each feature F1 to F512 has an 8-bit resolution. However, it should be noted that the present invention is not limited thereto. The features F1 to F512 can be stored in the 512 hybrid memory search CAM units 100.

當要進行資料搜尋比對時,特徵Fn(n=1-512)儲存至混合式記憶體內搜尋CAM單元100內有二種方式,底下將分別說明之。 When performing data search and matching, there are two ways to store the feature Fn (n=1-512) in the search CAM unit 100 in the hybrid memory, which will be explained below.

第9A圖與第9B圖顯示根據本案一實施例的第一種資料儲存與搜尋方法。第10A圖與第10B圖顯示根據本案一實施例的第二種資料儲存與搜尋方法。 Figures 9A and 9B show the first data storage and search method according to an embodiment of the present invention. Figures 10A and 10B show the second data storage and search method according to an embodiment of the present invention.

在第9A圖與第9B圖的根據本案一實施例的第一種資料儲存與搜尋方法中,當將特徵Fn儲存至混合式記憶體內搜尋CAM單元100內時,特徵Fn的第一部份Fn_1儲存於SLC IMAS CAM晶胞110內;而特徵Fn儲存於類比IMS CAM晶胞120內,其中,例如但不受限於,特徵Fn的第一部份Fn_1是特徵Fn的最高有效位元(MSB)。於資料搜尋時,搜尋資料S的第一部份S_1用以搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份 Fn_1;搜尋資料S用以搜尋儲存於類比IMS CAM晶胞120內的特徵Fn。也就是說,以十進位來看,對於8位元的特徵值,類比IMS CAM晶胞120內的特徵Fn為0-255。細言之,於資料搜尋時,將搜尋資料S的第一部份S_1解碼成第一搜尋電壓SL_1與第二搜尋電壓SL_2,以搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1;將搜尋資料S解碼成第三搜尋電壓VA與第四搜尋電壓VB,以搜尋儲存於類比IMS CAM晶胞120內的特徵Fn。 In the first data storage and search method according to an embodiment of the present invention shown in FIG. 9A and FIG. 9B , when storing a feature Fn in a hybrid memory search CAM unit 100, a first portion Fn_1 of the feature Fn is stored in an SLC IMAS CAM cell 110; and the feature Fn is stored in an analog IMS CAM cell 120, wherein, for example but not limited to, the first portion Fn_1 of the feature Fn is the most significant bit (MSB) of the feature Fn. During data search, the first portion S_1 of the search data S is used to search for the first portion Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110; and the search data S is used to search for the feature Fn stored in the analog IMS CAM cell 120. That is, in decimal, for an 8-bit feature value, the feature Fn in the analog IMS CAM cell 120 is 0-255. Specifically, during data search, the first part S_1 of the search data S is decoded into the first search voltage SL_1 and the second search voltage SL_2 to search for the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110; the search data S is decoded into the third search voltage VA and the fourth search voltage VB to search for the feature Fn stored in the analog IMS CAM cell 120.

在第10A圖與第10B圖的根據本案一實施例的第二種資料儲存與搜尋方法中,當將特徵Fn儲存至混合式記憶體內搜尋CAM單元100內時,特徵Fn的第一部份Fn_1儲存於SLC IMAS CAM晶胞110內,而特徵Fn的第二部份Fn_2儲存於類比IMS CAM晶胞120內,其中,例如但不受限於,特徵Fn的第一部份Fn_1是特徵Fn的最高有效位元(MSB),而特徵Fn的第二部份Fn_2是特徵Fn的其餘位元(7位元),亦即,是特徵Fn的第二最高有效位元至最低有效位元(LSB)。於資料搜尋時,搜尋資料S的第一部份S_1用以搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1;搜尋資料S的第二部份S_2用以搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2。也就是說,以十進位來看,對於8位元的特徵值,SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1為128-255,而類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2為0-127。細言之, 於資料搜尋時,將搜尋資料S的第一部份S_1解碼成第一搜尋電壓SL_1與第二搜尋電壓SL_2,以搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1;將搜尋資料S的第二部份S_2解碼成第三搜尋電壓VA與第四搜尋電壓VB,以搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2。 In the second data storage and search method according to an embodiment of the present invention shown in Figures 10A and 10B, when the feature Fn is stored in the hybrid memory search CAM unit 100, the first part Fn_1 of the feature Fn is stored in the SLC IMAS CAM cell 110, and the second part Fn_2 of the feature Fn is stored in the analog IMS CAM cell 120, wherein, for example but not limited to, the first part Fn_1 of the feature Fn is the most significant bit (MSB) of the feature Fn, and the second part Fn_2 of the feature Fn is the remaining bits (7 bits) of the feature Fn, that is, the second most significant bit to the least significant bit (LSB) of the feature Fn. During data search, the first part S_1 of the search data S is used to search for the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110; the second part S_2 of the search data S is used to search for the second part Fn_2 of the feature Fn stored in the analog IMS CAM cell 120. That is, in decimal, for an 8-bit feature value, the first part Fn_1 of the feature Fn in the SLC IMAS CAM cell 110 is 128-255, and the second part Fn_2 of the feature Fn in the analog IMS CAM cell 120 is 0-127. Specifically, During data search, the first part S_1 of the search data S is decoded into the first search voltage SL_1 and the second search voltage SL_2 to search for the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110; the second part S_2 of the search data S is decoded into the third search voltage VA and the fourth search voltage VB to search for the second part Fn_2 of the feature Fn stored in the analog IMS CAM cell 120.

請參照第9A圖與第9B圖。在此以搜尋資料S為10011011為例做說明,但當知本案並不受限於此。當將搜尋資料S(10011011)轉換化十進位(DEC)時,搜尋資料S為155(DEC)。搜尋資料S的第一部份S_1為邏輯1(MSB)。 Please refer to Figure 9A and Figure 9B. Here, the search data S is 10011011 as an example for explanation, but it should be noted that the present case is not limited to this. When the search data S (10011011) is converted to decimal (DEC), the search data S is 155 (DEC). The first part S_1 of the search data S is logical 1 (MSB).

第9B圖中,當將155的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯1(MSB),而儲存於類比IMS CAM晶胞120內的特徵Fn則為155(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1(邏輯1(MSB)),其搜尋結果為匹配(SLC IMAS CAM晶胞110產生高電流);以及,搜尋資料S(為155(DEC)搜尋儲存於類比IMS CAM晶胞120內的特徵Fn(為155(DEC)),類比IMS CAM晶胞120產生第一電流I1。 In FIG. 9B , when the storage data (analog storage value) of 155 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logic 1 (MSB), and the feature Fn stored in the analog IMS CAM cell 120 is 155 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 1 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is a match (the SLC IMAS CAM cell 110 generates a high current); and the search data S (155 (DEC) searches for the feature Fn (155 (DEC)) stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a first current I1.

第9B圖中,當將162的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯1(MSB), 而儲存於類比IMS CAM晶胞120內的特徵Fn則為162(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1(邏輯1(MSB)),其搜尋結果為匹配(SLC IMAS CAM晶胞110產生高電流);以及,搜尋資料S(為155(DEC)搜尋儲存於類比IMS CAM晶胞120內的特徵Fn(為162(DEC)),類比IMS CAM晶胞120產生第二電流I2。 In FIG. 9B , when the storage data (analog storage value) of 162 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logical 1 (MSB), and the feature Fn stored in the analog IMS CAM cell 120 is 162 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 1 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is a match (the SLC IMAS CAM cell 110 generates a high current); and the search data S (155 (DEC) searches for the feature Fn (162 (DEC)) stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a second current I2.

第9B圖中,當將110的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯0(MSB),而儲存於類比IMS CAM晶胞120內的特徵Fn則為110(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1(邏輯0(MSB)),其搜尋結果為不匹配(SLC IMAS CAM晶胞110產生低電流);以及,搜尋資料S(為155(DEC)搜尋儲存於類比IMS CAM晶胞120內的特徵Fn(為110(DEC)),類比IMS CAM晶胞120產生第三電流I3。其中,I1>I2>I3,亦即,當搜尋資料S愈靠近搜尋儲存於類比IMS CAM晶胞120內的特徵Fn時,類比IMS CAM晶胞120產生愈高的電流,相反地,當搜尋資料S愈遠離搜尋儲存於類比IMS CAM晶胞120內的特徵Fn時,類比IMS CAM晶胞120產生愈低的電流。 In FIG. 9B , when the storage data (analog storage value) of 110 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logical 0 (MSB), and the feature Fn stored in the analog IMS CAM cell 120 is 110 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 0 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is mismatch (the SLC IMAS CAM cell 110 generates a low current); and the search data S (155 (DEC) searches for the feature Fn (110 (DEC)) stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a third current I3. Among them, I1>I2>I3, that is, when the search data S is closer to the search feature Fn stored in the analog IMS CAM cell 120, the analog IMS The CAM cell 120 generates a higher current. Conversely, the analog IMS CAM cell 120 generates a lower current as the search data S is farther from the search feature Fn stored in the analog IMS CAM cell 120.

請參照第10A圖與第10B圖。在此以搜尋資料S 為10011011為例做說明,但當知本案並不受限於此。當將搜尋資料S(10011011)轉換化十進位(DEC)時,搜尋資料S為155(DEC)。搜尋資料S的第一部份S_1為邏輯1(MSB),而搜尋資料S的第二部份S_2為0011011,轉換為十進位則為27(DEC)。 Please refer to Figure 10A and Figure 10B. Here, the search data S is 10011011 as an example for explanation, but it should be noted that the present case is not limited to this. When the search data S (10011011) is converted to decimal (DEC), the search data S is 155 (DEC). The first part S_1 of the search data S is logical 1 (MSB), and the second part S_2 of the search data S is 0011011, which is 27 (DEC) when converted to decimal.

第10B圖中,當將156的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯1(MSB),而儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2則為28(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1(邏輯1(MSB)),其搜尋結果為匹配(SLC IMAS CAM晶胞110產生高電流);以及,搜尋資料S的第二部份S_2(為27(DEC))搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2(28(DEC)),類比IMS CAM晶胞120產生第四電流I4。 In FIG. 10B , when the storage data (analog storage value) of 156 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logic 1 (MSB), and the second part Fn_2 of the feature Fn stored in the analog IMS CAM cell 120 is 28 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 1 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is a match (the SLC IMAS CAM cell 110 generates a high current); and the second part S_2 (27 (DEC)) of the search data S searches for the second part Fn_2 (28 (DEC)) of the feature Fn stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a fourth current I4.

第10B圖中,當將160的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯1(MSB),而儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2則為32(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵 Fn的第一部份Fn_1(邏輯1(MSB)),其搜尋結果為匹配(SLC IMAS CAM晶胞110產生高電流);以及,搜尋資料S的第二部份S_2(為27(DEC))搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2(32(DEC)),類比IMS CAM晶胞120產生第五電流I5。 In FIG. 10B , when the storage data (analog storage value) of 160 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logic 1 (MSB), and the second part Fn_2 of the feature Fn stored in the analog IMS CAM cell 120 is 32 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 1 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is a match (the SLC IMAS CAM cell 110 generates a high current); and the second part S_2 (27 (DEC)) of the search data S searches for the second part Fn_2 (32 (DEC)) of the feature Fn stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a fifth current I5.

第10B圖中,當將140的儲存資料(類比儲存值)儲存至混合式記憶體內搜尋CAM單元100內時,儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1係為邏輯1(MSB),而儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2則為12(DEC)。於資料搜尋與比對時,搜尋資料S的第一部份S_1(邏輯1(MSB))搜尋儲存於SLC IMAS CAM晶胞110內的特徵Fn的第一部份Fn_1(邏輯1(MSB)),其搜尋結果為匹配(SLC IMAS CAM晶胞110產生高電流);以及,搜尋資料S的第二部份S_2(為27(DEC))搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2(12(DEC)),類比IMS CAM晶胞120產生第六電流I6。其中,I4>I5>I6,亦即,當搜尋資料S的第二部份S_2愈靠近搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2時,類比IMS CAM晶胞120產生愈高的電流,相反地,當搜尋資料S的第二部份S_2愈靠近搜尋儲存於類比IMS CAM晶胞120內的特徵Fn的第二部份Fn_2時,類比IMS CAM晶胞120產生愈低的電流。 In FIG. 10B , when the storage data (analog storage value) of 140 is stored in the hybrid memory search CAM unit 100 , the first part Fn_1 of the feature Fn stored in the SLC IMAS CAM cell 110 is logical 1 (MSB), and the second part Fn_2 of the feature Fn stored in the analog IMS CAM cell 120 is 12 (DEC). During data search and comparison, the first part S_1 (logic 1 (MSB)) of the search data S searches for the first part Fn_1 (logic 1 (MSB)) of the feature Fn stored in the SLC IMAS CAM cell 110, and the search result is a match (the SLC IMAS CAM cell 110 generates a high current); and the second part S_2 (27 (DEC)) of the search data S searches for the second part Fn_2 (12 (DEC)) of the feature Fn stored in the analog IMS CAM cell 120, and the analog IMS CAM cell 120 generates a sixth current I6. Among them, I4>I5>I6, that is, when the second part S_2 of the search data S is closer to the second part Fn_2 of the search feature Fn stored in the analog IMS CAM cell 120, the analog IMS CAM cell 120 generates a higher current. On the contrary, when the second part S_2 of the search data S is closer to the second part Fn_2 of the search feature Fn stored in the analog IMS CAM cell 120, the analog IMS CAM cell 120 generates a lower current.

第11圖顯示根據本案一實施例的混合式記憶體內 搜尋CAM記憶體裝置的電路示意圖。如第11圖所示,混合式記憶體內搜尋CAM記憶體裝置1100包括:混合式記憶體內搜尋CAM記憶體陣列1110、字元線驅動電路1120、位元線驅動電路1130與感應放大器(SA)1140。 FIG. 11 shows a circuit diagram of a hybrid memory search CAM memory device according to an embodiment of the present invention. As shown in FIG. 11 , the hybrid memory search CAM memory device 1100 includes: a hybrid memory search CAM memory array 1110, a word line driver circuit 1120, a bit line driver circuit 1130, and a sense amplifier (SA) 1140.

混合式記憶體內搜尋CAM記憶體陣列1110包括複數個混合式記憶體內搜尋CAM單元100、複數條字元線WL1~WLn(n為正整數),以及複數個位元線BL1~BLm(m為正整數)。該些混合式記憶體內搜尋CAM單元100耦接至該些字元線WL1~WLn與該些位元線BL1~BLm。 The hybrid memory in-body search CAM memory array 1110 includes a plurality of hybrid memory in-body search CAM units 100, a plurality of word lines WL1~WLn (n is a positive integer), and a plurality of bit lines BL1~BLm (m is a positive integer). The hybrid memory in-body search CAM units 100 are coupled to the word lines WL1~WLn and the bit lines BL1~BLm.

字元線驅動電路1120耦接至該些字元線WL1~WLn,用以根據搜尋資料S而施加搜尋電壓SL_1、SL_2、VA與VB至該些混合式記憶體內搜尋CAM單元100,以搜尋該些混合式記憶體內搜尋CAM單元100。 The word line driving circuit 1120 is coupled to the word lines WL1~WLn, and is used to apply search voltages SL_1, SL_2, VA and VB to the search CAM units 100 in the hybrid memory according to the search data S, so as to search the search CAM units 100 in the hybrid memory.

位元線驅動電路1130耦接至該些位元線BL1~BLm,用以施加位元線驅動電壓至該些位元線BL1~BLm。 The bit line driving circuit 1130 is coupled to the bit lines BL1~BLm to apply a bit line driving voltage to the bit lines BL1~BLm.

感應放大器(SA)1140耦接至該些混合式記憶體內搜尋CAM單元100,用以接收由該些混合式記憶體內搜尋CAM單元100所傳來的感應電流,以決定該搜尋資料S是否匹配於該些混合式記憶體內搜尋CAM單元100內的儲存資料。 The sense amplifier (SA) 1140 is coupled to the hybrid memory search CAM units 100 to receive the sense current transmitted from the hybrid memory search CAM units 100 to determine whether the search data S matches the storage data in the hybrid memory search CAM units 100.

第12A圖至第12D圖顯示根據本案其他實施例的混合式記憶體內搜尋CAM單元的例子。 Figures 12A to 12D show examples of hybrid memory search CAM units according to other embodiments of the present invention.

於第12A圖中,混合式記憶體內搜尋CAM單元 1200A包括:第一IMS CAM晶胞1210A與第二IMS CAM晶胞1220A,其中,第一IMS CAM晶胞1210A例如但不受限於為單位元晶胞(single-level cell,SLC)IMS CAM晶胞,第二IMS CAM晶胞1220A例如但不受限於為SLC IMAS CAM晶胞或多位元晶胞(MLC,multi-level cell)IMS CAM晶胞或MLC IMAS CAM晶胞或類比IMS CAM晶胞。 In FIG. 12A , the hybrid memory intra-search CAM unit 1200A includes: a first IMS CAM cell 1210A and a second IMS CAM cell 1220A, wherein the first IMS CAM cell 1210A is, for example but not limited to, a single-level cell (SLC) IMS CAM cell, and the second IMS CAM cell 1220A is, for example but not limited to, a SLC IMAS CAM cell or a multi-level cell (MLC) IMS CAM cell or an MLC IMAS CAM cell or an analog IMS CAM cell.

於第12B圖中,混合式記憶體內搜尋CAM單元1200B包括:第一IMS CAM晶胞1210B與第二IMS CAM晶胞1220B,其中,第一IMS CAM晶胞1210B例如但不受限於為SLC IMAS CAM晶胞,第二IMS CAM晶胞1220B例如但不受限於為MLC IMS CAM晶胞或MLC IMAS CAM晶胞或類比IMS CAM晶胞。 In FIG. 12B , the hybrid in-memory search CAM unit 1200B includes: a first IMS CAM cell 1210B and a second IMS CAM cell 1220B, wherein the first IMS CAM cell 1210B is, for example but not limited to, an SLC IMAS CAM cell, and the second IMS CAM cell 1220B is, for example but not limited to, an MLC IMS CAM cell or an MLC IMAS CAM cell or an analog IMS CAM cell.

於第12C圖中,混合式記憶體內搜尋CAM單元1200C包括:第一IMS CAM晶胞1210C與第二IMS CAM晶胞1220C,其中,第一IMS CAM晶胞1210C例如但不受限於為MLC IMS CAM晶胞,第二IMS CAM晶胞1220C例如但不受限於為MLC IMAS CAM晶胞或類比IMS CAM晶胞。 In FIG. 12C , the hybrid in-memory search CAM unit 1200C includes: a first IMS CAM cell 1210C and a second IMS CAM cell 1220C, wherein the first IMS CAM cell 1210C is, for example but not limited to, an MLC IMS CAM cell, and the second IMS CAM cell 1220C is, for example but not limited to, an MLC IMAS CAM cell or an analog IMS CAM cell.

於第12D圖中,混合式記憶體內搜尋CAM單元1200D包括:第一IMS CAM晶胞1210D與第二IMS CAM晶胞1220D,其中,第一IMS CAM晶胞1210D例如但不受限於為MLC IMAS CAM晶胞,第二IMS CAM晶胞1220D例如但不受限於為類比IMS CAM晶胞。 In FIG. 12D , the hybrid in-memory search CAM unit 1200D includes: a first IMS CAM cell 1210D and a second IMS CAM cell 1220D, wherein the first IMS CAM cell 1210D is, for example but not limited to, an MLC IMAS CAM cell, and the second IMS CAM cell 1220D is, for example but not limited to, an analog IMS CAM cell.

綜上,於本案一實施例中,混合式記憶體內搜尋CAM單元包括:第一IMS CAM晶胞與第二IMS CAM晶胞,其中,第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。「不同類型」的定義如底下所述。 In summary, in one embodiment of the present case, the hybrid memory intra-search CAM unit includes: a first IMS CAM cell and a second IMS CAM cell, wherein the first IMS CAM cell and the second IMS CAM cell are of different types. The definition of "different types" is as described below.

在本案一實施例中,當第一IMS CAM晶胞與第二IMS CAM晶胞的儲存位元數不同時,則第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。例如但不受限於,當第一IMS CAM晶胞為單位元晶胞(SLC)而第二IMS CAM晶胞為多位元晶胞(MLC,multi-level cell)(2位元,3位元,4位元...等)時,第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。 In an embodiment of the present case, when the first IMS CAM cell and the second IMS CAM cell have different numbers of storage bits, the first IMS CAM cell and the second IMS CAM cell are of different types. For example, but not limited to, when the first IMS CAM cell is a single-bit cell (SLC) and the second IMS CAM cell is a multi-bit cell (MLC, multi-level cell) (2 bits, 3 bits, 4 bits... etc.), the first IMS CAM cell and the second IMS CAM cell are of different types.

或者,在本案一實施例中,當第一IMS CAM晶胞與第二IMS CAM晶胞之一的儲存資料為數位值而第一IMS CAM晶胞與第二IMS CAM晶胞之另一的儲存資料為類比值時,則第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。例如但不受限於,當第一IMS CAM晶胞與第二IMS CAM晶胞之一為類比IMS CAM晶胞(儲存資料為類比值),而第一IMS CAM晶胞與第二IMS CAM晶胞之一為數位IMS CAM晶胞(儲存資料為數位值)或數位IMAS CAM晶胞(儲存資料為數位值)時,第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。數位IMS CAM晶胞例如是SLC IMS CAM晶胞或MLC IMS CAM晶胞,而數位IMAS CAM晶胞例如是SLC IMAS CAM晶胞或MLC IMAS CAM晶胞。 Alternatively, in an embodiment of the present case, when the stored data of one of the first IMS CAM unit cell and the second IMS CAM unit cell is a digital value and the stored data of the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an analog value, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types. For example, but not limited to, when one of the first IMS CAM unit cell and the second IMS CAM unit cell is an analog IMS CAM unit cell (the stored data is an analog value) and one of the first IMS CAM unit cell and the second IMS CAM unit cell is a digital IMS CAM unit cell (the stored data is a digital value) or a digital IMS CAM unit cell (the stored data is a digital value), the first IMS CAM unit cell and the second IMS CAM unit cell are of different types. The digital IMS CAM cell is, for example, an SLC IMS CAM cell or an MLC IMS CAM cell, and the digital IMAS CAM cell is, for example, an SLC IMAS CAM cell or an MLC IMAS CAM cell.

或者,在本案一實施例中,當第一IMS CAM晶胞與第二IMS CAM晶胞之一為IMS CAM晶胞而第一IMS CAM晶胞與第二IMS CAM晶胞之另一為IMAS CAM晶胞時,則第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。例如但不受限於,第一IMS CAM晶胞與第二IMS CAM晶胞之一為SLC IMS CAM晶胞或MLC IMS CAM晶胞,而第一IMS CAM晶胞與第二IMS CAM晶胞之另一為SLC IMAS CAM晶胞或MLC IMAS CAM晶胞時,第一IMS CAM晶胞與第二IMS CAM晶胞為不同類型。 Alternatively, in an embodiment of the present case, when one of the first IMS CAM unit cell and the second IMS CAM unit cell is an IMS CAM unit cell and the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an IMAS CAM unit cell, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types. For example, but not limited to, when one of the first IMS CAM unit cell and the second IMS CAM unit cell is an SLC IMS CAM unit cell or an MLC IMS CAM unit cell and the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an SLC IMAS CAM unit cell or an MLC IMAS CAM unit cell, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types.

亦即,在本案一實施例中,第一IMS CAM晶胞與第二IMS CAM晶胞可由下列中選擇:SLC IMAS CAM晶胞、類比IMS CAM晶胞、SLC IMS CAM晶胞、MLC IMS CAM晶胞、MLC IMAS CAM晶胞。 That is, in an embodiment of the present case, the first IMS CAM cell and the second IMS CAM cell can be selected from the following: SLC IMAS CAM cell, analog IMS CAM cell, SLC IMS CAM cell, MLC IMS CAM cell, MLC IMAS CAM cell.

第13A圖與第13B圖顯示根據本案一實施例的SLC IMS CAM晶胞的示意圖。 Figures 13A and 13B show schematic diagrams of an SLC IMS CAM cell according to an embodiment of the present invention.

請參照第13A圖,繪示根據本發明一實施例的SLC IMS CAM晶胞1310。SLC IMS CAM晶胞1310包括並聯的快閃記憶體晶胞T1與T2。快閃記憶體晶胞T1包括:第一端(例如閘極)接收搜尋電壓SL_1;第二端(例如源極)耦接至快閃記憶體晶胞T2的第二端(例如源極);以及,第三端(例如汲極)耦接至快閃記憶體晶胞T2的第三端(例如汲極)。快閃記憶體晶胞T2包括:第一端(例如閘極)接收搜尋電壓SL_2;第二端(例如源極)耦接至快閃記憶體晶胞T1的第二端(例如源 極);以及,第三端(例如汲極)耦接至快閃記憶體晶胞T1的第三端(例如汲極)。 Please refer to FIG. 13A, which shows an SLC IMS CAM cell 1310 according to an embodiment of the present invention. The SLC IMS CAM cell 1310 includes flash memory cells T1 and T2 connected in parallel. The flash memory cell T1 includes: a first end (e.g., a gate) receiving a search voltage SL_1; a second end (e.g., a source) coupled to a second end (e.g., a source) of the flash memory cell T2; and a third end (e.g., a drain) coupled to a third end (e.g., a drain) of the flash memory cell T2. The flash memory cell T2 includes: a first end (e.g., a gate) receiving a search voltage SL_2; a second end (e.g., a source) coupled to a second end (e.g., a source) of the flash memory cell T1; and a third end (e.g., a drain) coupled to a third end (e.g., a drain) of the flash memory cell T1.

SLC IMS CAM晶胞1310的操作可包括擦除操作、編程操作及搜操作,詳述如下。 The operation of the SLC IMS CAM cell 1310 may include an erase operation, a program operation, and a search operation, as described below.

在擦除(erase)操作時,一擦除電壓會被施加成搜尋電壓SL_1及SL_2。一般來說,擦除電壓可為一負偏壓,藉以釋放快閃記憶體晶胞T1與T2中儲存的電荷。 During the erase operation, an erase voltage is applied as the search voltages SL_1 and SL_2. Generally, the erase voltage can be a negative bias to release the charges stored in the flash memory cells T1 and T2.

在編程操作時,藉由分別在搜尋電壓SL_1及SL_2施加適當的編程電壓,以分別編程快閃記憶體晶胞T1與T2的臨界電壓。當快閃記憶體晶胞T1的臨界電壓被編程為一低臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為一高臨界電壓時,定義SLC IMS CAM晶胞1310儲存的資料為一第一值(例如0);當快閃記憶體晶胞T1的臨界電壓被編程為高臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為低臨界電壓時,定義SLC IMS CAM晶胞1310儲存的資料為一第二值(例如1)。SLC IMS CAM晶胞1310儲存的資料除了可為第一值或第二值以外,也可選擇性地支援儲存「不重要(don’t care)」,當快閃記憶體晶胞T1的臨界電壓被編程為低臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為低臨界電壓時,定義SLC IMS CAM晶胞1310儲存的資料為「不重要」。 During the programming operation, by applying appropriate programming voltages to the search voltages SL_1 and SL_2, the critical voltages of the flash memory cells T1 and T2 are programmed respectively. When the critical voltage of the flash memory cell T1 is programmed as a low critical voltage and the critical voltage of the flash memory cell T2 is programmed as a high critical voltage, the data stored in the SLC IMS CAM cell 1310 is defined as a first value (e.g., 0); when the critical voltage of the flash memory cell T1 is programmed as a high critical voltage and the critical voltage of the flash memory cell T2 is programmed as a low critical voltage, the data stored in the SLC IMS CAM cell 1310 is defined as a second value (e.g., 1). In addition to the first value or the second value, the data stored in the SLC IMS CAM cell 1310 can also selectively support the storage of "don't care". When the critical voltage of the flash memory cell T1 is programmed as a low critical voltage and the critical voltage of the flash memory cell T2 is programmed as a low critical voltage, the data stored in the SLC IMS CAM cell 1310 is defined as "don't care".

在搜尋操作時,當要搜尋第一值時,搜尋電壓SL_1會被施加一第一參考搜尋電壓,搜尋電壓SL_2會被施加一第二參考搜尋電壓;當要搜尋第二值時,搜尋電壓SL_1會被施加第二參考搜尋電壓, 搜尋電壓SL_2會被施加第一參考搜尋電壓。第二參考搜尋電壓大於高臨界電壓,高臨界電壓大於第一參考搜尋電壓,且第一參考搜尋電壓大於低臨界電壓。除了可搜尋第一值及第二值之外,也可選擇性地支援搜尋「萬用字元(wild card)」。此處所謂搜尋萬用字元指的是所要搜尋的資料可以是第一值或第二值,也就是搜尋萬用字元時,無論SLC IMS CAM晶胞1310中儲存的是第一值還是第二值皆被認為是匹配的。當要搜尋萬用字元時,搜尋電壓SL_1會被施加第二參考搜尋電壓,搜尋電壓SL_2會被施加第二參考搜尋電壓。 During the search operation, when searching for the first value, a first reference search voltage is applied to the search voltage SL_1, and a second reference search voltage is applied to the search voltage SL_2; when searching for the second value, a second reference search voltage is applied to the search voltage SL_1, and a first reference search voltage is applied to the search voltage SL_2. The second reference search voltage is greater than the upper critical voltage, the upper critical voltage is greater than the first reference search voltage, and the first reference search voltage is greater than the lower critical voltage. In addition to searching for the first value and the second value, searching for "wild cards" can also be optionally supported. The so-called wildcard search here means that the data to be searched can be the first value or the second value, that is, when searching for a wildcard, whether the first value or the second value stored in the SLC IMS CAM cell 1310 is considered a match. When searching for a wildcard, the search voltage SL_1 will be applied with the second reference search voltage, and the search voltage SL_2 will be applied with the second reference search voltage.

請參照第13B圖繪示根據本發明另一實施例的SLC IMS CAM晶胞1320。SLC IMS CAM晶胞1320包括串聯的快閃記憶體晶胞T1及快閃記憶體晶胞T2。快閃記憶體晶胞T1包括:第一端(例如閘極)接收搜尋電壓SL_1;第二端(例如源極)耦接至信號線;以及,第三端(例如汲極)耦接至快閃記憶體晶胞T2的第二端(例如源極)。快閃記憶體晶胞T2包括:第一端(例如閘極)接收搜尋電壓SL_2;第二端(例如源極)耦接至快閃記憶體晶胞T1的第三端(例如汲極);以及,第三端(例如汲極)耦接至信號線。 Please refer to FIG. 13B for a diagram of an SLC IMS CAM cell 1320 according to another embodiment of the present invention. The SLC IMS CAM cell 1320 includes a flash memory cell T1 and a flash memory cell T2 connected in series. The flash memory cell T1 includes: a first end (e.g., a gate) receiving a search voltage SL_1; a second end (e.g., a source) coupled to a signal line; and a third end (e.g., a drain) coupled to a second end (e.g., a source) of the flash memory cell T2. The flash memory cell T2 includes: a first end (e.g., a gate) receiving a search voltage SL_2; a second end (e.g., a source) coupled to a third end (e.g., a drain) of the flash memory cell T1; and a third end (e.g., a drain) coupled to a signal line.

針對第13B圖的實施例中的SLC IMS CAM晶胞1320的操作可包括擦除操作、編程操作及搜操作,詳述如下。 The operation of the SLC IMS CAM cell 1320 in the embodiment of FIG. 13B may include an erase operation, a program operation, and a search operation, as described in detail below.

在擦除(erase)操作時,一擦除電壓會被施加在搜尋電壓SL_1及搜尋電壓SL_2。一般來說,擦除電壓可為一負偏壓,藉以釋放快閃記憶體晶胞T1與快閃記憶體晶胞T2中儲存的電荷。 During the erase operation, an erase voltage is applied to the search voltage SL_1 and the search voltage SL_2. Generally speaking, the erase voltage can be a negative bias to release the charge stored in the flash memory cell T1 and the flash memory cell T2.

在編程操作時,藉由分別在搜尋電壓SL_1及搜尋電壓SL_2施加適當的編程電壓,以分別編程快閃記憶體晶胞T1及快閃記憶體晶胞T2的臨界電壓。當快閃記憶體晶胞T1的臨界電壓被編程為一低臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為一高臨界電壓時,定義SLC IMS CAM晶胞1320儲存的資料為一第一值(例如0);當快閃記憶體晶胞T1的臨界電壓被編程為高臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為低臨界電壓時,定義SLC IMS CAM晶胞1320儲存的資料為一第二值(例如1)。SLC IMS CAM晶胞1320儲存的資料除了可為第一值或第二值以外,也可選擇性地支援儲存「不重要(don’t care)」,當快閃記憶體晶胞T1的臨界電壓被編程為低臨界電壓,且快閃記憶體晶胞T2的臨界電壓被編程為低臨界電壓時,定義SLC IMS CAM晶胞1310儲存的資料為「不重要」。 During the programming operation, by applying appropriate programming voltages to the search voltage SL_1 and the search voltage SL_2, the critical voltages of the flash memory cell T1 and the flash memory cell T2 are programmed respectively. When the critical voltage of the flash memory cell T1 is programmed as a low critical voltage and the critical voltage of the flash memory cell T2 is programmed as a high critical voltage, the data stored in the SLC IMS CAM cell 1320 is defined as a first value (e.g., 0); when the critical voltage of the flash memory cell T1 is programmed as a high critical voltage and the critical voltage of the flash memory cell T2 is programmed as a low critical voltage, the data stored in the SLC IMS CAM cell 1320 is defined as a second value (e.g., 1). In addition to the first value or the second value, the data stored in the SLC IMS CAM cell 1320 can also selectively support the storage of "don't care". When the critical voltage of the flash memory cell T1 is programmed to a low critical voltage and the critical voltage of the flash memory cell T2 is programmed to a low critical voltage, the data stored in the SLC IMS CAM cell 1310 is defined as "don't care".

在搜尋操作時,當要搜尋第一值時,搜尋電壓SL_1會被施加一第一參考搜尋電壓,搜尋電壓SL_2會被施加一第二參考搜尋電壓;當要搜尋第二值時,搜尋電壓SL_1會被施加第二參考搜尋電壓,搜尋電壓SL_2會被施加第一參考搜尋電壓。第二參考搜尋電壓大於高臨界電壓,高臨界電壓大於第一參考搜尋電壓,且第一參考搜尋電壓大於低臨界電壓。除了可搜尋第一值及第二值之外,也可選擇性地支援搜尋萬用字元。此處所謂搜尋萬用字元指的是所要搜尋的資料可以是第一值或第二值,也就是搜尋萬用字元時,無論SLC IMS CAM晶胞1320中儲存的是第一值還是第二值皆被認為是匹配的。當要搜尋萬 用字元時,搜尋電壓SL_1會被施加第二參考搜尋電壓,搜尋電壓SL_2會被施加第二參考搜尋電壓。 During the search operation, when searching for the first value, a first reference search voltage is applied to the search voltage SL_1, and a second reference search voltage is applied to the search voltage SL_2; when searching for the second value, a second reference search voltage is applied to the search voltage SL_1, and a first reference search voltage is applied to the search voltage SL_2. The second reference search voltage is greater than the upper critical voltage, the upper critical voltage is greater than the first reference search voltage, and the first reference search voltage is greater than the lower critical voltage. In addition to searching for the first value and the second value, searching for wildcards can also be optionally supported. The so-called wildcard search here means that the data to be searched can be the first value or the second value, that is, when searching for a wildcard, whether the first value or the second value stored in the SLC IMS CAM cell 1320 is considered a match. When searching for a wildcard, the search voltage SL_1 will be applied with the second reference search voltage, and the search voltage SL_2 will be applied with the second reference search voltage.

第14A圖至第14D顯示根據本案一實施例的MLC IMS CAM晶胞及其操作示意圖。 Figures 14A to 14D show schematic diagrams of an MLC IMS CAM cell and its operation according to an embodiment of the present invention.

第14A圖顯示根據本案一實施例的MLC IMS CAM晶胞1410及其操作示意圖。如第14A圖所示,本案一實施例的MLC IMS CAM晶胞1410例如但不受限於為,可儲存兩位元的多階CAM(multi-level CAM,MLC)。 FIG. 14A shows an MLC IMS CAM cell 1410 and its operation schematic diagram according to an embodiment of the present invention. As shown in FIG. 14A, the MLC IMS CAM cell 1410 of an embodiment of the present invention can be, for example but not limited to, a multi-level CAM (MLC) that can store two bits.

MLC IMS CAM晶胞1410包括:二個串聯的快閃記憶體晶胞T1與T2,其中,該些快閃記憶體晶胞例如但不受限於為,浮接閘極記憶體晶胞(floating gate memory cell)、矽-氧化物-氮化物-氧化物-矽(Silicon-Oxide-Nitride-Oxide-Silicon,SONOS)記憶體晶胞、浮點記憶體晶胞(floating dot memory cell)、鐵電場效電晶體記憶體晶胞(Ferroelectric FET(FeFET)memory cell)等。 The MLC IMS CAM cell 1410 includes: two flash memory cells T1 and T2 connected in series, wherein the flash memory cells are, for example but not limited to, floating gate memory cells, Silicon-Oxide-Nitride-Oxide-Silicon (SONOS) memory cells, floating dot memory cells, Ferroelectric FET (FeFET) memory cells, etc.

快閃記憶體晶胞T1的閘極G1用以接收第一搜尋電壓SL_1,快閃記憶體晶胞T2的閘極G2用以接收第二搜尋電壓SL_2,快閃記憶體晶胞T1的源極S1係與快閃記憶體晶胞T2的源極S2電性連接。 The gate G1 of the flash memory cell T1 is used to receive the first search voltage SL_1, the gate G2 of the flash memory cell T2 is used to receive the second search voltage SL_2, and the source S1 of the flash memory cell T1 is electrically connected to the source S2 of the flash memory cell T2.

此外,於本案一實施例中,快閃記憶體晶胞T1的臨界電壓(亦可稱為第一臨界電壓)、快閃記憶體晶胞T2的臨界電壓(亦可稱為第二臨界電壓)、第一搜尋電壓SL_1與第二搜尋電壓SL_2可以有多種設定。於第14A圖中,第一臨界電壓、第二臨界電壓、第一搜 尋電壓SL_1與第二搜尋電壓SL_2的設定可如下表,其細節於此省略:

Figure 112103433-A0305-02-0036-5
In addition, in an embodiment of the present invention, the critical voltage of the flash memory cell T1 (also referred to as the first critical voltage), the critical voltage of the flash memory cell T2 (also referred to as the second critical voltage), the first search voltage SL_1, and the second search voltage SL_2 can be set in a variety of ways. In FIG. 14A, the settings of the first critical voltage, the second critical voltage, the first search voltage SL_1, and the second search voltage SL_2 can be as shown in the following table, the details of which are omitted here:
Figure 112103433-A0305-02-0036-5

在本案一實施例中,當儲存資料為第一既定儲存資料(00)時,第一臨界電壓為VT1(亦可稱為最小臨界電壓值),第二臨界電壓為VT4(亦可稱為最大臨界電壓值);當儲存資料為第二既定儲 存資料(11)時,第一臨界電壓為一最大臨界電壓值,第二臨界電壓為一最小臨界電壓值;當儲存資料為第三既定儲存資料(XX(don’t care))時,第一臨界電壓與第二臨界電壓皆為一最小臨界電壓值;當儲存資料為第四既定儲存資料(即無效資料)時,第一臨界電壓與第二臨界電壓等於或大於一最大臨界電壓值。亦即,於本案一實施例中,MLC IMS CAM晶胞1410之儲存資料決定於第一臨界電壓與第二臨界電壓之組合。 In an embodiment of the present case, when the stored data is the first predetermined stored data (00), the first critical voltage is VT1 (also referred to as the minimum critical voltage value), and the second critical voltage is VT4 (also referred to as the maximum critical voltage value); when the stored data is the second predetermined stored data (11), the first critical voltage is a maximum critical voltage value, and the second critical voltage is a minimum critical voltage value; when the stored data is the third predetermined stored data (XX (don’t care), the first critical voltage and the second critical voltage are both a minimum critical voltage value; when the stored data is the fourth predetermined stored data (i.e., invalid data), the first critical voltage and the second critical voltage are equal to or greater than a maximum critical voltage value. That is, in an embodiment of the present case, the stored data of the MLC IMS CAM cell 1410 is determined by the combination of the first critical voltage and the second critical voltage.

在本案一實施例中,當搜尋資料為第一既定搜尋資料(00)時,第一搜尋電壓SL_1為VS1(亦可稱為最小搜尋電壓值),第二搜尋電壓SL_2為VS4(亦可稱為最大搜尋電壓值),其中搜尋資料代表所想要搜尋的資料;當搜尋資料為第二既定搜尋資料(11)時,第一搜尋電壓SL_1為一最大搜尋電壓值,第二搜尋電壓SL_2為一最小搜尋電壓值;當搜尋資料為第三既定搜尋資料(WC)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為一最大搜尋電壓值。 In an embodiment of the present case, when the search data is the first predetermined search data (00), the first search voltage SL_1 is VS1 (also called the minimum search voltage value), and the second search voltage SL_2 is VS4 (also called the maximum search voltage value), wherein the search data represents the data to be searched; when the search data is the second predetermined search data (11), the first search voltage SL_1 is a maximum search voltage value, and the second search voltage SL_2 is a minimum search voltage value; when the search data is the third predetermined search data (WC), the first search voltage SL_1 and the second search voltage SL_2 are both maximum search voltage values.

因此,於進行搜尋時,當搜尋資料匹配於儲存資料時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當搜尋資料未匹配於儲存資料時,至少快閃記憶體晶胞T1與快閃記憶體晶胞T2的其中之一為不導通而不會產生匹配電流,代表搜尋結果為不匹配;當搜尋資料為萬用字元(wildcard,WC)時,不論儲存資料為何值,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當儲存資料為XX(don’t care,不重要)時,不論搜尋資料為何值,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆 產生匹配電流,代表搜尋結果為匹配。例如,當搜尋資料(00)匹配於儲存資料(00)時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當搜尋資料(00)未匹配於儲存資料(01)時,快閃記憶體晶胞T1關閉而快閃記憶體晶胞T2導通,則不會產生匹配電流,代表搜尋結果為不匹配。 Therefore, when searching, when the search data matches the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the search data does not match the stored data, at least one of the flash memory cell T1 and the flash memory cell T2 is not conducting and does not generate matching currents, indicating that the search result is a mismatch; when the search data is a wildcard (WC), regardless of the value of the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the stored data is XX (don’t care, don't care), no matter what the search data is, flash memory cell T1 and flash memory cell T2 both generate matching current, indicating that the search result is a match. For example, when the search data (00) matches the stored data (00), flash memory cell T1 and flash memory cell T2 both generate matching current, indicating that the search result is a match; when the search data (00) does not match the stored data (01), flash memory cell T1 is turned off and flash memory cell T2 is turned on, and no matching current is generated, indicating that the search result is a mismatch.

請參照第14B圖,顯示根據本案一實施例的MLC IMS CAM晶胞1420及其操作示意圖。MLC IMS CAM晶胞1420例如但不受限於為,可儲存三位元的三階CAM(triple-level CAM,TLC)。 Please refer to FIG. 14B, which shows an MLC IMS CAM cell 1420 and its operation schematic diagram according to an embodiment of the present invention. The MLC IMS CAM cell 1420 is, for example but not limited to, a triple-level CAM (TLC) that can store three bits.

在本案實施例中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2亦可有不同設定。於第14B圖中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2的設定可如下表,其細節於此省略:

Figure 112103433-A0305-02-0038-6
In the present embodiment, the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may also have different settings. In FIG. 14B , the settings of the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may be as shown in the following table, the details of which are omitted here:
Figure 112103433-A0305-02-0038-6

Figure 112103433-A0305-02-0039-7
Figure 112103433-A0305-02-0039-7

在本案一實施例中,當儲存資料為第一既定儲存資料(000)時,第一臨界電壓為VT1(亦可稱為最小臨界電壓值),第二臨界電壓為VT8(亦可稱為最大臨界電壓值);當儲存資料為第二既定儲存資料(111)時,第一臨界電壓為一最大臨界電壓值,第二臨界電壓為一最小臨界電壓值;當儲存資料為第三既定儲存資料(XXX(don’t care))時,第一臨界電壓與第二臨界電壓皆為一最小臨界電壓值;當儲存資料為第四既定儲存資料(即無效資料)時,第一臨界電壓與第二臨界電壓等於或大於一最大臨界電壓值。亦即,於本 案一實施例中,MLC IMS CAM晶胞1420之儲存資料決定於第一臨界電壓與第二臨界電壓之組合。 In an embodiment of the present case, when the stored data is the first predetermined stored data (000), the first critical voltage is VT1 (also referred to as the minimum critical voltage value), and the second critical voltage is VT8 (also referred to as the maximum critical voltage value); when the stored data is the second predetermined stored data (111), the first critical voltage is a maximum critical voltage value, and the second critical voltage is a minimum critical voltage value; when the stored data is the third predetermined stored data (XXX (don’t care), the first critical voltage and the second critical voltage are both a minimum critical voltage value; when the stored data is the fourth predetermined stored data (i.e., invalid data), the first critical voltage and the second critical voltage are equal to or greater than a maximum critical voltage value. That is, in an embodiment of the present case, the stored data of the MLC IMS CAM cell 1420 is determined by the combination of the first critical voltage and the second critical voltage.

在本案一實施例中,當搜尋資料為第一既定搜尋資料(000)時,第一搜尋電壓SL_1為VS1(亦可稱為最小搜尋電壓值),第二搜尋電壓SL_2為VS8(亦可稱為最大搜尋電壓值);當搜尋資料為第二既定搜尋資料(111)時,第一搜尋電壓SL_1為一最大搜尋電壓值,第二搜尋電壓SL_2為一最小搜尋電壓值;當搜尋資料為第三既定搜尋資料(WC)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為一最大搜尋電壓值。 In an embodiment of the present case, when the search data is the first predetermined search data (000), the first search voltage SL_1 is VS1 (also called the minimum search voltage value), and the second search voltage SL_2 is VS8 (also called the maximum search voltage value); when the search data is the second predetermined search data (111), the first search voltage SL_1 is a maximum search voltage value, and the second search voltage SL_2 is a minimum search voltage value; when the search data is the third predetermined search data (WC), the first search voltage SL_1 and the second search voltage SL_2 are both maximum search voltage values.

因此,於進行搜尋時,當搜尋資料匹配於儲存資料時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當搜尋資料未匹配於儲存資料時,至少快閃記憶體晶胞T1與快閃記憶體晶胞T2的其中之一為不導通而不會產生匹配電流,代表搜尋結果為不匹配;當搜尋資料為萬用字元(wildcard,WC)時,不論儲存資料為何值,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當儲存資料為XX(don’t care,不重要)時,不論搜尋資料為何值,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配。例如,當搜尋資料(000)匹配於儲存資料(000)時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當搜尋資料(000)未匹配於儲存資料(001)時,快閃記憶體晶胞T1關閉而快閃記憶體晶胞T2導通,則不會產生匹配電流,代表搜尋結果為不匹配。 Therefore, when searching, when the search data matches the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the search data does not match the stored data, at least one of the flash memory cell T1 and the flash memory cell T2 is not conducting and does not generate matching currents, indicating that the search result is a mismatch; when the search data is a wildcard (WC), regardless of the value of the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the stored data is XX (don’t care, don't care), no matter what the search data value is, flash memory cell T1 and flash memory cell T2 both generate matching current, indicating that the search result is a match. For example, when the search data (000) matches the stored data (000), flash memory cell T1 and flash memory cell T2 both generate matching current, indicating that the search result is a match; when the search data (000) does not match the stored data (001), flash memory cell T1 is turned off and flash memory cell T2 is turned on, and no matching current is generated, indicating that the search result is a mismatch.

請參照第14C圖,顯示根據本案一實施例的MLC IMS CAM晶胞1430及其操作示意圖。MLC IMS CAM晶胞1430例如但不受限於為,可儲存四位元的四階CAM(quad-level CAM,QLC)。 Please refer to FIG. 14C, which shows an MLC IMS CAM cell 1430 and its operation schematic diagram according to an embodiment of the present invention. The MLC IMS CAM cell 1430 is, for example but not limited to, a quad-level CAM (QLC) that can store four bits.

在本案一實施例中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2亦可有不同設定。於第14C圖中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2的設定可如下表,其細節於此省略:

Figure 112103433-A0305-02-0041-8
In an embodiment of the present invention, the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may also have different settings. In FIG. 14C , the settings of the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may be as shown in the following table, the details of which are omitted here:
Figure 112103433-A0305-02-0041-8

Figure 112103433-A0305-02-0042-9
Figure 112103433-A0305-02-0042-9

Figure 112103433-A0305-02-0043-10
Figure 112103433-A0305-02-0043-10

在本案實施例中,當儲存資料為第一既定儲存資料(0000)時,第一臨界電壓為VT1(亦可稱為最小臨界電壓值),第二臨界電壓為VT16(亦可稱為最大臨界電壓值);當儲存資料為第二既定儲存資料(1111)時,第一臨界電壓為一最大臨界電壓值,第二臨界電壓為一最小臨界電壓值;當儲存資料為第三既定儲存資料(XXXX(don’t care))時,第一臨界電壓與第二臨界電壓皆為一最小臨界電壓值;當儲存資料為第四既定儲存資料(即無效資料)時,第一臨界電壓與第二臨界電壓等於或大於一最大臨界電壓值。亦即,於本案實施例中,MLC IMS CAM晶胞1430之儲存資料決定於第一臨界電壓與第二臨界電壓之組合。 In the present embodiment, when the stored data is the first predetermined stored data (0000), the first critical voltage is VT1 (also referred to as the minimum critical voltage value), and the second critical voltage is VT16 (also referred to as the maximum critical voltage value); when the stored data is the second predetermined stored data (1111), the first critical voltage is a maximum critical voltage value, and the second critical voltage is a minimum critical voltage value; when the stored data is the third predetermined stored data (XXXX (don’t care), the first critical voltage and the second critical voltage are both a minimum critical voltage value; when the stored data is the fourth predetermined stored data (i.e., invalid data), the first critical voltage and the second critical voltage are equal to or greater than a maximum critical voltage value. That is, in the present embodiment, the stored data of the MLC IMS CAM cell 1430 is determined by the combination of the first critical voltage and the second critical voltage.

在本案實施例中,當搜尋資料為第一既定搜尋資料(0000)時,第一搜尋電壓SL_1為VS1(亦可稱為最小搜尋電壓值),第二搜尋電壓SL_2為VS16(亦可稱為最大搜尋電壓值);當搜尋資料為第二既定搜尋資料(1111)時,第一搜尋電壓SL_1為一最大搜尋電壓值,第二搜尋電壓SL_2為一最小搜尋電壓值;當搜尋資料為第三既定搜尋資料(WC)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為一最大搜尋電壓值。 In the present embodiment, when the search data is the first predetermined search data (0000), the first search voltage SL_1 is VS1 (also called the minimum search voltage value), and the second search voltage SL_2 is VS16 (also called the maximum search voltage value); when the search data is the second predetermined search data (1111), the first search voltage SL_1 is a maximum search voltage value, and the second search voltage SL_2 is a minimum search voltage value; when the search data is the third predetermined search data (WC), the first search voltage SL_1 and the second search voltage SL_2 are both maximum search voltage values.

在本案實施例中,當搜尋資料匹配於儲存資料時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果 為匹配;當搜尋資料未匹配於儲存資料時,至少快閃記憶體晶胞T1與快閃記憶體晶胞T2的其中之一不導通而不會產生匹配電流,代表搜尋結果為不匹配。 In the present embodiment, when the search data matches the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the search data does not match the stored data, at least one of the flash memory cell T1 and the flash memory cell T2 is not turned on and does not generate matching currents, indicating that the search result is a mismatch.

請參照第14D圖,顯示根據本案實施例的MLC IMS CAM晶胞1440及其操作示意圖。MLC IMS CAM晶胞1440例如但不受限於為,可儲存五位元的五階CAM(penta-level CAM,PLC)。 Please refer to FIG. 14D, which shows an MLC IMS CAM cell 1440 and its operation schematic diagram according to an embodiment of the present invention. The MLC IMS CAM cell 1440 can be, for example but not limited to, a five-bit penta-level CAM (PLC).

在本案實施例中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2亦可有不同設定。於第14D圖中,第一臨界電壓、第二臨界電壓、第一搜尋電壓SL_1與第二搜尋電壓SL_2的設定可如下表,其細節於此省略:

Figure 112103433-A0305-02-0044-11
In the present embodiment, the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may also have different settings. In FIG. 14D , the settings of the first critical voltage, the second critical voltage, the first search voltage SL_1 and the second search voltage SL_2 may be as shown in the following table, the details of which are omitted here:
Figure 112103433-A0305-02-0044-11

Figure 112103433-A0305-02-0045-12
Figure 112103433-A0305-02-0045-12

Figure 112103433-A0305-02-0046-13
Figure 112103433-A0305-02-0046-13

Figure 112103433-A0305-02-0047-14
Figure 112103433-A0305-02-0047-14

在本案實施例中,當儲存資料為第一既定儲存資料(00000)時,第一臨界電壓為VT1(亦可稱為最小臨界電壓值),第二臨界電壓為VT32(亦可稱為最大臨界電壓值);當儲存資料為第二既定儲存資料(11111)時,第一臨界電壓為一最大臨界電壓值,第二臨界電壓為一最小臨界電壓值;當儲存資料為第三既定儲存資料(XXXXX(don’t care))時,第一臨界電壓與第二臨界電壓皆為一最小臨界電壓值;當儲存資料為第四既定儲存資料(即無效資料)時,第一臨界電壓與第二臨界電壓等於或大於一最大臨界電壓值。亦即,於 本案實施例中,MLC IMS CAM晶胞1440之儲存資料決定於第一臨界電壓與第二臨界電壓之組合。 In the present embodiment, when the stored data is the first predetermined stored data (00000), the first critical voltage is VT1 (also referred to as the minimum critical voltage value), and the second critical voltage is VT32 (also referred to as the maximum critical voltage value); when the stored data is the second predetermined stored data (11111), the first critical voltage is a maximum critical voltage value, and the second critical voltage is a minimum critical voltage value; when the stored data is the third predetermined stored data (XXXXX (don’t care), the first critical voltage and the second critical voltage are both a minimum critical voltage value; when the stored data is the fourth predetermined stored data (i.e., invalid data), the first critical voltage and the second critical voltage are equal to or greater than a maximum critical voltage value. That is, in the embodiment of the present case, the stored data of the MLC IMS CAM cell 1440 is determined by the combination of the first critical voltage and the second critical voltage.

在本案實施例中,當搜尋資料為第一既定搜尋資料(00000)時,第一搜尋電壓SL_1為VS1(亦可稱為最小搜尋電壓值),第二搜尋電壓SL_2為VS32(亦可稱為最大搜尋電壓值);當搜尋資料為第二既定搜尋資料(11111)時,第一搜尋電壓SL_1為一最大搜尋電壓值,第二搜尋電壓SL_2為一最小搜尋電壓值;當搜尋資料為第三既定搜尋資料(WC)時,第一搜尋電壓SL_1與第二搜尋電壓SL_2皆為一最大搜尋電壓值。 In the present embodiment, when the search data is the first predetermined search data (00000), the first search voltage SL_1 is VS1 (also called the minimum search voltage value), and the second search voltage SL_2 is VS32 (also called the maximum search voltage value); when the search data is the second predetermined search data (11111), the first search voltage SL_1 is a maximum search voltage value, and the second search voltage SL_2 is a minimum search voltage value; when the search data is the third predetermined search data (WC), the first search voltage SL_1 and the second search voltage SL_2 are both maximum search voltage values.

在本案實施例中,當搜尋資料匹配於儲存資料時,快閃記憶體晶胞T1與快閃記憶體晶胞T2皆產生匹配電流,代表搜尋結果為匹配;當搜尋資料未匹配於儲存資料時,至少快閃記憶體晶胞T1與快閃記憶體晶胞T2的其中之一不導通而不會產生匹配電流,代表搜尋結果為不匹配。 In the present embodiment, when the search data matches the stored data, both the flash memory cell T1 and the flash memory cell T2 generate matching currents, indicating that the search result is a match; when the search data does not match the stored data, at least one of the flash memory cell T1 and the flash memory cell T2 is not conducting and does not generate matching currents, indicating that the search result is a mismatch.

第15A圖至第15G圖顯示根據本案一實施例的MLC IMAS CAM晶胞及其操作示意圖。 Figures 15A to 15G show the MLC IMAS CAM unit cell and its operation schematic diagram according to an embodiment of the present invention.

第15A圖為本案一實施例的MLC IMAS CAM晶胞1500的示意圖,MLC IMAS CAM晶胞1500為記憶體裝置的一個單元,記憶體裝置用於執行記憶體內搜尋(in-memory search)。參見第15A圖,MLC IMAS CAM晶胞1500包括串聯連接的兩個電晶體M1、M2。電晶體M1可稱為「第一電晶體」,電晶體M2可稱為「第二電晶體」。電晶體M1包括第一汲極d1、第一源極s1 及第一閘極g1。電晶體M2包括第二汲極d2、第二源極s2及第二閘極g2。電晶體M1的第一汲極d1連接於記憶體裝置的其中一條位元線(例如,第1條位元線BL1)。電晶體M1的第一源極s1連接於電晶體M2的第二汲極d2。電晶體M1的第一閘極g1及電晶體M2的第二閘極g2連接於記憶體裝置的其中一組字元線。例如,記憶體裝置的第1組字元線WL1包括第一字元線WL1(1)及第二字元線WL1(2),電晶體M1的第一閘極g1連接於第一字元線WL1(1),電晶體M2的第二閘極g2連接於第二字元線WL1(2)。 FIG. 15A is a schematic diagram of an MLC IMAS CAM cell 1500 of an embodiment of the present invention. The MLC IMAS CAM cell 1500 is a unit of a memory device, and the memory device is used to perform an in-memory search. Referring to FIG. 15A, the MLC IMAS CAM cell 1500 includes two transistors M1 and M2 connected in series. Transistor M1 can be referred to as a "first transistor" and transistor M2 can be referred to as a "second transistor". Transistor M1 includes a first drain d1, a first source s1, and a first gate g1. Transistor M2 includes a second drain d2, a second source s2, and a second gate g2. The first drain d1 of the transistor M1 is connected to one of the bit lines of the memory device (for example, the first bit line BL1). The first source s1 of the transistor M1 is connected to the second drain d2 of the transistor M2. The first gate g1 of the transistor M1 and the second gate g2 of the transistor M2 are connected to one of the word lines of the memory device. For example, the first word line WL1 of the memory device includes the first word line WL1(1) and the second word line WL1(2), the first gate g1 of the transistor M1 is connected to the first word line WL1(1), and the second gate g2 of the transistor M2 is connected to the second word line WL1(2).

電晶體M1具有第一臨界電壓Vth1,電晶體M2具有第二臨界電壓Vth2。電晶體M1、M2具有浮動閘極(floating gate),可施加編程電壓以改變第一臨界電壓Vth1與第二臨界電壓Vth2。在一種示例中,電晶體M1、M2皆為多階記憶單元(multi-level cell,MLC)。電晶體M1的第一臨界電壓Vth1與電晶體M2的第二臨界電壓Vth2皆可調整為第一數量的電壓分布,第一數量為「4」。4個電壓分布依電壓大小關係依序為:第四電壓分布VT4、第三電壓分布VT3、第二電壓分布VT2、第一電壓分布VT1。在另一種示例中,電晶體M1、M2皆為三階記憶單元(triple-level cell,TLC),第一臨界電壓Vth1與第二臨界電壓Vth2皆可調整為第二數量的電壓分布,第二數量為「8」。在又一種示例中,電晶體M1、M2皆為四階記憶單元(quad-level cell,QLC),第一臨界電壓Vth1與第二臨界電壓Vth2皆可調整為第三數量的電壓分布,第三數量為「16」。 The transistor M1 has a first critical voltage Vth1, and the transistor M2 has a second critical voltage Vth2. The transistors M1 and M2 have floating gates, and a programming voltage can be applied to change the first critical voltage Vth1 and the second critical voltage Vth2. In one example, the transistors M1 and M2 are both multi-level cells (MLC). The first critical voltage Vth1 of the transistor M1 and the second critical voltage Vth2 of the transistor M2 can be adjusted to a first number of voltage distributions, and the first number is "4". The four voltage distributions are in order of voltage magnitude: the fourth voltage distribution VT4, the third voltage distribution VT3, the second voltage distribution VT2, and the first voltage distribution VT1. In another example, transistors M1 and M2 are both triple-level cells (TLC), and the first critical voltage Vth1 and the second critical voltage Vth2 can be adjusted to a second number of voltage distributions, and the second number is "8". In another example, transistors M1 and M2 are both quad-level cells (QLC), and the first critical voltage Vth1 and the second critical voltage Vth2 can be adjusted to a third number of voltage distributions, and the third number is "16".

MLC IMAS CAM晶胞1500可儲存一儲存資料DAT,其中儲存資料DAT包括第一位元D1及第二位元D2。儲存資料DAT根據第一臨界電壓Vth1與第二臨界電壓Vth2編碼而成。即,根據第一臨界電壓Vth1的第一至第四電壓分布VT1~VT4與第二臨界電壓Vth2的第一至第四電壓分布VT1~VT4編碼儲存資料DAT,如下表所示:

Figure 112103433-A0305-02-0050-15
The MLC IMAS CAM cell 1500 can store a storage data DAT, wherein the storage data DAT includes a first bit D1 and a second bit D2. The storage data DAT is encoded according to the first critical voltage Vth1 and the second critical voltage Vth2. That is, the storage data DAT is encoded according to the first to fourth voltage distributions VT1 to VT4 of the first critical voltage Vth1 and the first to fourth voltage distributions VT1 to VT4 of the second critical voltage Vth2, as shown in the following table:
Figure 112103433-A0305-02-0050-15

在上表的示例中,當第一臨界電壓Vth1與第二臨界 電壓Vth2分別為第一電壓分布VT1、第四電壓分布VT4時,編碼而成的儲存資料DAT的第一位元D1、第二位元D2為「0」、「0」。當第一臨界電壓Vth1與第二臨界電壓Vth2皆為第四電壓分布VT4時,編碼而成的儲存資料DAT為無效資料(invalid data)。當第一臨界電壓Vth1與第二臨界電壓Vth2皆為第一電壓分布VT1時,編碼而成的儲存資料DAT為不重要。 In the example in the above table, when the first critical voltage Vth1 and the second critical voltage Vth2 are the first voltage distribution VT1 and the fourth voltage distribution VT4 respectively, the first bit D1 and the second bit D2 of the encoded storage data DAT are "0" and "0". When the first critical voltage Vth1 and the second critical voltage Vth2 are both the fourth voltage distribution VT4, the encoded storage data DAT is invalid data. When the first critical voltage Vth1 and the second critical voltage Vth2 are both the first voltage distribution VT1, the encoded storage data DAT is unimportant.

並且,當第一臨界電壓Vth1與第二臨界電壓Vth2分別為第一電壓分布VT1、第三電壓分布VT3時,編碼而成的儲存資料DAT的第一位元D1、第二位元D2為「0」、「X」,可表示儲存資料DAT為[0 0]或[0 1]。當第一臨界電壓Vth1與第二臨界電壓Vth2分別為第一電壓分布VT1、第二電壓分布VT2時,編碼而成的儲存資料DAT的第一位元D1、第二位元D2為「X」、「0」,可表示儲存資料DAT為[1 0]或[0 0]。 Furthermore, when the first critical voltage Vth1 and the second critical voltage Vth2 are the first voltage distribution VT1 and the third voltage distribution VT3 respectively, the first bit D1 and the second bit D2 of the encoded storage data DAT are "0" and "X", which can represent that the storage data DAT is [0 0] or [0 1]. When the first critical voltage Vth1 and the second critical voltage Vth2 are the first voltage distribution VT1 and the second voltage distribution VT2 respectively, the first bit D1 and the second bit D2 of the encoded storage data DAT are "X" and "0", which can represent that the storage data DAT is [1 0] or [0 0].

類似的,當第一臨界電壓Vth1與第二臨界電壓Vth2分別為第三電壓分布VT3、第一電壓分布VT1時,編碼而成的儲存資料DAT為[1 X],即,儲存資料DAT為[1 0]或[1 1]。當第一臨界電壓Vth1與第二臨界電壓Vth2分別為第二電壓分布VT2、第一電壓分布VT1時,編碼而成的儲存資料DAT為[X 1],即,儲存資料DAT為[0 1]或[1 1]。 Similarly, when the first critical voltage Vth1 and the second critical voltage Vth2 are the third voltage distribution VT3 and the first voltage distribution VT1 respectively, the encoded storage data DAT is [1 X], that is, the storage data DAT is [1 0] or [1 1]. When the first critical voltage Vth1 and the second critical voltage Vth2 are the second voltage distribution VT2 and the first voltage distribution VT1 respectively, the encoded storage data DAT is [X 1], that is, the storage data DAT is [0 1] or [1 1].

當進行記憶體內搜尋時,電晶體M1經由第一字元線WL1(1)接收第一閘極偏壓Vg1,電晶體M2經由第二字元線WL1(2)接收第二閘極偏壓Vg2。在運作上,第一閘極偏壓Vg1、 第二閘極偏壓Vg2可分別調整為第一數量的偏壓值(即,4個偏壓值),依電壓值大小排序為:第四偏壓值VH4、第三偏壓值VH3、第二偏壓值VH2、第一偏壓值VH1。並且,第一至第四偏壓值VH1~VH4每一者的電壓值皆大於第一至第四電壓分布VT1~VT4。其大小關係為:第四偏壓值VH4>第三偏壓值VH3>第二偏壓值VH2>第一偏壓值VH1>第四電壓分布VT4>第三電壓分布VT3>第二電壓分布VT2>第一電壓分布VT1。即,電壓值最低的第一偏壓值VH1仍然大於電壓值最高的第四電壓分布VT4。上述之第一至第四偏壓值VH1~VH4與第一至第四電壓分布VT1~VT4的電壓大小關係可見於第15B圖。 When searching in memory, transistor M1 receives a first gate bias Vg1 via the first word line WL1(1), and transistor M2 receives a second gate bias Vg2 via the second word line WL1(2). In operation, the first gate bias Vg1 and the second gate bias Vg2 can be adjusted to a first number of bias values (i.e., 4 bias values), respectively, and are arranged in order of voltage value: fourth bias value VH4, third bias value VH3, second bias value VH2, and first bias value VH1. Furthermore, the voltage value of each of the first to fourth bias values VH1~VH4 is greater than the first to fourth voltage distributions VT1~VT4. The magnitude relationship is: the fourth bias value VH4> the third bias value VH3> the second bias value VH2> the first bias value VH1> the fourth voltage distribution VT4> the third voltage distribution VT3> the second voltage distribution VT2> the first voltage distribution VT1. That is, the first bias value VH1 with the lowest voltage value is still greater than the fourth voltage distribution VT4 with the highest voltage value. The voltage magnitude relationship between the first to fourth bias values VH1~VH4 and the first to fourth voltage distributions VT1~VT4 can be seen in Figure 15B.

MLC IMAS CAM晶胞1500可接收搜尋資料SW,其中搜尋資料SW包括第一位元S1及第二位元S2。可根據第一閘極偏壓Vg1與第二閘極偏壓Vg2編碼搜尋資料SW。即,根據第一閘極偏壓Vg1的第一至第四偏壓值VH1~VH4與第二閘極偏壓Vg2的第一至第四偏壓值VH1~VH4編碼搜尋資料SW,如下表所示:

Figure 112103433-A0305-02-0052-16
The MLC IMAS CAM cell 1500 may receive search data SW, wherein the search data SW includes a first bit S1 and a second bit S2. The search data SW may be encoded according to the first gate bias Vg1 and the second gate bias Vg2. That is, the search data SW is encoded according to the first to fourth bias values VH1-VH4 of the first gate bias Vg1 and the first to fourth bias values VH1-VH4 of the second gate bias Vg2, as shown in the following table:
Figure 112103433-A0305-02-0052-16

Figure 112103433-A0305-02-0053-17
Figure 112103433-A0305-02-0053-17

在上表的示例中,當第一閘極偏壓Vg1、第二閘極偏壓Vg2分別為第一偏壓值VH1、第四偏壓值VH4時,編碼而成的搜尋資料SW的第一位元S1、第二位元S2分別為「0」、「0」。當第一閘極偏壓Vg1、第二閘極偏壓Vg2皆為第四偏壓值VH4時,編碼而成的搜尋資料SW為萬用字元(wildcard)。 In the example in the above table, when the first gate bias Vg1 and the second gate bias Vg2 are the first bias value VH1 and the fourth bias value VH4 respectively, the first bit S1 and the second bit S2 of the encoded search data SW are "0" and "0" respectively. When the first gate bias Vg1 and the second gate bias Vg2 are both the fourth bias value VH4, the encoded search data SW is a wildcard.

在運作上,電晶體M1接收的第一閘極偏壓Vg1與電晶體M1的第一臨界電壓Vth1之間具有第一電壓差,電晶體M1根據第一電壓差產生電流I1。類似的,電晶體M2接收的第二閘極偏壓Vg2與電晶體M2的第二臨界電壓Vth2之間具有第二電壓差,電晶體M2根據第二電壓差產生電流I2。由於電晶體M1串聯連接於電晶體M2,MLC IMAS CAM晶胞1500在位元線BL1產生的輸出電流Is1的電流值大致相等於為電流I1與電流I2的電流值之較小者。輸出電流Is1產生於電晶體M2的第二源極s2。 In operation, there is a first voltage difference between the first gate bias Vg1 received by transistor M1 and the first critical voltage Vth1 of transistor M1, and transistor M1 generates current I1 according to the first voltage difference. Similarly, there is a second voltage difference between the second gate bias Vg2 received by transistor M2 and the second critical voltage Vth2 of transistor M2, and transistor M2 generates current I2 according to the second voltage difference. Since transistor M1 is connected in series with transistor M2, the current value of output current Is1 generated by MLC IMAS CAM cell 1500 on bit line BL1 is substantially equal to the smaller of current values of current I1 and current I2. The output current Is1 is generated from the second source s2 of the transistor M2.

第15C圖繪示第一至第四偏壓值VH1~VH4、第一至第四電壓分布VT1~VT4、第一電壓差及第二電壓差的電壓值示例。在第15C圖的示例中,第一至第四偏壓值VH1~VH4分別為5.5V、7V、8.5V、10V。並且,第一電壓分布VT1的最低電壓值為0V、最高電壓值為1V、峰點(peak)電壓值為0.5V。第二電壓分布VT2的最低電壓值為1.5V、最高電壓值為2.5V、峰點電 壓值為2V。第三電壓分布VT3的最低電壓值為3V、最高電壓值為4V、峰點電壓值為3.5V。第四電壓分布VT4的最低電壓值為4.5V、最高電壓值為5.5V、峰點電壓值為5V。 FIG. 15C shows examples of voltage values of the first to fourth bias values VH1~VH4, the first to fourth voltage distributions VT1~VT4, the first voltage difference, and the second voltage difference. In the example of FIG. 15C, the first to fourth bias values VH1~VH4 are 5.5V, 7V, 8.5V, and 10V, respectively. In addition, the minimum voltage value of the first voltage distribution VT1 is 0V, the maximum voltage value is 1V, and the peak voltage value is 0.5V. The minimum voltage value of the second voltage distribution VT2 is 1.5V, the maximum voltage value is 2.5V, and the peak voltage value is 2V. The minimum voltage value of the third voltage distribution VT3 is 3V, the maximum voltage value is 4V, and the peak voltage value is 3.5V. The lowest voltage value of the fourth voltage distribution VT4 is 4.5V, the highest voltage value is 5.5V, and the peak voltage value is 5V.

在運作上,可提供不同的搜尋資料SW以搜尋MLC IMAS CAM晶胞1500儲存的儲存資料DAT。第15D~15GD圖為當搜尋資料SW為[0 0]時,搜尋不同內容的儲存資料DAT的示意圖。請先參見第15D圖,當搜尋資料SW為[0 0]時,電晶體M1接收的第一閘極偏壓Vg1為第一偏壓值VH1,電晶體M2接收的第二閘極偏壓Vg2為第四偏壓值VH4。當儲存資料DAT為[0 0]時,第一臨界電壓Vth1為第一電壓分布VT1,第二臨界電壓Vth2為第四電壓分布VT4。 In operation, different search data SW can be provided to search for the storage data DAT stored in the MLC IMAS CAM cell 1500. Figures 15D to 15GD are schematic diagrams of searching for storage data DAT of different contents when the search data SW is [0 0]. Please refer to Figure 15D first. When the search data SW is [0 0], the first gate bias Vg1 received by the transistor M1 is the first bias value VH1, and the second gate bias Vg2 received by the transistor M2 is the fourth bias value VH4. When the storage data DAT is [0 0], the first critical voltage Vth1 is the first voltage distribution VT1, and the second critical voltage Vth2 is the fourth voltage distribution VT4.

電晶體M1的第一閘極偏壓Vg1與第一臨界電壓Vth1之間的第一電壓差為「閘極過驅(gate overdrive)電壓差」。當搜尋資料SW為[0 0]且儲存資料DAT為[0 0]時,第一閘極偏壓Vg1為第一偏壓值VH1,第一臨界電壓Vth1為第一電壓分布VT1。第一偏壓值VH1(5.5V)與第一電壓分布VT1的最高電壓值(1V)之間的電壓差為4.5V。即,電晶體M1的第一閘極偏壓Vg1與第一臨界電壓Vth1之間的第一電壓差為4.5V。 The first voltage difference between the first gate bias Vg1 and the first critical voltage Vth1 of the transistor M1 is the "gate overdrive voltage difference". When the search data SW is [0 0] and the storage data DAT is [0 0], the first gate bias Vg1 is the first bias value VH1, and the first critical voltage Vth1 is the first voltage distribution VT1. The voltage difference between the first bias value VH1 (5.5V) and the highest voltage value (1V) of the first voltage distribution VT1 is 4.5V. That is, the first voltage difference between the first gate bias Vg1 and the first critical voltage Vth1 of the transistor M1 is 4.5V.

第一至第四偏壓值VH1~VH4之中的相鄰兩個偏壓值之間的電壓差定義為預定的級距(level),可稱為「1倍的級距」,(1-level,(1L))。類似的,對於第一至第四電壓分布VT1~VT4而言,其中的相鄰兩個電壓分布各自的最大電壓值之間的電壓差 亦相等於1倍的級距(1L)。第15C圖的實施例中,相鄰兩個偏壓值之間的電壓差為1.5V,則1.5V作為預定的級距(即,一倍的級距(1L))。據此,電晶體M1的第一電壓差4.5V為3倍的級距(3L)。 The voltage difference between two adjacent bias values among the first to fourth bias values VH1~VH4 is defined as a predetermined level, which can be called "1-level", (1-level, (1L)). Similarly, for the first to fourth voltage distributions VT1~VT4, the voltage difference between the maximum voltage values of two adjacent voltage distributions is also equal to 1-level (1L). In the embodiment of Figure 15C, the voltage difference between two adjacent bias values is 1.5V, and 1.5V is used as the predetermined level (i.e., one-level (1L)). Accordingly, the first voltage difference 4.5V of the transistor M1 is 3-level (3L).

另一方面。當搜尋資料SW為[0 0]且儲存資料DAT為[0 0]時,電晶體M2的第四偏壓值VH4(10V)與第四電壓分布VT4的最高電壓值(5.5V)之間的電壓差為4.5V。即,電晶體M2的第二閘極偏壓Vg2與第二臨界電壓Vth2之間的第二電壓差為4.5V,其為3倍的級距(3L)。 On the other hand. When the search data SW is [0 0] and the storage data DAT is [0 0], the voltage difference between the fourth bias value VH4 (10V) of the transistor M2 and the highest voltage value (5.5V) of the fourth voltage distribution VT4 is 4.5V. That is, the second voltage difference between the second gate bias Vg2 of the transistor M2 and the second critical voltage Vth2 is 4.5V, which is 3 times the level (3L).

電晶體M1產生的電流I1的電流值對應於電晶體M1的第一電壓差(為3倍的級距(3L)),電晶體M2產生的電流I2的電流值對應於電晶體M2的第二電壓差(為3倍的級距(3L))。電流I1相等於電流I2,因此MLC IMAS CAM晶胞1500產生的輸出電流Is1的電流值相等於電流I1及電流I2。輸出電流Is1的電流值對應的閘極過驅電壓差為3倍的級距(3L)。 The current value of the current I1 generated by the transistor M1 corresponds to the first voltage difference of the transistor M1 (3 times the step (3L)), and the current value of the current I2 generated by the transistor M2 corresponds to the second voltage difference of the transistor M2 (3 times the step (3L)). The current I1 is equal to the current I2, so the current value of the output current Is1 generated by the MLC IMAS CAM cell 1500 is equal to the current I1 and the current I2. The gate overdrive voltage difference corresponding to the current value of the output current Is1 is 3 times the step (3L).

儲存資料DAT與搜尋資料SW皆為[0 0],儲存資料DAT與搜尋資料SW之間的不匹配距離(mismatch distance)為「0」(即,完全匹配)。當儲存資料DAT與搜尋資料SW完全匹配時,輸出電流Is1的電流值對應的閘極過驅電壓差為3倍的級距(3L)。 The storage data DAT and the search data SW are both [0 0], and the mismatch distance between the storage data DAT and the search data SW is "0" (i.e., perfect match). When the storage data DAT and the search data SW are perfectly matched, the gate overdrive voltage difference corresponding to the current value of the output current Is1 is 3 times the level (3L).

接著,請參見第15E圖,當搜尋資料SW為[0 0]且儲存資料DAT為[0 1]時,儲存資料DAT與搜尋資料SW的不匹 配距離為「1」。電晶體M1的第一偏壓值VH1(5.5V)與第二電壓分布VT2的最高電壓值(2.5V)之間的第一電壓差為3V(即,2倍的級距(2L))。電晶體M2的第四偏壓值VH4(10V)與第三電壓分布VT3的最高電壓值(4V)之間的第二電壓差為6V(即,4倍的級距(4L))。 Next, please refer to Figure 15E. When the search data SW is [0 0] and the storage data DAT is [0 1], the mismatch distance between the storage data DAT and the search data SW is "1". The first voltage difference between the first bias value VH1 (5.5V) of the transistor M1 and the highest voltage value (2.5V) of the second voltage distribution VT2 is 3V (i.e., 2 times the level (2L)). The second voltage difference between the fourth bias value VH4 (10V) of the transistor M2 and the highest voltage value (4V) of the third voltage distribution VT3 is 6V (i.e., 4 times the level (4L)).

據此,電流I1的電流值對應於電晶體M1的第一電壓差(為2倍的級距(2L)),電流I2的電流值對應於電晶體M2的第二電壓差(為4倍的級距(4L))。電流I1小於電流I2,MLC IMAS CAM晶胞1500產生的輸出電流Is1為電流I1與電流I2的較小者,輸出電流Is1的電流值相等於電流I1。輸出電流Is1的電流值對應的閘極過驅電壓差為2倍的級距(2L)。 Accordingly, the current value of current I1 corresponds to the first voltage difference of transistor M1 (2 times the step (2L)), and the current value of current I2 corresponds to the second voltage difference of transistor M2 (4 times the step (4L)). Current I1 is less than current I2, and the output current Is1 generated by MLC IMAS CAM cell 1500 is the smaller of current I1 and current I2, and the current value of output current Is1 is equal to current I1. The gate overdrive voltage difference corresponding to the current value of output current Is1 is 2 times the step (2L).

接著,請參見第15F圖,當搜尋資料SW為[0 0]且儲存資料DAT為[1 0]時,儲存資料DAT與搜尋資料SW的不匹配距離為「2」。電晶體M1的第一偏壓值VH1(5.5V)與第三電壓分布VT3的最高電壓值(4V)之間的第一電壓差為1.5V(即,1倍的級距(1L))。電晶體M2的第四偏壓值VH4(10V)與第二電壓分布VT2的最高電壓值(2.5V)之間的第二電壓差為7.5V(即,5倍的級距(5L))。電流I1小於電流I2,輸出電流Is1的電流值相等於電流I1,輸出電流Is1的電流值對應的閘極過驅電壓差為1倍的級距(1L)。 Next, please refer to FIG. 15F. When the search data SW is [0 0] and the stored data DAT is [1 0], the mismatch distance between the stored data DAT and the search data SW is "2". The first voltage difference between the first bias value VH1 (5.5V) of the transistor M1 and the highest voltage value (4V) of the third voltage distribution VT3 is 1.5V (i.e., 1 times the step (1L)). The second voltage difference between the fourth bias value VH4 (10V) of the transistor M2 and the highest voltage value (2.5V) of the second voltage distribution VT2 is 7.5V (i.e., 5 times the step (5L)). Current I1 is less than current I2, the current value of output current Is1 is equal to current I1, and the gate overdrive voltage difference corresponding to the current value of output current Is1 is 1 times the level (1L).

接著,請參見第15G圖,當搜尋資料SW為[0 0]且儲存資料DAT為[1 1]時,儲存資料DAT與搜尋資料SW的不匹 配距離為「3」。電晶體M1的第一偏壓值VH1(5.5V)與第四電壓分布VT4的最高電壓值(5.5V)之間的第一電壓差為0V(即,0倍的級距(0L))。電晶體M2的第四偏壓值VH4(10V)與第一電壓分布VT1的最高電壓值(1V)之間的第一電壓差為9V(即,6倍的級距(6L))。據此,輸出電流Is1的電流值對應的閘極過驅電壓差為0倍的級距(0L)。 Next, please refer to Figure 15G. When the search data SW is [0 0] and the storage data DAT is [1 1], the mismatch distance between the storage data DAT and the search data SW is "3". The first voltage difference between the first bias value VH1 (5.5V) of the transistor M1 and the highest voltage value (5.5V) of the fourth voltage distribution VT4 is 0V (i.e., 0 times the step (0L)). The first voltage difference between the fourth bias value VH4 (10V) of the transistor M2 and the highest voltage value (1V) of the first voltage distribution VT1 is 9V (i.e., 6 times the step (6L)). Accordingly, the gate overdrive voltage difference corresponding to the current value of the output current Is1 is 0 times the step (0L).

由上,當搜尋資料SW與儲存資料DAT之間的不匹配距離為「0」、「1」、「2」、「3」時,輸出電流Is1的電流值對應的閘極過驅電壓差的級距為「3L」、「2L」、「1L」、「0L」。當搜尋資料SW與儲存資料DAT的不匹配程度(mismatch degree)越高時,不匹配距離越大,產生的輸出電流Is1的電流值越小。據此,可根據MLC IMAS CAM晶胞1500的輸出電流Is1的電流值判斷搜尋資料SW與儲存資料DAT的不匹配距離與不匹配程度。 From the above, when the mismatch distance between the search data SW and the storage data DAT is "0", "1", "2", "3", the level of the gate overdrive voltage difference corresponding to the current value of the output current Is1 is "3L", "2L", "1L", "0L". When the mismatch degree between the search data SW and the storage data DAT is higher, the mismatch distance is larger, and the current value of the generated output current Is1 is smaller. Based on this, the mismatch distance and mismatch degree between the search data SW and the storage data DAT can be judged according to the current value of the output current Is1 of the MLC IMAS CAM cell 1500.

也就是說,在第15A圖至第15G圖的本案一實施例的MLC IMAS CAM晶胞中,該儲存資料係根據該第一臨界電壓與該第二臨界電壓編碼而成,該搜尋資料係根據該第一閘極偏壓與該第二閘極偏壓編碼而成,該儲存資料與該搜尋資料之間具有一不匹配距離,該MLC IMAS CAM晶胞產生的一輸出電流相關於該不匹配距離。 That is, in the MLC IMAS CAM cell of an embodiment of the present invention shown in FIGS. 15A to 15G, the storage data is encoded according to the first critical voltage and the second critical voltage, the search data is encoded according to the first gate bias and the second gate bias, there is a mismatch distance between the storage data and the search data, and an output current generated by the MLC IMAS CAM cell is related to the mismatch distance.

第16圖顯示根據本案一實施例的混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,包括:(1610) 儲存一儲存資料於一混合式IMS CAM單元內,該混合式IMS CAM單元包括:一第一IMS CAM晶胞,以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,以及當該混合式IMS CAM單元係儲存該儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份;(1620)以一搜尋資料對該混合式IMS CAM單元進行資料搜尋,其中,於資料搜尋時,將該搜尋資料的一第一部份解碼成一第一搜尋電壓與一第二搜尋電壓,以搜尋儲存於該第一IMS CAM晶胞內的該儲存資料之該第一部份,以及,將該搜尋資料或該搜尋資料的一第二部份解碼成一第三搜尋電壓與一第四搜尋電壓,以搜尋儲存於該第二IMS CAM晶胞內的該儲存資料或該儲存資料之該第二部份;(1630)感應該混合式IMS CAM單元所產生的一感應電流以產生一感應結果;以及(1640)根據該感應結果以判斷該搜尋資料是否匹配於該儲存資料。 FIG. 16 shows a hybrid in-memory search (IMS) content-addressable memory (CAM) data search method according to an embodiment of the present invention, comprising: (1610) storing a storage data in a hybrid IMS CAM unit, the hybrid IMS CAM unit comprising: a first IMS CAM unit cell, and a second IMS CAM unit cell coupled to the first IMS CAM unit cell, wherein the first IMS CAM unit cell and the second IMS CAM unit cell are of different types, and when the hybrid IMS CAM unit stores the storage data, the first IMS CAM unit cell stores a first part of the storage data, and the second IMS CAM unit cell stores the storage data or a second part of the storage data; (1620) searching the hybrid IMS CAM unit cell with a search data; The CAM unit performs a data search, wherein during the data search, a first part of the search data is decoded into a first search voltage and a second search voltage to search for the first part of the stored data stored in the first IMS CAM cell, and the search data or a second part of the search data is decoded into a third search voltage and a fourth search voltage to search for the stored data or the second part of the stored data stored in the second IMS CAM cell; (1630) a sensed current generated by the hybrid IMS CAM unit is sensed to generate a sensed result; and (1640) whether the search data matches the stored data is determined based on the sensed result.

SLC IMAS CAM晶胞可提供高系統穩定度,而類比IMS CAM晶胞則可改善準確度。所以,本案實施例的混合式記憶體內搜尋CAM單元可具有高準確度、高內容密度(high content density)與搜尋穩定度。 The SLC IMAS CAM cell can provide high system stability, while the analog IMS CAM cell can improve accuracy. Therefore, the hybrid in-memory search CAM unit of the present embodiment can have high accuracy, high content density and search stability.

本案一實施例的混合式記憶體內搜尋CAM單元與混合式記憶體內搜尋CAM記憶體裝置可應用於二維架構或三維 架構。 The hybrid in-memory search CAM unit and the hybrid in-memory search CAM memory device of an embodiment of the present invention can be applied to a two-dimensional architecture or a three-dimensional architecture.

本案一實施例的混合式記憶體內搜尋CAM單元與混合式記憶體內搜尋CAM記憶體裝置可具有良好性能,可應用於各種領域,例如但不受限於,大數據搜尋(Big-data searching)、AI硬體加速器/分類器(AI hardware accelerator/classifier)、近似計算(Approximate Computing)、關聯性記憶體(Associative memory)、小樣本學習(few-shot learning)、單來源資料(SSD,single source data)資料管理(data management)、脫氧核醣核酸(deoxyribonucleic acid,DNA)匹配、資料過濾器(Data filter)等。 The hybrid in-memory search CAM unit and the hybrid in-memory search CAM memory device of an embodiment of the present case can have good performance and can be applied to various fields, such as but not limited to, big-data searching, AI hardware accelerator/classifier, approximate computing, associative memory, few-shot learning, single source data (SSD) data management, deoxyribonucleic acid (DNA) matching, data filter, etc.

綜上所述,雖然本發明已以實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。 In summary, although the present invention has been disclosed as above by the embodiments, it is not intended to limit the present invention. Those with common knowledge in the technical field to which the present invention belongs can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope defined in the attached patent application.

1610-1640:步驟 1610-1640: Steps

Claims (24)

一種混合式記憶體內搜尋(IMS)內容定址記憶體(Content Addressable Memory,CAM)單元,包括:一第一IMS CAM晶胞;以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,以及當該混合式IMS CAM單元係儲存一儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份,其中,該儲存資料之該第一部份係該儲存資料的最高有效位元,該儲存資料之該第二部份係該儲存資料的其餘位元。 A hybrid in-memory search (IMS) content addressable memory (CAM) unit includes: a first IMS CAM unit cell; and a second IMS CAM unit cell coupled to the first IMS CAM unit cell, wherein the first IMS CAM unit cell and the second IMS CAM unit cell are of different types, and when the hybrid IMS CAM unit stores a storage data, the first IMS CAM unit cell stores a first part of the storage data, and the second IMS CAM unit cell stores the storage data or a second part of the storage data, wherein the first part of the storage data is the most significant bit of the storage data, and the second part of the storage data is the remaining bits of the storage data. 如請求項1所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,當該第一IMS CAM晶胞與該第二IMS CAM晶胞的一儲存位元數不同時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一的儲存資料為數位值而該第一IMS CAM晶胞與該第二IMS CAM晶胞之另一的儲存資料為類比值時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者 當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一為一IMS晶胞而該第一IMS CAM晶胞與該第二IMS CAM晶胞之另一為記憶體內近似搜尋(in-memory approximate search,IMAS)晶胞時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型。 A hybrid in-memory search (IMS) content-addressable memory (CAM) unit as described in claim 1, wherein when a storage bit number of the first IMS CAM unit cell and the second IMS CAM unit cell is different, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types; or when the storage data of one of the first IMS CAM unit cell and the second IMS CAM unit cell is a digital value and the storage data of the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an analog value, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types; or When one of the first IMS CAM unit cell and the second IMS CAM unit cell is an IMS unit cell and the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an in-memory approximate search (in-memory approximate search search, IMS) cell, the first IMS CAM cell and the second IMS CAM cell are of different types. 如請求項1所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞由下列中選擇:單位元晶胞(single-level cell,SLC)IMAS CAM晶胞、類比IMS CAM晶胞、SLC IMS CAM晶胞、多位元晶胞(MLC,multi-level cell)IMS CAM晶胞、MLC IMAS CAM晶胞。 A hybrid in-memory search (IMS) content addressable memory (CAM) unit as described in claim 1, wherein the first IMS CAM cell and the second IMS CAM cell are selected from the following: single-level cell (SLC) IMS CAM cell, analog IMS CAM cell, SLC IMS CAM cell, multi-level cell (MLC) IMS CAM cell, MLC IMAS CAM cell. 如請求項3所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該單位元晶胞(SLC)IMAS CAM晶胞包括:串聯之一第一記憶體晶胞與一第二記憶體晶胞,當一第一既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一記憶體晶胞之一第一臨界電壓為一第一參考臨界電壓,該第二記憶體晶胞之一第二臨界電壓為一第二參考臨界電壓;當一第二既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓為該第二參考臨界電壓,該第二臨界電壓為該第一參考臨界電壓; 當一第三既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第一參考臨界電壓;以及當一第四既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第二參考臨界電壓;當一搜尋資料為一第一既定搜尋資料時,施加至該第一記憶體晶胞之一第一搜尋電壓為一第一參考搜尋電壓,施加至該第二記憶體晶胞之一第二搜尋電壓為一第二參考搜尋電壓;當該搜尋資料為一第二既定搜尋資料時,該第一搜尋電壓為該第二參考搜尋電壓,該第二搜尋電壓為該第一參考搜尋電壓;當該搜尋資料為一第三既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第二參考搜尋電壓;以及,當該搜尋資料為一第四既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第一參考搜尋電壓,其中,該第一參考搜尋電壓低於該第二參考搜尋電壓。 A hybrid in-memory search (IMS) content addressable memory (CAM) unit as described in claim 3, wherein the single-bit cell (SLC) IMS CAM cell comprises: a first memory cell and a second memory cell connected in series, when a first predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, a first critical voltage of the first memory cell is a first reference critical voltage, and a second critical voltage of the second memory cell is a second reference critical voltage; when a second predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, the first critical voltage is the second reference critical voltage, and the second critical voltage is the first reference critical voltage; When a third predetermined storage data is stored in the unit cell (SLC) IMAS CAM cell, the first critical voltage and the second critical voltage are both the first reference critical voltage; and when a fourth predetermined storage data is stored in the unit cell (SLC) IMAS When the CAM cell is used, the first critical voltage and the second critical voltage are both the second reference critical voltage; when the search data is a first predetermined search data, a first search voltage applied to the first memory cell is a first reference search voltage, and a second search voltage applied to the second memory cell is a second reference search voltage; when the search data is a second predetermined search data, the first search voltage is the second reference search voltage. When the search data is a third predetermined search data, the first search voltage and the second search voltage are both the second reference search voltage; and when the search data is a fourth predetermined search data, the first search voltage and the second search voltage are both the first reference search voltage, wherein the first reference search voltage is lower than the second reference search voltage. 如請求項4所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該類比IMS CAM晶胞包括:串聯之一第三與一第四記憶體晶胞,該第三與該第四記憶體晶胞分別具有一第三臨界電壓與一第四臨界電壓, 於進行資料搜尋時,將一類比搜尋資料轉換成一第三類比搜尋電壓與一第四類比搜尋電壓,該第三與該第四記憶體晶胞接收該第三類比搜尋電壓與該第四類比搜尋電壓,當該第三類比搜尋電壓與該第四類比搜尋電壓匹配於一匹配範圍時,該類比IMS CAM晶胞提供一記憶體晶胞電流;以及當該第三類比搜尋電壓與該第四類比搜尋電壓不匹配於該匹配範圍時,該類比IMS CAM晶胞無提供該記憶體晶胞電流。 A hybrid in-memory search (IMS) content-addressable memory (CAM) unit as described in claim 4, wherein the analog IMS CAM cell comprises: a third and a fourth memory cell connected in series, the third and the fourth memory cell respectively having a third critical voltage and a fourth critical voltage, When performing a data search, an analog search data is converted into a third analog search voltage and a fourth analog search voltage, the third and the fourth memory cell receive the third analog search voltage and the fourth analog search voltage, and when the third analog search voltage and the fourth analog search voltage match within a matching range, the analog IMS The CAM cell provides a memory cell current; and when the third analog search voltage and the fourth analog search voltage do not match within the matching range, the analog IMS CAM cell does not provide the memory cell current. 如請求項3所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該SLC IMS CAM晶胞包括:並聯的一第一與一第二記憶體晶胞,或者,串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞端接收一第二搜尋電壓,在一擦除操作時,一擦除電壓被施加成該第一與該第二搜尋電壓,該擦除電壓為一負偏壓,在一編程操作時,藉由分別在該第一與該第二搜尋電壓施加一編程電壓,以分別編程該第一與該第二記憶體晶胞的一第一與一第二臨界電壓以定義該SLC IMS CAM晶胞的一儲存資料,以及在一搜尋操作時,該第一搜尋電壓被施加一第一參考搜尋電壓或一第二參考搜尋電壓,該第二搜尋電壓被施加該第一參考搜尋電壓或該第二參考搜尋電壓,該第二參考搜尋電壓大於一第 一參考臨界電壓,該第一參考臨界電壓大於該第一參考搜尋電壓,且該第一參考搜尋電壓大於一第二參考臨界電壓。 A hybrid intra-memory search (IMS) content addressable memory (CAM) unit as described in claim 3, wherein the SLC IMS CAM cell includes: a first and a second memory cell connected in parallel, or a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, during an erase operation, an erase voltage is applied to the first and the second search voltages, the erase voltage is a negative bias, during a programming operation, a programming voltage is applied to the first and the second search voltages respectively to respectively program a first and a second critical voltage of the first and the second memory cells to define the SLC IMS A storage data of a CAM cell, and in a search operation, the first search voltage is applied with a first reference search voltage or a second reference search voltage, the second search voltage is applied with the first reference search voltage or the second reference search voltage, the second reference search voltage is greater than a first reference critical voltage, the first reference critical voltage is greater than the first reference search voltage, and the first reference search voltage is greater than a second reference critical voltage. 如請求項3所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該多位元晶胞(MLC)IMS CAM晶胞包括:串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞接收一第二搜尋電壓,該多位元晶胞(MLC)IMS CAM晶胞之一儲存資料決定於該第一記憶體晶胞與該第二記憶體晶胞之複數個臨界電壓之組合,當該儲存資料為一第一既定儲存資料時,該第一記憶體晶胞之一第一臨界電壓為一最小臨界電壓值,該第二記憶體晶胞之一第二臨界電壓為一最大臨界電壓值;當該儲存資料為一第二既定儲存資料時,該第一臨界電壓為該最大臨界電壓值,該第二臨界電壓為該最小臨界電壓值;當該儲存資料為一第三既定儲存資料時,該第一臨界電壓與該第二臨界電壓皆為該最小臨界電壓值;以及當該儲存資料為一第四既定儲存資料時,該第一臨界電壓與該第二臨界電壓等於或大於該最大臨界電壓值。 A hybrid in-memory search (IMS) content-addressable memory (CAM) unit as described in claim 3, wherein the multi-bit cell (MLC) IMS CAM cell comprises: a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, the multi-bit cell (MLC) IMS The storage data of the CAM cell is determined by the combination of the plurality of critical voltages of the first memory cell and the second memory cell. When the storage data is a first predetermined storage data, a first critical voltage of the first memory cell is a minimum critical voltage value, and a second critical voltage of the second memory cell is a maximum critical voltage value; when the storage data is a second predetermined storage data , the first critical voltage is the maximum critical voltage value, and the second critical voltage is the minimum critical voltage value; when the stored data is a third predetermined stored data, the first critical voltage and the second critical voltage are both the minimum critical voltage value; and when the stored data is a fourth predetermined stored data, the first critical voltage and the second critical voltage are equal to or greater than the maximum critical voltage value. 如請求項3所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)單元,其中,該MLC IMAS CAM晶胞儲存一儲存資料並接收一搜尋資料, 該MLC IMAS CAM晶胞包括:一第一電晶體,具有一第一臨界電壓並接收一第一閘極偏壓;以及一第二電晶體,連接於該第一電晶體,該第二電晶體具有一第二臨界電壓並接收一第二閘極偏壓;其中,該儲存資料係根據該第一臨界電壓與該第二臨界電壓編碼而成,該搜尋資料係根據該第一閘極偏壓與該第二閘極偏壓編碼而成,該儲存資料與該搜尋資料之間具有一不匹配距離,該MLC IMAS CAM晶胞產生的一輸出電流相關於該不匹配距離。 A hybrid in-memory search (IMS) content-addressable memory (CAM) unit as described in claim 3, wherein the MLC IMAS CAM cell stores a storage data and receives a search data, the MLC IMAS The CAM cell includes: a first transistor having a first critical voltage and receiving a first gate bias; and a second transistor connected to the first transistor, the second transistor having a second critical voltage and receiving a second gate bias; wherein the storage data is encoded according to the first critical voltage and the second critical voltage, the search data is encoded according to the first gate bias and the second gate bias, there is a mismatch distance between the storage data and the search data, and an output current generated by the MLC IMAS CAM cell is related to the mismatch distance. 一種混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,包括:一混合式IMS CAM記憶體陣列,包括複數個混合式IMS CAM單元、複數條字元線,以及複數個位元線,該些混合式IMS CAM單元耦接至該些字元線與該些位元線;一字元線驅動電路,耦接至該些字元線,用以根據複數個搜尋資料而施加複數個搜尋電壓至該些混合式IMS CAM單元,以搜尋該些混合式IMS CAM單元;一位元線驅動電路,耦接至該些位元線,用以施加複數個位元線驅動電壓至該些位元線;以及一感應放大器,耦接至該些混合式IMS CAM單元,用以接收由該些混合式IMS CAM單元所傳來的複數個感應電流,以決 定該些搜尋資料是否匹配於該些混合式IMS CAM單元內的複數個儲存資料,其中,該混合式IMS CAM單元包括:一第一IMS CAM晶胞;以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,當該混合式IMS CAM單元係儲存一儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份,以及於資料搜尋時,將一搜尋資料的一第一部份解碼成一第一搜尋電壓與一第二搜尋電壓,以搜尋儲存於該第一IMS CAM晶胞內的該儲存資料之該第一部份,以及,將該搜尋資料或該搜尋資料的一第二部份解碼成一第三搜尋電壓與一第四搜尋電壓,以搜尋儲存於該第二IMS CAM晶胞內的該儲存資料或該儲存資料之該第二部份,其中,該儲存資料之該第一部份係該儲存資料的最高有效位元,該儲存資料之該第二部份係該儲存資料的其餘位元。 A hybrid in-memory search (IMS) content-addressable memory (CAM) memory device includes: a hybrid IMS CAM memory array including a plurality of hybrid IMS CAM cells, a plurality of word lines, and a plurality of bit lines, wherein the hybrid IMS CAM cells are coupled to the word lines and the bit lines; a word line driving circuit coupled to the word lines for applying a plurality of search voltages to the hybrid IMS CAM cells according to a plurality of search data to search the hybrid IMS CAM cells; a bit line driving circuit coupled to the bit lines for applying a plurality of bit line driving voltages to the bit lines; and a sense amplifier coupled to the hybrid IMS The CAM unit is used to receive a plurality of induced currents transmitted by the hybrid IMS CAM units to determine whether the search data matches a plurality of stored data in the hybrid IMS CAM units. The hybrid IMS CAM unit includes: a first IMS CAM unit cell; and a second IMS CAM unit cell coupled to the first IMS CAM unit cell. The first IMS CAM unit cell and the second IMS CAM unit cell are of different types. When the hybrid IMS CAM unit stores a stored data, the first IMS CAM unit cell stores a first part of the stored data, and the second IMS The CAM cell stores the stored data or a second part of the stored data, and during data search, decodes a first part of a search data into a first search voltage and a second search voltage to search for the first part of the stored data stored in the first IMS CAM cell, and decodes the search data or a second part of the search data into a third search voltage and a fourth search voltage to search for the stored data or the second part of the stored data stored in the second IMS CAM cell, wherein the first part of the stored data is the most significant bit of the stored data, and the second part of the stored data is the remaining bits of the stored data. 如請求項9所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,當該第一IMS CAM晶胞與該第二IMS CAM晶胞的一儲存位元數不同時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者 當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一的儲存資料為數位值而該第一IMS CAM晶胞與該第二IMS CAM晶胞之另一的儲存資料為類比值時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一為一IMS晶胞而該第一IMS CAM晶胞與該第二IMS CAM晶胞之另一為記憶體內近似搜尋(in-memory approximate search,IMAS)晶胞時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型。 A hybrid in-memory search (IMS) content-addressable memory (CAM) memory device as described in claim 9, wherein when a storage bit number of the first IMS CAM cell and the second IMS CAM cell is different, the first IMS CAM cell and the second IMS CAM cell are of different types; or When the storage data of one of the first IMS CAM cell and the second IMS CAM cell is a digital value and the storage data of the other of the first IMS CAM cell and the second IMS CAM cell is an analog value, the first IMS CAM cell and the second IMS CAM cell are of different types; or when one of the first IMS CAM cell and the second IMS CAM cell is an IMS cell and the other of the first IMS CAM cell and the second IMS CAM cell is an in-memory proximity search (in-memory proximity search) approximate search, IMS) cell, the first IMS CAM cell and the second IMS CAM cell are of different types. 如請求項9所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞由下列中選擇:單位元晶胞(single-level cell,SLC)IMAS CAM晶胞、類比IMS CAM晶胞、SLC IMS CAM晶胞、多位元晶胞(MLC,multi-level cell)IMS CAM晶胞、MLC IMAS CAM晶胞。 A hybrid in-memory search (IMS) content addressable memory (CAM) memory device as described in claim 9, wherein the first IMS CAM cell and the second IMS CAM cell are selected from the following: single-level cell (SLC) IMS CAM cell, analog IMS CAM cell, SLC IMS CAM cell, multi-level cell (MLC) IMS CAM cell, MLC IMAS CAM cell. 如請求項11所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該單位元晶胞(SLC)IMAS CAM晶胞包括:串聯之一第一記憶體晶胞與一第二記憶體晶胞,當一第一既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一記憶體晶胞之一第一臨界電壓為一第一 參考臨界電壓,該第二記憶體晶胞之一第二臨界電壓為一第二參考臨界電壓;當一第二既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓為該第二參考臨界電壓,該第二臨界電壓為該第一參考臨界電壓;當一第三既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第一參考臨界電壓;以及當一第四既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第二參考臨界電壓;當該搜尋資料為一第一既定搜尋資料時,施加至該第一記憶體晶胞之一第一搜尋電壓為一第一參考搜尋電壓,施加至該第二記憶體晶胞之一第二搜尋電壓為一第二參考搜尋電壓;當該搜尋資料為一第二既定搜尋資料時,該第一搜尋電壓為該第二參考搜尋電壓,該第二搜尋電壓為該第一參考搜尋電壓;當該搜尋資料為一第三既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第二參考搜尋電壓;以及,當該搜尋資料為一第四既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第一參考搜尋電壓,其中,該第一參考搜尋電壓低於該第二參考搜尋電壓。 A hybrid in-memory search (IMS) content addressable memory (CAM) memory device as described in claim 11, wherein the single-bit cell (SLC) IMS CAM cell comprises: a first memory cell and a second memory cell connected in series, when a first predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, a first critical voltage of the first memory cell is a first reference critical voltage, and a second critical voltage of the second memory cell is a second reference critical voltage; when a second predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, the first critical voltage is the second reference critical voltage, and the second critical voltage is the first reference critical voltage; when a third predetermined storage data is stored in the unit cell (SLC) IMAS CAM cell, the first critical voltage and the second critical voltage are both the first reference critical voltage; and when a fourth predetermined storage data is stored in the unit cell (SLC) IMAS When the search data is a first predetermined search data, a first search voltage applied to the first memory cell is a first reference search voltage, and a second search voltage applied to the second memory cell is a second reference search voltage; when the search data is a second predetermined search data, the first search voltage is the second reference search voltage. When the search data is a third predetermined search data, the first search voltage and the second search voltage are both the second reference search voltage; and when the search data is a fourth predetermined search data, the first search voltage and the second search voltage are both the first reference search voltage, wherein the first reference search voltage is lower than the second reference search voltage. 如請求項12所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該類比IMS CAM晶胞包括:串聯之一第三與一第四記憶體晶胞,該第三與該第四記憶體晶胞分別具有一第三臨界電壓與一第四臨界電壓,於進行資料搜尋時,將一類比搜尋資料轉換成一第三類比搜尋電壓與一第四類比搜尋電壓,該第三與該第四記憶體晶胞接收該第三類比搜尋電壓與該第四類比搜尋電壓,當該第三類比搜尋電壓與該第四類比搜尋電壓匹配於一匹配範圍時,該類比IMS CAM晶胞提供一記憶體晶胞電流;以及當該第三類比搜尋電壓與該第四類比搜尋電壓不匹配於該匹配範圍時,該類比IMS CAM晶胞無提供該記憶體晶胞電流。 A hybrid in-memory search (IMS) content-addressable memory (CAM) memory device as described in claim 12, wherein the analog IMS CAM cell comprises: a third and a fourth memory cell connected in series, the third and the fourth memory cell respectively having a third critical voltage and a fourth critical voltage, and when performing a data search, an analog search data is converted into a third analog search voltage and a fourth analog search voltage, the third and the fourth memory cell receive the third analog search voltage and the fourth analog search voltage, and when the third analog search voltage and the fourth analog search voltage match in a matching range, the analog IMS The CAM cell provides a memory cell current; and when the third analog search voltage and the fourth analog search voltage do not match within the matching range, the analog IMS CAM cell does not provide the memory cell current. 如請求項11所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該SLC IMS CAM晶胞包括:並聯的一第一與一第二記憶體晶胞,或者,串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞端接收一第二搜尋電壓,在一擦除操作時,一擦除電壓被施加成該第一與該第二搜尋電壓,該擦除電壓為一負偏壓, 在一編程操作時,藉由分別在該第一與該第二搜尋電壓施加一編程電壓,以分別編程該第一與該第二記憶體晶胞的一第一與一第二臨界電壓以定義該SLC IMS CAM晶胞的一儲存資料,以及在一搜尋操作時,該第一搜尋電壓被施加一第一參考搜尋電壓或一第二參考搜尋電壓,該第二搜尋電壓被施加該第一參考搜尋電壓或該第二參考搜尋電壓,該第二參考搜尋電壓大於一第一參考臨界電壓,該第一參考臨界電壓大於該第一參考搜尋電壓,且該第一參考搜尋電壓大於一第二參考臨界電壓。 A hybrid intra-memory search (IMS) content-addressable memory (CAM) memory device as described in claim 11, wherein the SLC IMS CAM cell comprises: a first and a second memory cell connected in parallel, or a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, during an erase operation, an erase voltage is applied to the first and the second search voltages, the erase voltage being a negative bias, and during a programming operation, a programming voltage is applied to the first and the second search voltages respectively to respectively program a first and a second critical voltage of the first and the second memory cells to define the SLC IMS A storage data of a CAM cell, and in a search operation, the first search voltage is applied with a first reference search voltage or a second reference search voltage, the second search voltage is applied with the first reference search voltage or the second reference search voltage, the second reference search voltage is greater than a first reference critical voltage, the first reference critical voltage is greater than the first reference search voltage, and the first reference search voltage is greater than a second reference critical voltage. 如請求項11所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該多位元晶胞(MLC)IMS CAM晶胞包括:串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞接收一第二搜尋電壓,該多位元晶胞(MLC)IMS CAM晶胞之一儲存資料決定於該第一記憶體晶胞與該第二記憶體晶胞之複數個臨界電壓之組合,當該儲存資料為一第一既定儲存資料時,該第一記憶體晶胞之一第一臨界電壓為一最小臨界電壓值,該第二記憶體晶胞之一第二臨界電壓為一最大臨界電壓值;當該儲存資料為一第二既定儲存資料時,該第一臨界電壓為該最大臨界電壓值,該第二臨界電壓為該最小臨界電壓值;當該儲存資料為 一第三既定儲存資料時,該第一臨界電壓與該第二臨界電壓皆為該最小臨界電壓值;以及當該儲存資料為一第四既定儲存資料時,該第一臨界電壓與該第二臨界電壓等於或大於該最大臨界電壓值。 A hybrid in-memory search (IMS) content-addressable memory (CAM) memory device as described in claim 11, wherein the multi-bit cell (MLC) IMS CAM cell comprises: a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, the multi-bit cell (MLC) IMS The storage data of the CAM cell is determined by the combination of the plurality of critical voltages of the first memory cell and the second memory cell. When the storage data is a first predetermined storage data, a first critical voltage of the first memory cell is a minimum critical voltage value, and a second critical voltage of the second memory cell is a maximum critical voltage value; when the storage data is a second predetermined storage data , the first critical voltage is the maximum critical voltage value, and the second critical voltage is the minimum critical voltage value; when the stored data is a third predetermined stored data, the first critical voltage and the second critical voltage are both the minimum critical voltage value; and when the stored data is a fourth predetermined stored data, the first critical voltage and the second critical voltage are equal to or greater than the maximum critical voltage value. 如請求項11所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)記憶體裝置,其中,該MLC IMAS CAM晶胞儲存一儲存資料並接收一搜尋資料,該MLC IMAS CAM晶胞包括:一第一電晶體,具有一第一臨界電壓並接收一第一閘極偏壓;以及一第二電晶體,連接於該第一電晶體,該第二電晶體具有一第二臨界電壓並接收一第二閘極偏壓;其中,該儲存資料係根據該第一臨界電壓與該第二臨界電壓編碼而成,該搜尋資料係根據該第一閘極偏壓與該第二閘極偏壓編碼而成,該儲存資料與該搜尋資料之間具有一不匹配距離,該MLC IMAS CAM晶胞產生的一輸出電流相關於該不匹配距離。 The hybrid in-memory search (IMS) content-addressable memory (CAM) memory device of claim 11, wherein the MLC IMS CAM cell stores a storage data and receives a search data, the MLC IMS The CAM cell includes: a first transistor having a first critical voltage and receiving a first gate bias; and a second transistor connected to the first transistor, the second transistor having a second critical voltage and receiving a second gate bias; wherein the storage data is encoded according to the first critical voltage and the second critical voltage, the search data is encoded according to the first gate bias and the second gate bias, there is a mismatch distance between the storage data and the search data, and an output current generated by the MLC IMAS CAM cell is related to the mismatch distance. 一種混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,包括:儲存一儲存資料於一混合式IMS CAM單元內,該混合式IMS CAM單元包括:一第一IMS CAM晶胞,以及一第二IMS CAM晶胞,耦接至該第一IMS CAM晶胞,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型,以及當該混合式 IMS CAM單元係儲存該儲存資料時,該第一IMS CAM晶胞係儲存該儲存資料之一第一部份,該第二IMS CAM晶胞係儲存該儲存資料或該儲存資料之一第二部份;以一搜尋資料對該混合式IMS CAM單元進行資料搜尋,其中,於資料搜尋時,將該搜尋資料的一第一部份解碼成一第一搜尋電壓與一第二搜尋電壓,以搜尋儲存於該第一IMS CAM晶胞內的該儲存資料之該第一部份,以及,將該搜尋資料或該搜尋資料的一第二部份解碼成一第三搜尋電壓與一第四搜尋電壓,以搜尋儲存於該第二IMS CAM晶胞內的該儲存資料或該儲存資料之該第二部份;感應該混合式IMS CAM單元所產生的一感應電流以產生一感應結果;以及根據該感應結果以判斷該搜尋資料是否匹配於該儲存資料,其中,該儲存資料之該第一部份係該儲存資料的最高有效位元,該儲存資料之該第二部份係該儲存資料的其餘位元。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method includes: storing a storage data in a hybrid IMS CAM unit, the hybrid IMS CAM unit includes: a first IMS CAM unit cell, and a second IMS CAM unit cell coupled to the first IMS CAM unit cell, wherein the first IMS CAM unit cell and the second IMS CAM unit cell are of different types, and when the hybrid IMS CAM unit stores the storage data, the first IMS CAM unit cell stores a first part of the storage data, and the second IMS CAM unit cell stores the storage data or a second part of the storage data; searching the storage data for the hybrid IMS The CAM unit performs a data search, wherein during the data search, a first portion of the search data is decoded into a first search voltage and a second search voltage to search for the first portion of the stored data stored in the first IMS CAM cell, and the search data or a second portion of the search data is decoded into a third search voltage and a fourth search voltage to search for the stored data or the second portion of the stored data stored in the second IMS CAM cell; sensing the hybrid IMS The CAM unit generates a sensing current to generate a sensing result; and determines whether the search data matches the stored data based on the sensing result, wherein the first part of the stored data is the most significant bit of the stored data, and the second part of the stored data is the remaining bits of the stored data. 如請求項17所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,當該第一IMS CAM晶胞與該第二IMS CAM晶胞的一儲存位元數不同時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一的儲存資料為數位值而該第一IMS CAM晶胞與該第二IMS CAM晶 胞之另一的儲存資料為類比值時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型;或者當該第一IMS CAM晶胞與該第二IMS CAM晶胞之一為一IMS晶胞而該第一IMS CAM晶胞與該第二IMS CAM晶胞之另一為記憶體內近似搜尋(in-memory approximate search,IMAS)晶胞時,該第一IMS CAM晶胞與該第二IMS CAM晶胞為不同類型。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 17, wherein when a storage bit number of the first IMS CAM unit cell and the second IMS CAM unit cell is different, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types; or when the storage data of one of the first IMS CAM unit cell and the second IMS CAM unit cell is a digital value and the storage data of the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an analog value, the first IMS CAM unit cell and the second IMS CAM unit cell are of different types; or when one of the first IMS CAM unit cell and the second IMS CAM unit cell is an IMS unit cell and the other of the first IMS CAM unit cell and the second IMS CAM unit cell is an in-memory approximate search (in-memory approximate search) search, IMS) cell, the first IMS CAM cell and the second IMS CAM cell are of different types. 如請求項17所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,該第一IMS CAM晶胞與該第二IMS CAM晶胞由下列中選擇:單位元晶胞(single-level cell,SLC)IMAS CAM晶胞、類比IMS CAM晶胞、SLC IMS CAM晶胞、多位元晶胞(MLC,multi-level cell)IMS CAM晶胞、MLC IMAS CAM晶胞。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 17, wherein the first IMS CAM cell and the second IMS CAM cell are selected from the following: single-level cell (SLC) IMS CAM cell, analog IMS CAM cell, SLC IMS CAM cell, multi-level cell (MLC) IMS CAM cell, MLC IMAS CAM cell. 如請求項19所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,該單位元晶胞(SLC)IMAS CAM晶胞包括:串聯之一第一記憶體晶胞與一第二記憶體晶胞,當一第一既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一記憶體晶胞之一第一臨界電壓為一第一參考臨界電壓,該第二記憶體晶胞之一第二臨界電壓為一第二參考臨界電壓; 當一第二既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓為該第二參考臨界電壓,該第二臨界電壓為該第一參考臨界電壓;當一第三既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第一參考臨界電壓;以及當一第四既定儲存資料儲存於該單位元晶胞(SLC)IMAS CAM晶胞時,該第一臨界電壓與該第二臨界電壓皆為該第二參考臨界電壓;當該搜尋資料為一第一既定搜尋資料時,施加至該第一記憶體晶胞之一第一搜尋電壓為一第一參考搜尋電壓,施加至該第二記憶體晶胞之一第二搜尋電壓為一第二參考搜尋電壓;當該搜尋資料為一第二既定搜尋資料時,該第一搜尋電壓為該第二參考搜尋電壓,該第二搜尋電壓為該第一參考搜尋電壓;當該搜尋資料為一第三既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第二參考搜尋電壓;以及,當該搜尋資料為一第四既定搜尋資料時,該第一搜尋電壓與該第二搜尋電壓皆為該第一參考搜尋電壓,其中,該第一參考搜尋電壓低於該第二參考搜尋電壓。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 19, wherein the single-bit cell (SLC) IMS CAM cell comprises: a first memory cell and a second memory cell connected in series, when a first predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, a first critical voltage of the first memory cell is a first reference critical voltage, and a second critical voltage of the second memory cell is a second reference critical voltage; When a second predetermined storage data is stored in the single-bit cell (SLC) IMS CAM cell, the first critical voltage is the second reference critical voltage, and the second critical voltage is the first reference critical voltage; when a third predetermined storage data is stored in the unit cell (SLC) IMAS CAM cell, the first critical voltage and the second critical voltage are both the first reference critical voltage; and when a fourth predetermined storage data is stored in the unit cell (SLC) IMAS When the search data is a first predetermined search data, a first search voltage applied to the first memory cell is a first reference search voltage, and a second search voltage applied to the second memory cell is a second reference search voltage; when the search data is a second predetermined search data, the first search voltage is the second reference search voltage. When the search data is a third predetermined search data, the first search voltage and the second search voltage are both the second reference search voltage; and when the search data is a fourth predetermined search data, the first search voltage and the second search voltage are both the first reference search voltage, wherein the first reference search voltage is lower than the second reference search voltage. 如請求項20所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中, 該類比IMS CAM晶胞包括:串聯之一第三與一第四記憶體晶胞,該第三與該第四記憶體晶胞分別具有一第三臨界電壓與一第四臨界電壓,於進行資料搜尋時,將一類比搜尋資料轉換成一第三類比搜尋電壓與一第四類比搜尋電壓,該第三與該第四記憶體晶胞接收該第三類比搜尋電壓與該第四類比搜尋電壓,當該第三類比搜尋電壓與該第四類比搜尋電壓匹配於一匹配範圍時,該類比IMS CAM晶胞提供一記憶體晶胞電流;以及當該第三類比搜尋電壓與該第四類比搜尋電壓不匹配於該匹配範圍時,該類比IMS CAM晶胞無提供該記憶體晶胞電流。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 20, wherein the analog IMS CAM cell comprises: a third and a fourth memory cell connected in series, the third and the fourth memory cell respectively having a third critical voltage and a fourth critical voltage, when performing a data search, an analog search data is converted into a third analog search voltage and a fourth analog search voltage, the third and the fourth memory cell receive the third analog search voltage and the fourth analog search voltage, when the third analog search voltage and the fourth analog search voltage match in a matching range, the analog IMS The CAM cell provides a memory cell current; and when the third analog search voltage and the fourth analog search voltage do not match within the matching range, the analog IMS CAM cell does not provide the memory cell current. 如請求項19所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,該SLC IMS CAM晶胞包括:並聯的一第一與一第二記憶體晶胞,或者,串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞端接收一第二搜尋電壓,在一擦除操作時,一擦除電壓被施加成該第一與該第二搜尋電壓,該擦除電壓為一負偏壓,在一編程操作時,藉由分別在該第一與該第二搜尋電壓施加一編程電壓,以分別編程該第一與該第二記憶體晶胞的一第 一與一第二臨界電壓以定義該SLC IMS CAM晶胞的一儲存資料,以及在一搜尋操作時,該第一搜尋電壓被施加一第一參考搜尋電壓或一第二參考搜尋電壓,該第二搜尋電壓被施加該第一參考搜尋電壓或該第二參考搜尋電壓,該第二參考搜尋電壓大於一第一參考臨界電壓,該第一參考臨界電壓大於該第一參考搜尋電壓,且該第一參考搜尋電壓大於一第二參考臨界電壓。 A hybrid intra-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 19, wherein the SLC IMS CAM cell comprises: a first and a second memory cell connected in parallel, or a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, during an erase operation, an erase voltage is applied to the first and the second search voltages, the erase voltage being a negative bias, during a programming operation, by applying a programming voltage to the first and the second search voltages, respectively, to respectively program a first and a second critical voltage of the first and the second memory cell to define the SLC IMS A storage data of a CAM cell, and in a search operation, the first search voltage is applied with a first reference search voltage or a second reference search voltage, the second search voltage is applied with the first reference search voltage or the second reference search voltage, the second reference search voltage is greater than a first reference critical voltage, the first reference critical voltage is greater than the first reference search voltage, and the first reference search voltage is greater than a second reference critical voltage. 如請求項19所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,該多位元晶胞(MLC)IMS CAM晶胞包括:串聯的一第一與一第二記憶體晶胞,該第一記憶體晶胞接收一第一搜尋電壓,該第二記憶體晶胞接收一第二搜尋電壓,該多位元晶胞(MLC)IMS CAM晶胞之一儲存資料決定於該第一記憶體晶胞與該第二記憶體晶胞之複數個臨界電壓之組合,當該儲存資料為一第一既定儲存資料時,該第一記憶體晶胞之一第一臨界電壓為一最小臨界電壓值,該第二記憶體晶胞之一第二臨界電壓為一最大臨界電壓值;當該儲存資料為一第二既定儲存資料時,該第一臨界電壓為該最大臨界電壓值,該第二臨界電壓為該最小臨界電壓值;當該儲存資料為一第三既定儲存資料時,該第一臨界電壓與該第二臨界電壓皆為該最小臨界電壓值;以及當該儲存資料為一第四既定儲 存資料時,該第一臨界電壓與該第二臨界電壓等於或大於該最大臨界電壓值。 A hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 19, wherein the multi-bit cell (MLC) IMS CAM cell comprises: a first and a second memory cell connected in series, the first memory cell receiving a first search voltage, the second memory cell receiving a second search voltage, the multi-bit cell (MLC) IMS The storage data of the CAM cell is determined by the combination of the plurality of critical voltages of the first memory cell and the second memory cell. When the storage data is a first predetermined storage data, a first critical voltage of the first memory cell is a minimum critical voltage value, and a second critical voltage of the second memory cell is a maximum critical voltage value; when the storage data is a second predetermined storage data , the first critical voltage is the maximum critical voltage value, and the second critical voltage is the minimum critical voltage value; when the stored data is a third predetermined stored data, the first critical voltage and the second critical voltage are both the minimum critical voltage value; and when the stored data is a fourth predetermined stored data, the first critical voltage and the second critical voltage are equal to or greater than the maximum critical voltage value. 如請求項19所述之混合式記憶體內搜尋(IMS)內容定址記憶體(CAM)資料搜尋方法,其中,該MLC IMAS CAM晶胞儲存一儲存資料並接收一搜尋資料,該MLC IMAS CAM晶胞包括:一第一電晶體,具有一第一臨界電壓並接收一第一閘極偏壓;以及一第二電晶體,連接於該第一電晶體,該第二電晶體具有一第二臨界電壓並接收一第二閘極偏壓;其中,該儲存資料係根據該第一臨界電壓與該第二臨界電壓編碼而成,該搜尋資料係根據該第一閘極偏壓與該第二閘極偏壓編碼而成,該儲存資料與該搜尋資料之間具有一不匹配距離,該MLC IMAS CAM晶胞產生的一輸出電流相關於該不匹配距離。 The hybrid in-memory search (IMS) content-addressable memory (CAM) data search method as described in claim 19, wherein the MLC IMAS CAM cell stores a storage data and receives a search data, the MLC IMAS The CAM cell includes: a first transistor having a first critical voltage and receiving a first gate bias; and a second transistor connected to the first transistor, the second transistor having a second critical voltage and receiving a second gate bias; wherein the storage data is encoded according to the first critical voltage and the second critical voltage, the search data is encoded according to the first gate bias and the second gate bias, there is a mismatch distance between the storage data and the search data, and an output current generated by the MLC IMAS CAM cell is related to the mismatch distance.
TW112103433A 2023-02-01 2023-02-01 Hybrid ims cam cell, memory device and data search method TWI849716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112103433A TWI849716B (en) 2023-02-01 2023-02-01 Hybrid ims cam cell, memory device and data search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112103433A TWI849716B (en) 2023-02-01 2023-02-01 Hybrid ims cam cell, memory device and data search method

Publications (2)

Publication Number Publication Date
TWI849716B true TWI849716B (en) 2024-07-21
TW202433470A TW202433470A (en) 2024-08-16

Family

ID=92929580

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112103433A TWI849716B (en) 2023-02-01 2023-02-01 Hybrid ims cam cell, memory device and data search method

Country Status (1)

Country Link
TW (1) TWI849716B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8169808B2 (en) * 2008-01-25 2012-05-01 Micron Technology, Inc. NAND flash content addressable memory
US9208880B2 (en) * 2013-01-14 2015-12-08 Zeno Semiconductor, Inc. Content addressable memory device having electrically floating body transistor
US20210407595A1 (en) * 2020-03-06 2021-12-30 Micron Technology, Inc. Architecture for ternary content-addressable memory search
US20220359033A1 (en) * 2021-05-04 2022-11-10 Micron Technology, Inc. Health scan for content addressable memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8169808B2 (en) * 2008-01-25 2012-05-01 Micron Technology, Inc. NAND flash content addressable memory
US9208880B2 (en) * 2013-01-14 2015-12-08 Zeno Semiconductor, Inc. Content addressable memory device having electrically floating body transistor
US20210407595A1 (en) * 2020-03-06 2021-12-30 Micron Technology, Inc. Architecture for ternary content-addressable memory search
US20220359033A1 (en) * 2021-05-04 2022-11-10 Micron Technology, Inc. Health scan for content addressable memory

Also Published As

Publication number Publication date
TW202433470A (en) 2024-08-16

Similar Documents

Publication Publication Date Title
US8169808B2 (en) NAND flash content addressable memory
US10741259B2 (en) Apparatuses and methods using dummy cells programmed to different states
US10950312B2 (en) Methods of operating a memory device comparing input data to data stored in memory cells coupled to a data line
US11967378B2 (en) Analog content addressable memory device, analog content addressable memory cell and method for data searching and comparing thereof
US9395927B2 (en) Outputting a particular data quantization from memory
WO2015130234A1 (en) Testing apparatuses, hierarchical priority encoders, methods for controlling a testing apparatus, and methods for controlling a hierarchical priority encoder
JP2023044545A (en) Information processor and memory system
US20230410904A1 (en) Content addressable memory device, content addressable memory cell and method for single-bit multi-level data searching and comparing
Ni et al. Tap-cam: A tunable approximate matching engine based on ferroelectric content addressable memory
TWI849716B (en) Hybrid ims cam cell, memory device and data search method
US20230238037A1 (en) Content addressable memory device and method for data searching and comparing thereof
CN118426672A (en) Internal search content addressable memory unit, device and data search method
US11823749B2 (en) CAM cell, CAM memory device and operation method thereof
Tseng et al. SLC and MLC in-memory-approximate-search solutions in commercial 48-layer and 96-layer 3D-NAND flash memories
TWI785787B (en) Cam cell, cam memory device and operation method thereof
TWI844013B (en) Content addressable memory device, content addressable memory cell and method for data searching and comparing thereof
US11875850B2 (en) Content addressable memory device, content addressable memory cell and method for data searching with a range or single-bit data
TWI790107B (en) Content addressable memory device and method for data searching and comparing thereof
TWI833579B (en) Memory device for performing in-memory-search and operation method thereof
TWI868782B (en) In memory searching device
CN118486349A (en) Storage device for performing in-memory search and method of operating the same
TW202349399A (en) Analog content addressable memory device, analog content addressable memory cell and method for data searching and comparing thereof
US9405859B1 (en) Using do not care data with feature vectors