CN102403018B - Matching detection method and circuit of content addressable memory cell - Google Patents

Matching detection method and circuit of content addressable memory cell Download PDF

Info

Publication number
CN102403018B
CN102403018B CN201110347928.3A CN201110347928A CN102403018B CN 102403018 B CN102403018 B CN 102403018B CN 201110347928 A CN201110347928 A CN 201110347928A CN 102403018 B CN102403018 B CN 102403018B
Authority
CN
China
Prior art keywords
npn
transistor
signal line
type transistor
circuit
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.)
Expired - Fee Related
Application number
CN201110347928.3A
Other languages
Chinese (zh)
Other versions
CN102403018A (en
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.)
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201110347928.3A priority Critical patent/CN102403018B/en
Publication of CN102403018A publication Critical patent/CN102403018A/en
Application granted granted Critical
Publication of CN102403018B publication Critical patent/CN102403018B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dram (AREA)
  • Read Only Memory (AREA)

Abstract

本发明涉及内容可寻址存储器存储单元匹配检测方法和电路。本发明通过对第一匹配信号线的充电电路、对第二匹配信号线的反馈控制电路进行充电或控制充电;或非存储单元内容匹配,匹配信号线之间存在电压差则输出匹配信号;或非存储单元内容不匹配,匹配信号线之间不存在电压差则不输出匹配信号。本发明简单可靠;与传统的存储单元匹配检测方法相比,减少额外的偏置电压和偏置电流,进一步降低功耗。

The invention relates to a content addressable memory storage unit matching detection method and circuit. In the present invention, the charging circuit of the first matching signal line and the feedback control circuit of the second matching signal line are charged or controlled; or the content of the non-storage unit is matched, and a matching signal is output if there is a voltage difference between the matching signal lines; or If the content of the non-memory cells does not match, if there is no voltage difference between the matching signal lines, no matching signal will be output. The invention is simple and reliable; compared with the traditional storage unit matching detection method, the extra bias voltage and bias current are reduced, and the power consumption is further reduced.

Description

内容可寻址存储器存储单元匹配检测方法和电路Content addressable memory storage unit matching detection method and circuit

技术领域 technical field

本发明涉及内容可寻址存储器,尤其涉及内容可寻址存储器存储单元匹配检测方法和电路。The present invention relates to a content addressable memory, in particular to a matching detection method and circuit of a content addressable memory storage unit.

背景技术 Background technique

内容可寻址存储器(Content-Addressable Memory,CAM)是一种用于特定高速搜索应用的内容寻址存储器。其工作原理为:当用户提供一个数据时,CAM会遍历整个存储空间,搜索该数据是否存在于存储器中,如果存在,CAM会返回一个或多个命中数据存在的地址。CAM作为一种特殊存储器,会在单次运算中搜索整个存储器。因此,在搜索应用中,CAM比普通存储器快很多。CAM的快速搜索特性使得CAM特别适用于网络设备、中央处理器、以及视频硬编解码等应用中。Content-Addressable Memory (CAM) is a content-addressable memory for specific high-speed search applications. Its working principle is: when the user provides a piece of data, CAM will traverse the entire storage space to search whether the data exists in the storage, and if so, CAM will return one or more addresses where the hit data exists. CAM is a special memory that searches the entire memory in a single operation. Therefore, in search applications, CAM is much faster than ordinary memory. The fast search feature of CAM makes CAM especially suitable for applications such as network equipment, central processing unit, and video hard codec.

传统的内容可寻址存储器的存储单元结构根据匹配类型的异同分为与非型存储单元和或非型存储单元。图1是传统9T(Transistor,晶体管)结构的与非型存储单元。与非型存储单元匹配信号线(Match Line)通过与临近的存储单元相互连接形成整体的匹配线。即晶体管T1的源极与前一存储单元的漏极连接,T1的漏极与后一存储单元的源极连接。与非型存储单元的结构决定了所搜索的内容只要有一处与存储内容不匹配,则整条匹配信号线将不会放电。与非型存储单元的缺点是,若内容全部匹配时,匹配信号线通过级联的晶体管T1进行放电,而当存储内容较多时放电速度将会非常的慢。The storage unit structure of traditional content addressable memory is divided into NAND type storage unit and NOR type storage unit according to the similarities and differences of matching types. FIG. 1 is a NAND memory cell with a traditional 9T (Transistor, transistor) structure. The NAND-type memory cell matching signal line (Match Line) forms an overall match line by connecting with adjacent memory cells. That is, the source of the transistor T1 is connected to the drain of the previous memory cell, and the drain of T1 is connected to the source of the next memory cell. The structure of the NAND storage unit determines that as long as one of the searched content does not match the stored content, the entire matching signal line will not be discharged. The disadvantage of the NAND memory cell is that if the content is all matched, the matching signal line will discharge through the cascaded transistor T1, and the discharge speed will be very slow when the storage content is large.

图2是或非型存储单元,通过连接不同存储单元中开路的漏极形成整体的匹配信号线。采用并联的方式,避免与非型存储单元内部晶体管的级联,使得或非型存储单元非常适用于高速结构当中。如果搜索内容中的某一位和存储单元中的内容不匹配,或非型存储单元的匹配信号线便开始放电。当且仅当所寻找内容匹配时,匹配信号线才不会放电。或非型的存储单元的放电速度较快,但由于频繁放电和充电,使得内容可寻址存储器的功率消耗很大。FIG. 2 is a NOR type memory cell, and an overall matching signal line is formed by connecting the open drains of different memory cells. The method of parallel connection avoids the cascade connection with the internal transistors of the non-type memory cells, so that the NOR-type memory cells are very suitable for high-speed structures. If a certain bit in the search content does not match the content in the memory cell, the matching signal line of the non-type memory cell starts to discharge. The matching signal line will not discharge if and only if what it is looking for matches. The discharge speed of the NOR memory cell is fast, but the power consumption of the content addressable memory is very large due to frequent discharge and charge.

为了降低或非型存储单元匹配信号线的功耗问题,目前出现了多种检测方法。图3是电流竞赛检测原理图。如图3所示,基于电流竞赛的检测方法需要一组虚拟匹配信号线(Dummy ML)做对比信号。该DML始终处于匹配的状态。该方法在进行匹配信号线状态检测的时候,首先匹配信号线复位信号(MLrst)有效,将匹配信号线(ML)初始化到低电平;然后匹配线使能信号(MLen)由低变高,开启匹配信号线的充电路径。当DML充电到敏感放大器(SA)的阀值后,产生匹配信号线关断信号(MLoff),该关断信号将关断所有匹配信号线的充电路径。只有匹配的匹配信号线在该充电时间内才会使得敏感放大器(SA)产生输出信号(MLout),一旦有不匹配的匹配信号线将不会充电超过敏感放大器(SA)的阀值。该方法通过减少匹配信号线的充电摆幅降低了整体匹配信号线的功耗。In order to reduce the power consumption of the matching signal line of the NOR type memory cell, various detection methods have appeared at present. Figure 3 is a schematic diagram of current race detection. As shown in Figure 3, the detection method based on the current race requires a set of virtual matching signal lines (Dummy ML) as a comparison signal. The DML is always in a matching state. When the method detects the state of the matching signal line, first the matching signal line reset signal (MLrst) is valid, and the matching signal line (ML) is initialized to a low level; then the matching line enable signal (MLen) changes from low to high, Open the charging path of the matching signal line. When the DML is charged to the threshold of the sensitive amplifier (SA), a matching signal line off signal (MLoff) is generated, which will turn off the charging path of all matching signal lines. Only the matched matching signal line will make the sensitive amplifier (SA) generate an output signal (MLout) within the charging time, and once there is a mismatched matching signal line, it will not be charged beyond the threshold of the sensitive amplifier (SA). The method reduces the power consumption of the overall matching signal line by reducing the charging swing of the matching signal line.

图4是节省电流检测原理图。该方案类似电流竞赛检测方法,同样利用虚拟匹配信号线(DML)和敏感放大器(SA)的阀值电压控制匹配信号线的充电时间,降低整体功耗,该方案的不同之处在于,通过电流节省技术在匹配信号线有丢失的情况下将减小匹配线的充电电流,从而进一步降低整体功耗。Figure 4 is a schematic diagram of the current saving detection. This scheme is similar to the current race detection method. It also uses the threshold voltage of the virtual matching signal line (DML) and the sensitive amplifier (SA) to control the charging time of the matching signal line and reduce the overall power consumption. The difference of this scheme is that the current The saving technique will reduce the charging current of the matching line in the case of loss of the matching signal line, thereby further reducing the overall power consumption.

图5是正反馈式检测原理图。该方案类似节省电流的匹配线检测方法,利用正反馈降低在丢失匹配状态下对匹配信号线的充电电流,降低整体功耗。Figure 5 is a schematic diagram of positive feedback detection. This scheme is similar to the current-saving matching line detection method, which uses positive feedback to reduce the charging current of the matching signal line in the state of missing matching, and reduces the overall power consumption.

由上述传统3种方案可知,初始化对匹配信号线的放电仍旧浪费很大的功耗;采用电流节省技术和正反馈技术能够减少在内容不匹配状态下对匹配信号线的充电电流,但需要额外的偏置电压和在控制支路上消耗额外的静态电流为代价。因此,如何更进一步降低或非存储单元匹配信号线的功耗是目前有待解决的重要问题。From the above three traditional solutions, it can be seen that the initial discharge of the matching signal line still wastes a lot of power consumption; the use of current saving technology and positive feedback technology can reduce the charging current of the matching signal line in the state of content mismatch, but requires additional Offset voltage and additional quiescent current consumed in the control branch. Therefore, how to further reduce the power consumption of the or non-memory cell matching signal line is an important problem to be solved at present.

发明内容 Contents of the invention

本发明提供了一种能解决以上问题的内容可寻址存储器存储单元匹配检测方法和电路。The present invention provides a content addressable memory storage unit matching detection method and circuit that can solve the above problems.

在第一方面,本发明提供了一种内容可寻址存储器存储单元匹配检测方法,其中若干或非存储单元并联形成第一匹配信号线(MLA)和第二匹配信号线(MLB),所述方法包括:对所述第一匹配信号线充电的充电电路、连接在所述第二匹配线的反馈控制电路;所述若干或非存储单元内容均匹配时,所述第一匹配信号线和所述第二匹配信号线之间存在电压差足以导致输出匹配信号;所述若干或非存储单元中至少一个内容不匹配时,所述第一匹配信号线通过所述内容不匹配的或非存储单元对所述第二匹配信号线充电,并促使所述反馈控制电路关断所述充电电路,由此所述第一匹配信号线和所述第二匹配信号线之间的电压差不足以输出匹配信号。In a first aspect, the present invention provides a content addressable memory storage unit matching detection method, wherein several NOR storage units are connected in parallel to form a first matching signal line (MLA) and a second matching signal line (MLB), said The method includes: a charging circuit for charging the first matching signal line, a feedback control circuit connected to the second matching line; when the contents of the several or non-storage units all match, the first matching signal line and the There is a voltage difference between the second matching signal lines sufficient to cause an output matching signal; when at least one of the several or non-storage units does not match, the first matching signal line passes through the or non-storage unit whose content does not match charging the second matching signal line and causing the feedback control circuit to turn off the charging circuit, whereby the voltage difference between the first matching signal line and the second matching signal line is insufficient to output a matching Signal.

在第二方面,本发明提供了一种内容可寻址存储器存储单元匹配检测电路,包括预充电电路、充电电路、反馈控制电路、均衡电路和若干或非存储单元,所述预充电电路与所述充电电路以及反馈控制电路连接,由所述若干或非存储单元并联形成第一匹配信号线和第二匹配信号线,所述充电电路与所述第一匹配信号线连接,所述反馈控制电路与所述第二匹配信号线连接,所述均衡电路连接在所述第一匹配信号线和所述第二匹配信号线之间。In a second aspect, the present invention provides a content-addressable memory storage unit matching detection circuit, including a pre-charging circuit, a charging circuit, a feedback control circuit, an equalization circuit and several NOR storage units, the pre-charging circuit and the The charging circuit and the feedback control circuit are connected, the first matching signal line and the second matching signal line are formed by the parallel connection of the several or non-storage units, the charging circuit is connected to the first matching signal line, and the feedback control circuit connected to the second matching signal line, and the equalization circuit is connected between the first matching signal line and the second matching signal line.

在第三方面,本发明提供了一种互补式内容可寻址存储器存储单元匹配检测方法,其中若干或非存储单元并联形成第一匹配信号线(MLA)和第二匹配信号线(MLB),所述方法包括:连接在所述第一匹配信号线的反馈控制电路、对在第二匹配信号线放电的放电电路,所述若干或非存储单元内容均匹配时,所述第一匹配信号线和所述第二匹配信号线之间存在电压差足以导致输出匹配信号;所述若干或非存储单元中至少一个内容不匹配时,所述内容不匹配的或非存储单元通过所述放电电路放电,并促使所述反馈控制电路关断所述放电电路,由此所述第一匹配信号线和所述第二匹配信号线之间的电压差不足以输出匹配信号。In a third aspect, the present invention provides a matching detection method for a complementary content addressable memory storage unit, wherein several NOR storage units are connected in parallel to form a first matching signal line (MLA) and a second matching signal line (MLB), The method includes: a feedback control circuit connected to the first matching signal line, a discharge circuit for discharging on the second matching signal line, when the contents of the several or non-memory cells all match, the first matching signal line There is a voltage difference between the second matching signal line and the second matching signal line enough to cause an output matching signal; when the content of at least one of the several or non-storage cells does not match, the non-storage cell whose content does not match is discharged through the discharge circuit , and prompt the feedback control circuit to turn off the discharge circuit, so that the voltage difference between the first matching signal line and the second matching signal line is insufficient to output a matching signal.

在第四方面,本发明提供了一种互补式内容可寻址存储器存储单元匹配检测电路,包括预放电电路、放电电路、反馈控制电路、均衡电路和若干或非存储单元,所述预放电电路与所述放电电路以及反馈控制电路连接,由所述若干或非存储单元并联形成的第一匹配信号线和第二匹配信号线,所述反馈控制电路与所述第一匹配信号线连接,所述放电电路与所述第二匹配信号线连接,所述均衡电路连接在所述第一匹配信号线和所述第二匹配信号线之间。In a fourth aspect, the present invention provides a complementary content addressable memory storage unit matching detection circuit, including a pre-discharge circuit, a discharge circuit, a feedback control circuit, an equalization circuit and several NOR storage units, the pre-discharge circuit Connected with the discharge circuit and the feedback control circuit, the first matching signal line and the second matching signal line formed by the parallel connection of the several or non-storage units, the feedback control circuit is connected with the first matching signal line, so The discharge circuit is connected to the second matching signal line, and the equalization circuit is connected between the first matching signal line and the second matching signal line.

本发明利用动态控制匹配线的充电方法减少电流消耗,根据匹配线号线产生的电压差信号检测结果。本发明简单可靠;与传统的匹配信号线检测方法相比,降低电流消耗,减少额外的偏置电压和偏置电流。The invention utilizes the charging method of dynamically controlling the matching line to reduce the current consumption, and detects the result of the voltage difference signal generated by the matching line number line. The invention is simple and reliable; compared with the traditional matching signal line detection method, the current consumption is reduced, and the extra bias voltage and bias current are reduced.

附图说明 Description of drawings

图1是传统结构与非型存储单元;Fig. 1 is traditional structure and non-type storage unit;

图2是或非型存储单元;Fig. 2 is NOR type storage unit;

图3是电流竞赛检测原理图;Figure 3 is a schematic diagram of the current race detection;

图4是节省电流检测原理图;Fig. 4 is a schematic diagram of saving current detection;

图5是正反馈式检测原理图;Fig. 5 is a schematic diagram of positive feedback detection;

图6是或非存储单元匹配检测电路框图;Fig. 6 is a block diagram of a non-memory cell matching detection circuit;

图7是或非存储单元匹配检测电路原理图;Fig. 7 is a schematic diagram of a non-memory cell matching detection circuit;

图8是或非存储单元匹配检测电路时序控制图;Fig. 8 is a timing control diagram of the matching detection circuit of the NOR memory cell;

图9是互补式或非存储单元匹配检测电路框图;Fig. 9 is a complementary or non-memory cell matching detection circuit block diagram;

图10是互补式或非存储单元匹配检测电路原理图;Fig. 10 is a schematic diagram of a complementary or non-memory cell matching detection circuit;

图11是互补式或非存储单元匹配检测电路时序控制图。FIG. 11 is a timing control diagram of a complementary or non-memory cell matching detection circuit.

具体实施方式 Detailed ways

下面将参照附图对本发明的具体实施例进行更详尽的说明,图6是本发明实施例或非存储单元匹配检测电路框图,图7是或非存储单元匹配检测电路原理图。如图6所示,或非存储单元匹配检测电路包括:预充电电路、充电电路、反馈控制电路、均衡电路、或非存储单元、敏感放大器(SA)、电源和地,其中,或非存储单元的数量大于1,第一匹配信号线MLA和第二匹配线信号MLB由若干个或非存储单元并联而成(以下简称匹配信号线MLA和匹配线信号MLB)。The specific embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. FIG. 6 is a block diagram of an OR non-memory cell matching detection circuit according to an embodiment of the present invention, and FIG. 7 is a schematic diagram of an OR non-memory cell matching detection circuit. As shown in Figure 6, the non-storage unit matching detection circuit includes: pre-charging circuit, charging circuit, feedback control circuit, equalization circuit, or non-storage unit, sensitive amplifier (SA), power supply and ground, wherein, the non-storage unit The number is greater than 1, and the first matching signal line MLA and the second matching line signal MLB are formed by parallel connection of several NOR memory cells (hereinafter referred to as matching signal line MLA and matching line signal MLB).

如图7所示,该电路晶体管N1、N2、N3、N4、N5和或非存储单元内部均为NMOS晶体管;晶体管P1和P2为PMOS管。预充电电路包括第一P型晶体管P1。充电电路包括第二P型晶体管P2和第四N型晶体管N4,其功能是根据反馈控制电路的变化动态地控制对匹配信号线MLA的充电。反馈控制电路包括第二N型晶体管N2、第三N型晶体管N3和第一N型晶体管N1,其中,第二N型晶体管N2和第三N型晶体管N3构成电流镜,反馈控制电路的功能是根据匹配信号线MLB电压的变化反馈控制充电电路,同时也实现对匹配线MLB放电的功能。在本实施例中均衡电路第五N型包括晶体管N5,其功能是对匹配信号线MLA和匹配信号线MLB初始化。As shown in FIG. 7 , the transistors N1 , N2 , N3 , N4 , N5 and the NOR memory cells of the circuit are all NMOS transistors inside; the transistors P1 and P2 are PMOS transistors. The pre-charging circuit includes a first P-type transistor P1. The charging circuit includes a second P-type transistor P2 and a fourth N-type transistor N4, the function of which is to dynamically control the charging of the matching signal line MLA according to the change of the feedback control circuit. The feedback control circuit comprises a second N-type transistor N2, a third N-type transistor N3 and a first N-type transistor N1, wherein the second N-type transistor N2 and the third N-type transistor N3 form a current mirror, and the function of the feedback control circuit is According to the change of the voltage of the matching signal line MLB, the charging circuit is feedback-controlled, and the function of discharging the matching line MLB is also realized. In this embodiment, the fifth N-type equalization circuit includes a transistor N5 whose function is to initialize the matching signal line MLA and the matching signal line MLB.

预充电电路中第一P型晶体管P1的源极与充电电路中第二P型晶体管P2的源极连接在电源上,且第一P型晶体管P1的栅极由预充电信号PRE(以下简称PRE信号)控制,其漏极与第二N型晶体管N2的漏极连接于A点;第二P型晶体管P2的栅极由非评估信号NEVAL(以下简称NEVAL信号)控制,其漏极与充电电路中第四N型晶体管N4的漏极相连,第二N型晶体管N2和第四N型晶体管N4形成串联;第四N型晶体管N4的栅极连接于A点;匹配信号线MLA连接在第四N型晶体管N4的源极与均衡电路中第五N型晶体管N5的漏极之间;反馈控制电路中第三N型晶体管N 3的栅极与漏极均连接在匹配信号线MLB上;匹配信号线MLB一端与第二N型晶体管N2和第三N型晶体管N3的栅极相连,另一端与第五N型晶体管N5的源极相连,第五N型晶体管N5的栅极由复位信号RST(以下简称RET信号)控制;第二N型晶体管N2和第三N型晶体管N3栅极相连,且两晶体管源极相连作为电流镜的输出支路;反馈控制电路中第一N型晶体管N1的漏极与第二N型晶体管N2和第三N型晶体管N3的源极连接,且其栅极由评估信号EVAL(以下简称EVAL信号)控制;敏感放大器的正、负输入端分别连接在匹配信号线MLA和匹配信号线MLB上,敏感放大器的输出端为匹配信号线输出信号MLSO(以下简称MLSO信号)。The source of the first P-type transistor P1 in the pre-charging circuit and the source of the second P-type transistor P2 in the charging circuit are connected to the power supply, and the gate of the first P-type transistor P1 is controlled by the pre-charging signal PRE (hereinafter referred to as PRE signal) control, its drain is connected to point A with the drain of the second N-type transistor N2; the gate of the second P-type transistor P2 is controlled by the non-evaluation signal NEVAL (hereinafter referred to as NEVAL signal), and its drain is connected to the charging circuit The drains of the fourth N-type transistor N4 are connected, the second N-type transistor N2 and the fourth N-type transistor N4 are connected in series; the gate of the fourth N-type transistor N4 is connected to point A; the matching signal line MLA is connected to the fourth Between the source of the N-type transistor N4 and the drain of the fifth N-type transistor N5 in the balance circuit; the gate and the drain of the third N-type transistor N3 in the feedback control circuit are all connected on the matching signal line MLB; One end of the signal line MLB is connected to the gates of the second N-type transistor N2 and the third N-type transistor N3, and the other end is connected to the source of the fifth N-type transistor N5. The gate of the fifth N-type transistor N5 is controlled by the reset signal RST (hereinafter referred to as RET signal) control; the gate of the second N-type transistor N2 and the third N-type transistor N3 are connected, and the sources of the two transistors are connected as the output branch of the current mirror; the first N-type transistor N1 in the feedback control circuit The drain is connected to the source of the second N-type transistor N2 and the third N-type transistor N3, and its grid is controlled by the evaluation signal EVAL (hereinafter referred to as the EVAL signal); the positive and negative input terminals of the sensitive amplifier are respectively connected to the matching signal On the line MLA and the matching signal line MLB, the output terminal of the sensitive amplifier is the matching signal line output signal MLSO (hereinafter referred to as the MLSO signal).

下面结合图8对图7的检测电路的工作过程做具体描述。图8是或非存储单元匹配检测电路时序控制图。The working process of the detection circuit in FIG. 7 will be described in detail below in conjunction with FIG. 8 . FIG. 8 is a timing control diagram of the matching detection circuit of the NOR memory cell.

在首次进行比较匹配时,如图8所示,系统在时钟信号CLK下工作,RST信号高电平有效,将对匹配信号线MLA和匹配信号线MLB均衡。均衡后匹配信号线MLA和MLB为低电平。PRE信号为低电平有效,第一P型晶体管P1导通,A点首先预充电到电源电压。EVAL信号为低电平,NEval信号为高电平,使第二P型晶体管P2和第一N型晶体管N1为关断状态。When comparing and matching for the first time, as shown in FIG. 8 , the system works under the clock signal CLK, and the RST signal is active at high level, which equalizes the matching signal line MLA and the matching signal line MLB. After equalization, the matching signal lines MLA and MLB are at low level. The PRE signal is active at low level, the first P-type transistor P1 is turned on, and point A is firstly precharged to the power supply voltage. The EVAL signal is at low level, and the NEval signal is at high level, so that the second P-type transistor P2 and the first N-type transistor N1 are turned off.

当EVAL信号跳变为高电平时,NEval信号为低电平,第二P型晶体管P2和第一N型晶体管N1为导通状态。由于节点A首先预充电到电源,此刻第四N型晶体管N4为导通状态,第二P型晶体管P2将通过第四N型晶体管N4对匹配线MLA充电。此时如果或非存储单元内容不匹配,则匹配信号线不匹配,匹配信号线MLB也将通过或非单元内部的放电路径充电,匹配信号线MLB电压升高。当匹配信号线MLB的电压超过第三N型晶体管N3的阀值后,第三N型晶体管N3和第二N型晶体管N2导通。由于第二N型晶体管N2的导通,节点A将通过反馈控制电路放电,使节点A的电压下降,导致第四N型晶体管N4被关断。此时,反馈控制电路将充电电路关断,充电电路不再继续对匹配信号线MLA充电,匹配信号线MLA电压不在继续上升,整个充电过程结束。When the EVAL signal transitions to a high level, the NEval signal is at a low level, and the second P-type transistor P2 and the first N-type transistor N1 are turned on. Since the node A is pre-charged to the power supply first, the fourth N-type transistor N4 is turned on at this moment, and the second P-type transistor P2 will charge the matching line MLA through the fourth N-type transistor N4. At this time, if the content of the NOR memory cell does not match, the matching signal line does not match, and the matching signal line MLB will also be charged through the discharge path inside the NOR cell, and the voltage of the matching signal line MLB rises. When the voltage of the matching signal line MLB exceeds the threshold value of the third N-type transistor N3, the third N-type transistor N3 and the second N-type transistor N2 are turned on. Due to the conduction of the second N-type transistor N2, the node A will be discharged through the feedback control circuit, so that the voltage of the node A will drop, and the fourth N-type transistor N4 will be turned off. At this time, the feedback control circuit turns off the charging circuit, the charging circuit does not continue to charge the matching signal line MLA, the voltage of the matching signal line MLA does not continue to rise, and the entire charging process ends.

由于或非存储单元内容不匹配,使得匹配信号线MLA和匹配信号线MLB的电压基本保持一致,从而不会使敏感放大器SA翻转,不产生匹配MLSO信号。Because the contents of the NOR memory cells do not match, the voltages of the matching signal line MLA and the matching signal line MLB are basically consistent, so that the sensitive amplifier SA will not be reversed, and the matching MLSO signal will not be generated.

倘若或非存储单元内容匹配,则匹配信号线MLB不会被或非单元内部放电路径充电,此时充电电路继续对匹配信号线MLA充电,使其电压上升,而匹配信号线MLB的电压保持不变,匹配信号线MLA与匹配信号线MLB之间的电压差会使敏感放大器SA翻转,产生匹配MLSO信号。If the content of the NOR storage unit matches, the matching signal line MLB will not be charged by the internal discharge path of the NOR unit. At this time, the charging circuit continues to charge the matching signal line MLA to increase its voltage, while the voltage of the matching signal line MLB remains constant. The voltage difference between the matching signal line MLA and the matching signal line MLB will cause the sensitive amplifier SA to flip and generate a matching MLSO signal.

需要说明的是均衡电路也可由第六N型晶体管和第三P型晶体管组成的传输门来实现其功能,第六N型晶体管的漏极与第三P型晶体管的源极均连接在第一匹配信号线上,第六N型晶体管的源极与第三P型晶体管的漏极均连接在所述第二匹配信号线上,第六N型晶体管的栅极连接复位信号,第三P型晶体管的栅极连接非复位信号。It should be noted that the equalization circuit can also realize its function by a transmission gate composed of a sixth N-type transistor and a third P-type transistor, and the drain of the sixth N-type transistor and the source of the third P-type transistor are connected to the first On the matching signal line, the source of the sixth N-type transistor and the drain of the third P-type transistor are connected to the second matching signal line, the gate of the sixth N-type transistor is connected to the reset signal, and the gate of the third P-type transistor is connected to the reset signal. The gate of the transistor is connected to a non-reset signal.

上文描述的是在首次进行比较匹配时,充电的方法与匹配比较方法,在后续的充电方法与匹配比较方法体现出节省功耗的特点。What has been described above is the charging method and matching comparison method when the comparison and matching are performed for the first time, and the subsequent charging method and matching comparison method reflect the characteristics of saving power consumption.

具体地,第二次进行比较匹配时,系统在时钟信号下工作,RST信号高电平有效,将对匹配信号线MLA和匹配信号线MLB均衡。由于进行第一次比较匹配后匹配信号线的电压根据比较结果出现两种情况,或非存储单元内容匹配时匹配信号线电压不一致和或非存储单元内容不匹配时匹配信号线电压基本一致,在均衡过程中使两条匹配信号线电压基本保持一致,均衡后匹配信号线MLB的电压为稍高于第三N型晶体管N3的阀值电压。PRE信号为低电平有效,第一P型晶体管P1导通,节点A预充电到电源。EVAL信号为低电平,NEval信号为高电平,使得第二P型晶体管P2和第一N型晶体管N1为关断状态。Specifically, when comparing and matching for the second time, the system works under the clock signal, and the RST signal is active at high level, which will equalize the matching signal line MLA and the matching signal line MLB. After the first comparison and matching, the voltage of the matching signal line appears in two situations according to the comparison result, or the voltage of the matching signal line is inconsistent when the content of the non-storage unit matches and the voltage of the matching signal line is basically the same when the content of the non-storage unit does not match. During the equalization process, the voltages of the two matching signal lines are basically kept the same, and the voltage of the matching signal line MLB after equalization is slightly higher than the threshold voltage of the third N-type transistor N3. The PRE signal is active at low level, the first P-type transistor P1 is turned on, and the node A is precharged to the power supply. The EVAL signal is at low level, and the NEval signal is at high level, so that the second P-type transistor P2 and the first N-type transistor N1 are turned off.

当EVAL信号跳变为高电平,NEval信号为低电平,第二P型晶体管P2和第一N型晶体管N1为导通状态。由于节点A预充电到电源,此刻第四N型晶体管N4为导通状态,第二P型晶体管P2将通过第四N型晶体管N4对匹配信号线MLA充电。由于均衡后匹配信号线MLB的电压稍高于第三N型晶体管N3的阀值电压,所以,匹配信号线MLB通过第三N型晶体管N3放电到第三N型晶体管N3的阀值电压,由于第三N型晶体管N3和第二N型晶体管N2导通,使节点A通过反馈控制电路放电,节点A电压下降,导致第四N型晶体管N4被关断,反馈控制电路将充电电路关断,充电电路不在继续对匹配信号线MLA充电,匹配信号线MLA电压不在继续上升,充电过程结束。When the EVAL signal transitions to high level and the NEval signal is low level, the second P-type transistor P2 and the first N-type transistor N1 are turned on. Since the node A is pre-charged to the power supply, the fourth N-type transistor N4 is turned on at this moment, and the second P-type transistor P2 will charge the matching signal line MLA through the fourth N-type transistor N4. Since the voltage of the matching signal line MLB after equalization is slightly higher than the threshold voltage of the third N-type transistor N3, the matching signal line MLB is discharged to the threshold voltage of the third N-type transistor N3 through the third N-type transistor N3. The third N-type transistor N3 and the second N-type transistor N2 are turned on, so that the node A is discharged through the feedback control circuit, and the voltage of the node A drops, causing the fourth N-type transistor N4 to be turned off, and the feedback control circuit turns off the charging circuit, The charging circuit does not continue to charge the matching signal line MLA, the voltage of the matching signal line MLA does not continue to rise, and the charging process ends.

这样每次充电的过程仅有对节点A放电的时间(ΔT),在这段时间内,如果或非存储单元内容匹配,则匹配信号线MLA会被充电ΔT时间,使得电压升高,而匹配信号线MLB通过反馈控制电路放电到第三N型晶体管N3的阀值电压,匹配信号线MLA与匹配信号线MLB产生的电压差使敏感放大器SA翻转;如果或非存储单元内容不匹配,则在ΔT时刻对匹配信号线MLA和匹配信号线MLB同时充电,且匹配信号线MLA和匹配信号线MLB也同时通过反馈控制电路放电,使电荷基本保持平衡,从而不会使敏感放大器SA翻转,不产生匹配MLSO信号。In this way, each charging process only has the time (ΔT) to discharge node A. During this period, if the content of the non-memory cell matches, the matching signal line MLA will be charged for ΔT time, so that the voltage rises, and the matching The signal line MLB is discharged to the threshold voltage of the third N-type transistor N3 through the feedback control circuit, and the voltage difference generated by the matching signal line MLA and the matching signal line MLB makes the sensitive amplifier SA flip; The matching signal line MLA and the matching signal line MLB are charged at the same time at all times, and the matching signal line MLA and the matching signal line MLB are also discharged through the feedback control circuit at the same time, so that the charge is basically balanced, so that the sensitive amplifier SA will not be reversed, and no matching will occur. MLSO signal.

由于ΔT时间存在极短,所以该方案能够有效地降低在或非存储单元内容不匹配和匹配情况下的电流消耗,而且也不需要额外的偏置电压和偏置电流,没有静态功耗,同时该方案的初始化和控制简单便于实现。Due to the extremely short ΔT time, this solution can effectively reduce the current consumption in the case of non-matching and matching of the content of the memory cell, and does not require additional bias voltage and bias current, and has no static power consumption. At the same time The initialization and control of the scheme are simple and easy to implement.

需要指出,除图7所示的构成电路原理图的晶体管,还可以采用其它类型的晶体管。It should be pointed out that, in addition to the transistors constituting the schematic circuit diagram shown in FIG. 7 , other types of transistors can also be used.

在互补式或非存储单元匹配检测电路中,如图9所示,该互补式检测电路包括:预放电电路、放电电路、反馈控制电路、均衡电路、或非存储单元、敏感放大器SA、电源和地,其中,或非存储单元的数量大于1,第一匹配信号线MLA和第二匹配信号线MLB由若干个或非存储单元并连而成(以下简称匹配信号线MLA和匹配线信号MLB)。In the complementary or non-storage unit matching detection circuit, as shown in Figure 9, the complementary detection circuit includes: a pre-discharge circuit, a discharge circuit, a feedback control circuit, an equalizing circuit, or a non-storage unit, a sensitive amplifier SA, a power supply and Wherein, the number of NOR storage units is greater than 1, the first matching signal line MLA and the second matching signal line MLB are formed by parallel connection of several NOR storage units (hereinafter referred to as matching signal line MLA and matching line signal MLB) .

如图10所示,互补式或非存储单元匹配检测电路中晶体管P1、P2、P3、P4、P5和或非存储单元内部均为PMOS晶体管,晶体管N1和N2为NMOS晶体管。预放电电路包括第一N型晶体管N1;放电电路中包括第五P型晶体管P5和第二N型晶体管N2;反馈控制电路包括第二P型晶体管P2、第三P型晶体管P3和第四P型晶体管P4,第三P型晶体管P3和第四P型P4构成电流镜,其功能是根据放电电路中第五P型晶体管P5的导通状态控制放电电路,同时也实现对匹配线MLA充电功能;在本实施例中均衡电路包括第一P型晶体管P1,其功能是对匹配信号线MLA和匹配信号线MLB初始化。As shown in FIG. 10 , the transistors P1 , P2 , P3 , P4 , P5 and the non-memory cells in the complementary or non-memory cell matching detection circuit are all PMOS transistors, and the transistors N1 and N2 are NMOS transistors. The pre-discharge circuit includes a first N-type transistor N1; the discharge circuit includes a fifth P-type transistor P5 and a second N-type transistor N2; the feedback control circuit includes a second P-type transistor P2, a third P-type transistor P3 and a fourth P-type transistor. Type transistor P4, the third P-type transistor P3 and the fourth P-type transistor P4 form a current mirror, its function is to control the discharge circuit according to the conduction state of the fifth P-type transistor P5 in the discharge circuit, and also realize the charging function of the matching line MLA ; In this embodiment, the equalization circuit includes a first P-type transistor P1 whose function is to initialize the matching signal line MLA and the matching signal line MLB.

反馈控制电路中第二P型晶体管P2的栅极由NEVAL信号控制,其源极与电源连接,第三P型晶体管P3和第四P型晶体管P4构成电流镜,第三P型晶体管P3和第四P型晶体管P4源极连接并与第二P型晶体管P2的漏极连接,第三P型晶体管P3的漏极与预放电电路中第一N型晶体管N1的漏极连接在节点A,第三P型晶体管P3和第四P型晶体管P4的栅极相连,匹配信号线MLA连接在第三P型晶体管P3和第四P型晶体管P4的栅极上,并作为敏感放大器SA正输入端,第四P型晶体管P4的漏极连接在匹配信号线MLA上;匹配信号线MLB一端连接在放电电路中第五P型晶体管P5的源极上,另一端作为敏感放大器的负输入端,敏感放大器输出端为MLSO信号;放电电路中第五P型晶体管P5的栅极连接在节点A,其漏极与第二N型晶体管N2的漏极连接;第二N型晶体管N2的栅极由EVAL信号控制,预放电电路中第一N型晶体管N1的栅极由预放电信号DIS(以下简称DIS信号)控制,第二N型晶体管N2的源极和预放电电路中第一N型晶体管N1的源极均连接地;均衡电路中第一P型晶体管P1的栅极连接RST信号,其源极和漏极分别连接在第一匹配信号线MLA和第二匹配信号线MLB上。The gate of the second P-type transistor P2 in the feedback control circuit is controlled by the NEVAL signal, and its source is connected to the power supply. The third P-type transistor P3 and the fourth P-type transistor P4 form a current mirror. The third P-type transistor P3 and the fourth P-type transistor P3 The sources of the four P-type transistors P4 are connected to the drain of the second P-type transistor P2, the drain of the third P-type transistor P3 is connected to the drain of the first N-type transistor N1 in the pre-discharge circuit at node A, and the drain of the third P-type transistor P3 is connected to node A. The gates of the three P-type transistors P3 and the fourth P-type transistor P4 are connected, and the matching signal line MLA is connected to the gates of the third P-type transistor P3 and the fourth P-type transistor P4, and serves as the positive input terminal of the sensitive amplifier SA, The drain of the fourth P-type transistor P4 is connected to the matching signal line MLA; one end of the matching signal line MLB is connected to the source of the fifth P-type transistor P5 in the discharge circuit, and the other end is used as the negative input terminal of the sensitive amplifier. The output terminal is the MLSO signal; the gate of the fifth P-type transistor P5 in the discharge circuit is connected to node A, and its drain is connected to the drain of the second N-type transistor N2; the gate of the second N-type transistor N2 is controlled by the EVAL signal Control, the gate of the first N-type transistor N1 in the pre-discharge circuit is controlled by the pre-discharge signal DIS (hereinafter referred to as DIS signal), the source of the second N-type transistor N2 and the source of the first N-type transistor N1 in the pre-discharge circuit Both poles are connected to ground; the gate of the first P-type transistor P1 in the equalization circuit is connected to the RST signal, and its source and drain are respectively connected to the first matching signal line MLA and the second matching signal line MLB.

在进行比较匹配时,如图11所示,系统在时钟信号CLK下工作,RST信号低电平有效,将对匹配信号线MLA和匹配信号线MLB均衡,均衡后匹配线MLA和匹配线MLB电压保持一致,DIS信号为高电平有效,第一N型晶体管N1导通,节点A首先通过第一N型晶体管N1放电,被初始化到地,与节点A连接的第五P型晶体管P5处于导通状态。EVAL信号为低电平,NEval信号为高电平,使得第二N型晶体管N2和第二P型晶体管P2为关断状态。当EVAL信号跳变为高电平时,NEval信号为低电平,第二N型晶体管N2和第二P型晶体管P2为导通状态,由于第二P型晶体管P2导通,使得电流镜导通,节点A通过第三P型晶体管P3充电,使A点的电压上升,匹配信号线MLA通过反馈电路中电流镜充电。When comparing and matching, as shown in Figure 11, the system works under the clock signal CLK, and the RST signal is active at low level, which will equalize the matching signal line MLA and the matching signal line MLB, and the voltage of the matching line MLA and the matching line MLB after equalization Keep consistent, the DIS signal is active high, the first N-type transistor N1 is turned on, the node A is first discharged through the first N-type transistor N1, and is initialized to the ground, and the fifth P-type transistor P5 connected to the node A is in the conduction state. pass status. The EVAL signal is at low level, and the NEval signal is at high level, so that the second N-type transistor N2 and the second P-type transistor P2 are turned off. When the EVAL signal jumps to a high level, the NEval signal is at a low level, the second N-type transistor N2 and the second P-type transistor P2 are in a conducting state, and since the second P-type transistor P2 is conducting, the current mirror is turned on , the node A is charged through the third P-type transistor P3, so that the voltage at point A rises, and the matching signal line MLA is charged through the current mirror in the feedback circuit.

在图10中可清楚地看到,匹配信号线MLB通过放电放电,由于在匹配检测初时,节点A被初始化到地,第五P型晶体管P5一直处于导通状态,而节点A又通过电流镜的第三P型晶体管P3充电,节点A电压从0开始上升,在节点A的电压从0升高到关断第五P型晶体管P5的时间里(ΔT),如果或非存储单元内容匹配,则匹配信号线匹配,此时反馈控制电路中电流镜继续对匹配信号线MLA充电,使其电压上升,而匹配信号线MLB与放电电路构成通路,使其电压下降,匹配信号线MLA与匹配信号线MLB之间存在电压差,该电压差使得敏感放大器SA翻转,产生匹配MLSO信号。It can be clearly seen in FIG. 10 that the matching signal line MLB is discharged through discharge. Since the node A is initialized to ground at the beginning of the matching detection, the fifth P-type transistor P5 is always in the conduction state, and the node A is passed through the current mirror. The third P-type transistor P3 is charged, and the voltage of node A starts to rise from 0. During the time (ΔT) when the voltage of node A rises from 0 to turning off the fifth P-type transistor P5, if the content of the or non-memory cell matches, Then the matching signal line is matched. At this time, the current mirror in the feedback control circuit continues to charge the matching signal line MLA to make its voltage rise, while the matching signal line MLB and the discharge circuit form a path to make its voltage drop, and the matching signal line MLA and the matching signal line There is a voltage difference between lines MLB which causes the sense amplifier SA to flip, producing a matching MLSO signal.

在节点A的电压从0升高到关断第五P型晶体管P5的时间里(ΔT),如果或非存储单元内容不匹配,则匹配信号线不匹配,或非存储单元将通过放电电路放电,使匹配信号线MLA和匹配信号线MLB电压下降,匹配信号线之间的电压基本保持一致,从而不会使敏感放大器SA反转,不产生匹配MLSO信号。During the time (ΔT) when the voltage of node A rises from 0 to turning off the fifth P-type transistor P5, if the content of the non-memory cell does not match, the matching signal line does not match, or the non-memory cell will be discharged through the discharge circuit , so that the voltages of the matching signal line MLA and the matching signal line MLB drop, and the voltages between the matching signal lines are basically consistent, so that the sensitive amplifier SA will not be reversed, and the matching MLSO signal will not be generated.

在节点A的电压升高到关断第五P型晶体管P5后,即反馈控制电路关断放电电路,放电电路不再与匹配信号线MLB构成通路,匹配信号线MLB处于保持状态,若或非存储单元内容匹配,则匹配信号线匹配,反馈控制电路中电流镜继续对匹配信号线MLA充电,使其电压上升,而匹配信号线MLB的电压保持,匹配线MLA与匹配线MLB之间存在电压差,该电压差使敏感放大器SA翻转,产生匹配MLSO信号输出。若或非存储单元内容不匹配,则匹配信号线不匹配,或非存储单元放电,使匹配信号线之间的电压基本保持一致,从而不会使敏感放大器SA翻转,不产生匹配MLSO信号。After the voltage of node A rises to turn off the fifth P-type transistor P5, that is, the feedback control circuit turns off the discharge circuit, and the discharge circuit no longer forms a path with the matching signal line MLB, and the matching signal line MLB is in a hold state, if or not If the content of the storage unit matches, the matching signal line matches, and the current mirror in the feedback control circuit continues to charge the matching signal line MLA to increase its voltage, while the voltage of the matching signal line MLB remains, and there is a voltage between the matching line MLA and the matching line MLB Difference, the voltage difference makes the sense amplifier SA reverse, and produces a matching MLSO signal output. If the contents of the non-memory cells do not match, the matching signal lines do not match, or the non-memory cells are discharged, so that the voltages between the matching signal lines are basically consistent, so that the sensitive amplifier SA will not be reversed, and the matching MLSO signal will not be generated.

需要说明的是均衡电路也可由第三N型晶体管和第六P型晶体管组成的传输门来实现其功能,第三N型晶体管的漏极与第六P型晶体管的源极均连接在第一匹配信号线上,第三N型晶体管的源极与第六P型晶体管的漏极均连接在第二匹配信号线上,第六P型晶体管的栅极连接复位信号,所述第三N型晶体管的栅极连接非复位信号。It should be noted that the equalization circuit can also realize its function by a transmission gate composed of a third N-type transistor and a sixth P-type transistor, and the drain of the third N-type transistor and the source of the sixth P-type transistor are connected to the first On the matching signal line, the source of the third N-type transistor and the drain of the sixth P-type transistor are connected to the second matching signal line, and the gate of the sixth P-type transistor is connected to the reset signal. The gate of the transistor is connected to a non-reset signal.

本发明可以利用动态控制匹配信号线的充电方法,在匹配比较过程中减少电流消耗,利用ΔT时刻产生的电压差分信号检测结果。本发明简单可靠;与传统的匹配线检测方法相比,降低电流消耗,减少额外的偏置电压和偏置电流,可以应用在不同的或非结构匹配线的检测场合。The present invention can use the charging method of dynamically controlling the matching signal line, reduce the current consumption in the matching comparison process, and use the voltage differential signal detection result generated at the time ΔT. The invention is simple and reliable; compared with the traditional matching line detection method, the current consumption is reduced, the extra bias voltage and bias current are reduced, and the invention can be applied to different or unstructured matching line detection occasions.

显而易见,在不偏离本发明的真实精神和范围的前提下,在此描述的本发明可以有许多变化。因此,所有对于本领域技术人员来说显而易见的改变,都应包括在本权利要求书所涵盖范围之内。本发明所要求保护的范围仅由所述的权利要求书进行限定。It will be apparent that many changes may be made to the invention described herein without departing from the true spirit and scope of the invention. Therefore, all changes obvious to those skilled in the art should be included within the scope of the claims. The claimed scope of the present invention is limited only by the claims set forth.

Claims (8)

1. Content Addressable Memory storage unit match detection circuit, comprise pre-charge circuit, charging circuit, feedback control circuit, equalizing circuit and some or non-storage unit, described pre-charge circuit is connected with described charging circuit and feedback control circuit, by described some or non-storage unit the first matched signal line and the second matched signal line of forming in parallel, described charging circuit is connected with described the first matched signal line, described feedback control circuit is connected with described the second matched signal line, described equalizing circuit is connected between described the first matched signal line and described the second matched signal line,
Described pre-charge circuit comprises a P transistor npn npn (P1);
Described feedback control circuit comprises the first N-type transistor (N1), the second N-type transistor (N2) and the 3rd N-type transistor (N3);
Described the second N-type transistor (N2) is connected with the grid of described the 3rd N-type transistor (N3), described the second N-type transistor (N2) is all connected in the drain electrode of described the first N-type transistor (N1) with the source electrode of described the 3rd N-type transistor (N3), the grid of described the first N-type transistor (N1) connects assessment signal, and the source electrode of described the first N-type transistor (N1) connects ground;
Described charging circuit comprises the 2nd P transistor npn npn (P2) and the 4th N-type transistor (N4);
The source electrode of a described P transistor npn npn (P1) is connected high level with the source electrode of described the 2nd P transistor npn npn (P2), the grid of a described P transistor npn npn (P1) connects precharging signal, and the drain electrode of the drain electrode of a described P transistor npn npn (P1) and described the second N-type transistor (N2) is connected to node (A); The grid of described the 2nd P transistor npn npn (P2) connects non-assessment signal, and the drain electrode of described the 2nd P transistor npn npn (P2) is connected with the drain electrode of described the 4th N-type transistor (N4); The grid of described the 4th N-type transistor (N4) is connected to node (A); The source electrode of described the 4th N-type transistor (N4) is connected with described the first matched signal line; Described the second matched signal line is connected on the grid of described the second N-type transistor (N2) and described the 3rd N-type transistor (N3), and the drain electrode of described the 3rd N-type transistor (N3) is connected on described the second matched signal line.
2. testing circuit as claimed in claim 1, is characterized in that described testing circuit also comprises sense amplifier, and described sense amplifier is connected with described the first matched signal line and described the second matched signal line, for amplifying and output matching or mismatch signal.
3. testing circuit as claimed in claim 1, is characterized in that described equalizing circuit comprises the 5th N-type transistor (N5); The grid of described the 5th N-type transistor (N5) connects reset signal, and the drain electrode of described the 5th N-type transistor (N5) is connected with described the first coupling wire size line, and the source electrode of described the 5th N-type transistor (N5) is connected with described the second coupling wire size line.
4. testing circuit as claimed in claim 1, is characterized in that described equalizing circuit comprises the transmission gate being comprised of the 6th N-type transistor and the 3rd P transistor npn npn;
The source electrode of the transistorized drain electrode of described the 6th N-type and described the 3rd P transistor npn npn is all connected on described the first matched signal line, the drain electrode of the transistorized source electrode of described the 6th N-type and described the 3rd P transistor npn npn is all connected on described the second matched signal line, the transistorized grid of described the 6th N-type connects reset signal, and the grid of described the 3rd P transistor npn npn connects non-reset signal.
5. complementary Content Addressable Memory storage unit match detection circuit, comprise pre-arcing circuit, discharge circuit, feedback control circuit, equalizing circuit and some or non-storage unit, described pre-arcing circuit is connected with described discharge circuit and feedback control circuit, by described some or non-storage unit the first matched signal line and the second matched signal line forming in parallel, described feedback control circuit is connected with described the first matched signal line, described discharge circuit is connected with described the second matched signal line, described equalizing circuit is connected between described the first matched signal line and described the second matched signal line,
Described pre-arcing circuit comprises the first N-type transistor (N1);
Described feedback control circuit comprises the 2nd P transistor npn npn (P2), the 3rd P transistor npn npn (P3) and the 4th P transistor npn npn (P4);
The grid of described the 2nd P transistor npn npn (P2) connects non-assessment signal, the source electrode of described the 2nd P transistor npn npn (P2) connects high level, described the 3rd P transistor npn npn (P3) is connected and is connected with the drain electrode of described the 2nd P transistor npn npn (P2) with described the 4th P transistor npn npn (P4) source electrode, and described the 3rd P transistor npn npn (P3) is connected with the grid of described the 4th P transistor npn npn (P4);
Described discharge circuit comprises the 5th P transistor npn npn (P5) and the second N-type transistor (N2);
The drain electrode of the drain electrode of described the 3rd P transistor npn npn (P3) and described the first N-type transistor (N1) is connected to node (A), described the first matched signal line is connected on the grid of described the 3rd P transistor npn npn (P3) and described the 4th P transistor npn npn (P4), and the drain electrode of described the 4th P transistor npn npn (P4) is connected with described the first matched signal line; Described the second matched signal line is connected with the source electrode of described the 5th P transistor npn npn (P5), the grid of described the 5th P transistor npn npn (P5) is connected to node (A), and the drain electrode of described the 5th P transistor npn npn (P5) is connected with the drain electrode of described the second N-type transistor (N2); The grid of described the second N-type transistor (N2) connects assessment signal, the grid of described the first N-type transistor (N1) connects pre-arcing signal, and the source electrode of described the second N-type transistor (N2) is all connected low level with the source electrode of described the first N-type transistor (N1).
6. complementary Content Addressable Memory storage unit match detection circuit as claimed in claim 5, it is characterized in that described testing circuit also comprises sense amplifier, described sense amplifier is connected with described the first matched signal line and described the second matched signal line, for amplifying and output matching or mismatch signal.
7. complementary Content Addressable Memory storage unit match detection circuit as claimed in claim 5, it is characterized in that described equalizing circuit comprises a P transistor npn npn, the grid of a described P transistor npn npn (P1) connects reset signal, the drain electrode of a described P transistor npn npn (P1) is connected on described the first coupling wire size line, and the source electrode of a described P transistor npn npn (P1) is connected on described the second coupling wire size line.
8. complementary Content Addressable Memory storage unit match detection circuit as claimed in claim 5, is characterized in that described equalizing circuit comprises the transmission gate being comprised of the 6th P transistor npn npn and the 3rd N-type transistor;
The source electrode of the transistorized drain electrode of described the 3rd N-type and described the 6th P transistor npn npn is all connected on described the first matched signal line, the drain electrode of the transistorized source electrode of described the 3rd N-type and described the 6th P transistor npn npn is all connected on described the second matched signal line, the grid of described the 6th P transistor npn npn connects reset signal, and the transistorized grid of described the 3rd N-type connects non-reset signal.
CN201110347928.3A 2011-11-07 2011-11-07 Matching detection method and circuit of content addressable memory cell Expired - Fee Related CN102403018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110347928.3A CN102403018B (en) 2011-11-07 2011-11-07 Matching detection method and circuit of content addressable memory cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110347928.3A CN102403018B (en) 2011-11-07 2011-11-07 Matching detection method and circuit of content addressable memory cell

Publications (2)

Publication Number Publication Date
CN102403018A CN102403018A (en) 2012-04-04
CN102403018B true CN102403018B (en) 2014-04-30

Family

ID=45885152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110347928.3A Expired - Fee Related CN102403018B (en) 2011-11-07 2011-11-07 Matching detection method and circuit of content addressable memory cell

Country Status (1)

Country Link
CN (1) CN102403018B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411995B (en) * 2011-11-22 2014-03-12 中国科学院声学研究所 Detection circuit and method for memory cell match line of content addressable memory
US9059874B2 (en) * 2012-08-15 2015-06-16 Marvell World Trade Ltd. Switched continuous time linear equalizer with integrated sampler
US9583192B1 (en) * 2016-05-25 2017-02-28 Globalfoundries Inc. Matchline precharge architecture for self-reference matchline sensing

Citations (5)

* 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 memory
CN1623205A (en) * 2001-12-31 2005-06-01 睦塞德技术公司 Circuit and memory for reducing power usage in a content addressable memory
US7126834B1 (en) * 2003-09-12 2006-10-24 Netlogic Microsystems, Inc. Sense amplifier architecture for content addressable memory device
US7362602B1 (en) * 2005-08-08 2008-04-22 Netlogic Microsystems, Inc. Sense amplifier circuit and method
US7920398B1 (en) * 2010-09-21 2011-04-05 Netlogic Microsystems, Inc. Adaptive match line charging

Patent Citations (5)

* 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 memory
CN1623205A (en) * 2001-12-31 2005-06-01 睦塞德技术公司 Circuit and memory for reducing power usage in a content addressable memory
US7126834B1 (en) * 2003-09-12 2006-10-24 Netlogic Microsystems, Inc. Sense amplifier architecture for content addressable memory device
US7362602B1 (en) * 2005-08-08 2008-04-22 Netlogic Microsystems, Inc. Sense amplifier circuit and method
US7920398B1 (en) * 2010-09-21 2011-04-05 Netlogic Microsystems, Inc. Adaptive match line charging

Also Published As

Publication number Publication date
CN102403018A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
US11238908B2 (en) Memory circuit and method of operating same
US9082481B2 (en) Static NAND cell for ternary content addressable memory (TCAM)
US20130286705A1 (en) Low power content addressable memory hitline precharge and sensing circuit
US9620179B2 (en) Sense amplifier and methods thereof for single ended line sensing
US10049706B2 (en) Memory and method of operating the same
US8848474B2 (en) Capacitive coupled sense amplifier biased at maximum gain point
CN103544986B (en) Based on electric charge recycling and the low-power consumption 8 pipe sram chip method for designing of bit line classification
CN117789779B (en) Self-controlled SRAM sense amplifier circuit and module based on latch cross coupling
CN102403018B (en) Matching detection method and circuit of content addressable memory cell
CN101859596A (en) A Content Addressable Memory
CN103400597B (en) A kind of ultralow-power-consumixedn mixedn type content addressable memory
Satti et al. Hybrid self-controlled precharge-free CAM design for low power and high performance
TW201818418A (en) Ternary content addressable memory (TCAM) for multi bit miss detect circuit
TWI713051B (en) Content addressable memory device
US8982609B2 (en) Memory having read assist device and method of operating the same
US20150262667A1 (en) Low power hit bitline driver for content-addressable memory
Telajala et al. A low-power split-controlled single ended storage content addressable memory
CN105047223B (en) An OR type cascaded matching line structure
CN102411995B (en) Detection circuit and method for memory cell match line of content addressable memory
Islam et al. Improved charge shared scheme for low-energy match line sensing in ternary content addressable memory
Satyanarayana et al. Gate diffusion input (Gdi) technique based CAM cell design for low power and high performance
CN106205686B (en) Memory Match Line Dynamic Latch Circuit
CN103531232B (en) A kind of High-performance hybrid content addressable memory control unit
Ali et al. A high-speed and low-power ternary CAM design using match-line segmentation and feedback in sense amplifiers
CN203706670U (en) A kind of range matching CAM unit circuit and RCAM memory composed of it

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140430

Termination date: 20191107