CN106409335A - Content addressing storage unit circuit and search and write operation methods thereof, and memory - Google Patents
Content addressing storage unit circuit and search and write operation methods thereof, and memory Download PDFInfo
- Publication number
- CN106409335A CN106409335A CN201510465735.6A CN201510465735A CN106409335A CN 106409335 A CN106409335 A CN 106409335A CN 201510465735 A CN201510465735 A CN 201510465735A CN 106409335 A CN106409335 A CN 106409335A
- Authority
- CN
- China
- Prior art keywords
- memristor
- line
- voltage
- transistor
- dividing point
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C15/00—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
- G11C15/04—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using semiconductor elements
- G11C15/046—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using semiconductor elements using non-volatile storage elements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C13/00—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
- G11C13/0002—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
- G11C13/0007—Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements comprising metal oxide memory material, e.g. perovskites
Landscapes
- Chemical & Material Sciences (AREA)
- Engineering & Computer Science (AREA)
- Materials Engineering (AREA)
- Read Only Memory (AREA)
Abstract
本发明公开了一种内容寻址存储单元电路及其搜索和写操作方法、存储器。本发明包括:第一、二忆阻器、搜索信号线、写信号线、匹配线、输出线、第一、二数据线、公共电压线、第一、第二和第三晶体管;第一忆阻器和第二忆阻器相连,相连处为分压点;第一忆阻器与第一数据线相连,第二忆阻器与第二数据线相连;分压点、公共电压线和写信号线与第一晶体管相连,写信号线的输出用于控制分压点与公共电压线之间的导通与断开;分压点、搜索信号线、第三晶体管分别与第二晶体管相连,搜索信号线的输出用于控制分压点与第三晶体管之间的导通与断开;匹配线、输出线和第二晶体管分别与第三晶体管相连,第二晶体管的输出用于控制匹配线与输出线的导通与断开。
The invention discloses a content addressing memory unit circuit, its searching and writing operation method, and memory. The present invention includes: first and second memristors, search signal lines, write signal lines, matching lines, output lines, first and second data lines, common voltage lines, first, second and third transistors; the first memristor The resistor is connected to the second memristor, and the connected place is a voltage dividing point; the first memristor is connected to the first data line, and the second memristor is connected to the second data line; the voltage dividing point, the common voltage line and the writing The signal line is connected to the first transistor, and the output of the write signal line is used to control the on and off between the voltage dividing point and the common voltage line; the voltage dividing point, the search signal line, and the third transistor are respectively connected to the second transistor, The output of the search signal line is used to control the on and off between the voltage dividing point and the third transistor; the matching line, the output line and the second transistor are respectively connected to the third transistor, and the output of the second transistor is used to control the matching line The conduction and disconnection of the output line.
Description
技术领域technical field
本发明涉及模拟电路领域,尤其涉及一种内容寻址存储单元电路及其搜索和写操作方法、存储器。The invention relates to the field of analog circuits, in particular to a content-addressable storage unit circuit, search and write operation methods, and a memory.
背景技术Background technique
内容可寻址存储器(英文全称:Content Addressable Memory,缩写:CAM)是一种特殊的存储阵列。它通过将输入数据与CAM中存储的所有数据项同时进行比较,迅速判断出输入数据是否与CAM中的存储数据项相匹配,并给出匹配数据项的对应地址和匹配信息。CAM以其高速查找、大容量等特点而被广泛地应用于电讯、网络等领域。Content addressable memory (English full name: Content Addressable Memory, abbreviation: CAM) is a special storage array. It compares the input data with all the data items stored in the CAM at the same time, quickly judges whether the input data matches the stored data items in the CAM, and gives the corresponding address and matching information of the matching data items. CAM is widely used in telecommunications, network and other fields due to its high-speed search and large capacity.
忆阻器是是除电阻、电容、电感之外的第四种基本电路元件,它代表着电荷与磁通量之间的关系。忆阻器的电阻会随着通过的电流量而改变,即使电流停止,忆阻器的电阻仍然会停留在之前的值,直到接受到反向的电流它才会被推回去。忆阻器的高阻态和低阻态可以用来存储“0”和“1”,用于信息存储,具有非易失性、低功耗、高速、高集成度等优点。将忆阻器和CAM结合起来,用忆阻器充当CAM的存储材料,可以使CAM在掉电时仍能保存数据,使其功耗大幅度降低。Memristor is the fourth basic circuit element besides resistors, capacitors, and inductors, and it represents the relationship between charge and magnetic flux. The resistance of a memristor changes with the amount of current passing through it. Even if the current flow stops, the resistance of the memristor will stay at the previous value until it receives the reverse current. It will not be pushed back. The high-resistance state and low-resistance state of memristor can be used to store "0" and "1" for information storage, and has the advantages of non-volatility, low power consumption, high speed, and high integration. Combining the memristor and the CAM, and using the memristor as the storage material of the CAM, the CAM can still save data when the power is turned off, so that its power consumption can be greatly reduced.
请参阅图1,图1为现有的一种基于忆阻器的内容存储单元的结构示意图。如图1所示,MOS管T5、T3、T4、T6的源极和漏极依次串联,其中,T5的源极和数据线D/S相连,T6的漏极和数据线相连。T5和T6的栅极分别和搜索数据线SS相连。T3的栅极同时和T1的源极、忆阻器2的一端相连。T4的栅极同时和T2的源极、忆阻器3的一端相连。T1的栅极和T2的栅极分别和写信号线WS相连。T1的漏极和数据线D/S相连,T2的漏极和数据线相连。忆阻器2的另一端和忆阻器3的另一端分别和公共电压线VL相连。匹配线ML和输出线ML(n+1)分别和MOS管T7的源极和漏极相连,且T7的栅极同时和T3的漏极、T4的源极相连。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a conventional memristor-based content storage unit. As shown in FIG. 1 , the sources and drains of MOS transistors T5 , T3 , T4 , and T6 are connected in series in sequence, wherein the source of T5 is connected to the data line D/S, and the drain of T6 is connected to the data line. The gates of T5 and T6 are respectively connected to the search data line SS. The gate of T3 is connected to the source of T1 and one end of the memristor 2 at the same time. The gate of T4 is connected to the source of T2 and one end of the memristor 3 at the same time. The gate of T1 and the gate of T2 are respectively connected to the write signal line WS. The drain of T1 is connected to the data line D/S, and the drain of T2 is connected to the data line. The other end of the memristor 2 and the other end of the memristor 3 are respectively connected to the common voltage line VL. The match line ML and the output line ML(n+1) are respectively connected to the source and drain of the MOS transistor T7, and the gate of T7 is connected to the drain of T3 and the source of T4 at the same time.
下面对图1所示电路的工作过程进行描述。The working process of the circuit shown in Figure 1 is described below.
在写操作中,搜索信号线SS输入低电平,使得MOS管T4和T5截止。写信号线WS输入高电平,使得MOS管T1和T2导通,此时数据线D/S和D/S通过MOS管T1和T2改变忆阻器2和3的阻值,以进行写操作存储数据。In the write operation, the search signal line SS inputs a low level, so that the MOS transistors T4 and T5 are turned off. The write signal line WS inputs a high level, so that the MOS transistors T1 and T2 are turned on. At this time, the data lines D/S and D/S change the resistance values of the memristors 2 and 3 through the MOS transistors T1 and T2 to perform a write operation. Storing data.
在读操作中,写信号线WS输入低电平,使得MOS管T1和T2截止。搜索信号线SS输入高电平,使得MOS管T4和T5导通。公共电压线VL的电位设置为VDD/2。根据忆阻器之前存入的数据(用高低阻值表示)来决定是MOS管T3还是T4导通。若T3导通则MOS管T7的栅极的电位就为数据线D/S上的电压,若T4导通则MOS管T7的栅极的电位为数据线D/S上的电压。综上所述,当忆阻器存储的电压和数据线上的电压一致,则MOS管T7栅极的电压为高电平,MOS管T7导通ML(n)端的电流会传递到ML(n+1)端,反之则不能。In the read operation, the write signal line WS inputs a low level, so that the MOS transistors T1 and T2 are turned off. The search signal line SS inputs a high level, so that the MOS transistors T4 and T5 are turned on. The potential of the common voltage line VL is set to V DD /2. According to the data stored in the memristor before (indicated by high and low resistance values), it is determined whether the MOS transistor T3 or T4 is turned on. If T3 is turned on, the potential of the gate of the MOS transistor T7 is the voltage on the data line D/S, and if T4 is turned on, the potential of the gate of the MOS transistor T7 is the voltage on the data line D/S. To sum up, when the voltage stored in the memristor is consistent with the voltage on the data line, the gate voltage of the MOS transistor T7 is at a high level, and the current at the ML(n) terminal of the MOS transistor T7 is passed to the ML(n +1) terminal, and vice versa.
然而,在该种电路方案中,使用的MOS管较多,使得布线复杂,增加了系统的功耗和制造成本。However, in this kind of circuit solution, more MOS transistors are used, which makes the wiring complicated and increases the power consumption and manufacturing cost of the system.
发明内容Contents of the invention
本发明实施例提供了一种结构简单的内容寻址存储单元电路。The embodiment of the present invention provides a content addressable storage unit circuit with a simple structure.
第一方面,提供一种内容寻址存储单元电路,所述电路包括:第一忆阻器(ME1)、第二忆阻器(ME2)、搜索信号线(SS)、写信号线(WS)、匹配线(WL)、输出线(OP)、第一数据线(D/S)、第二数据线公共电压线(VL)、第一晶体管(M1)、第二晶体管(M2)、第三晶体管(M3);In the first aspect, a content addressable storage unit circuit is provided, the circuit includes: a first memristor (ME1), a second memristor (ME2), a search signal line (SS), and a write signal line (WS) , match line (WL), output line (OP), first data line (D/S), second data line Common voltage line (VL), first transistor (M1), second transistor (M2), third transistor (M3);
所述第一忆阻器(ME1)的一端和所述第二忆阻器(ME2)的一端相连,且相连处为分压点;所述第一忆阻器(ME1)的另一端与所述第一数据线(D/S)相连,所述第二忆阻器(ME2)的另一端与所述第二数据线相连;One end of the first memristor (ME1) is connected to one end of the second memristor (ME2), and the connection point is a voltage dividing point; the other end of the first memristor (ME1) is connected to the second memristor (ME2). The first data line (D/S) is connected, and the other end of the second memristor (ME2) is connected to the second data line connected;
所述分压点、所述公共电压线(VL)和所述写信号线(WS)分别与所述第一晶体管(M1)相连,所述写信号线(WS)的输出用于控制所述分压点与所述公共电压线(VL)之间的导通与断开;The voltage dividing point, the common voltage line (VL) and the write signal line (WS) are respectively connected to the first transistor (M1), and the output of the write signal line (WS) is used to control the conduction and disconnection between the voltage dividing point and the common voltage line (VL);
所述分压点、所述搜索信号线(SS)、所述第三晶体管(M3)分别与所述第二晶体管(M2)相连,所述搜索信号线的输出用于控制所述分压点与所述第三晶体管(M3)之间的导通与断开;The voltage dividing point, the search signal line (SS), and the third transistor (M3) are respectively connected to the second transistor (M2), and the output of the search signal line is used to control the voltage dividing point conduction and disconnection with the third transistor (M3);
所述匹配线(WL)、所述输出线和所述第二晶体管(M2)分别与所述第三晶体管(M3)相连,所述第二晶体管(M2)的输出用于控制所述匹配线(WL)与所述输出线的导通与断开。The matching line (WL), the output line and the second transistor (M2) are respectively connected to the third transistor (M3), and the output of the second transistor (M2) is used to control the matching line (WL) and the conduction and disconnection of the output line.
结合第一方面,在第一方面的第一种实现方式中,所述电路还包括第四晶体管(M),用于与所述匹配线(WL)和所述输出线相连,用于控制所述匹配线(WL)与所述输出线OP的导通与断开。With reference to the first aspect, in the first implementation manner of the first aspect, the circuit further includes a fourth transistor (M), configured to be connected to the matching line (WL) and the output line, and configured to control the The conduction and disconnection of the matching line (WL) and the output line OP.
结合第一方面,在第一方面的第二种实现方式中,所述第一忆阻器(ME1)的正端和所述第二忆阻器(ME2)的正端相连,或者,所述第一忆阻器(ME1)的负端和所述第二忆阻器(ME2)的负端相连。With reference to the first aspect, in the second implementation manner of the first aspect, the positive terminal of the first memristor (ME1) is connected to the positive terminal of the second memristor (ME2), or, the The negative terminal of the first memristor (ME1) is connected to the negative terminal of the second memristor (ME2).
结合第一方面,在第一方面的第三种实现方式中,所述第一忆阻器(ME1)的正端和所述第二忆阻器(ME2)负端相连,或者,所述第一忆阻器(ME1)的负端和所述第二忆阻器(ME2)正端相连。With reference to the first aspect, in a third implementation manner of the first aspect, the positive terminal of the first memristor (ME1) is connected to the negative terminal of the second memristor (ME2), or, the first memristor (ME2) is The negative end of a memristor (ME1) is connected to the positive end of said second memristor (ME2).
第二方面,提供一种存储器,其特征在于,包括如上述任一项所述的内容寻址存储单元电路。In a second aspect, there is provided a memory, which is characterized by comprising the content-addressable storage unit circuit as described in any one of the above.
第三方面,提供一种基于第一方面所述的内容寻址存储单元电路的写操作方法,所述方法包括:In a third aspect, there is provided a write operation method based on the content-addressable storage unit circuit described in the first aspect, the method comprising:
输入电压至所述搜索信号线(SS),使得所述分压点和所述第三晶体管(M3)之间断开;inputting a voltage to the search signal line (SS), so that the voltage dividing point is disconnected from the third transistor (M3);
输入电压至所述写信号线(WS),使得所述分压点和所述公共电压线(VL)之间导通;inputting a voltage to the write signal line (WS), making conduction between the voltage dividing point and the common voltage line (VL);
分别输入电压至所述第一数据线(D/S)和第二数据线且通过所述公共电压线输入电压至所述分压点,使得所述第一忆阻器(ME1)和所述第二忆阻器(ME2)中的其中一个阻值大于另一个阻值的预置倍数,其中,所述预置倍数大于1倍。input voltage to the first data line (D/S) and the second data line respectively And the voltage is input to the voltage dividing point through the common voltage line, so that one of the resistance of the first memristor (ME1) and the second memristor (ME2) is greater than the resistance of the other A preset multiple, wherein the preset multiple is greater than 1 time.
结合第三方面,在第三方面的第一种实现方式中,所述内容寻址存储单元电路中,所述第一忆阻器(ME1)的正端和所述第二忆阻器(ME2)的正端相连,或者,所述第一忆阻器(ME1)的负端和所述第二忆阻器(ME2)的负端相连;With reference to the third aspect, in the first implementation manner of the third aspect, in the content addressable storage unit circuit, the positive terminal of the first memristor (ME1) and the second memristor (ME2) ), or the negative terminal of the first memristor (ME1) is connected to the negative terminal of the second memristor (ME2);
所述第一数据线(D/S)、所述公共电压线(VL)、所述第二数据线上的电压依次降低或者依次升高。The first data line (D/S), the common voltage line (VL), the second data line The voltage on it decreases or increases sequentially.
结合第三方面的第一种实现方式,在第三方面的第二种实现方式中,所述公共电压线(VL)上的电压为所述第一数据线(D/S)上的电压与所述第二数据线上的电压的平均值。With reference to the first implementation of the third aspect, in the second implementation of the third aspect, the voltage on the common voltage line (VL) is equal to the voltage on the first data line (D/S) and The second data line The average value of the voltage on the
结合第三方面,在第三方面的第三种实现方式中,所述第一忆阻器(ME1)的正端和所述第二忆阻器(ME2)负端相连,或者,所述第一忆阻器(ME1)的负端和所述第二忆阻器(ME2)正端相连;With reference to the third aspect, in a third implementation manner of the third aspect, the positive terminal of the first memristor (ME1) is connected to the negative terminal of the second memristor (ME2), or, the first memristor (ME2) The negative end of a memristor (ME1) is connected to the positive end of the second memristor (ME2);
所述第一数据线(D/S)和所述第二数据线上的电压均大于或者均小于所述公共电压线(VL)上的电压。The first data line (D/S) and the second data line The voltages on both are greater than or less than the voltage on the common voltage line (VL).
第四方面,提供一种基于第一方面所述的内容寻址存储单元电路的搜索操作方法,所述方法包括:In a fourth aspect, there is provided a search operation method based on the content-addressable storage unit circuit described in the first aspect, the method comprising:
输入电压至所述写信号线(WS),使得所述分压点和所述公共电压线(VL)之间断开;input voltage to the write signal line (WS), so that the voltage dividing point is disconnected from the common voltage line (VL);
输入高电平至所述匹配线WL;input a high level to the matching line WL;
分别输入电压至所述第一数据线(D/S)和第二数据线其中所述第一数据线(D/S)和第二数据线的其中一个的电压为高电平,另一个的电压为低电平,使得所述分压点A处形成高电平或者低电平;input voltage to the first data line (D/S) and the second data line respectively Wherein the first data line (D/S) and the second data line The voltage of one of them is a high level, and the voltage of the other is a low level, so that the voltage division point A forms a high level or a low level;
输入电压至所述搜索信号线(SS),使得所述分压点和所述第三晶体管(M3)之间导通;inputting a voltage to the search signal line (SS), making conduction between the voltage dividing point and the third transistor (M3);
当所述输出线OP输出高电平时,确定读取到所述内容寻址存储单元电路存储的数据为0和1之间的一个,否则确定读取到所述内容寻址存储单元电路存储的数据为0和1之间的另一个。When the output line OP outputs a high level, it is determined that the data stored in the content addressable storage unit circuit is one between 0 and 1, otherwise it is determined that the data stored in the content addressable storage unit circuit is read Data is another between 0 and 1.
结合第四方面,在第四方面的第一种实现方式中,所述输入电压至所述搜索信号线(SS),使得所述分压点和所述第三晶体管(M3)之间导通,之前还包括:With reference to the fourth aspect, in the first implementation manner of the fourth aspect, the input voltage is applied to the search signal line (SS), so that the conduction between the voltage dividing point and the third transistor (M3) , which previously also included:
输入电压至所述搜索信号线(SS),使得所述分压点和所述第三晶体管(M3)之间断开。从以上技术方案可以看出,本发明实施例具有以下优点:Input voltage to the search signal line (SS), so that the voltage dividing point is disconnected from the third transistor (M3). It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明中,内容寻址存储单元电路的结构布线简单,降低了内容寻址存储单元电路的功耗和制作成本。In the present invention, the structure and wiring of the content addressing storage unit circuit is simple, and the power consumption and manufacturing cost of the content addressing storage unit circuit are reduced.
附图说明Description of drawings
图1为现有的一种内容寻址存储单元电路的结构示意图;FIG. 1 is a schematic structural diagram of an existing content addressable storage unit circuit;
图2为本发明的内容寻址存储单元电路的一种实施例的结构示意图;FIG. 2 is a schematic structural diagram of an embodiment of a content addressable storage unit circuit of the present invention;
图3为基于图2所示内容寻址存储单元电路的写操作的流程示意图;FIG. 3 is a schematic flow chart of a write operation based on the content addressable storage unit circuit shown in FIG. 2;
图4为基于图2所示内容寻址存储单元电路的搜索操作的流程示意图。FIG. 4 is a schematic flowchart of a search operation based on the content addressable memory cell circuit shown in FIG. 2 .
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、系统、产品或设备固有的其它步骤或单元。The terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well as any variations thereof, are intended to cover non-exclusive inclusion, for example, processes, methods, A system, product or device is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to the process, method, system, product or device.
如图2所示,图2为本发明的内容寻址存储单元电路的一种实施例的结构示意图。As shown in FIG. 2 , FIG. 2 is a schematic structural diagram of an embodiment of a content addressable storage unit circuit of the present invention.
如图2所示,本实施例中的单元电路包括第一忆阻器ME1、第二忆阻器ME2、搜索信号线SS、写信号线WS、匹配线WL、输出线、第一数据线D/S、第二数据线公共电压线VL、第一晶体管M1、第二晶体管M2、第三晶体管M3。As shown in Figure 2, the unit circuit in this embodiment includes a first memristor ME1, a second memristor ME2, a search signal line SS, a write signal line WS, a matching line WL, an output line, and a first data line D /S, the second data line The common voltage line VL, the first transistor M1, the second transistor M2, and the third transistor M3.
所述第一忆阻器ME1的一端和所述第二忆阻器ME2的一端相连。为描述方便,将第一忆阻器ME1和第二忆阻器ME2的相连处称为分压点A。所述第一忆阻器ME1的另一端与所述第一数据线D/S相连,所述第二忆阻器ME2的另一端与所述第二数据线相连。One end of the first memristor ME1 is connected to one end of the second memristor ME2. For the convenience of description, the junction of the first memristor ME1 and the second memristor ME2 is called a voltage dividing point A. The other end of the first memristor ME1 is connected to the first data line D/S, and the other end of the second memristor ME2 is connected to the second data line connected.
所述分压点A、所述公共电压线VL和所述写信号线WS分别与所述第一晶体管M1相连,所述写信号线WS的输出用于控制所述分压点A与所述公共电压线VL之间的导通与断开。The voltage dividing point A, the common voltage line VL and the writing signal line WS are respectively connected to the first transistor M1, and the output of the writing signal line WS is used to control the voltage dividing point A and the writing signal line WS. The conduction and disconnection between the common voltage lines VL.
所述分压点A、所述搜索信号线SS、所述第三晶体管M3分别与所述第二晶体管M2相连,所述搜索信号线SS的输出用于控制所述分压点A与所述第三晶体管M3之间的导通与断开。The voltage division point A, the search signal line SS, and the third transistor M3 are respectively connected to the second transistor M2, and the output of the search signal line SS is used to control the voltage division point A and the third transistor M3. The third transistor M3 is turned on and off.
所述匹配线WL、所述输出线和所述第二晶体管M2分别与所述第三晶体管M3相连,所述第二晶体管M2的输出用于控制所述匹配线WL与所述输出线的导通与断开。The matching line WL, the output line and the second transistor M2 are respectively connected to the third transistor M3, and the output of the second transistor M2 is used to control the conduction between the matching line WL and the output line. On and off.
本实施例中,第一忆阻器ME1和所述第二忆阻器ME2相连的结构方式有多种。In this embodiment, there are various structural manners in which the first memristor ME1 is connected to the second memristor ME2.
例如,所述第一忆阻器ME1和所述第二忆阻器ME2相同一端相连。如图2所示,忆阻器有黑边的一端称为负端,另一端称为正端。在图2中,所述第一忆阻器ME1的正端与所述第二忆阻器ME2的正端相连。或者,实际应用中,也可以是第一忆阻器ME1的负端与所述第二忆阻器ME2的负端相连。For example, the first memristor ME1 and the second memristor ME2 are connected to the same terminal. As shown in Figure 2, the end of the memristor with the black border is called the negative end, and the other end is called the positive end. In FIG. 2 , the positive end of the first memristor ME1 is connected to the positive end of the second memristor ME2 . Alternatively, in practical applications, the negative terminal of the first memristor ME1 may also be connected to the negative terminal of the second memristor ME2.
例如,所述第一忆阻器ME1和所述第二忆阻器ME2不同的一端相连。所述第一数据线D/S和所述第二数据线上的电压均大于或者均小于所述公共电压线VL上的电压。这样,所述第一数据线D/S到分压点A之间形成的电势差的方向,与分压点A到第二数据线之间形成的电势差的方向相反。由于第一忆阻器ME1和第二忆阻器ME2不同的一端相连,那么相反方向的电势差会使得其中一个忆阻器的电阻变大,使得另一个忆阻器的电阻变小。For example, different ends of the first memristor ME1 and the second memristor ME2 are connected. The first data line D/S and the second data line The voltages on the common voltage line VL are greater than or lower than the voltage on the common voltage line VL. In this way, the direction of the potential difference formed between the first data line D/S and the voltage dividing point A is the same as that formed between the voltage dividing point A and the second data line. The direction of the potential difference formed between them is opposite. Since different ends of the first memristor ME1 and the second memristor ME2 are connected, the potential difference in the opposite direction will make the resistance of one memristor increase and the resistance of the other memristor become smaller.
可选的,本实施例中,所述电路还包括第四晶体管M,用于与所述匹配线WL和所述输出线OP相连,用于控制所述匹配线WL与所述输出线OP的导通与断开。这样,可以实现电路的三态功能。具体的,输入高电平至所述匹配线WL;输入电压至所述第四晶体管M,使得所述匹配线WL与所述输出线之间导通。这样,输出线OP可以直接输出高电平。Optionally, in this embodiment, the circuit further includes a fourth transistor M, which is used to connect the matching line WL and the output line OP, and is used to control the connection between the matching line WL and the output line OP. On and off. In this way, the tri-state function of the circuit can be realized. Specifically, a high level is input to the matching line WL; a voltage is input to the fourth transistor M to make conduction between the matching line WL and the output line. In this way, the output line OP can directly output a high level.
例如,当第四晶体管M为MOS管时,第四MOS管M的源极和漏极分别与匹配线WL和输出线OP相连。输入高电平至第四MOS管M的栅极,使得匹配线WL与所述输出线之间导通,输出线OP直接输出高电平。For example, when the fourth transistor M is a MOS transistor, the source and drain of the fourth MOS transistor M are respectively connected to the match line WL and the output line OP. Inputting a high level to the gate of the fourth MOS transistor M makes the match line WL conduct with the output line, and the output line OP directly outputs a high level.
本实施例中,晶体管可以是场效应管、三极管或者其他晶体管,在此不作限制。为方便理解,下面以MOS管为例对本实施例中的电路结构进行详细描述。In this embodiment, the transistor may be a field effect transistor, a triode or other transistors, which is not limited here. For the convenience of understanding, the circuit structure in this embodiment will be described in detail below by taking a MOS transistor as an example.
具体的,第一MOS管M1的栅极与写信号线WS相连,源极与公共电压线VL相连,漏极与分压点A相连。第二MOS管M2的栅极与搜索信号线SS相连,源极与分压点A相连,漏极与第三MOS管M3的栅极相连。第三MOS管M3的漏极与匹配线WL相连,源极与输出线相连。Specifically, the gate of the first MOS transistor M1 is connected to the write signal line WS, the source is connected to the common voltage line VL, and the drain is connected to the voltage dividing point A. The gate of the second MOS transistor M2 is connected to the search signal line SS, the source is connected to the voltage dividing point A, and the drain is connected to the gate of the third MOS transistor M3. The drain of the third MOS transistor M3 is connected to the matching line WL, and the source is connected to the output line.
图2所示的内容寻址存储单元电路的操作方法包括写操作和搜索操作。下面对图2所示电路的写操作工作流程进行描述。The operation method of the content addressable memory cell circuit shown in FIG. 2 includes a write operation and a search operation. The following describes the writing operation workflow of the circuit shown in FIG. 2 .
如图3所示,图3为基于图2所示内容寻址存储单元电路的写操作的流程示意图。本实施例中,该操作方法包括:As shown in FIG. 3 , FIG. 3 is a schematic flowchart of a write operation based on the content addressable storage unit circuit shown in FIG. 2 . In this embodiment, the operation method includes:
301、输入电压至所述搜索信号线SS,使得分压点A和第三晶体管M3之间断开。301. Input a voltage to the search signal line SS, so that the voltage dividing point A is disconnected from the third transistor M3.
具体的,当第二晶体管M2为NMOS管时,输入低电平至搜索信号线SS,使得第二NMOS管M2的源极和漏极之间断开,进而使得分压点A和第三晶体管M3之间断开。Specifically, when the second transistor M2 is an NMOS transistor, input a low level to the search signal line SS, so that the source and drain of the second NMOS transistor M2 are disconnected, so that the voltage dividing point A and the third transistor M3 disconnected between.
302、输入电压至所述写信号线WS,使得分压点A和公共电压线VL之间导通。302. Input a voltage to the write signal line WS, so that the voltage dividing point A and the common voltage line VL are conducted.
具体的,当第一晶体管M1为NMOS管时,输入高电平至写信号线WS,使得第一NMOS管M1的源极和漏极之间导通,这样,公共电压线VL的电压可以将分压点A的电压钳制住。Specifically, when the first transistor M1 is an NMOS transistor, a high level is input to the write signal line WS, so that the source and drain of the first NMOS transistor M1 are conducted, so that the voltage of the common voltage line VL can be The voltage at dividing point A is clamped.
303、分别输入电压至第一数据线D/S、第二数据线且通过公共电压线输入电压至分压点A,使得所述第一忆阻器ME1和所述第二忆阻器ME2中的其中一个阻值大于另一个阻值的预置倍数,其中,该预置倍数大于1倍。303. Input voltage to the first data line D/S and the second data line respectively And the voltage is input to the voltage division point A through the common voltage line, so that one of the resistance value of the first memristor ME1 and the second memristor ME2 is greater than a preset multiple of the other resistance value, wherein the The preset multiple is greater than 1.
本实施例中,根据忆阻器电阻不同将忆阻器定义为代表不同的逻辑值。例如,当忆阻器的阻值高于第一预置数值时,将忆阻器定义为代表逻辑“0”,当忆阻器的阻值低于第二预置数值时,将忆阻器定义为代表逻辑“1”。或者,当忆阻器的阻值高于第一预置数值时,将忆阻器定义为代表逻辑“1”,当忆阻器的阻值低于第二预置数值时,将忆阻器定义为代表逻辑“0”。其中,第一预置数值大于第二预置数值。这样,当将第一忆阻器M1和第二忆阻器M2表示“10”时,内容寻址存储单元电路内存储的数据为0和1之间的一个,当第一忆阻器M1和第二忆阻器M2表示“01”时,内容寻址存储单元电路内存储的数据为0和1之间的另一个。In this embodiment, the memristors are defined to represent different logic values according to the different resistances of the memristors. For example, when the resistance value of the memristor is higher than the first preset value, the memristor is defined as representing logic "0", and when the resistance value of the memristor is lower than the second preset value, the memristor is defined as logic "0". Defined to represent a logic "1". Or, when the resistance value of the memristor is higher than the first preset value, the memristor is defined as representing logic "1", and when the resistance value of the memristor is lower than the second preset value, the memristor is Defined to represent a logic "0". Wherein, the first preset value is greater than the second preset value. In this way, when the first memristor M1 and the second memristor M2 are represented as "10", the data stored in the content addressable memory unit circuit is one between 0 and 1, when the first memristor M1 and the second memristor M2 are When the second memristor M2 represents "01", the data stored in the content addressable memory unit circuit is the other between 0 and 1.
下面以当忆阻器的阻值高于第一预置数值时表示逻辑“0”,当忆阻器的阻值低于第二预置数值时表示逻辑“1”,且第一忆阻器M1和第二忆阻器M2表示“01”时,内容寻址存储单元电路内存储的数据为0为例进行描述。In the following, logic "0" is represented when the resistance value of the memristor is higher than the first preset value, and logic "1" is represented when the resistance value of the memristor is lower than the second preset value, and the first memristor When M1 and the second memristor M2 represent "01", the data stored in the content addressable memory unit circuit is 0 as an example for description.
具体的,第一忆阻器M1和第二忆阻器M2分别包括正端和负端,其中第一忆阻器M1的正端和第二忆阻器M2的正端相连,或者,第一忆阻器M1的负端和第二忆阻器M2的负端相连。所述第一数据线(D/S)、所述公共电压线(VL)、所述第二数据线上的电压依次降低或者依次升高。例如,公共电压线(VL)上的电压为所述第一数据线(D/S)上的电压与所述第二数据线上的电压的平均值。。Specifically, the first memristor M1 and the second memristor M2 respectively include a positive terminal and a negative terminal, wherein the positive terminal of the first memristor M1 is connected to the positive terminal of the second memristor M2, or, the first The negative terminal of the memristor M1 is connected to the negative terminal of the second memristor M2. The first data line (D/S), the common voltage line (VL), the second data line The voltage on it decreases or increases sequentially. For example, the voltage on the common voltage line (VL) is the voltage on the first data line (D/S) and the voltage on the second data line The average value of the voltage on the .
由于第一数据线D/S到分压点A的电势差,和分压点A到第二数据线的电势差的方向相同,而第一忆阻器M1和第二电阻器M2的正端指向负端的方向相反,因此,第一忆阻器M1形成高电阻,第二忆阻器M2形成低电阻,也即第一忆阻器M1表示逻辑“0”,第二忆阻器M2表示逻辑“1”,以在内容寻址存储单元电路内写入数据“0”。或者,第一忆阻器M1形成低电阻,第二忆阻器M2形成高电阻,也即第一忆阻器M1表示逻辑“1”,第二忆阻器M2表示逻辑“0”,以在内容寻址存储单元电路内写入数据“1。Due to the potential difference from the first data line D/S to the voltage dividing point A, and the voltage dividing point A to the second data line The direction of the potential difference is the same, and the positive terminal of the first memristor M1 and the direction of the negative terminal of the second resistor M2 are opposite to each other, therefore, the first memristor M1 forms a high resistance, and the second memristor M2 forms a low resistance, That is, the first memristor M1 represents logic "0", and the second memristor M2 represents logic "1", so as to write data "0" in the content-addressable memory cell circuit. Alternatively, the first memristor M1 forms a low resistance, and the second memristor M2 forms a high resistance, that is, the first memristor M1 represents a logic "1", and the second memristor M2 represents a logic "0", so that in Write data "1" in the content addressable memory cell circuit.
需注意的是,本实施例中的忆阻器的电阻只有在该忆阻器的两端的压差大于预定数值时才会改变。因此,本实施例中,所述第一数据线(D/S)、所述公共电压线(VL)、所述第二数据线上的电压的大小需能够使得第一忆阻器M1和第二忆阻器M2的阻值发生改变,而且,需使得第一忆阻器M1和第二忆阻器M2中的其中一个的阻值大于另一个阻值的预置倍数,其中,该预置倍数大于1倍(具体原因以及预置倍数的具体数值在图4所示实施例中进行解释。)It should be noted that the resistance of the memristor in this embodiment changes only when the voltage difference across the memristor is greater than a predetermined value. Therefore, in this embodiment, the first data line (D/S), the common voltage line (VL), the second data line The magnitude of the voltage on the first memristor M1 and the second memristor M2 needs to be able to change the resistance value, and it is necessary to make the resistance of one of the first memristor M1 and the second memristor M2 The value is greater than another preset multiple of the resistance value, wherein the preset multiple is greater than 1 (the specific reasons and the specific numerical value of the preset multiple are explained in the embodiment shown in Figure 4.)
当然,实际应用中,公共电压线输入的电压的电压也可以不用位于第一数据线D/S输入的电压和第二数据线输入的电压之间,只要使得第一忆阻器和第二忆阻器两端的压差的方向相反,且第一忆阻器ME1两端的压差和第二忆阻器ME2两端的压差使得该两个忆阻器的其中的一个阻值大于另一个阻值的预置倍数即可。Of course, in practical applications, the voltage of the voltage input by the common voltage line may not be located between the voltage input by the first data line D/S and the voltage input by the second data line. Between the input voltages, as long as the direction of the voltage difference across the first memristor and the second memristor is opposite, and the voltage difference across the first memristor ME1 and the voltage difference across the second memristor ME2 make One of the two memristors may have a resistance value greater than a preset multiple of the other resistance value.
例如,当第一忆阻器M1的正端和第二忆阻器M2的负端相连,或者第一忆阻器M1的负端和第二忆阻器M2的正端相连时,且所述第一数据线(D/S)和所述第二数据线上的电压均大于或者均小于所述公共电压线(VL)上的电压时,由于第一忆阻器M1和第二忆阻器M2两者的正端指向负端的方向相同,而第一忆阻器M1和第二忆阻器M2两者的两端压差相反,因此,第一忆阻器M1和第二忆阻器M2中的其中一个的阻值大于另一个的阻值。当然,第一忆阻器M1两端的压差以及第二忆阻器M2两端的压差需足够大,以分别使得第一忆阻器M1的阻值和第二忆阻器M2中的阻值发生变化。For example, when the positive end of the first memristor M1 is connected to the negative end of the second memristor M2, or the negative end of the first memristor M1 is connected to the positive end of the second memristor M2, and the The first data line (D/S) and the second data line When the voltages on the first memristor M1 and the second memristor M2 are both greater than or less than the voltage on the common voltage line (VL), since the positive terminals of the first memristor M1 and the second memristor M2 point to the negative terminal in the same direction, the first memristor M1 The voltage differences between the two ends of the resistor M1 and the second memristor M2 are opposite, therefore, the resistance of one of the first memristor M1 and the second memristor M2 is greater than the resistance of the other. Of course, the voltage difference across the first memristor M1 and the voltage difference across the second memristor M2 must be large enough to make the resistance of the first memristor M1 and the resistance of the second memristor M2 change.
如图4所示,图4为基于图2所示内容寻址存储单元电路的搜索操作的流程示意图。本实施例中,该操作方法包括:As shown in FIG. 4 , FIG. 4 is a schematic flowchart of a search operation based on the content addressable storage unit circuit shown in FIG. 2 . In this embodiment, the operation method includes:
401、输入电压至所述写信号线WS,使得分压点A和公共电压线VL之间断开。401. Input a voltage to the write signal line WS, so that the voltage dividing point A is disconnected from the common voltage line VL.
本实施例中,由于是对内容寻址存储单元电路内的所存储的数据进行读取,而不是写入,因此先将分压点A和公共电压线VL之间断开,以避免写入数据。In this embodiment, since the data stored in the content addressable memory unit circuit is read instead of written, the voltage dividing point A and the common voltage line VL are first disconnected to avoid writing data. .
具体的,当第一晶体管M1为NMOS管时,输入低电平至写信号线WS,使得第一晶体管M1的源极和漏极之间断开,进而使得分压点A和公共电压线VL之间断开。Specifically, when the first transistor M1 is an NMOS transistor, input a low level to the write signal line WS, so that the source and drain of the first transistor M1 are disconnected, so that the voltage dividing point A and the common voltage line VL disconnected intermittently.
402、输入高电平至所述匹配线WL。402. Input a high level to the matching line WL.
匹配线WL输入高电平。第三晶体管M3控制这匹配线WL和输出线OP之间的导通和断开。当导通时,输出线OP输出高电平,当断开时,输出线OP输出低电平。那么,可以用输出线OP输出高电平表示读取到的数据和搜索的数据一致,输出低电平表示读取到的数据和搜索的数据不一致。或者,用输出线OP输出高电平表示读取到的数据不一致,输出低电平表示读取到的数据和搜索的数据一致,在此不作限制。The match line WL inputs a high level. The third transistor M3 controls on and off between the match line WL and the output line OP. When it is turned on, the output line OP outputs a high level, and when it is turned off, the output line OP outputs a low level. Then, the output line OP can be used to output a high level to indicate that the read data is consistent with the searched data, and to output a low level to indicate that the read data is inconsistent with the searched data. Alternatively, the output line OP outputs a high level to indicate that the read data is inconsistent, and outputs a low level to indicate that the read data is consistent with the searched data, which is not limited here.
403、分别输入电压至所述第一数据线(D/S)和第二数据线其中所述第一数据线(D/S)和第二数据线的其中一个的电压为高电平,另一个的电压为低电平,使得所述分压点A处形成高电平或者低电平。403. Input voltages to the first data line (D/S) and the second data line respectively Wherein the first data line (D/S) and the second data line The voltage of one of them is a high level, and the voltage of the other is a low level, so that the voltage division point A forms a high level or a low level.
本实施例中,可以用输入高电平至第一数据线(D/S),且输入低电平至第二数据线来表示搜素该内容寻址存储单元电路中存储的数据是否为1,用输入低电平至第一数据线(D/S),且输入高电平至第二数据线来表示搜素该内容寻址存储单元电路中存储的数据是否为0。或者,也可以是用输入高电平至第一数据线(D/S),且输入低电平至第二数据线来表示搜素该内容寻址存储单元电路中存储的数据是否为0,用输入低电平至第一数据线(D/S),且输入高电平至第二数据线来表示搜素该内容寻址存储单元电路中存储的数据是否为1,在此不作限制。In this embodiment, you can input high level to the first data line (D/S), and input low level to the second data line To indicate whether the data stored in the content-addressable storage unit circuit is 1 or not, input low level to the first data line (D/S), and input high level to the second data line To indicate whether the data stored in the content-addressable storage unit circuit is 0 or not. Alternatively, it is also possible to input a high level to the first data line (D/S), and input a low level to the second data line To indicate whether the data stored in the content-addressable storage unit circuit is 0, input low level to the first data line (D/S), and input high level to the second data line to indicate whether the data stored in the content-addressable storage unit circuit is 1 or not, which is not limited here.
本实施例中,通过输入电压至所述第一数据线(D/S)和第二数据线使得分压点A处形成电压,且分压点A处的电压(为高电平或者低电平)决定了第三晶体管导通还是断开。而由于第一忆阻器M1和第二忆阻器M2中的其中一个的阻值大于另一个阻值的预置倍数,因此可以通过对所述第一数据线(D/S)和第二数据线的电压的设置,使得分压点A处的电压为高电平或者低电平。In this embodiment, through the input voltage to the first data line (D/S) and the second data line A voltage is formed at the voltage division point A, and the voltage at the voltage division point A (high level or low level) determines whether the third transistor is turned on or off. And since the resistance value of one of the first memristor M1 and the second memristor M2 is greater than the preset multiple of the other resistance value, it is possible to pass the first data line (D/S) and the second memristor data line The setting of the voltage makes the voltage at the voltage dividing point A be high level or low level.
需注意的是,由于所述第一数据线D/S和第二数据线的电压是为了读取内容寻址存储单元电路内的数据,因此,所述第一数据线D/S和第二数据线上的电压使得该两个数据线之间的压差不改变所述第一忆阻器M1和第二忆阻器M2的阻值。It should be noted that since the first data line D/S and the second data line The voltage is to read the data in the content addressable memory cell circuit, therefore, the first data line D/S and the second data line The voltage on the above makes the voltage difference between the two data lines not change the resistance values of the first memristor M1 and the second memristor M2.
404、输入电压至所述搜索信号线SS,使得所述分压点和所述第三晶体管M3之间导通。404. Input a voltage to the search signal line SS, so as to conduct between the voltage dividing point and the third transistor M3.
本实施例中,通过使得分压点A和第三晶体管M3之间导通,由分压点A处的电压决定第三晶体管M3是导通还是断开,也即由分压点A的电压决定匹配线WL上的高电平是否可以经过输出线OP输出。In this embodiment, by making the connection between the voltage dividing point A and the third transistor M3 conduct, the voltage at the voltage dividing point A determines whether the third transistor M3 is turned on or off, that is, the voltage at the voltage dividing point A It is determined whether the high level on the match line WL can be output through the output line OP.
具体的,当第二晶体管M2和第三晶体管M3为NMOS管时,输入高电平至搜索信号线SS,使得第二晶体管M2的源极和漏极之间导通,进而使得分压点A和第三晶体管M3之间导通,以使得分压点A的点入输入第三NMOS管M3的栅极。Specifically, when the second transistor M2 and the third transistor M3 are NMOS transistors, a high level is input to the search signal line SS, so that the source and the drain of the second transistor M2 are conducted, so that the voltage dividing point A and the third transistor M3, so that the point-in of the dividing voltage point A is input to the gate of the third NMOS transistor M3.
405、当所述输出线OP输出所述高电平时,确定读取到所述内容寻址存储单元电路存储的数据为0和1之间的一个,否则确定读取到所述内容寻址存储单元电路存储的数据为0和1之间的另一个。405. When the output line OP outputs the high level, determine that the data stored in the content-addressable storage unit circuit is one between 0 and 1, otherwise determine that the data stored in the content-addressable storage unit is read The data stored by the unit circuit is another between 0 and 1.
下面以第一忆阻器为高阻值且第二忆阻器为低阻值时表示内容寻址存储单元电路存储的数据为0,且第一数据线D/S输入的电压为低电平,第二数据线输入的电压为高电平时表示搜索的数据0进行举例描述。In the following, when the first memristor is a high resistance value and the second memristor is a low resistance value, it means that the data stored in the content addressable memory unit circuit is 0, and the voltage input by the first data line D/S is a low level , the second data line When the input voltage is at a high level, it means that the searched data 0 is described as an example.
当图2所示内容寻址存储单元电路中第一忆阻器的阻值大于第二忆阻器的阻值的预置倍数时(也即内容寻址存储单元电路中存储的数据为0):When the resistance value of the first memristor in the content addressable memory unit circuit shown in FIG. 2 is greater than the preset multiple of the resistance value of the second memristor (that is, the data stored in the content addressable memory unit circuit is 0) :
若第一数据线D/S输入低电平,第二数据线输入高电平(也即要搜索的数据为0),那么分压点A处的电压为高电平,因此第三NMOSM3导通,输出线OP输出高电平,也即当搜索的数据和内容寻址存储单元电路内存储的数据相同时输出高电平。If the first data line D/S input low level, the second data line Input a high level (that is, the data to be searched is 0), then the voltage at the voltage dividing point A is a high level, so the third NMOSM3 is turned on, and the output line OP outputs a high level, that is, when the searched data and When the data stored in the content addressable memory unit circuit is the same, output a high level.
若第一数据线D/S输入高电平,第二数据线输入低电平(也即要搜索的数据为1),那么分压点A处的电压为低电平,因此第三NMOS管M3断开,输出线OP输出低电平,也即当搜索的数据和内容寻址存储单元电路内存储的数据不相同时输出低电平。If the first data line D/S inputs a high level, the second data line Input low level (that is, the data to be searched is 1), then the voltage at the voltage dividing point A is low level, so the third NMOS transistor M3 is disconnected, and the output line OP outputs low level, that is, when the searched When the data is different from the data stored in the content addressable storage unit circuit, it outputs a low level.
从图2所示内容寻址存储单元电路的上述搜索工作过程中可看出,分压点A处需形成高电平时,其中该高电平的具体电压需使得第三NMOS管M3导通,分压点A处需形成低电平时,该低电平的具体电压需使得第三NMOS管M3断开。而分压点A处具体形成的电压决定于第一忆阻器ME1和第二忆阻器ME2的阻值差异,因此,预置倍数的具体设置只要使得分压点A处形成的高电平时的电压高于第三NMOS管M3导通阈值,形成的低电平时的电压低于第三NMOS管M3的导通阈值即可。同理,当第三晶体管不是NMOS管而是其他晶体管时,预置倍数的设置原理同上。It can be seen from the above search process of the content addressable memory cell circuit shown in FIG. 2 that when the voltage dividing point A needs to form a high level, the specific voltage of the high level needs to make the third NMOS transistor M3 conduct. When the voltage dividing point A needs to form a low level, the specific voltage of the low level needs to make the third NMOS transistor M3 turn off. The specific voltage formed at the voltage dividing point A is determined by the resistance difference between the first memristor ME1 and the second memristor ME2. Therefore, the specific setting of the preset multiple only needs to make the high level formed at the voltage dividing point A The voltage is higher than the conduction threshold of the third NMOS transistor M3, and the formed low-level voltage is lower than the conduction threshold of the third NMOS transistor M3. Similarly, when the third transistor is not an NMOS transistor but other transistors, the principle of setting the preset multiple is the same as above.
可选的,本实施例中,在步骤404输入电压至所述搜索信号线SS,使得所述分压点和所述第三晶体管M3之间导通,之前还包括:输入电压至所述搜索信号线SS,使得所述分压点和所述第三晶体管M3之间断开。这样,可以先让分压点处的电压稳定下来后再导通分压点和所述第三晶体管M3。Optionally, in this embodiment, in step 404, inputting a voltage to the search signal line SS, so that the conduction between the voltage dividing point and the third transistor M3 is also included before: inputting a voltage to the search The signal line SS is disconnected between the voltage dividing point and the third transistor M3. In this way, the voltage at the voltage dividing point can be stabilized before turning on the voltage dividing point and the third transistor M3.
本发明还提供了一种存储器,该存储器包括本文中所描述的任意一种内容寻址存储单元电路。The present invention also provides a memory, which includes any content-addressable memory unit circuit described herein.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510465735.6A CN106409335B (en) | 2015-07-31 | 2015-07-31 | Content addressable memory cell circuit and its search and write operation method, memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510465735.6A CN106409335B (en) | 2015-07-31 | 2015-07-31 | Content addressable memory cell circuit and its search and write operation method, memory |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106409335A true CN106409335A (en) | 2017-02-15 |
| CN106409335B CN106409335B (en) | 2019-01-08 |
Family
ID=58007964
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510465735.6A Active CN106409335B (en) | 2015-07-31 | 2015-07-31 | Content addressable memory cell circuit and its search and write operation method, memory |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106409335B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107545922A (en) * | 2017-09-12 | 2018-01-05 | 中国联合网络通信集团有限公司 | Content address storage unit circuit and its write operation method, memory |
| CN108962316A (en) * | 2018-06-25 | 2018-12-07 | 华中科技大学 | Content addressable storage unit and data search matching process based on memristor and CMOS |
| WO2019019920A1 (en) * | 2017-07-26 | 2019-01-31 | The Hong Kong University Of Science And Technology | Hybrid memristor/field-effect transistor memory cell and its information encoding scheme |
| CN114496038A (en) * | 2022-01-12 | 2022-05-13 | 浙江大学 | Analog content addressable memory based on multistage flash memory transistor |
| US20230307048A1 (en) * | 2020-01-15 | 2023-09-28 | Hewlett Packard Enterprise Development Lp | Methods and systems for an analog cam with fuzzy search |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101620884A (en) * | 2008-06-30 | 2010-01-06 | 国际商业机器公司 | High density content addressable memory using phase change devices |
| US20110134676A1 (en) * | 2009-12-04 | 2011-06-09 | International Business Machines Corporation | Resistive memory devices having a not-and (nand) structure |
| US20130054886A1 (en) * | 2010-01-25 | 2013-02-28 | Idatamap Pty. Ltd. | Content addressable memory (cam) |
| US20140153310A1 (en) * | 2012-11-29 | 2014-06-05 | Rambus Inc. | Content addressable memory |
| US20150206586A1 (en) * | 2014-01-20 | 2015-07-23 | National Tsing Hua University | Non-volatile ternary content-addressable memory 4t2r cell with rc-delay search |
-
2015
- 2015-07-31 CN CN201510465735.6A patent/CN106409335B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101620884A (en) * | 2008-06-30 | 2010-01-06 | 国际商业机器公司 | High density content addressable memory using phase change devices |
| US20110134676A1 (en) * | 2009-12-04 | 2011-06-09 | International Business Machines Corporation | Resistive memory devices having a not-and (nand) structure |
| US20130054886A1 (en) * | 2010-01-25 | 2013-02-28 | Idatamap Pty. Ltd. | Content addressable memory (cam) |
| US20140153310A1 (en) * | 2012-11-29 | 2014-06-05 | Rambus Inc. | Content addressable memory |
| US20150206586A1 (en) * | 2014-01-20 | 2015-07-23 | National Tsing Hua University | Non-volatile ternary content-addressable memory 4t2r cell with rc-delay search |
Non-Patent Citations (2)
| Title |
|---|
| KAMRAN ESHRAGHIAN: ""Memristor MOS Content Addressable Memory (MCAM): Hybrid Architecture for Future "", 《IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS》 * |
| YUANFAN YANG: ""MATCHING IN MEMRISTOR BASED AUTO-ASSOCIATIVE MEMORY WITH APPLICATION TO PATTERN "", 《SIGNAL PROCESSING》 * |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019019920A1 (en) * | 2017-07-26 | 2019-01-31 | The Hong Kong University Of Science And Technology | Hybrid memristor/field-effect transistor memory cell and its information encoding scheme |
| US11444124B2 (en) | 2017-07-26 | 2022-09-13 | The Hong Kong University Of Science And Technology | Hybrid memristor/field-effect transistor memory cell and its information encoding scheme |
| CN107545922A (en) * | 2017-09-12 | 2018-01-05 | 中国联合网络通信集团有限公司 | Content address storage unit circuit and its write operation method, memory |
| CN107545922B (en) * | 2017-09-12 | 2020-07-14 | 中国联合网络通信集团有限公司 | Content address storage unit circuit and writing operation method thereof, and memory |
| CN108962316A (en) * | 2018-06-25 | 2018-12-07 | 华中科技大学 | Content addressable storage unit and data search matching process based on memristor and CMOS |
| CN108962316B (en) * | 2018-06-25 | 2020-09-08 | 华中科技大学 | Memristor and CMOS-based Content Addressable Memory Cell and Data Search and Matching Method |
| US20230307048A1 (en) * | 2020-01-15 | 2023-09-28 | Hewlett Packard Enterprise Development Lp | Methods and systems for an analog cam with fuzzy search |
| US12100451B2 (en) * | 2020-01-15 | 2024-09-24 | Hewlett Packard Enterprise Development Lp | Methods and systems for an analog cam with fuzzy search |
| CN114496038A (en) * | 2022-01-12 | 2022-05-13 | 浙江大学 | Analog content addressable memory based on multistage flash memory transistor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106409335B (en) | 2019-01-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104124960B (en) | A kind of non-volatile boolean calculation circuit and its operating method | |
| JP6161959B2 (en) | Sense amplifier circuit for resistive memory | |
| US7038959B2 (en) | MRAM sense amplifier having a precharge circuit and method for sensing | |
| US9847132B1 (en) | Ternary content addressable memories | |
| CN108962316B (en) | Memristor and CMOS-based Content Addressable Memory Cell and Data Search and Matching Method | |
| US9548131B1 (en) | Reduced power read sensing for one-time programmable memories | |
| CN106409335A (en) | Content addressing storage unit circuit and search and write operation methods thereof, and memory | |
| TW201835907A (en) | Non-volatile semiconductor memory device | |
| US9330747B2 (en) | Non-volatile latch using spin-transfer torque memory device | |
| KR20170131367A (en) | Self-storing and self-recovering non-volatile static random access memory | |
| US9552859B2 (en) | Electronic memory including ROM and RAM | |
| US9870821B2 (en) | Electronic device | |
| CN107017020A (en) | A kind of data of nonvolatile storage read method | |
| US20170221539A1 (en) | Electronic device | |
| CN107945830A (en) | A kind of non-volatile three-state content addressing memory and its addressing method | |
| CN203942512U (en) | A kind of non-volatile boolean calculation circuit | |
| US20150348629A1 (en) | Non-Volatile Ternary Content-Addressable Memory with Resistive Memory Device | |
| CN107545922B (en) | Content address storage unit circuit and writing operation method thereof, and memory | |
| US9466341B2 (en) | Sense amplifier circuit | |
| CN107919155A (en) | A kind of non-volatile three-state content addressing memory and its addressing method | |
| WO2020188239A1 (en) | Read and logic operation methods for voltage-divider bit-cell memory devices | |
| US20160343433A1 (en) | Sensing circuit for resistive memory array | |
| US7190608B2 (en) | Sensing of resistance variable memory devices | |
| CN105659330B (en) | A circuit for realizing shift operation and an array circuit | |
| CN112994681A (en) | Logic operation circuit for memory calculation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |