CN107919155A - A kind of non-volatile three-state content addressing memory and its addressing method - Google Patents

A kind of non-volatile three-state content addressing memory and its addressing method Download PDF

Info

Publication number
CN107919155A
CN107919155A CN201610885142.XA CN201610885142A CN107919155A CN 107919155 A CN107919155 A CN 107919155A CN 201610885142 A CN201610885142 A CN 201610885142A CN 107919155 A CN107919155 A CN 107919155A
Authority
CN
China
Prior art keywords
line
search
storage
matching
volatile
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.)
Pending
Application number
CN201610885142.XA
Other languages
Chinese (zh)
Inventor
薛晓勇
林殷茵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fudan University
Original Assignee
Fudan University
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 Fudan University filed Critical Fudan University
Priority to CN201610885142.XA priority Critical patent/CN107919155A/en
Publication of CN107919155A publication Critical patent/CN107919155A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C15/00Digital 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/04Digital 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

Landscapes

  • Static Random-Access Memory (AREA)

Abstract

本发明涉及嵌入式控制领域,公开了一种非易失三态内容寻址存储器及其寻址方法,所述存储器包括:搜索线、匹配线、互补搜索线和多个存储单元,所述存储单元包括第一存储电阻和第二存储电阻,所述第一存储电阻的第一端与所述搜索线相连,所述第一存储电阻的第二端与所述匹配线相连,所述第二存储电阻的第一端与所述互补搜索线相连,所述第二存储电阻的第二端与所述匹配线相连。本发明提供的非易失三态内容寻址存储器及其实现寻址方法,具有存储密度大和可靠性强特点。

The invention relates to the field of embedded control, and discloses a non-volatile tri-state content addressable memory and its addressing method. The memory includes: a search line, a matching line, a complementary search line and a plurality of storage units. The unit includes a first storage resistor and a second storage resistor, the first end of the first storage resistor is connected to the search line, the second end of the first storage resistor is connected to the matching line, and the second The first end of the storage resistor is connected to the complementary search line, and the second end of the second storage resistor is connected to the matching line. The non-volatile three-state content addressable memory and its addressing method provided by the invention have the characteristics of high storage density and high reliability.

Description

一种非易失三态内容寻址存储器及其寻址方法A non-volatile tri-state content addressable memory and its addressing method

技术领域technical field

本发明涉及嵌入式控制领域,特别是涉及一种非易失三态内容寻址存储器及其实现方法。The invention relates to the field of embedded control, in particular to a non-volatile three-state content addressable memory and its realization method.

背景技术Background technique

在大数据和云计算时代,随着各种智能设备的普及,大量的数据随之产生,同时也需要网络进行传输。为了提高数据传输效率和安全性,在路由器中对数据进行筛选变得非常必要。传统基于软件的筛选方法主要依赖CPU(中央处理器)和主存之间进行多次存取和比较操作实现,时间成本和功耗代价都比较大。而TCAM(ternary content addressablememory,三态内容寻址存储器)作为一种硬件层面的解决方案,可以通过并行比较实现快速高效的查找和匹配,较好地解决了传统软件实现方法存在的问题。In the era of big data and cloud computing, with the popularization of various smart devices, a large amount of data is generated, and it also needs to be transmitted by the network. In order to improve the efficiency and security of data transmission, it becomes very necessary to screen data in routers. The traditional software-based screening method mainly relies on multiple access and comparison operations between the CPU (Central Processing Unit) and the main memory, and the time cost and power consumption cost are relatively large. TCAM (ternary content addressable memory, ternary content addressable memory), as a hardware-level solution, can realize fast and efficient search and matching through parallel comparison, and better solve the problems existing in traditional software implementation methods.

TCAM的快速查找和匹配往往是以芯片面积的增长和功耗的增加为代价。传统的TCAM设计以SRAM(静态随机存取存储器)为基础,单个TCAM单元往往需要12-16个晶体管,单元面积过大导致TCAM存储密度很难提升,同时,面积大也导致寄生电容较大,造成动态(active)功耗较大。另外,传统的TCAM继承了SRAM的易失特性,静态(standby)模式不能切断电源,否则所存储的信息丢失,这一特性也导致其静态功耗较大。The fast lookup and matching of TCAM is often at the cost of increasing chip area and power consumption. The traditional TCAM design is based on SRAM (Static Random Access Memory). A single TCAM unit often requires 12-16 transistors. The large unit area makes it difficult to increase the storage density of TCAM. At the same time, the large area also leads to large parasitic capacitance. Cause dynamic (active) power consumption is bigger. In addition, the traditional TCAM inherits the volatile characteristic of SRAM, and the power supply cannot be cut off in the static (standby) mode, otherwise the stored information will be lost. This characteristic also leads to a large static power consumption.

针对传统TCAM存在的问题,目前的一个研究热点是如何基于新型非易失存储器来实现高密度非易失TCAM。在国际上,著名的研究机构包括IBM、NEC和Tohoku大学、TSMC和台湾清华大学等在集成电路领域的旗舰会议ISSCC(国际固态集成电路会议)和Symposium onVLSI Circuits(VLSIC,大规模集成电路研讨会)从2011年到2016年连续六年报道非易失TCAM的相关成果,相比传统TCAM,现有的非易失TCAM具有单元面积较小、静态功耗低等优点。首先,TCAM单元中晶体管数目减少到2-6个,大大减小了TCAM单元的面积,其次,新型存储器的非易失特性使得TCAM在休眠状态下可以彻底断电而不用担心信息丢失,有利于减小了静态功耗。但是,现有的非易失TCAM方案仍存在一些问题,主要表现在:Aiming at the problems existing in traditional TCAM, a current research hotspot is how to realize high-density non-volatile TCAM based on a new type of non-volatile memory. Internationally, well-known research institutions including IBM, NEC and Tohoku University, TSMC and Tsinghua University in Taiwan, etc. are the flagship conferences in the field of integrated circuits ISSCC (International Solid State Integrated Circuits Conference) and Symposium onVLSI Circuits (VLSIC, Large-Scale Integrated Circuits Symposium ) from 2011 to 2016 reported the relevant achievements of non-volatile TCAM for six consecutive years. Compared with traditional TCAM, the existing non-volatile TCAM has the advantages of smaller unit area and low static power consumption. First of all, the number of transistors in the TCAM unit is reduced to 2-6, which greatly reduces the area of the TCAM unit. Secondly, the non-volatile characteristics of the new memory allow the TCAM to be completely powered off in the dormant state without worrying about information loss, which is beneficial to Reduced static power consumption. However, there are still some problems in the existing non-volatile TCAM scheme, mainly in:

“0”和“1”信号之间的存储窗口较小,对于基于MRAM的非易失TCAM,由于MRAM本身Roff/Ron(Ron为低阻,Roff为高阻)较小,且易受波动影响,导致相应的非易失TCAM中的“0”和“1”信号之间的存储窗口小。对于基于RRAM的非易失TCAM,由于其主要依赖RRAM存储电阻与晶体管之间分压获得“0”或“1”,而晶体管和RRAM存储电阻在小尺寸时波动都比较大,且波动规律不一致,导致所得到的“0”和“1”信号之间的存储窗口易受波动影响而变差。The storage window between "0" and "1" signals is small. For non-volatile TCAM based on MRAM, because MRAM itself has a small Roff/Ron (Ron is low resistance, Roff is high resistance) and is susceptible to fluctuations , resulting in a small storage window between the “0” and “1” signals in the corresponding nonvolatile TCAM. For RRAM-based non-volatile TCAM, because it mainly relies on the voltage division between the RRAM storage resistor and the transistor to obtain "0" or "1", and the transistor and the RRAM storage resistor fluctuate greatly when the size is small, and the fluctuation rules are inconsistent , causing the resulting storage window between "0" and "1" signals to be susceptible to fluctuations and deteriorate.

TCAM单元的面积仍然较大,现有的最小非易失TCAM单元面积仍有50F2(F为每个工艺代下的特征尺寸)。由于现有的非易失TCAM单元仍需要晶体管的辅助才能实现TCAM功能,而晶体管需要制作在CMOS前段工艺上,这样一方面撑大TCAM单元的面积,另一方面也限制了TCAM单元三维(3D)集成的可能性,也不利于发挥RRAM的3D可集成能力。The area of the TCAM unit is still relatively large, and the area of the smallest non-volatile TCAM unit is still 50F2 (F is the characteristic size of each process generation). Since the existing non-volatile TCAM unit still needs the assistance of a transistor to realize the TCAM function, and the transistor needs to be fabricated on the CMOS front-end process, this will expand the area of the TCAM unit on the one hand, and limit the three-dimensional (3D) of the TCAM unit on the other hand. ) is not conducive to the possibility of 3D integration of RRAM.

发明内容Contents of the invention

本发明的目的是提供一种存储密度大和可靠性强的非易失三态内容寻址存储器及其寻址方法。The object of the present invention is to provide a non-volatile three-state content addressable memory with high storage density and strong reliability and its addressing method.

为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种非易失三态内容寻址存储器,所述存储器包括:搜索线、匹配线、互补搜索线和多个存储单元,所述存储单元包括第一存储电阻和第二存储电阻,所述第一存储电阻的第一端与所述搜索线相连,所述第一存储电阻的第二端与所述匹配线相连,所述第二存储电阻的第一端与所述互补搜索线相连,所述第二存储电阻的第二端与所述匹配线相连。A non-volatile three-state content addressable memory, the memory includes: a search line, a match line, a complementary search line and a plurality of storage units, the storage unit includes a first storage resistor and a second storage resistor, the first The first end of a storage resistor is connected to the search line, the second end of the first storage resistor is connected to the matching line, and the first end of the second storage resistor is connected to the complementary search line, so The second end of the second storage resistor is connected to the matching line.

可选的,所述存储单元还包括第一限流器件和第二限流器件,所述第一存储电阻的第一端与所述第一限流器件串联后再与所述搜索线相连,所述第二存储电阻的第一端与所述第二限流器件串联后再与所述互补搜索线相连。Optionally, the storage unit further includes a first current limiting device and a second current limiting device, the first end of the first storage resistor is connected in series with the first current limiting device and then connected to the search line, The first end of the second storage resistor is connected in series with the second current limiting device and then connected to the complementary search line.

可选的,所述多个存储单元呈阵列式排布,位于同一行上的所述存储单元共用一条匹配线,不位于同行上的所述存储单元不共用一条匹配线,位于同一列上的所述存储单元共用一条搜索线和互补搜索线,不位于同一列上的所述存储单元不共用同一条搜索线,且不位于同一列上的所述存储单元不共用同一条互补搜索线。Optionally, the plurality of storage units are arranged in an array, the storage units located in the same row share a matching line, the storage units not located in the same row do not share a matching line, and the storage units located in the same column do not share a matching line. The storage units share a search line and a complementary search line, the storage units not located in the same column do not share the same search line, and the storage units not located in the same column do not share the same complementary search line.

可选的,所述存储器还包括:Optionally, the memory also includes:

匹配线驱动电路,所述匹配线驱动电路与所述匹配线相连,所述匹配线驱动电路用于产生置位电压;A matching line driving circuit, the matching line driving circuit is connected to the matching line, and the matching line driving circuit is used to generate a set voltage;

搜索线驱动电路,所述搜索线驱动电路分别与所述搜索线、所述互补搜索线相连,所述搜索线驱动电路用于产生复位电压;A search line drive circuit, the search line drive circuit is respectively connected to the search line and the complementary search line, and the search line drive circuit is used to generate a reset voltage;

匹配线灵敏放大器,所述匹配线灵敏放大器与所述匹配线相连,所述匹配线灵敏放大器用于将匹配信号放大并输出。A match line sense amplifier, the match line sense amplifier is connected to the match line, and the match line sense amplifier is used to amplify and output the match signal.

本发明还提供了一种应用于上述非易失三态内容寻址存储器的寻址方法,所述匹配线的输出端与灵敏放大器的输入端相连接,所述方法包括:The present invention also provides an addressing method applied to the above-mentioned non-volatile tri-state content addressable memory, wherein the output end of the matching line is connected to the input end of the sense amplifier, and the method includes:

获取搜索信号,所述搜索信号包括“1”、“0”和“X”;obtaining a search signal, the search signal including "1", "0" and "X";

判断所述搜索信号是否为“1”;judging whether the search signal is "1";

如果是,则将匹配线和搜索线充电至预充电电压,互补搜索线保持低电平;If yes, charge the match line and search line to the precharge voltage, and keep the complementary search line low;

如果否,则判断所述搜索信号是否为“0”;If not, then judging whether the search signal is "0";

如果所述搜索信号为“0”,则将所述匹配线和互补搜索线预充电至高电平,搜索线保持低电平;If the search signal is "0", precharge the matching line and the complementary search line to a high level, and keep the search line at a low level;

如果所述搜索信号不为“0”,则判断所述搜索信号是否为“X”;If the search signal is not "0", then judge whether the search signal is "X";

如果所述搜索信号为“X”,则将所述搜索线、匹配线和互补搜索线预充电至高电平;if the search signal is "X", precharging the search line, the match line and the complementary search line to a high level;

获取所述匹配线输出端的电压;obtaining the voltage at the output terminal of the matching line;

判断所述输出电压是否大于参考电压,所述参考电压的值为设定值,所述设定值为高电平VH2和低电平VL2中间的一个电平值,所述高电平VH2为所述所述信号与所述存储单元的存储信息发生匹配时,匹配线在放电阶段放电后的电平值,所述低电平VL2为所述所述信号与所述存储单元的存储信息不匹配时,匹配线在放电阶段放电后的电平值;Judging whether the output voltage is greater than a reference voltage, the value of the reference voltage is a set value, the set value is a level value between the high level VH2 and the low level VL2, and the high level VH2 is When the signal matches the storage information of the storage unit, the level value of the matching line after discharge in the discharge phase, the low level VL2 is the difference between the signal and the storage information of the storage unit When matching, the level value of the matching line after discharge in the discharge phase;

如果是,则输出“1”;If yes, output "1";

如果否,则输出“0”。If not, output "0".

根据本发明提供的具体实施例,本发明公开了以下技术效果:本发明提供的非易失三态内容寻址存储器,采用可以在互补金属氧化物半导体CMOS后段工艺集成的器件来构建存储单元,不包含需要在CMOS前段工艺集成的晶体管,一方面,减小了存储单元的体积,增大了存储器的存储密度,另一方面,使存储器的3D集成成为可能。而且,本发明在搜索信息时,采用匹配线驱动电路将匹配线充电至预充电电压,采用搜索线驱动电路将所述搜索线和所述互补搜索线的电压复位,即“0”和“1”信号的获得并不是通过晶体管的分压得到的,避免了由晶体管的分压带来的“0”和“1”信号之间的存储窗口小的问题,提高了存储器的可靠性。According to the specific embodiment provided by the present invention, the present invention discloses the following technical effects: the non-volatile three-state content addressable memory provided by the present invention adopts devices that can be integrated in the complementary metal oxide semiconductor CMOS back-end process to construct the storage unit , does not contain transistors that need to be integrated in the CMOS front-end process. On the one hand, it reduces the volume of the memory unit and increases the storage density of the memory. On the other hand, it makes the 3D integration of the memory possible. Moreover, when the present invention is searching for information, the matching line driving circuit is used to charge the matching line to the precharge voltage, and the searching line driving circuit is used to reset the voltages of the searching line and the complementary searching line, that is, "0" and "1" "The signal is not obtained through the voltage division of the transistor, which avoids the problem of a small storage window between the "0" and "1" signals caused by the voltage division of the transistor, and improves the reliability of the memory.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为本发明第一实施例的非易失三态内容寻址存储器的存储单元的结构示意图;FIG. 1 is a schematic structural diagram of a storage unit of a non-volatile tri-state content addressable memory according to a first embodiment of the present invention;

图2为本发明第二实施例的非易失三态内容寻址存储器的存储单元的结构示意图;2 is a schematic structural diagram of a storage unit of a non-volatile tri-state content addressable memory according to a second embodiment of the present invention;

图3为本发明第一实施例的非易失三态内容寻址存储器的结构示意图;3 is a schematic structural diagram of a non-volatile tri-state content addressable memory according to the first embodiment of the present invention;

图4为本发明第二实施例的非易失三态内容寻址存储器的结构示意图;4 is a schematic structural diagram of a non-volatile tri-state content addressable memory according to a second embodiment of the present invention;

图5为本发明非易失三态内容寻址存储器的寻址方法流程示意图;Fig. 5 is a schematic flow chart of the addressing method of the non-volatile three-state content addressable memory of the present invention;

图6为本发明第一实施例的非易失三态内容寻址存储器寻址时的充放电示意图。FIG. 6 is a schematic diagram of charging and discharging of the non-volatile tri-state content addressable memory in addressing according to the first embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的目的是提供一种存储密度大和可靠性强的非易失三态内容寻址存储器及其寻址方法。The object of the present invention is to provide a non-volatile three-state content addressable memory with high storage density and strong reliability and its addressing method.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

图1为本发明第一实施例的非易失三态内容寻址存储器的结构示意图,如图1所示,非易失三态内容寻址存储器包括:搜索线107、109,匹配线102、103,互补搜索线106、108,匹配线驱动电路110,搜索线驱动电路101,多个匹配线灵敏放大器104、105和多个存储单元111,所述多个存储单元呈阵列式排布,位于同一行上的所述存储单元共用一条匹配线,不位于同行上的所述存储单元不共用一条匹配线,位于同一列上的所述存储单元共用一条搜索线和互补搜索线,不位于同一列上的所述存储单元不共用同一条搜索线,且不位于同一列上的所述存储单元不共用同一条互补搜索线;匹配线灵敏放大器与匹配线一一对应连接,匹配线的输出端与所述匹配线灵敏放大器的输入端相连接,所述匹配线灵敏放大器用于对匹配线的输出电压与参考电压Vref1进行比较,并将比较结果放大输出;所述匹配线驱动电路110与所述匹配线相连,所述匹配线驱动电路110用于产生置位电压;所述搜索线驱动电路101分别与所述搜索线、所述互补搜索线相连,所述搜索线驱动电路101用于产生复位电压。图2为本发明第一实施例的非易失三态内容寻址存储器的存储单元的结构示意图,如图2所示,所述存储单元包括第一存储电阻204和第二存储电阻207,所述第一存储电阻204的第一端206与所述搜索线202相连,所述第一存储电阻204的第二端205与所述匹配线201相连,所述第二存储电阻207的第一端209与所述互补搜索线203相连,所述第二存储电阻207的第二端208与所述匹配线201相连。FIG. 1 is a schematic structural diagram of a nonvolatile three-state content addressable memory according to the first embodiment of the present invention. As shown in FIG. 1, the nonvolatile three-state content addressable memory includes: search lines 107, 109, match lines 102, 103, complementary search lines 106, 108, match line drive circuit 110, search line drive circuit 101, multiple match line sense amplifiers 104, 105 and multiple storage units 111, the multiple storage units are arranged in an array, located at The memory cells in the same row share a matching line, the memory cells not in the same row do not share a matching line, the memory cells in the same column share a search line and a complementary search line, and are not in the same column The memory cells above do not share the same search line, and the memory cells not located in the same column do not share the same complementary search line; the match line sense amplifier is connected to the match line one by one, and the output end of the match line is connected to the match line The input terminals of the match line sense amplifier are connected, and the match line sense amplifier is used to compare the output voltage of the match line with the reference voltage Vref1, and amplify and output the comparison result; the match line drive circuit 110 is connected to the The matching lines are connected, and the matching line driving circuit 110 is used to generate a set voltage; the search line driving circuit 101 is respectively connected to the search line and the complementary search line, and the search line driving circuit 101 is used to generate a reset Voltage. FIG. 2 is a schematic structural diagram of a storage unit of a nonvolatile three-state content addressable memory according to the first embodiment of the present invention. As shown in FIG. 2 , the storage unit includes a first storage resistor 204 and a second storage resistor 207, so The first terminal 206 of the first storage resistor 204 is connected to the search line 202, the second terminal 205 of the first storage resistor 204 is connected to the matching line 201, and the first terminal of the second storage resistor 207 209 is connected to the complementary search line 203 , and the second end 208 of the second storage resistor 207 is connected to the matching line 201 .

图3为本发明第二实施例的非易失三态内容寻址存储器的存储单元的结构示意图,如图3所示,本发明提供的非易失三态内容寻址存储器的第二实施例中,存储单元中的第一存储电阻302第一端303与第一限流器件304串联后再与所述搜索线305相连,所述第二存储电阻306的第一端308与所述第二限流器件309串联后再与所述互补搜索线310相连,第一存储电阻302的第二端303与匹配线301相连,第二存储电阻306的第二端307与匹配线301相连。图4为本发明第二实施例的非易失三态内容寻址存储器的结构示意图,如图4所示,本实施例的非易失三态内容寻址存储器的存储单元411为具有限流器件的存储单元,其他元件及连接关系与第一实施例中的非易失三态内容寻址存储器相同,该非易失三态内容寻址存储器包括搜索线407、409,匹配线402、403,互补搜索线406、408,匹配线驱动电路410,搜索线驱动电路401,多个匹配线灵敏放大器404、405和多个存储单元411。Fig. 3 is a schematic structural diagram of the storage unit of the non-volatile tri-state content addressable memory according to the second embodiment of the present invention. As shown in Fig. 3, the second embodiment of the non-volatile tri-state content-addressable memory provided by the present invention In the storage unit, the first terminal 303 of the first storage resistor 302 in the storage unit is connected in series with the first current limiting device 304 and then connected to the search line 305, and the first terminal 308 of the second storage resistor 306 is connected to the second The current limiting device 309 is connected in series with the complementary search line 310 , the second terminal 303 of the first storage resistor 302 is connected to the matching line 301 , and the second terminal 307 of the second storage resistor 306 is connected to the matching line 301 . FIG. 4 is a schematic structural diagram of a nonvolatile three-state content addressable memory according to a second embodiment of the present invention. As shown in FIG. 4 , the storage unit 411 of the nonvolatile three-state content addressable memory in this embodiment has The storage unit of the device, other elements and connection relationship are the same as the non-volatile tri-state content addressable memory in the first embodiment, and the non-volatile tri-state content-addressable memory includes search lines 407, 409, matching lines 402, 403 , complementary search lines 406, 408, match line drive circuit 410, search line drive circuit 401, multiple match line sense amplifiers 404, 405 and multiple memory cells 411.

本发明提供的非易失三态内容寻址存储器采用阻变式存储器RRAM等可以在后段工艺集成的器件构建而成,并没有使用在互补金属氧化物半导体CMOS工艺的前段制作的晶体管等器件,减小了存储单元的体积,增大了存储器的存储密度,同时,本发明提供的非易失三态内容寻址存储器不再使用传统的晶体管分压的方式获得“1”和“0”的存储窗口,避免了“1”和“0”窗口波动大,不稳定的问题出现,增强了信息存储的可靠性。The non-volatile tri-state content addressable memory provided by the present invention is constructed by devices such as resistive variable memory RRAM that can be integrated in the back-end process, and does not use transistors and other devices manufactured in the front-end of the complementary metal oxide semiconductor CMOS process , the volume of the storage unit is reduced, and the storage density of the memory is increased. At the same time, the non-volatile tri-state content addressable memory provided by the present invention no longer uses the traditional transistor voltage division method to obtain "1" and "0". The storage window avoids the problem of large fluctuations and instability in the "1" and "0" windows, and enhances the reliability of information storage.

图5为本发明非易失三态内容寻址存储器的寻址方法流程示意图,如图5所示,该寻址方法步骤如下:Fig. 5 is a schematic flow chart of the addressing method of the non-volatile three-state content addressable memory of the present invention, as shown in Fig. 5, the steps of the addressing method are as follows:

步骤501:获取搜索信号,所述搜索信号包括“1”、“0”和“X”,“1”、“0”和“X”为逻辑值;Step 501: Obtain a search signal, the search signal includes "1", "0" and "X", and "1", "0" and "X" are logic values;

步骤502:判断所述搜索信号是否为“1”;Step 502: judging whether the search signal is "1";

步骤503:如果所述搜索信号为“1”,则匹配线驱动电路将匹配线充电至预充电电压,搜索线驱动电路将搜索线充电至预充电电压,互补搜索线保持低电平,对于本发明第一实施例中的不含限流器件的存储单元,所述预充电电压一般为电源电压,对于本发明第二实施例中含有限流器件的存储单元,所述预充电电压一般为电源电压与所述限流器件的导通电压之和。之后,存储器进入放电阶段,图6为本发明第一实施例的非易失三态内容寻址存储器寻址时的充放电示意图,如图6所示,在搜索“1”,如果所述存储单元存储的逻辑值为“1”,则所述存储单元对匹配线只有高阻放电通路,在同行其他存储单元也发生匹配的情况下,匹配线ML只会放电到一个较高电平VH1,由于匹配线ML和搜索线SL之间是存储电阻为低阻态,搜索线SL也会随匹配线ML放电到一个较高电平,如图6中的实线607所示;如果所述存储单元存储的逻辑值为“0”,所述存储单元对匹配线ML会有低阻放电通路,匹配线ML会放电到较低电平VL1,如图6中的虚线608所示,搜索线SL和匹配线ML之间的存储电阻为高阻态,搜索线SL会放电到一个较高电平;Step 503: If the search signal is "1", the match line drive circuit charges the match line to the pre-charge voltage, the search line drive circuit charges the search line to the pre-charge voltage, and the complementary search line remains low. For this For the storage unit without a current limiting device in the first embodiment of the invention, the precharge voltage is generally the power supply voltage; for the storage unit containing the current limiting device in the second embodiment of the present invention, the precharge voltage is generally the power supply voltage voltage and the sum of the conduction voltage of the current limiting device. Afterwards, the memory enters the discharge phase. FIG. 6 is a schematic diagram of charging and discharging of the non-volatile three-state content addressable memory in the first embodiment of the present invention when addressing. As shown in FIG. 6, when searching for "1", if the stored If the logic value stored in the cell is "1", then the memory cell has only a high-impedance discharge path to the matching line. When other memory cells in the same row also match, the matching line ML will only discharge to a higher level VH1. Since the storage resistor between the matching line ML and the search line SL is in a low-resistance state, the search line SL will also discharge to a higher level along with the matching line ML, as shown by the solid line 607 in FIG. 6; if the storage The logic value stored in the cell is "0", and the memory cell will have a low-impedance discharge path to the matching line ML, and the matching line ML will be discharged to a lower level VL1, as shown by the dotted line 608 in FIG. 6 , the search line SL The storage resistor between the matching line ML and the matching line ML is in a high-impedance state, and the search line SL will be discharged to a higher level;

步骤504:如果所述搜索信号不为“1”,则判断所述搜索信号是否为“0”;Step 504: If the search signal is not "1", then judge whether the search signal is "0";

步骤505:如果所述搜索信号为“0”,则将所述匹配线和互补搜索线预充电至高电平,搜索线保持低电平,之后,进入放电比较阶段,如图6所示,在搜索“0”时,如果所述存储单元存储的逻辑值为“0”,则所述存储单元对匹配线ML只有高阻放电通路,在同行其他存储单元也发生匹配的情况下,匹配线ML只会放电到一个较高电平VH1,如图6中的实线604所示,由于匹配线ML和互补搜索线SLB之间是存储电阻为低阻态,互补搜索线SLB也会随匹配线ML放电到一个较高电平;如果存储单元所存逻辑值为“1”,则该存储单元对匹配线ML会有低阻放电通路,匹配线ML会放电到较低电平VL1,如图6中的虚线605所示,互补搜索线SLB和匹配线ML之间的存储电阻为高阻态,互补搜索线SLB会放电到一个较高电平;Step 505: If the search signal is "0", precharge the matching line and the complementary search line to a high level, and keep the search line at a low level, and then enter the discharge comparison stage, as shown in FIG. 6 , in When searching for "0", if the logic value stored in the storage unit is "0", then the storage unit has only a high-impedance discharge path to the matching line ML. It will only be discharged to a higher level VH1, as shown by the solid line 604 in Figure 6, since the storage resistor between the matching line ML and the complementary search line SLB is in a low resistance state, the complementary search line SLB will also follow the matching line ML is discharged to a higher level; if the logic value stored in the memory cell is "1", the memory cell will have a low-impedance discharge path to the matching line ML, and the matching line ML will be discharged to a lower level VL1, as shown in Figure 6 As shown by the dotted line 605 in , the storage resistor between the complementary search line SLB and the matching line ML is in a high-impedance state, and the complementary search line SLB will be discharged to a higher level;

步骤506:如果所述搜索信号不为“0”,则判断所述搜索信号是否为“X”;Step 506: If the search signal is not "0", then judge whether the search signal is "X";

步骤507:如果所述搜索信号为“X”,则将所述搜索线、匹配线和互补搜索线预充电至高电平,之后,进入放电比较阶段,如图6所示,不管所述存储单元所存逻辑值是“1”还是“0”,所述存储单元不会对所述匹配线放电;Step 507: If the search signal is "X", precharge the search line, match line and complementary search line to a high level, and then enter the discharge comparison stage, as shown in FIG. 6 , regardless of the storage unit Whether the stored logic value is "1" or "0", the storage unit will not discharge the matching line;

步骤508:获取所述匹配线输出端的电压;Step 508: Obtain the voltage at the output terminal of the matching line;

步骤509:判断所述输出电压是否大于参考电压,所述参考电压的值为设定值,所述设定值为所述高电平VH2和所述低电平VL2中间的一个电平值,如图6中的虚线611所示;Step 509: judging whether the output voltage is greater than a reference voltage, the value of the reference voltage is a set value, and the set value is a level value between the high level VH2 and the low level VL2, As shown by the dotted line 611 in FIG. 6;

步骤510:如果所述输出电压大于参考电压,则与匹配线相连的灵敏放大器输出“1”,代表存储器单元存储信息与搜索信息相匹配,所述灵敏放大器为一个比较放大器;Step 510: If the output voltage is greater than the reference voltage, the sense amplifier connected to the matching line outputs "1", which means that the stored information of the memory unit matches the search information, and the sense amplifier is a comparison amplifier;

步骤511:如果所述输出电压小于或等于参考电压,则与匹配线相连的灵敏放大器输出“0”,代表存储器单元存储信息与搜索信息不匹配。Step 511: If the output voltage is less than or equal to the reference voltage, the sense amplifier connected to the matching line outputs "0", which means that the stored information of the memory unit does not match the search information.

本发明所述的预充电电压在本发明提供的第一实施例中一般为电源电压,在第二实施例中为电源电压与限流器件的导通电压之和。The pre-charging voltage in the present invention is generally the power supply voltage in the first embodiment provided by the present invention, and is the sum of the power supply voltage and the conduction voltage of the current limiting device in the second embodiment.

其中,对于第一实施例中的存储单元存储的真值表如表一所示,对于第一实施例中的存储单元存储的真值表如表二所示。Wherein, the truth table stored in the storage unit in the first embodiment is shown in Table 1, and the truth table stored in the storage unit in the first embodiment is shown in Table 2.

表一Table I

存储数据Storing data 第一存储电阻(RRAM电阻)The first memory resistance (RRAM resistance) 第二存储电阻(RRAM电阻)Second storage resistor (RRAM resistor) 00 HRS(高阻态)HRS (high resistance state) LRS(低阻态)LRS (low resistance state) 11 LRS(低阻态)LRS (low resistance state) HRS(高阻态)HRS (high resistance state) Xx HRS(高阻态)HRS (high resistance state) HRS(高阻态)HRS (high resistance state)

表二Table II

存储数据Storing data 第一存储电阻(RRAM电阻)The first memory resistance (RRAM resistance) 第二存储电阻(RRAM电阻)Second storage resistor (RRAM resistor) 00 HRS(高阻态)HRS (high resistance state) LRS(低阻态)LRS (low resistance state) 11 LRS(低阻态)LRS (low resistance state) HRS(高阻态)HRS (high resistance state) Xx HRS(高阻态)HRS (high resistance state) HRS(高阻态)HRS (high resistance state)

对于本发明提供的非易失三态内容寻址存储器的写操作采用施加激励的方式,分为两步,先写左边电阻,然后写右边电阻,激励施加方式与crossbar架构的写操作类似,可采用VPP/2或VPP/3算法。VSET为set(置位)电压;VRESET为reset(复位)电压,VT为限流器件的导通电压。VSET和VRESET电压由ML驱动电路201和SL驱动电路204产生,第一实施例提供的非易失三态内容寻址存储器的写操作的VPP/2算法施加激励方式如表三所示,VPP/3算法施加激励方式如表四所示,第二实施例提供的非易失三态内容寻址存储器的写操作的VPP/2算法施加激励方式如表五所示,VPP/3算法施加激励方式如表六所示。The writing operation of the non-volatile tri-state content addressable memory provided by the present invention adopts the method of applying excitation, which is divided into two steps, first writing the left resistance, and then writing the right resistance. The excitation application method is similar to the writing operation of the crossbar architecture, which can be Use VPP/2 or VPP/3 algorithm. VSET is the set (set) voltage; VRESET is the reset (reset) voltage, and VT is the conduction voltage of the current-limiting device. The VSET and VRESET voltages are generated by the ML drive circuit 201 and the SL drive circuit 204. The VPP/2 algorithm applied excitation method for the write operation of the non-volatile tri-state content addressable memory provided by the first embodiment is shown in Table 3, VPP/ 3. The incentive method for applying the algorithm is shown in Table 4. The incentive method for applying the VPP/2 algorithm for the write operation of the non-volatile three-state content addressable memory provided by the second embodiment is shown in Table 5. The incentive method for applying the VPP/3 algorithm As shown in Table 6.

本发明提供的非易失三态内容寻址存储器在进行写操作以及搜索信息时,采用驱动电路置位、复位和充电,不再使用传统的晶体管分压的方式获得“1”和“0”的存储窗口,避免了“1”和“0”窗口波动大,不稳定的问题出现,增强了信息存储的可靠性。The non-volatile tri-state content addressable memory provided by the present invention adopts the drive circuit to set, reset and charge when performing write operations and searching information, and no longer uses the traditional transistor voltage division method to obtain "1" and "0" The storage window avoids the problem of large fluctuations and instability in the "1" and "0" windows, and enhances the reliability of information storage.

表三Table three

表四Table four

表五Table five

表六Table six

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those of ordinary skill in the art, according to the present invention Thoughts, there will be changes in specific implementation methods and application ranges. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (5)

1.一种非易失三态内容寻址存储器,其特征在于,所述存储器包括:搜索线、匹配线、互补搜索线和多个存储单元,所述存储单元包括第一存储电阻和第二存储电阻,所述第一存储电阻的第一端与所述搜索线相连,所述第一存储电阻的第二端与所述匹配线相连,所述第二存储电阻的第一端与所述互补搜索线相连,所述第二存储电阻的第二端与所述匹配线相连。1. A non-volatile tri-state content addressable memory, characterized in that the memory comprises: a search line, a match line, a complementary search line and a plurality of storage units, and the storage unit comprises a first storage resistor and a second storage resistor A storage resistor, the first end of the first storage resistor is connected to the search line, the second end of the first storage resistor is connected to the matching line, the first end of the second storage resistor is connected to the The complementary search line is connected, and the second end of the second storage resistor is connected to the matching line. 2.根据权利要求1所述的非易失三态内容寻址存储器,其特征在于,所述存储单元还包括第一限流器件和第二限流器件,所述第一存储电阻的第一端与所述第一限流器件串联后再与所述搜索线相连,所述第二存储电阻的第一端与所述第二限流器件串联后再与所述互补搜索线相连。2. The non-volatile tri-state content addressable memory according to claim 1, wherein the storage unit further comprises a first current limiting device and a second current limiting device, and the first storage resistance of the first The terminal is connected in series with the first current limiting device and then connected to the search line, and the first terminal of the second storage resistor is connected in series with the second current limiting device and then connected to the complementary search line. 3.根据权利要求1或2所述的非易失三态内容寻址存储器,其特征在于,所述多个存储单元呈阵列式排布,位于同一行上的所述存储单元共用一条匹配线,位于不同行上的所述存储单元占用不同的匹配线,位于同一列上的所述存储单元共用一条搜索线和互补搜索线,位于不同列上的所述存储单元占用不同的搜索线,且位于不同列上的所述存储单元占用不同的互补搜索线。3. The non-volatile tri-state content addressable memory according to claim 1 or 2, wherein the plurality of storage units are arranged in an array, and the storage units located in the same row share a matching line , the storage units located in different rows occupy different matching lines, the storage units located in the same column share a search line and a complementary search line, and the storage units located in different columns occupy different search lines, and The memory cells located on different columns occupy different complementary search lines. 4.根据权利要求1或2所述的非易失三态内容寻址存储器,其特征在于,所述存储器还包括:4. The non-volatile tri-state content addressable memory according to claim 1 or 2, wherein the memory further comprises: 匹配线驱动电路,所述匹配线驱动电路与所述匹配线相连,所述匹配线驱动电路用于产生置位电压;A matching line driving circuit, the matching line driving circuit is connected to the matching line, and the matching line driving circuit is used to generate a set voltage; 搜索线驱动电路,所述搜索线驱动电路分别与所述搜索线、所述互补搜索线相连,所述搜索线驱动电路用于产生复位电压;A search line drive circuit, the search line drive circuit is respectively connected to the search line and the complementary search line, and the search line drive circuit is used to generate a reset voltage; 匹配线灵敏放大器,所述匹配线灵敏放大器与所述匹配线相连,所述匹配线灵敏放大器用于将匹配信号放大并输出。A match line sense amplifier, the match line sense amplifier is connected to the match line, and the match line sense amplifier is used to amplify and output the match signal. 5.一种非易失三态内容寻址存储器的寻址方法,其特征在于,所述方法应用于如所述权利要求1或2所述的非易失三态内容寻址存储器所述匹配线的输出端与灵敏放大器的输入端相连接,所述方法包括:5. An addressing method for a non-volatile three-state content-addressable memory, characterized in that, the method is applied to the matching of the non-volatile three-state content-addressable memory as described in claim 1 or 2. The output end of line is connected with the input end of sense amplifier, and described method comprises: 获取搜索信号,所述搜索信号包括“1”、“0”和“X”;obtaining a search signal, the search signal including "1", "0" and "X"; 判断所述搜索信号是否为“1”;judging whether the search signal is "1"; 如果是,则将匹配线和搜索线充电至预充电电压,互补搜索线保持低电平;If yes, charge the match line and search line to the precharge voltage, and keep the complementary search line low; 如果否,则判断所述搜索信号是否为“0”;If not, then judging whether the search signal is "0"; 如果所述搜索信号为“0”,则将所述匹配线和互补搜索线预充电至高电平,搜索线保持低电平;If the search signal is "0", precharge the matching line and the complementary search line to a high level, and keep the search line at a low level; 如果所述搜索信号不为“0”,则判断所述搜索信号是否为“X”;If the search signal is not "0", then judge whether the search signal is "X"; 如果所述搜索信号为“X”,则将所述搜索线、匹配线和互补搜索线预充电至高电平;if the search signal is "X", precharging the search line, the match line and the complementary search line to a high level; 获取所述匹配线输出端的电压;obtaining the voltage at the output end of the matching line; 判断所述输出电压是否大于参考电压,所述参考电压的值为设定值,所述设定值小于高电平VH2且大于低电平VL2,所述高电平VH2为所述所述信号与所述存储单元的存储信息发生匹配时,匹配线在放电阶段放电后的电平值,所述低电平VL2为所述所述信号与所述存储单元的存储信息不匹配时,匹配线在放电阶段放电后的电平值;Judging whether the output voltage is greater than a reference voltage, the value of the reference voltage is a set value, the set value is less than the high level VH2 and greater than the low level VL2, and the high level VH2 is the signal When matching with the storage information of the storage unit, the level value of the match line after discharge in the discharge phase, the low level VL2 is when the signal does not match the storage information of the storage unit, the match line The level value after discharge in the discharge phase; 如果是,则输出“1”;If yes, output "1"; 如果否,则输出“0”。If not, output "0".
CN201610885142.XA 2016-10-11 2016-10-11 A kind of non-volatile three-state content addressing memory and its addressing method Pending CN107919155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610885142.XA CN107919155A (en) 2016-10-11 2016-10-11 A kind of non-volatile three-state content addressing memory and its addressing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610885142.XA CN107919155A (en) 2016-10-11 2016-10-11 A kind of non-volatile three-state content addressing memory and its addressing method

Publications (1)

Publication Number Publication Date
CN107919155A true CN107919155A (en) 2018-04-17

Family

ID=61891809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610885142.XA Pending CN107919155A (en) 2016-10-11 2016-10-11 A kind of non-volatile three-state content addressing memory and its addressing method

Country Status (1)

Country Link
CN (1) CN107919155A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945830A (en) * 2016-10-12 2018-04-20 复旦大学 A kind of non-volatile three-state content addressing memory and its addressing method
CN108615812A (en) * 2018-05-14 2018-10-02 浙江大学 A kind of three-state content addressing memory based on memory diode
CN112837720A (en) * 2021-01-22 2021-05-25 之江实验室 A high-density tri-state content addressable memory and its addressing method
CN113971973A (en) * 2018-07-16 2022-01-25 蓝枪半导体有限责任公司 Control Circuit for Tri-State Content Addressable Memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373890A (en) * 1999-07-12 2002-10-09 莫塞德技术公司 Circuit and method for multiple match detection in content addressable memories
US8908407B1 (en) * 2011-07-30 2014-12-09 Rambus Inc. Content addressable memory (“CAM”)
CN105280223A (en) * 2014-05-27 2016-01-27 瑞萨电子株式会社 Semiconductor integrated circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1373890A (en) * 1999-07-12 2002-10-09 莫塞德技术公司 Circuit and method for multiple match detection in content addressable memories
US8908407B1 (en) * 2011-07-30 2014-12-09 Rambus Inc. Content addressable memory (“CAM”)
CN105280223A (en) * 2014-05-27 2016-01-27 瑞萨电子株式会社 Semiconductor integrated circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALIBERT F,SHERWOOD T,STRUKOV D B: "Hybrid CMOS/Nanodevice Circuits for High Throughput Pattern Matching Applications", 《NASA/ESA CONFERENCE ON ADAPTIVE HARDWARE AND SYSTEMS(AHS)》 *
刘刚: "基于忆阻器的三态内容寻址存储器设计", 《CNKI硕士论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945830A (en) * 2016-10-12 2018-04-20 复旦大学 A kind of non-volatile three-state content addressing memory and its addressing method
CN108615812A (en) * 2018-05-14 2018-10-02 浙江大学 A kind of three-state content addressing memory based on memory diode
CN113971973A (en) * 2018-07-16 2022-01-25 蓝枪半导体有限责任公司 Control Circuit for Tri-State Content Addressable Memory
CN112837720A (en) * 2021-01-22 2021-05-25 之江实验室 A high-density tri-state content addressable memory and its addressing method

Similar Documents

Publication Publication Date Title
CN107945830A (en) A kind of non-volatile three-state content addressing memory and its addressing method
KR102183055B1 (en) Sense amplifier circuitry for resistive type memory
JP6246509B2 (en) Sense amplifier circuit for resistive memory
US8885386B2 (en) Write driver in sense amplifier for resistive type memory
CN108962316B (en) Content addressable memory unit based on memristor and CMOS and data search matching method
US10121537B2 (en) Electronic device
CN113990368B (en) Dynamic storage structure based on austenite threshold switching device and operation method thereof
TW201835907A (en) Non-volatile semiconductor memory device
US11114147B2 (en) Self-boost, source following, and sense-and-hold for accessing memory cells
CN107919155A (en) A kind of non-volatile three-state content addressing memory and its addressing method
CN115810374A (en) Memory circuit and memory computing circuit with BCAM addressing and logic operation functions
Lin et al. Read‐decoupled 8T1R non‐volatile SRAM with dual‐mode option and high restore yield
CN112837720A (en) A high-density tri-state content addressable memory and its addressing method
US9312006B2 (en) Non-volatile ternary content-addressable memory with resistive memory device
US20160072493A1 (en) Current comparator and electronic device including the same
CN104134461A (en) Reading circuit structure of HMC
CN109935260A (en) An Average 7T1R Cell Circuit Using Multiple Multiplexing Strategy
CN111899775A (en) An SRAM memory cell circuit that can realize multiple logic functions and BCAM operations
CN118116429A (en) Word line control circuit and magnetic random access memory
CN117219139A (en) Implementation method of physical unclonable function based on self-activated resistive random access device
CN105097010B (en) A kind of ferroelectric memory
CN106898376A (en) Contents address memory and its processing method
TWI844013B (en) Content addressable memory device, content addressable memory cell and method for data searching and comparing thereof
CN112927738B (en) Nonvolatile device based circuit and charge domain memory computing method
TWI841107B (en) Memory device and operation method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180417

WD01 Invention patent application deemed withdrawn after publication