Analog content-addressable memory for storing and searching arbitrary range segments
By using an adjustable resistance device and a voltage divider circuit in the analog content addressable memory, any analog value range segment search within a single unit is realized, which solves the problem of low search efficiency in the existing technology and reduces the complexity of the circuit. degree and improved efficiency.
Patent Information
- Application Number
- CN202111253744.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-10-27
AI Technical Summary
It is difficult for the existing analog content addressable memory (aCAM) to efficiently store and search any analog value range segment, especially the search efficiency outside the range is low and the circuit complexity is high.
Using an analog content addressable memory circuit with an adjustable resistor device, the conductivity of the memristor is adjusted to establish the upper and lower voltage limits of the range of non-matching analog values, enabling searching outside the range within a single aCAM cell and passing The voltage divider circuit controls the discharge or non-discharge of the matching line to detect the matching result.
It significantly reduces the circuit complexity, improves the efficiency of searching any analog value range segment, realizes flexible and efficient search capabilities, and is suitable for a wide range of application backgrounds such as access control lists and network routing.
Smart Images

Figure CN115394330B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to analog content addressable memory for storing and searching arbitrary range segments. Background Art
[0002] Various application scenarios rely on the ability to search for arbitrary range segments, such as outside a specific range. For example, such scenarios include access control lists, network routing, and random forests / decision trees. For example, in the case of Internet Protocol (IP) address mapping, it may be necessary to determine whether an IP address is outside an unusable segment of the IP address space. Summary of the invention
[0003] According to one aspect of the present disclosure, an analog content addressable memory (aCAM) is provided, comprising: an input data line; a match line; and a unit connected to the input data line and the match line, the unit comprising: a first adjustable resistance device having a first conductivity, the first conductivity establishing an upper voltage limit of a non-matching analog value range; and a second adjustable resistance device having a second conductivity, the second conductivity establishing a lower voltage limit of the non-matching analog value range; wherein the match line voltage observed on the match line indicates a match only when the input data line voltage applied to the input data line is higher than the upper voltage limit or lower than the lower voltage limit. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] The present disclosure is described in detail according to one or more different embodiments with reference to the following drawings. The drawings are provided for illustrative purposes only and depict only typical or example embodiments.
[0005] Figure 1 An analog content addressable memory (aCAM) circuit implementation that encodes and implements searching outside of a range of analog values is depicted in accordance with some embodiments.
[0006] Figure 2A is a depiction according to some embodiments Figure 1 A diagram of the matching voltage of the aCAM circuit's non-inverting voltage divider circuit to the upper limit of the input voltage.
[0007] Figure 2B is a depiction according to some embodiments Figure 1 The inverting voltage divider circuit of the aCAM circuit matches the voltage diagram for input voltages below the lower limit.
[0008] Figure 3 Depicted is a hybrid AND and OR type aCAM cell that encodes and implements searching of multiple disjoint ranges of analog values, in accordance with some embodiments.
[0009] Figure 4An alternative pass gate aCAM circuit implementation is depicted that encodes and enables searching outside of a range of analog values in accordance with some embodiments.
[0010] Figure 5A is a depiction according to some embodiments Figure 4 The non-inverting voltage divider circuit of the aCAM circuit matches the voltage graph for input voltages below the lower limit.
[0011] Figure 5B is a depiction according to some embodiments Figure 4 The inverting voltage divider circuit of the aCAM circuit matches the voltage above the upper limit of the input voltage.
[0012] Figure 6 Depicted is a pass-gate implementation of a hybrid AND and OR type aCAM cell that encodes and enables searching of multiple disjoint ranges of analog values, in accordance with some embodiments.
[0013] Figure 7 An aCAM circuit implementation using a 3-terminal device that encodes and implements searching outside of a range of analog values is depicted in accordance with some embodiments.
[0014] Figure 8 An aCAM circuit implementation using a 3-terminal device that encodes and implements searching of multiple disjoint ranges of analog values is depicted in accordance with some embodiments.
[0015] Fig. 9 An OR-type aCAM circuit implementation is depicted that encodes and implements searching of an arbitrary range of analog values for multiple independent inputs, in accordance with some embodiments.
[0016] Fig.10 Depicting the Fig. 9 The OR-type aCAM circuit implementation is extended to enable fast testing of input variable values related to circuit satisfiability problems.
[0017] Fig.11 is a flow chart of an illustrative method for searching outside of an analog range or searching multiple disjoint analog ranges using an aCAM circuit implementation in accordance with some embodiments.
[0018] Fig.12 is an example computing component that can be used to implement various features according to some embodiments.
[0019] The drawings are not exhaustive and do not limit the disclosure to the precise forms disclosed. DETAILED DESCRIPTION
[0020] Example embodiments of the disclosed technology relate to systems, devices, circuits, methods, and non-transitory computer-readable media that implement storage and search for arbitrary analog value range segments. Specifically, some embodiments of the disclosed technology relate to an analog content addressable memory (aCAM) circuit having the ability to store and search for analog value range segments. For example, the aCAM circuit implementation disclosed herein can be used to determine whether an input value falls outside a specific value range, whether an input value falls within any one of a plurality of disjoint ranges, or conversely whether it falls outside a plurality of ranges, and so on. In this way, the aCAM circuit implementation according to the embodiment of the disclosed technology makes the search for complex input features more flexible and efficient, and thus produces a technical improvement over traditional solutions. The aCAM circuit implementation disclosed herein is suitable for a wide range of application contexts, including those related to access control lists, network routing, decision trees, and the like. In addition, in some embodiments, the Boolean logic supporting the aCAM circuit implementation allows the k-SAT problem to be efficiently solved using the aCAM circuit, thereby providing another technical improvement over traditional solutions.
[0021] In general, the CAM receives an input search word and then compares it with the words stored in the CAM to identify any (multiple) storage words that match the search word. If the CAM locates a matching storage word, the CAM can return the address of the storage word in the CAM. In a typical CAM implementation, the search word includes n bits, each of which is provided to the CAM as an input along a corresponding search line. The CAM then performs a parallel search, which includes comparing the search word with each storage word in parallel. Any storage word that matches the search word can be identified based on the voltage observed on the corresponding match line. For example, each match line can be precharged to a high voltage, and if the corresponding storage word does not match the search word, the match line is then discharged. Any match line that maintains a high voltage indicates a match.
[0022] A specific type of CAM is a ternary CAM, also known as a TCAM. A TCAM can be implemented in a volatile memory such as a static random access memory (SRAM) and stores ternary information in two binary memory cells that together can represent a ternary bit that can take any of three values: 0, 1, or a "don't care" value. A stored word that includes a "don't care" value at a particular bit position will output a match at that bit position, regardless of the value of the search word at that position. Similarly, each bit of the search word can take a 0, 1, or "don't care" value. The "don't care" value specified at a particular bit position in the search query matches any value that may be stored at that position in the TCAM. Therefore, TCAM enables flexible search queries by allowing "don't care" values to be stored and searched.
[0023] a CAM (such as any of those described in co-owned U.S. application serial numbers 16 / 274,379 (now U.S. Patent No. 10,847,238), 16 / 744,136, or 16 / 526,455 (now U.S. Patent No. 10,896,731)) may include a series of cells arranged in an array having rows and columns. In an example embodiment, one or more corresponding cells of the a CAM may be used to represent stored values or ranges of stored values for each search parameter / variable. Examples of existing a CAM circuit implementations (such as those described in co-owned U.S. application serial number 17 / 085,805) include a collection of transistors and two memristors. The corresponding conductance of the memristors is adjusted to represent a lower voltage limit and an upper voltage limit of a matching analog voltage range of the a CAM cells. A voltage applied to a data line is received at the a CAM cell, and if the data line voltage is within the analog voltage range defined by the corresponding memristor conductance, a matching result is output. In this way, the a CAM cell is able to store / search for a specific analog value range because any value contained within that range will correspond to a data line voltage that falls within the corresponding analog voltage range established by the a CAM cell. Further, because the a CAM enables flexible search, it is also a TCAM.
[0024] The above a CAM circuit implementation itself maps (as described in U.S. application serial number 17 / 085,805) a tree structure and implements a random forest algorithm or any tree-based ensemble model in near-constant time operation. This is achieved by reformulating the decision tree for implementation within the a CAM in the following ways: 1) representing each root-to-leaf path in the decision tree as a chain of nodes containing a series of nodes, 2) combining multiple evaluable conditions associated with a given individual feature into a single node (e.g., combining a first node that evaluates whether f1 > x1 with a second node that evaluates whether f1 < x2), 3) adding flexible "don't care" nodes for each feature that is not evaluated in the node chain, and 4) rotating each modified node chain representation and mapping it to a corresponding row in the a CAM array, where each column in the a CAM array represents a feature vector of a given feature variable. The classification result corresponding to the a CAM row may be stored in a directly connected memory array. Because the a CAM cell can store analog values and ranges, multiple evaluable conditions of a given feature node can be implemented in a single cell.
[0025] Existing aCAM circuit implementations (those described above) provide the ability to efficiently store and search for a range between two values (e.g., determine if an input value falls within a stored range of analog values). However, they do not provide the ability to highly efficiently store and search for arbitrary range segments (e.g., determine if f1 < x1 or if f1 > x2 for an input feature value f1, where x2 > x1). That is, encoding an arbitrary analog value range segment using existing aCAM circuit implementations would require a very large area such that searching such a structure would be very inefficient. Specifically, implementing a search outside of a range would require encoding the complement of the range within the aCAM. Since the complement of the range includes the entire set of all potential values that fall outside of the range, the amount of area required to encode this entire set of potential values (e.g., aCAM array size) is quite large. Additionally, using a traditional SRAM CAM implementation would require even more area.
[0026] This technical problem is solved by embodiments of the disclosed technology, which include aCAM circuit implementations that enable searching for arbitrary analog value range segments in a highly flexible and efficient manner. For example, aCAM circuit implementations according to embodiments of the disclosed technology are capable of implementing a search outside of a range or searching for multiple range segments within a single aCAM cell. Thus, embodiments of the disclosed technology provide a technical solution that significantly reduces circuit complexity and, correspondingly, significantly improves the efficiency of searching for arbitrary analog value range segments.
[0027] Now referring to Figure 1 , an aCAM circuit implementation that implements a search outside of an analog value range is depicted according to some embodiments. Figure 1 The aCAM cell 100 depicted in is implemented using non-volatile components such as tunable resistor devices 106, 110, etc., rather than using a volatile memory such as SRAM. In some embodiments, the tunable resistor devices 106, 110 are memristors and will be described as such hereinafter for ease of explanation. In the Figure 1 example implementation depicted in, the aCAM cell 100 includes six transistors 108, 112, 114, 116, 118, 120 and two memristors (M1 106 and M2 110). The transistors can include various combinations of n-type and p-type transistors (including n-type metal-oxide-semiconductor (MOS) field-effect transistors (MOSFETs), p-type MOSFETs, etc.). However, it should be understood that other types / combinations of transistors / semiconductor materials can be employed.
[0028] The aCAM cell 100 can form the unit element of an aCAM circuit, which can include a plurality of such cells arranged in an array having rows and columns. The aCAM cell 100 includes a select line 124 (SLhi and SL lo ), match line 126, and data line 122. aCAM cell 100 further includes a voltage divider circuit 102 including a series-connected memristor 106 (M1) and transistor 108, and a voltage divider circuit 104 including a series-connected memristor 110 (M2) and transistor 112. Each memristor 106, 110 is connected to one of the select lines 124 (SL hi ), and each transistor 108, 112 is connected to another selection line 124 (SL lo ). The voltage divider circuit 104 differs from the voltage divider circuit 102 in that the former further includes an inverter formed by transistors 114 and 116 connected in series.
[0029] The aCAM cell additionally includes pull-down transistors 118, 120 connected in series. Voltage G1 corresponds to a gate voltage at transistor 118, while voltage G2 corresponds to a gate voltage at transistor 120. In some embodiments, a corresponding voltage is applied to select line 124 to activate aCAM cell 100, or more specifically, to activate an aCAM row containing aCAM cell 100. Select line 124 provides a voltage drop across voltage divider circuit 102. The resistance on transistor 108 at least partially determines voltage G1, which in turn determines the gate voltage at pull-down transistor 118. Along similar lines, the resistance on transistor 112 at least partially determines gate voltage G2 at transistor 120. In some embodiments, match line 126 is precharged to a high voltage and is discharged only when the following occurs: the gate voltages of each of pull-down transistors 118, 120 are greater than their respective threshold voltages so that both transistors 118, 120 transition to a low resistance state (i.e., turn on) and discharge match line 126.
[0030] In an example embodiment, the aCAM cell 100 may be one of several aCAM cells in the same row of an aCAM. The aCAM cell 100 and each other aCAM cell in the same row may be connected to a match line 126. Similarly, each other row in an aCAM may be connected to a corresponding match line. Each row of an aCAM may correspond to a storage word against which a search word is evaluated to determine if a match exists. In an example embodiment, a search operation may be initiated by precharging the corresponding match line of each aCAM row to a high logic level (e.g., a high voltage). A match line (e.g., match line 126) is maintained at a high voltage (which indicates a match) only when all aCAM cells in the aCAM row connected to the match line produce a match with their corresponding inputs. That is, if one search input value does not match the data stored in the corresponding aCAM cell, the cell will discharge the match line connected to it and cause a mismatch, even if every other cell in the same row produces a match.
[0031] In some embodiments, the input search variable is mapped to a voltage amplitude V applied to the data line 122. DL The data line 122 may also be connected to each of the other aCAM cells in the same column as the aCAM cell 100 in the aCAM array. More specifically, each column of cells in the aCAM may store data associated with a corresponding input search variable, and some search variables may correspond to multiple aCAM columns if higher bit accuracy is required. The voltage V on the data line 122 may be DL is divided into voltage V DL1 and V DL2 and are fed to the voltage divider circuits 102 and 104, respectively. As will be described in more detail later in this disclosure, in some embodiments, if the input voltage V DL Corresponding to an input value that falls outside a given analog value range (e.g., above the upper limit of the range, or below the lower limit of the range), one of the voltages G1 or G2 will remain low, causing the corresponding pull-down transistor to remain in a high resistance state (off). As a result, the match line 126 remains high and is not discharged, thereby producing a match result.
[0032] In some embodiments, the respective programmed conductivities G of the memristors 106 and 110 are M1 and G M2 can be adjusted to establish the upper voltage limit V of the non-matching analog value range 132, respectively. UB and the voltage lower limit V LB Then, based on its circuit structure, the aCAM cell 100 encodes and implements a search outside of the range 132. More specifically, the upper voltage limit V enforced by the aCAM cell 100 UB The conductivity G of the memristor 106 may be M1function (i.e., V UB =f(G M1 )), and the voltage lower limit V LB It can be the conductivity G of the memristor 110 M2 function (i.e., V LB =f(G M2 )). More specifically, in some embodiments, V UB Can be G M1 and the threshold voltage of transistor 108. Similarly, V LB Can be G M2 and the threshold voltage of transistor 112.
[0033] It should be understood that the upper voltage limit V of the aCAM unit 100 UB refers to the voltage threshold that serves as the upper limit of the non-matched analog value range 132, such that V DL >V UB will fall outside of the non-match range 132 and result in a match 130. Similarly, it should be understood that the lower voltage limit V LB refers to the voltage threshold that serves as the lower limit of the non-matched analog value range 132, such that V DL <V LB will also fall outside of the no-match range 132 and result in a match 128. Therefore, the aCAM cell 100 generates a match if the following Boolean OR statement is true (TRUE): V DL <V LB V DL >V UB .
[0034] Now referring to the operation of aCAM cell 100 in more detail, assuming that V is applied to data line 122 DL <V LB In this example scenario, of particular interest is the operation of the voltage divider circuit 104. As previously described, V DL Divided into V DL1 and V DL2 , resulting in a relatively low gate voltage at transistor 112. Therefore, the effective conductivity of transistor 112 is low (i.e., high resistance state) compared to memristor 110, which results in a relatively large voltage drop across transistor 112. As a result, node 132 above transistor 112 is at a high voltage. This high voltage signal is then inverted to produce a low gate voltage G2 at pull-down transistor 120. In this scenario, gate voltage G2 is insufficient to overcome the threshold voltage of transistor 120 and the transistor remains off. Therefore, the discharge path of match line 126 remains closed, and match line 126 is not discharged, which corresponds to matching as previously described.
[0035] It should be noted that in this V DL Less than V LB In the scenario of low V, no matter what voltage G1 is, the match line 126 will not discharge. More specifically, low V DL1 (For example, V DL <V LB ) results in a low gate voltage at transistor 108, which translates into a low effective conductivity of transistor 108 compared to memristor 106 and a large voltage drop across transistor 108. As a result, the voltage at the node above transistor 108 is high, and accordingly, the gate voltage G1 at pull-down transistor 118 is high, turning the pull-down transistor on. However, this cannot discharge match line 126 because pull-down transistor 120 remains off. Therefore, based on the operation of voltage divider circuit 104, regardless of what happens to voltage divider circuit 102, V DL Less than V LB will result in a match with aCAM cell 100. In this way, the operation of voltage divider circuit 104 controls / enforces the lower limit V for range 132. LB Search outside the scope of .
[0036] On the other hand, now assume that V is applied to the data line 122 DL >V UB In this example scenario, of particular interest is the operation of the voltage divider circuit 102. As previously described, V DL Divided into V DL1 and V DL2 , resulting in a relatively high gate voltage at transistor 108. Therefore, the effective conductivity of transistor 108 is high (i.e., low resistance state) compared to memristor 106, which results in a relatively large voltage drop across memristor 106. As a result, the voltage at the node above transistor 108 and below memristor 106 is low, resulting in a correspondingly low gate voltage G1 at pull-down transistor 118. This low gate voltage is insufficient to overcome the threshold voltage of transistor 118, causing the transistor to remain off. Therefore, the discharge path of match line 126 remains closed, and match line 126 is not discharged, which corresponds to matching as previously described.
[0037] It should be noted that in this V DL Greater than V UB In the scenario of high V, no matter what voltage G2 is, the match line 126 will not discharge. More specifically, high V DL2 (For example, V DL >V UB) results in a high gate voltage at transistor 112, which translates into a high effective conductivity of transistor 112 compared to memristor 110 and therefore a large voltage drop across memristor 110. As a result, the voltage at node 132 above transistor 112 and below memristor 110 is low, which, when inverted, results in a high gate voltage G2 being applied to transistor 120, turning that transistor on. However, this does not discharge match line 126 because pull-down transistor 118 remains off. Therefore, based on the operation of voltage divider circuit 102, regardless of what happens to voltage divider circuit 104, V DL Greater than V UB will result in a match with aCAM cell 100. In this way, the operation of voltage divider circuit 102 controls / enforces the upper limit V for range 132. UB Search outside the scope of .
[0038] Now assume that a voltage V is applied to the data line 122. LB and V UB The unmatched analog range is defined as 132 V DL (i.e., V LB <V DL <V UB ). As mentioned above, V DL Divided into V DL1 and V DL2 , where V DL1 is supplied to transistor 108, while V DL2 is supplied to transistor 112. In this example scenario, V DL1 This is insufficient to overcome the threshold voltage of transistor 108, resulting in a low effective conductivity (i.e., a high resistance state) of transistor 108 compared to memristor 106, and a large voltage drop across transistor 108. As a result, a high voltage appears at the node between memristor 106 and transistor 108, which corresponds to a high gate voltage G1 at pull-down transistor 118. This turns transistor 118 on.
[0039] In addition, V DL2 is sufficient to overcome the threshold voltage of transistor 112, resulting in a high effective conductivity (i.e., a low resistance state) of transistor 112 compared to memristor 110, and resulting in a large voltage drop across memristor 110 and resulting in a low voltage at node 132. The low voltage at node 132 is inverted, resulting in a high gate voltage G2 at pull-down transistor 120. This turns transistor 120 on. With both pull-down transistors 118, 120 on, match line 126 is discharged, and a mismatch is detected. Therefore, because the voltage at the gate line 126 located at V LB and V UB Any input voltage within the defined range of 132 V DL (i.e., VLB <V DL <V UB ) results in a mismatch, and any input voltage V outside the range 132 DL (i.e., V DL <V LB or V DL >V UB ) results in a match, so the aCAM cell 100 encodes and implements a search outside the analog value range (ie, the non-match range 132).
[0040] In some embodiments, the unmatched analog range 132 may include V LB and V UB , which means it is equal to V LB or equal to V UB The input data line voltage V DL falls within the non-matching range 132 and causes a non-match. In such an embodiment, the non-matching range 132 will be V LB ≤V DL ≤V UB In other embodiments, V LB or V UB One or both of them may be outside the non-matching range 132, so that V DL =V LB or V DL =V UB More generally, it should be understood that for any matched or unmatched analog range segment disclosed herein, the lower voltage limit and / or upper voltage limit defining the range segment may lie within or outside the range segment, depending on the implementation.
[0041] In some embodiments, by adjusting the respective conductivities G of the memristors 106 and 110 M1 and G M2 The matching voltage range of the cell 100 is established to encode the "don't care" value in the aCAM cell 100. The matching voltage range is determined by the lower voltage limit V LB <V DL,min and voltage upper limit V UB <V DL,max In this way, any data line voltage supplied to the aCAM cell 100—which must be within V DL,min With V DL,max =1 - and must also fall between the lower voltage limit and the upper voltage limit. Therefore, any input search value will result in a match. In addition to being able to store don't care values, aCAM cell 100 can also be configured to support receiving don't care values for search input values. For example, a voltage corresponding to V DL,min or V DL,max The input voltage VDL To search for a don't care value, the input voltage will in turn cause one of the pull-down transistors 118, 120 to remain in an off state, thereby preventing the match line 126 from discharging. In addition, in some example embodiments, the aCAM cell 100 may be configured to discharge the match line 126 by adjusting the respective conductivities G of the memristors 106, 110. M1 and G M2 So that f(G M1 )>f(G M2 ) to force a mismatch with a storage word. In this example scenario, aCAM cell 100 will generate a mismatch regardless of the search input value received at cell 100 (thereby resulting in a mismatch with the entire storage word in the aCAM row that includes cell 100).
[0042] Figure 2A A voltage diagram 200A is depicted which illustrates Figure 1 200A, assuming that the memristor 106 (M1) is adjusted to a given conductivity that establishes the upper limit of the non-matching analog range of the aCAM cell 100, an input voltage V above the threshold indicated by the dashed line DL This will result in a voltage G1 that is insufficient to turn on the pull-down transistor 118, thereby preventing the match line 126 from discharging and causing a match.
[0043] Figure 2B A voltage diagram 200B is depicted which illustrates Figure 1 200B, assuming that the memristor 110 (M2) is adjusted to a given conductivity that establishes the lower limit of the non-matching simulation range, an input voltage V below the threshold indicated by the dashed line DL This will result in a voltage G2 that is insufficient to turn on the pull-down transistor 120, thereby preventing the match line 126 from discharging and causing a match. It should be understood that the voltage diagrams 200A and 200B illustrate the functions of the non-inverting voltage divider circuit 102 and the inverting voltage divider circuit 104 of the aCAM cell 100 separately, but do not collectively represent a search outside of the non-match range 132. Figure 1 Searching outside of the specific range 132 depicted in FIG. 1 will modify the lower voltage limit and the upper voltage limit.
[0044] Figure 3Depicts a hybrid AND and OR type aCAM cell 300, which implements a search over multiple non - overlapping analog ranges, or in other words, implements a search outside of multiple non - overlapping ranges. The aCAM cell 300 includes various circuit sub - units 302, 304, 306. In some embodiments, the sub - unit 302 may have the same structure as the voltage divider circuit 102 of the aCAM cell 100( Figure 1 ), and the sub - unit 304 may have the same structure as the voltage divider circuit 104 including an inverter. The sub - units 302, 304 are respectively connected to pull - down transistors 318, 320, which are in turn connected in series to a match line 308. Thus, the combination of the sub - units 302 and 304 and the pull - down transistors 318, 320 is structurally similar to the aCAM cell 100.
[0045] The sub - unit 306 may be an additional voltage divider circuit having the same structure as the sub - unit 302. The sub - unit 306 is connected to a pull - down transistor 322, which is in turn connected to the match line 308 in parallel with the combination of the pull - down transistors 318, 320. For ease of explanation, the sub - units 302, 304, 306 will be referred to as voltage divider circuits 302, 304, 306 respectively hereinafter. The additional voltage divider circuit 306 establishes a new lower limit V3 for the aCAM cell 300, which enables the search of multiple non - overlapping segments of the analog range. Specifically, if the input voltage V DL is greater than V1 (in which case, V DL falls within the matching analog range 312), or if the input voltage V DL is greater than V3 and less than V2 (in which case, V DL falls within the matching analog range 310), then the aCAM cell 300 detects a match.
[0046] The aCAM cell 300 can also be considered to implement a search outside of multiple non - overlapping non - matching analog ranges 314, 316. That is, for any input voltage V DL falling within the analog range 314 (i.e., V DL <V3) or for any input voltage V DL falling within the analog range 316 (i.e., V2 < V DL <V1), the match line 308 will discharge, and a non - match will be detected. Conversely, for any input voltage V DL, the matching line 308 will not discharge, and a match will be detected. More specifically, if the following Boolean expression is true, the aCAM unit 300 returns a match, and if the expression is false (FALSE), no match is returned: (G1 is low OR G2 is low) AND G3 is low. This expression is equivalent to the following expression: (V DL > V1 OR V DL < V2) AND V DL > V3.
[0047] Now referring more specifically to the operation of the aCAM unit 300, assume that an input voltage V less than V3 is supplied to the unit 300 DL . This corresponds to a scenario where the input voltage V DL falls within the non - matching analog range 314. In this scenario, the gate voltage G1 at the pull - down transistor 318 is high, but the gate voltage G2 at the pull - down transistor 320 is low. Therefore, the pull - down transistor 320 remains off, the discharge path associated with the pull - down transistors 318, 320 is not completed, and the matching line 308 does not discharge. However, the gate voltage G3 at the pull - down transistor 322 is high similar to the gate voltage G1 (because the voltage divider circuit 306 has the same structure as the voltage divider circuit 302), and thus, the pull - down transistor 322 conducts, causing the matching line 308 to discharge and no match to be detected.
[0048] Specifically, in this scenario, the input voltage V DL is not sufficient to overcome the threshold voltage of the transistor 108 of the voltage divider circuit 306. Therefore, the transistor 108 has a low effective conductivity (high resistance) relative to the memristor 106, resulting in a large voltage drop across the transistor 108, and thus, a high voltage above the transistor 108 (e.g., between the memristor 106 and the transistor 108). This high voltage corresponds to the high gate voltage G3 that turns on the pull - down transistor 322. It should be understood that this scenario shows how the voltage divider circuit 306 and the pull - down transistor 322 enforce a voltage lower limit V3, resulting in a matching range 310 that does not extend all the way to the minimum voltage that can be stored / search by the unit 300. That is, in the absence of the voltage divider circuit 306, any input voltage V DL < V2 would result in a match, similar to the aCAM unit 100.
[0049] Now assume that an input voltage V greater than V3 but less than V2 is supplied to the aCAM unit 300 DL . This corresponds to the input voltage V DLScenario that falls within the matching analog range 310. In this scenario, the gate voltage G2 at the pull-down transistor 320 is low. Therefore, the pull-down transistor 320 remains off, the discharge path associated with the pull-down transistors 318, 320 is not completed (regardless of whether the gate voltage G1 is sufficient to turn on the pull-down transistor 318), and the match line 308 is not discharged. Further, for the voltage divider circuit 306, the input voltage V DL The voltage at which the match line 308 is discharged is sufficient to overcome the threshold voltage of the transistor 108, which results in a high effective conductivity of the transistor 108 relative to the memristor 106 and, therefore, a low voltage at the node between the memristor 106 and the transistor 108. This low voltage corresponds to a low gate voltage G3 at the pull-down transistor 322, which is insufficient to turn on the transistor 322. As a result, the pull-down transistor 322 does not discharge the match line 308. Thus, in this scenario, the discharge path associated with the series-connected pull-down transistors 318, 320 remains closed because the transistor 320 remains off, and the discharge path associated with the pull-down transistor 322 also remains closed because the transistor 322 remains off. As a result, the match line 308 is not discharged through either of the parallel discharge paths, causing the aCAM cell 300 to return to matching.
[0050] Now suppose that the input voltage V is greater than V2 but less than V1 DL is supplied to the aCAM unit 300. This corresponds to the input voltage V DL The scenario falls within the non-matching simulation range 316. In this scenario, V DL is insufficient to overcome the threshold voltage of transistor 108 of voltage divider circuit 302, which results in transistor 108 having a low effective conductivity relative to memristor 106 and, therefore, a high voltage at the node between memristor 106 and transistor 108. This high voltage at the node corresponds to a high gate voltage G1 at pull-down transistor 318, thereby turning on transistor 318. In addition, input voltage V DL The threshold voltage of transistor 112 is sufficient to overcome the voltage divider circuit 304, which results in a high effective conductivity of transistor 112 relative to memristor 110 and, therefore, a low voltage at node 132 between memristor 110 and transistor 112. This low voltage at node 132 is then inverted to obtain a high gate voltage G2 at pull-down transistor 320, thereby turning on transistor 320. With both pull-down transistors 318, 320 in series turned on, the discharge path is completed and the match line 308 is discharged, resulting in a mismatch.
[0051] It should be understood that in the scenario just described above, match line 308 is discharged regardless of what happens to the parallel discharge path associated with pull-down transistor 322. That is, match line 308 is discharged based on the discharge path associated with the series-connected pull-down transistors 318, 320 being open, regardless of whether the parallel discharge path associated with pull-down transistor 322 is closed. For example, input voltage V DL It may be sufficient to turn on the transistor 108 of the voltage divider circuit 306, resulting in a low voltage at the node between the memristor 106 and the transistor 108, and thus a low gate voltage G3 at the pull-down transistor 322. The low gate voltage G3 causes the transistor 322 to remain off and the associated discharge path to remain closed. However, this is inconsequential in this scenario, as only one of these parallel discharge paths needs to be opened to discharge the match line 308 and generate a mismatch result.
[0052] Now suppose that the input voltage V is greater than V1 DL is supplied to the aCAM unit 300. This corresponds to the input voltage V DL The scenario falls within the matching simulation range 312. In this scenario, V DL The voltage at the node between the memristor 106 and the transistor 108 is sufficient to overcome the threshold voltage of the transistor 108 of the voltage divider circuit 302, which results in a high efficiency conductivity of the transistor 108 relative to the memristor 106 and, therefore, a large voltage drop across the memristor 106 and a low voltage at the node between the memristor 106 and the transistor 108. This low voltage at the node corresponds to a low gate voltage G1 at the pull-down transistor 318, causing the transistor 318 to remain off. Therefore, even though the pull-down transistor 320 associated with the voltage divider circuit 304 is turned on, because the pull-down transistor is arranged in series with the pull-down transistor 318 (which remains off), the discharge path is not completed and the match line 308 is not discharged. In addition, similar to the voltage divider circuit 302, the input voltage V DL This is sufficient to overcome the threshold voltage of transistor 108 of voltage divider circuit 306, which results in transistor 108 having an efficient conductivity relative to memristor 106, and thus results in a large voltage drop across memristor 106 and a low voltage at the node between memristor 106 and transistor 108 of voltage divider circuit 306. This low voltage corresponds to a low gate voltage G3 at pull-down transistor 322, causing transistor 320 to remain off. As a result, the discharge path associated with pull-down transistor 322 remains closed, and match line 308 is not discharged. Therefore, in this scenario, both parallel discharge paths remain closed and match line 308 is not discharged, resulting in a match being detected.
[0053] It should be understood that aCAM cell 300 is an illustrative implementation for implementing a search for multiple analog value segments. Specifically, a particular aCAM cell 300 implementation is configured to search two disjoint analog ranges 310, 312. However, the combination of AND and OR logic embodied in aCAM cell 300 can be extended to cover any number of analog range segments. For example, an additional voltage divider circuit (similar to voltage divider circuit 304) with inverter 104 and associated pull-down transistors can be added in series with voltage divider circuit 306 and in parallel with the combination of voltage divider circuits 302 and 304. The additional voltage divider circuit and associated pull-down transistor can force a new upper limit that is greater than V1 but less than the maximum voltage that the cell 300 can store / search. More generally, one or more additional voltage divider circuits (e.g., voltage divider circuit 102 and / or voltage divider circuit 104) may be arranged in series and / or in parallel with voltage divider circuits 302, 304, 306 to generate an aCAM cell capable of searching any desired arbitrary analog range segment combination.
[0054] Figure 4 An alternative pass gate aCAM circuit implementation is depicted that encodes and enables searching outside of a range of analog values in accordance with some embodiments. Figure 4 The aCAM cell 400 depicted in FIG. 4 includes a search line 406, a data line 408, and a match line 410. The aCAM cell 400 further includes a voltage divider circuit 402 that does not include an inverter and a voltage divider circuit 404 that includes an inverter. In some embodiments, the voltage divider circuit 402 has the same circuit structure as the voltage divider circuit 102, and the voltage divider circuit 404 has the same circuit structure as the voltage divider circuit 104. That is, in some embodiments, the voltage divider circuit 402 includes a memristor 106 and a transistor 108 connected in series, wherein the memristor 106 is connected to one of the select lines 406, and the transistor 108 is connected to the other select line 406. Further, in some embodiments, the voltage divider circuit 404 includes a memristor 110 and a transistor 112 connected in series, which in turn are connected to an inverter formed by transistors 114 and 116, and wherein the memristor 110 is connected to one of the select lines 406, and the transistor 112 is connected to the other select line 406.
[0055] aCAM cell 400 differs from aCAM cell 100 at least in that pass-gate transistors 412, 414 are used instead of pull-down transistors 118, 120. Figure 14. In the embodiment of the present invention, when an aCAM cell 100 is selected, a corresponding voltage may be applied to a select line 406 to activate the aCAM cell 400, or more specifically, to activate the aCAM row containing the aCAM cell 400. The select line 406 provides a voltage drop across the voltage divider circuit 402. The resistance on the transistor 108 of the voltage divider circuit 402 at least partially determines the voltage G1, which in turn determines the voltage applied to the pass gate 414. Along similar lines, the resistance on the transistor 112 of the voltage divider circuit 404 at least partially determines the voltage G2 at the pass gate 412.
[0056] However, in contrast to the aCAM cell 100, the match line 410 is not pre-charged to a high voltage. Instead, the match line 410 is charged to Vdd on one side (e.g., the left side) of the pass gates 412, 414 and measured on the other side of the pass gates 412, 414. Only when there is an open circuit through at least one of the pass gates 412, 414 will the measurement pick up Vdd on the other side of the pass gates 412, 414 and a match is detected. Therefore, in the aCAM cell 400, only one of the pass gate transistors 412, 414 needs to be in a specific state (i.e., turned on) for an open circuit to exist so that the match line voltage can be measured on the other side of the pass gates 412, 414, thereby detecting a match. Although the aCAM cell 100 operates differently (i.e., precharging the match line and detecting a match as long as the precharged match line is not discharged, rather than charging the match line and detecting a match based on measuring the voltage at a specific location along the match line), it is similar in that only one of the pull-down transistors 118, 120 needs to be in a specific state (i.e., off) in order for the match line to be held high and thus a match to be detected.
[0057] Another difference between aCAM cell 400 and aCAM cell 100 is which memristor establishes which limit of the mismatch analog range 420. Specifically, in aCAM cell 400, the conductivity G of memristor 106 of voltage divider circuit 402 is M1 can be adjusted to establish the lower voltage limit V of the non-matching analog value range 420 LB , and the conductivity G of the memristor 110 of the voltage divider circuit 404 M2 can be adjusted to establish the upper voltage limit V of the non-matching range 420 UB More specifically, the upper voltage limit V imposed by the aCAM unit 400 UB It can be the conductivity G of the memristor 110 M2 function (i.e., V UB =f(G M2 )), and the voltage lower limit V LB The conductivity G of the memristor 106 may be M1function (i.e., V LB =f(G M1 )). This is related to the conductivity G of the memristor 110. M2 Set V LB The conductivity G of the memristor 106 is M1 Set V UB The aCAM unit 100 is inverted.
[0058] Referring now to its operation in more detail, the aCAM cell 400 detects a match if the search input value falls outside of the no-match analog range 420. That is, if the search input value - represented by the input voltage V on the data line 408 - DL— - The unit 400 detects a match if the following Boolean OR statement is satisfied: V DL <V LB V DL >V UB On the other hand, if the Boolean expression V DL <V LB V DL >V UB is false, then cell 400 will not detect a match. This Boolean expression is false only when both conditions are false, and in this case, the input voltage V DL falls within the non-matching range 420 (i.e., V LB <V DL <V UB ).
[0059] For example, assume that a voltage mapped to the input data line voltage V DL <V LB In some embodiments, the input data line voltage V DL The input voltage V is divided into the transistor 108 of the voltage divider circuit 402 and the transistor 112 of the voltage divider circuit 404, respectively. DL1 and V DL2 In this example scenario, the operation of the voltage divider circuit 402 is of particular interest. As previously described with respect to the aCAM cell 100, when the input data line voltage V DL1 When V is low, transistor 108 remains off and the effective conductivity across transistor 108 is low. This results in a large voltage drop across transistor 108 and a high voltage G1 at the node between memristor 106 and transistor 108, which in turn translates to a high voltage G1 at pass-gate transistor 414. In this way, pass-gate transistor 414 turns on, providing a path for the match line voltage to pass through the pass-gate, and a match is detected. Therefore, in aCAM cell 400, voltage divider circuit 402 controls / enforces the lower limit V for the non-match range 420. LBSearch outside the scope of .
[0060] If the input data line voltage V DL Less than V LB , then the aCAM cell 400 detects a match regardless of the voltage G2 applied to the pass-gate transistor 412. Specifically, in some embodiments, when V DL Less than V LB When V DL2 is insufficient to overcome the threshold voltage of transistor 112. This results in a low effective conductivity of transistor 112 and a high voltage at the node between memristor 110 and transistor 112. This high voltage is inverted to obtain a low G2 voltage, which is provided to pass-gate transistor 412 but is insufficient to turn on pass-gate transistor 412. However, the fact that pass-gate 412 remains off is insignificant because the voltage G1 supplied to pass-gate transistor 414 is sufficient to turn on transistor 414 and provide an uninterrupted path for matching the line voltage.
[0061] On the other hand, now assume that V is applied to the data line 408 DL >V UB In this example scenario, of particular interest is the operation of voltage divider circuit 404. As previously described, V DL Divided into V DL1 and V DL2 , resulting in a high gate voltage at transistor 112 of voltage divider circuit 404, which translates into a high effective conductivity of transistor 112 compared to memristor 110 and therefore a large voltage drop across memristor 110. As a result, the voltage at the node above transistor 112 and below memristor 110 is low, which, when inverted, results in a high voltage G2 being applied to pass-gate transistor 412, thereby turning it on. In this way, an uninterrupted path is provided for the match line voltage to pass through the pass-gate, resulting in a measurable voltage on match line 410 after the pass-gate, and thus resulting in detection of a match. Thus, in aCAM cell 400, voltage divider circuit 404 controls / enforces an upper limit V for non-match range 420. UB Search outside the scope of .
[0062] It should be noted that in this V DL Greater than V UB In the scenario of , the voltage G1 supplied to the pass-gate transistor 414 is irrelevant. Specifically, the high input voltage V supplied to the transistor 108 of the voltage divider circuit 402 DL1 This results in a high effective conductivity of transistor 108 and a relatively large voltage drop across memristor 106, and therefore a low voltage G1 that is insufficient to turn on pass-gate transistor 414. However, since only one pass-gate needs to be turned on to provide a path for the matching line voltage and detect a match, a voltage greater than VUB V DL - which causes pass gate 412 to turn on - resulting in a match being detected despite pass gate transistor 414 remaining off.
[0063] Now assume that a voltage V is applied to the data line 408. LB and V UB The unmatched analog range is defined as 420 V DL (i.e., V LB <V DL <V UB ). As mentioned above, V DL Divided into V DL1 and V DL2 , where V DL1 is supplied to transistor 108 of voltage divider circuit 402, while V DL2 is supplied to transistor 112 of voltage divider circuit 404. In this example scenario, V DL1 This is sufficient to overcome the threshold voltage of transistor 108, resulting in a high effective conductivity (i.e., a low resistance state) of transistor 108 compared to memristor 106, and resulting in a large voltage drop across memristor 106. As a result, a low voltage appears at the node between memristor 106 and transistor 108, which corresponds to the low voltage G1 at pass-gate transistor 414 and is insufficient to turn on transistor 414.
[0064] On the other hand, V DL2 is insufficient to overcome the threshold voltage of transistor 112, resulting in a low effective conductivity (i.e., a high resistance state) of transistor 112 compared to memristor 110, and resulting in a large voltage drop across transistor 112, which results in a high voltage between memristor 110 and transistor 112. This high voltage is inverted, resulting in a low voltage G2 at pass-gate transistor 412 that is insufficient to turn on transistor 412. Therefore, for the transistor 412 located at the gate voltage V LB and V UB Any input voltage within the defined range of 420 V DL (i.e., V LB <V DL <V UB ), both pass-gate transistors 412, 414 remain off and no path across the pass-gate is provided for matching the line voltage. This results in a mismatch.
[0065] Figure 5A Depicted is a voltage diagram 500A illustrating Figure 4As shown in voltage graph 500A, assuming that memristor 106 (M1) is adjusted to a given conductivity that establishes the lower limit of non-matching analog range 420 of aCAM cell 400, an input voltage V below the threshold indicated by the dashed line is DL This will result in a voltage G1 sufficient to turn on pass-gate transistor 414, thereby providing an uninterrupted path for matching the line voltage and resulting in matching.
[0066] Figure 5B Depicted is a voltage graph 500B illustrating Figure 4 The inverting voltage divider circuit of the aCAM circuit 400 matches the input voltage above the upper limit. As shown in the voltage diagram 500B, assuming that the memristor 110 (M2) is adjusted to a given conductivity that establishes the upper limit of the non-matching analog range, the input voltage V above the threshold indicated by the dashed line DL This will result in a voltage G2 that is insufficient to turn on the pass-gate transistor 412, thereby providing an uninterrupted path for the matching line voltage and resulting in a match. It should be understood that voltage diagrams 500A and 500B illustrate the functions of the non-inverting voltage divider circuit 102 and the inverting voltage divider circuit 104 of the aCAM cell 400 separately, but do not necessarily collectively represent a search outside of the non-matching range 420. Figure 4 To search outside of the specific range 420 depicted in FIG. 4 , the lower voltage limit and the upper voltage limit may be modified.
[0067] Figure 6 A pass-gate implementation of a hybrid AND and OR type aCAM cell 600 is depicted that encodes and implements a search of multiple disjoint ranges of analog values, or in other words, implements a search outside of multiple disjoint ranges. The aCAM cell 600 includes various circuit sub-cells 602, 604, 606. In some embodiments, the sub-cell 602 may have the same functionality as the aCAM cell 400 ( Figure 4 ), and the sub-unit 604 may have the same structure as the voltage divider circuit 404 including an inverter. The sub-units 602, 604 are connected to pass-gate transistors 608, 610, respectively, which in turn are connected to the match line 622. The pass-gate transistors 608, 610 may be pass-gate transistors 414, 412, respectively. Therefore, the combination of the sub-units 602 and 604 and the pass-gate transistors 608, 610 is similar in structure to the aCAM unit 400.
[0068] The sub-unit 606 can be an additional voltage divider circuit having an inverter. For example, the sub-unit 606 can have the same structure as the sub-unit 604. The sub-unit 606 is connected to the through-gate transistor 612, which in turn is connected to the match line 622. For ease of explanation, the sub-units 602, 604, 606 will be referred to hereinafter as the voltage divider circuits 602, 604, 606, respectively. The additional voltage divider circuit 606 establishes a new lower limit V3 for the aCAM unit 600, which enables searching for multiple non-overlapping segments of the analog range. Specifically, if the input voltage V DL is greater than V2 (in which case, V DL falls within the matching analog range 616), or if the input voltage V DL is greater than V3 and less than V1 (in which case, V DL falls within the matching analog range 614), then the aCAM unit 600 detects a match. The aCAM unit 600 can also be considered to implement a search outside of multiple non-overlapping non-matching analog ranges 618, 620. That is, for any input voltage V DL falling within the analog range 618 (i.e., V DL < V3) or for any input voltage V DL falling within the analog range 620 (i.e., V1 < V DL < V2), no match is detected.
[0069] Due to the introduction of the additional voltage divider circuit 606 and the additional through-gate transistor 612 connected to the match line 622, the through-gate transistor 612 needs to be turned on for the aCAM unit 600 to return a match. That is, similar to the aCAM unit 400, at least one of the through-gate transistors 608, 610 needs to be turned on to provide an uninterrupted path for the match line voltage, but compared to the aCAM unit 400, the through-gate transistor 612 also needs to be turned on to provide an uninterrupted voltage path. More specifically, if the following Boolean expression is true, then the aCAM unit 600 returns a match, and if the expression is false, no match is returned: (G1 is high OR G2 is high) AND G3 is high. This expression is equivalent to the following expression: (V DL > V2 OR V DL < V1) AND V DL > V3.
[0070] Now referring in more detail to the operation of the aCAM unit 600, assume that an input voltage V DL less than V3 is supplied to the unit 600. This corresponds to the input voltage V DLScenarios falling within the non - matching simulation range 618. In such a scenario, the voltage G2 at the through - gate transistor 610 is low, but the voltage G1 at the through - gate transistor 608 is high. Thus, even though the through - gate transistor 602 remains off, the through - gate transistor 610 is turned on. However, the voltage G3 at the through - gate transistor 612 is low, and thus the transistor 612 remains off. As a result, there is no uninterrupted path for the voltage to cross the through - gate on the matching line 622. Therefore, the matching line voltage is not measured across the through - gate, and no match is detected.
[0071] The voltage divider circuit 606 operates in a similar manner to the voltage divider circuit 604. More specifically, in this scenario, the input voltage V DL is not sufficient to overcome the threshold voltage of the transistor 112 of the voltage divider circuit 606. Thus, the transistor 112 has a low effective conductivity (high resistance) relative to the memristor 110, resulting in a large voltage drop across the transistor 112 and, therefore, a high voltage above the transistor 112 (e.g., between the memristor 110 and the transistor 112). This high voltage is inverted, resulting in a low voltage G3 sufficient to turn on the through - gate transistor 612. It should be understood that this scenario demonstrates how the voltage divider circuit 606 and the through - gate transistor 612 enforce a lower voltage limit V3, resulting in a matching range 614 that does not extend all the way to the minimum voltage that can be stored / searched by the cell 600. That is, in the absence of the voltage divider circuit 606, any input voltage V DL < V1 would result in a match, similar to the aCAM cell 400.
[0072] Now assume that an input voltage V greater than V3 but less than V1 is supplied to the aCAM cell 600. DL This corresponds to a scenario where the input voltage V DL falls within the matching simulation range 614. In this scenario, the input voltage V DL is sufficient to overcome the threshold voltage of the transistor 112 of the voltage divider circuit 606, which results in a high effective conductivity of the transistor 112, a large voltage drop across the memristor 110, and a low voltage at the node between the memristor 110 and the transistor 112. This low voltage is inverted to obtain a high voltage G3 that turns on the through - gate transistor 612. Additionally, the input voltage V DLThis is insufficient to overcome the threshold voltage of transistor 108 of voltage divider circuit 602, resulting in low effective conductivity of transistor 108 and a relatively large voltage drop across transistor 108. Therefore, voltage G1 between memristor 106 and transistor 108 is high, and this high voltage G1 is applied to pass-gate transistor 608 to turn it on. Since pass-gate transistor 612 and at least one of pass-gate transistors 608, 610 (i.e., pass-gate transistor 609) are on, an uninterrupted path is provided for matching the line voltage, and a match is detected.
[0073] It should be understood that in this scenario, a match is detected regardless of the voltage G2 and the state of the pass-gate transistor 610. That is, the input voltage V DL may not be sufficient to overcome the threshold voltage of transistor 112, resulting in a high voltage at the node between memristor 110 and transistor 112 due to the low effective conductivity of transistor 112. This high voltage is inverted to obtain a low voltage G2 applied to pass-gate transistor 610. Voltage G2 is insufficient to turn on transistor 610. However, this is insignificant in this scenario because pass-gate transistor 612 is conductive and, therefore, only one of pass-gate transistors 608, 610 needs to be turned on to provide an uninterrupted path for the matching line voltage through the pass-gate.
[0074] Now suppose that the input voltage V is greater than V1 but less than V2 DL is supplied to the aCAM unit 600. This corresponds to the input voltage V DL The scenario falls within the non-matching simulation range 620. In this scenario, V DL The threshold voltage of transistor 112 of voltage divider circuit 604 is insufficient to overcome, which results in transistor 112 having a low effective conductivity relative to memristor 110 and, therefore, a high voltage at the node between memristor 110 and transistor 112. This high voltage is inverted to produce a low voltage G2 at pass-gate transistor 604 that is insufficient to turn on transistor 604, thereby keeping the transistor in the off state. In addition, input voltage V DL The threshold voltage of transistor 108 is sufficient to overcome the voltage divider circuit 602, which results in a high effective conductivity of transistor 108 relative to memristor 106, and thus a low voltage at the node between memristor 106 and transistor 108. This low voltage, which is supplied to pass-gate transistor 608 as voltage G1, is insufficient to turn on transistor 608. Since neither pass-gate transistor 608, 610 is conducting, there is no path for the matching line voltage across pass-gates 608, 610, and thus no match is detected.
[0075] It should be understood that in the scenario just described above, no match can be detected regardless of the state of the pass-gate transistor 612. DL It may be sufficient to turn on transistor 112 of voltage divider circuit 606, resulting in a low voltage at the node between memristor 110 and transistor 112, and this low voltage is then inverted to produce a high voltage G3 at pass-gate transistor 612. High voltage G3 may be sufficient to turn on pass-gate transistor 612, but this is irrelevant in this scenario because neither pass-gate 608 or pass-gate 610 is turned on, and therefore, there is no complete uninterrupted path for the match line voltage across all pass gates connected to match line 622.
[0076] Now suppose that the input voltage V is greater than V2 DL is supplied to the aCAM unit 600. This corresponds to the input voltage V DL The scenario falls within the matching simulation range 616. In this scenario, V DL The voltage G3 is high enough to overcome the threshold voltage of transistor 112 of voltage divider circuit 604, which results in transistor 112 having efficient conductivity relative to memristor 110 and, therefore, a large voltage drop across memristor 110 and a low voltage at the node between memristor 110 and transistor 112. This low voltage is inverted to produce a high voltage G2 at transistor 604, thereby turning on the transistor. Voltage G3 is similarly high and sufficient to turn on pass-gate transistor 612. Thus, a complete uninterrupted path across the pass-gate is provided for the matching line voltage via pass-gate 612 and pass-gate 610, resulting in a match being detected. Similar to the other scenarios described previously, it does not matter that voltage G1 is too low to turn on pass-gate 608, because only one of pass-gates 608, 610 needs to be turned on to provide an uninterrupted path for the matching line voltage.
[0077] It should be understood that the aCAM cell 600 is an illustrative pass-gate implementation for implementing a search for multiple analog value segments. Specifically, a particular aCAM cell 600 implementation is configured to search two disjoint analog ranges 614, 616. The combination of AND and OR logic embodied in the aCAM cell 600 can be extended to cover any arbitrary number of analog range segments. For example, an additional voltage divider circuit without inverter 102 and associated pass-gate transistors can be added to the cell 600. The additional voltage divider circuit can force a new upper limit that is greater than V2 but less than the maximum voltage that the cell 600 can store / search. More generally, one or more additional voltage divider circuits (e.g., voltage divider circuit 102 and / or voltage divider circuit 104) and associated pass-gate transistors can be added to the cell 600 to obtain an aCAM cell capable of searching any desired arbitrary analog range segment combination.
[0078] Figure 7 An aCAM circuit implementation using a 3-terminal device is depicted that encodes and implements a search outside of an analog value range in accordance with some embodiments. The aCAM cell 700 includes a first 3-terminal device 702 and a second 3-terminal device 704 connected in series to a match line 706. Device 702 can be, for example, a p-type ferroelectric field effect transistor (Fe FET) (a FET that includes a ferroelectric material sandwiched between a gate electrode and a source-drain conductive region of the device); a floating gate MOSFET (e.g., flash memory, ion floating gate, etc.); etc. Device 704 can be, for example, an n-type Fe FET, a floating gate MOSFET, etc.
[0079] In some embodiments, the p-type 3-terminal device 702 encodes the upper limit V of the unmatched analog range 710. UB , while the n-type 3-terminal device 704 encodes the lower limit of the mismatch range 710 V LB More specifically, in some embodiments, V UB can be the threshold voltage of the p-type 3-terminal device 702, which is subjected to an input data line voltage V lower than the threshold voltage of the device 702. DL Similarly, V LB may be the threshold voltage of the n-type 3-terminal device 704, which is subjected to an input data line voltage V higher than the threshold voltage of the device 704. DL Therefore, for any input data line voltage V applied to devices 702, 704 DL (Wherein, V DL >V UB ), the p-type device 702 is not conducting, because V DL is not lower than the threshold voltage of device 702. As a result, the discharge path is not completed (even though n-type device 704 is turned on), match line 706 is not discharged, and a match is detected. Accordingly, any input data line voltage V DL >V UB All fall within the matching simulation range 712.
[0080] Further, for any input data line voltage V applied to devices 702, 704 DL (Wherein, V DL <V LB ), the n-type device 704 is not conducting, because V DL is not higher than the threshold voltage of device 704. As a result, the discharge path is not completed (even though p-type device 702 is turned on), match line 706 is not discharged, and a match is detected. Accordingly, any input data line voltage V DL >V LB All fall within the matching analog range 708. Finally, when the input data line voltage VDL (Wherein, V LB <V DL <V UB ) is applied to devices 702 and 704, both devices 702 and 704 are turned on because V DL is both below the threshold voltage of the p-type device 702 and above the threshold voltage of the n-type device 704. As a result, the discharge path is completed, the match line 706 is discharged, and no match is detected. In this way, the aCAM cell 700 enables storage and searching out of range (e.g., outside of the non-match analog range 710).
[0081] Figure 8 An aCAM circuit implementation using 3-terminal devices is depicted that encodes and implements a search for multiple disjoint analog value ranges in accordance with some embodiments. Similar to aCAM cell 700, aCAM cell 800 includes a first 3-terminal device 802 and a second 3-terminal device 804 connected in series to a match line 808. However, compared to aCAM cell 700, aCAM cell 800 further includes a third 3-terminal device 806 connected in parallel to the series-connected devices 802, 804 to the match line 808. In some embodiments, device 802 may be a p-type 3-terminal device similar to device 702, device 804 may be an n-type 3-terminal device similar to device 704, and device 806 may be a p-type device similar to device 802. Each of devices 802, 804, 806 may be any of the example types of 3-terminal devices mentioned above.
[0082] As previously described, the aCAM cell 800 implements searching of multiple non-intersecting analog ranges. Similar to the aCAM cell 700, the p-type 3-terminal device 802 encodes the upper limit V1 of the non-matching analog range 816, while the n-type 3-terminal device 804 encodes the lower limit V2 of the non-matching range 816. V1 can be the threshold voltage of the p-type device 802, while V2 can be the threshold voltage of the n-type device 804. The p-type 3-terminal device 806 introduces another limit in the form of an upper limit V3 of another non-matching analog range 814, which can be the threshold voltage of the device 806. Therefore, connecting the device 806 in parallel with the series-connected devices 802, 804 to the match line 808 enables the aCAM cell 800 to store / search multiple non-intersecting matching analog ranges 810, 812, or in other words, to store / search outside of multiple non-intersecting non-matching analog ranges 814, 816.
[0083] Specifically, similar to aCAM cell 700, for any input data line voltage V applied to devices 802, 804, 806 DL (Where V DL >V1), the p-type device 802 is not conducting, because VDL is not lower than the threshold voltage of device 802. As a result, the discharge path is not completed (even if the n-type device 804 is turned on), and the matching line 706 does not discharge through the series-connected devices 802 and 804. Similarly, V DL is also not lower than the threshold voltage of the p-type device 806, and thus, the device 806 is not turned on, and the matching line 808 does not discharge through the device 806. Accordingly, any input data line voltage V DL > V1 falls within the matching analog range 812.
[0084] Further, similar to the aCAM cell 700, for any input data line voltage V applied to the devices 802 and 804 DL (where V DL < V3 < V2), the n-type device 804 is not turned on because V DL is not higher than the threshold voltage (V2) of the device 804. As a result, the discharge path for the series-connected devices 802 and 804 is not completed (even if the p-type device 802 is turned on), and the matching line 808 does not discharge. However, compared with the aCAM cell 700, the matching line 808 discharges through the device 806. Specifically, for V DL < V3, the p-type device 806 is turned on because V DL is lower than the threshold voltage (V3) of the device 806. As a result, the matching line 808 discharges through the device 806, and no match is detected. Accordingly, any input data line voltage V DL < V3 falls within the non-matching analog range 814.
[0085] Now referring to other example scenarios, when the input data line voltage V DL (where, V3 < V DL < V2) is applied to the devices 802, 804, and 806, the p-type device 806 remains off because V DL is not lower than the threshold voltage (V3) of the device 806. Thus, the device 806 does not discharge the matching line 808. Further, the n-type device 804 also remains off because V DL is lower than the threshold voltage (V2) of the device 804. Thus, although the device 802 is turned on because V DL is lower than the threshold voltage V1 of the p-type device 802, the discharge path associated with the series-connected devices 802 and 804 remains closed because the device 804 is off. Thus, when the input data line voltage V DL is within the matching analog range 810, the matching line 808 does not discharge because there is no complete discharge path, and a match is detected.
[0086] Finally, when the input data line voltage V DL(where V2 < V DL < V1) is applied to devices 802, 804, 806, the p-type device 806 conducts because V DL is greater than the threshold voltage (V3) of device 806. Thus, the p-type device 806 does not discharge the match line 808. However, both of the series devices 802, 804 conduct because V DL is both lower than the threshold voltage (V1) of the p-type device 802 and higher than the threshold voltage (V2) of the n-type device. As a result, for any input data line voltage V DL falling within the non-match analog range 816, the discharge path through devices 802, 804 is completed, the match line 808 is discharged, and no match is detected.
[0087] Fig. 9 depicts an OR-type aCAM circuit implementation according to some embodiments, which encodes and implements a search for any analog value range of multiple independent inputs. Fig. 9 The aCAM cell 900 depicted in includes a first voltage divider circuit 906 and a second voltage divider circuit 908. Each of the first voltage divider circuit 906 and the second voltage divider circuit 908 has a circuit structure similar to that of the voltage divider circuit 102 ( Figure 1 ). The first voltage divider circuit 906 is connected to the pull-down transistor 910, while the second voltage divider circuit 908 is connected to the pull-down transistor 912. The pull-down transistors 910, 912 are both connected in series to the match line 914. Further, the data line inputs to the aCAM cell 900 are not tied together as they were in the previously described aCAM implementations. Specifically, rather than splitting the input data line voltage and then supplying it to multiple sub-circuits, the first data line input 902 (DL1) supplied to the voltage divider circuit 906 is independent of the second data line input 904 (DL2) supplied to the voltage divider circuit 908.
[0088] The aCAM cell 900 detects a match if the following Boolean expression is true: G1 is low OR G2 is low, where G1 is the gate voltage applied to the pull-down transistor 910 and G2 is the gate voltage applied to the pull-down transistor 912. This expression is equivalent to the Boolean expression V DL1 > V1 OR V DL2 > V2. Thus, the example aCAM cell 900 implements an OR of two "greater than" inequalities. It should be understood that one or both of the circuits 906, 908 can be inverted with inverter circuits to implement "less than" inequalities. For example, the voltage divider circuit 906 and / or the voltage divider circuit 908 can be replaced with the voltage divider circuit 104 ( Figure 1) is replaced by a circuit having a similar structure. Alternatively, the "less than" inequality can also be implemented without changing the circuit structure of unit 900. Specifically, instead of implementing an inverter circuit, the input of the voltage divider circuit and the memristor of unit 900 can be reversed. With the input data line voltage V on data line 904 DL2 For example, V DL2 >V2 is equivalent to (V max -V DL2 )<(V max -V2). Therefore, the input V on data line 904 DL2 can be inverted to obtain V max -V DL2 , and the memristor of circuit 908 can be programmed to (V max -V2) instead of V2. The voltage divider circuit 908 modified in this way will implement the inequality V DL2 <V2.
[0089] As disclosed herein, an aCAM circuit implementation according to an embodiment of the disclosed technology provides the ability to store and search outside a range or within / outside multiple non-overlapping ranges. This capability is useful in a wide range of application contexts. Therefore, an aCAM circuit implementation according to an embodiment of the disclosed technology provides a technical solution that existing aCAM circuits do not have. For example, access control lists and network routing functions typically require searching when the input falls outside a range rather than within a range. The aCAM circuit according to an embodiment of the disclosed technology provides this capability, which existing aCAM circuits do not have. As another example, for some applications like random forest decision lookups, input feature values are compared (matched) to multiple segments within an allowable range. The aCAM circuit implementation disclosed herein according to an embodiment of the disclosed technology can perform this function in a single step, thereby greatly speeding up classification lookups.
[0090] In some embodiments, the aCAM cell 900 can be expanded to accommodate more than two inputs (e.g., DL3, DL4, etc.). For each such additional input, an additional voltage divider circuit that receives the additional input can be provided. Further, in some embodiments, each such additional voltage divider circuit drives a corresponding additional pull-down transistor connected in series with the pull-down transistors 910, 912 to the match line 914. For example, a third data line input can be used to apply a third independent input voltage to a third voltage divider circuit, which in turn drives a third pull-down transistor connected in series with the pull-down transistors 910, 912 to the match line 914. This can be expanded for any number of additional independent inputs to implement an OR clause of a desired length.
[0091] Fig.10Depicting the Fig. 9 The OR-type aCAM circuit implementation of the invention is extended to implement fast testing of input variable values related to the circuit satisfiability problem. The Boolean satisfiability problem (also known as B-SAT) is the problem of determining whether there is an interpretation that satisfies a given Boolean formula. In other words, it asks whether the variables of a given Boolean formula can always be replaced by the values true and false in a way that makes the formula evaluate to true. If this is the case, the formula is called satisfiable. On the other hand, if no such assignment exists, the function represented by the formula is false for all possible variable assignments, and the formula is unsatisfiable. For example, XANDNOTY is satisfiable, but XandNOTX is not. B-SAT is an NP-complete problem, which means that all problems in the complexity class NP, which includes a wide range of natural decision and optimization problems, are at most as hard to solve as B-SAT.
[0092] A special type of B-SAT problem is the 3-SAT problem, which involves determining the satisfiability of a Boolean formula that is in conjunctive normal form (CNF). An expression in CNF is an AND of OR clauses, where each OR clause has 3 variables. An example of a Boolean expression in CNF is: (-x OR-y OR z) AND (-x OR y OR-z) AND (x OR-y OR-z) AND (x OR y ORz). Since Fig. 9 The aCAM cell 900 implements a chain of OR operations, and as mentioned above, can accept three independent inputs (indeed, any number of inputs), so a row 1000 can be formed containing a set 1004 of such cells connected to a shared match line 1002 to implement the AND of the OR operations of each cell. This provides various technical advantages, including, for example, the ability to quickly test whether any variable value input satisfies a CNF expression. Further, the inputs can be extended beyond Boolean values to include continuous rather than binary inputs, enabling the aCAM to search for and evaluate groups of inequalities. This constitutes an analog extension of the Boolean circuit satisfiability problem.
[0093] Fig.11 is a flow chart of an illustrative method 1100 for searching outside of an analog range or searching multiple disjoint analog ranges using an aCAM circuit implementation according to some embodiments. In some embodiments, the method 1100 may be responsive to one or more processing units (e.g., Fig.12 (a) processor(s) 1204 or hardware accelerator 1208) executes the program stored in ( Fig.12The method 1100 is executed by machine / computer executable instructions in a storage device such as a main memory 1206, a read-only memory (ROM) 1212, and / or a storage device 1214. In some embodiments, the method 1100 may be performed at least in part by hard-wired logic embodied in a hardware accelerator 1208. The method 1100 will be illustratively described below as being performed by a hardware accelerator (e.g., hardware accelerator 1208) that includes an aCAM used to perform the search function in the method 1100.
[0094] At block 1102 of method 1100, the hardware accelerator receives an input search value. The input search value may be a discrete value (eg, a Boolean value) or an analog value. At block 1104, the hardware accelerator maps the input search value to an input data line voltage V DL At block 1106, the hardware accelerator applies a predetermined voltage to the match lines of the aCAM row. In some embodiments (such as those embodiments in which aCAM cell 100, aCAM cell 300, and / or aCAM cell 700 are being used), the match lines are precharged, and a match is detected / not detected based on whether the match lines are discharged. In other embodiments (such as those embodiments in which aCAM cell 400, aCAM cell 600, and / or aCAM cell 800 are being used), a voltage is applied to the match lines on one side of a plurality of pass gates, and a match is detected / not detected based on whether a match line voltage is measurable on the other side of the pass gates.
[0095] At block 1108, the hardware accelerator inputs the data line voltage V DL Divided into input voltage V DL1 and V DL2 In some embodiments, the input data line voltage V DL Divided into more than two input voltages, depending on the number of voltage divider circuits included in the aCAM unit. Further, in some other embodiments, these data line inputs may be independent of each other.
[0096] At block 1110, the hardware accelerator inputs a voltage V DL1 applied to the first voltage divider circuit of the aCAM unit and converts the input voltage V DL2 A second voltage divider circuit is applied to the aCAM unit. In some embodiments, if an additional voltage divider circuit is provided in the aCAM unit, the input data line voltage V DLIn some embodiments, the first voltage divider circuit may be a circuit 102 without an inverter, and the second voltage divider circuit may be a circuit 104 including an inverter. Further, the first voltage divider circuit may drive a first transistor connected to a match line, and the second voltage divider circuit may drive a second transistor connected to the match line. In some embodiments (e.g., aCAM cell 100), the first transistor and the second transistor may be pull-down transistors connected in series to the match line. In other embodiments (e.g., aCAM cell 400), the first transistor and the second transistor may be pass-gate transistors.
[0097] At block 1112, the hardware accelerator may optionally convert the input data line voltage V DL3 is applied to a third voltage divider circuit that drives a third transistor connected to the match line. The third voltage divider circuit may be, for example, another voltage divider circuit 102 (e.g., aCAM cell 300) that drives a third pull-down transistor connected to the match line in parallel with the series pull-down transistor. Alternatively, the third voltage divider circuit may be, for example, another voltage divider circuit 104 (e.g., aCAM cell 600) that drives a third pass-gate transistor connected in series with the first pass-gate transistor and the second pass-gate transistor. It should be understood that the aCAM cell may include more than three voltage divider circuits and additional corresponding transistors driven by such additional circuits, in which case additional data line inputs may be fed to the additional circuits.
[0098] At block 1114, the hardware accelerator may determine whether the input search value results in a match based on the characteristics of the match line voltage. In the pull-down transistor aCAM embodiments disclosed herein, the hardware accelerator may detect a match if the match line voltage is not discharged. In the pass-gate aCAM embodiments disclosed herein, the hardware accelerator may detect a match if the match line voltage applied to one side of the pass gate can be measured on the other side of the pass gate. Depending on the implementation, a detected match may correspond to the input search value being outside of the analog value range or the input search value being within one of a plurality of disjoint analog ranges.
[0099] Fig.12 A block diagram of an example computer system 1200 is depicted in which various embodiments described herein may be implemented. The computer system 1200 includes a bus 1202 or other communication mechanism for communicating information, one or more hardware processors 1204 coupled to the bus 1202 for processing information. The hardware processor(s) 1204 may be, for example, one or more general purpose microprocessors.
[0100] The computer system 1200 also includes a main memory 1206, such as a random access memory (RAM), cache, and / or other dynamic storage device, coupled to the bus 1202 for storing information and instructions to be executed by the processor 1204. The main memory 1206 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by the processor 1204. Such instructions, when stored in a storage medium accessible to the processor 1204, cause the computer system 1200 to become a special-purpose machine customized to perform the operations specified in the instructions.
[0101] The computer system 1200 further includes a hardware accelerator 1208. The hardware accelerator 1208 may be configured to execute instructions (i.e., programming code or software code) stored in the main memory 1206, ROM 1212, and / or storage device 1214 to encode a set of logic rules embodied in a data structure (e.g., decision tree 104) into the aCAM array 1210. In an example implementation, the example hardware accelerator 1208 may include a plurality of integrated circuits, which in turn may include an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other very large scale integrated circuit (VLSI). The integrated circuits of the example hardware accelerator 1208 may be specifically optimized to perform a discrete subset of computer processing operations in an accelerated manner, or to execute a discrete subset of computer executable instructions. For example, the hardware accelerator 1208 may be configured or manufactured to implement a set of logic rules embodied in a data structure (e.g., decision tree 104 on the a-CAM array 1210).
[0102] The a-CAM array 1210 may include non-volatile memory constructed using technologies including, for example, resistive memory (i.e., memristors), phase change memory, magnetoresistive memory, ferroelectric memory, some other resistive random access memory device (Re-RAM), or a combination of these technologies. More generally, the aCAM array 1210 may be implemented using technologies that allow the aCAM 1210 to retain its contents even when power is lost or otherwise removed. Thus, the data in the aCAM 1210 is "persistent," and the aCAM 1210 may act as so-called "non-volatile memory."
[0103] The computer system 1200 further includes a read only memory (ROM) 1212 or other static storage device coupled to the bus 1202 for storing static information and instructions for the processor 1204. A storage device 1214, such as a magnetic disk, optical disk, or USB thumb drive (flash memory drive), is provided and coupled to the bus 1202 for storing information and instructions.
[0104] The computer system 1200 may be coupled to a display 1216, such as a liquid crystal display (LCD) (or touch screen), via the bus 1202 for displaying information to a computer user. An input device 1218, including alphanumeric and other keys, is coupled to the bus 1202 for communicating information and command selections to the processor 1204. Another type of user input device is a cursor control 1220, such as a mouse, trackball, or cursor direction keys, for communicating direction information and command selections to the processor 1204 and for controlling cursor movement on the display 1216. In some embodiments, the same direction information and command selections as a cursor control may be implemented by receiving touches on a touch screen without a cursor.
[0105] The computing system 1200 may include a user interface module for implementing a GUI, which may be stored in a mass storage device as executable software code executed by the computing device(s). By way of example, this module and other modules may include components (such as software components, object-oriented software components, class components, and task components), processes, functions, properties, procedures, subroutines, program code segments, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables.
[0106] Generally, the words "component", "engine", "system", "database", "data storage", etc. as used herein may refer to logic implemented in hardware or firmware, or to a software instruction set written in a programming language such as Java, C or C++, which may have entry points and exit points. Software components can be compiled and linked to executable programs, installed in dynamic link libraries, or can be written in interpretive programming languages such as BASIC, Perl, or Python. It should be understood that software components can be called from other components or from themselves, and / or can be called in response to detected events or interrupts. Software components configured for execution on a computing device can be provided in a computer-readable medium such as a compact disk, a digital video disk, a flash memory drive, a disk, or any other tangible medium, or can be provided as a digital download (and can be stored originally in a compressed format or an installable format that needs to be installed, decompressed or decrypted before execution). Such software code can be stored in part or in whole on a memory device of an executing computing device for execution by the computing device. Software instructions can be embedded in firmware such as an EPROM. It will be further understood that hardware components may include connected logic units such as gates and flip-flops, and / or may include programmable units such as programmable gate arrays or processors.
[0107] The computer system 1200 may implement the techniques described herein using custom hard-wired logic, one or more ASICs or FPGAs, firmware, and / or program logic that is combined with the computer system to make the computer system 1200 a special purpose machine or programmed as a special purpose machine. According to one embodiment, the techniques herein are performed by the computer system 1200 in response to the processor(s) 1204 executing one or more sequences of one or more instructions contained in the main memory 1206. Such instructions may be read into the main memory 1206 from another storage medium, such as the storage device 1210. Execution of the sequences of instructions contained in the main memory 1206 causes the processor(s) 1204 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
[0108] As used herein, the term "non-transitory medium" and similar terms (such as machine-readable storage media) refer to any medium that stores data and / or instructions that cause a machine to operate in a specific manner. Such non-transitory media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 1210. Volatile media include dynamic memory, such as main memory 1206. Common forms of non-transitory media include, for example, floppy disks, floppy disks, hard disks, solid-state drives, magnetic tapes or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with a pattern of holes, RAM, PROMs and EPROMs, flash EPROMs, NVRAMs, any other memory chips or boxes, and networked versions of these media.
[0109] Non-transient media are distinct from transmission media but can be used in conjunction with transmission media. Transmission media participate in the transfer of information between non-transient media. For example, transmission media include coaxial cables, copper wire, and optical fiber, including the wires that comprise bus 1202. Transmission media can also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
[0110] Computer system 1200 also includes a communication interface 1222 coupled to bus 1202. Communication interface 1222 provides bidirectional data communication coupled to one or more network links, which are connected to one or more local networks. For example, communication interface 1222 can be an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem to provide data communication connections to corresponding types of telephone lines. As another example, communication interface 1222 can be a local area network (LAN) card to provide data communication connections to a compatible LAN (or a WAN component that communicates with a WAN). Wireless links can also be implemented. In any such implementation, communication interface 1222 sends and receives electrical signals, electromagnetic signals, or optical signals that carry digital data streams representing various types of information.
[0111] A network link typically provides data communications to other data devices through one or more networks. For example, a network link can provide a connection through a local network to a host computer or to data devices operated by an Internet Service Provider (ISP). The ISP, in turn, provides data communications services through a global packet data communications network now commonly referred to as the "Internet." Both local networks and the Internet use electrical, electromagnetic, or optical signals that carry digital data streams. Signals through various networks and signals on network links and through communication interface 1222 (which carry digital data to and from computer system 1200) are example forms of transmission media.
[0112] Computer system 1200 can send messages and receive data, including program code, through the network(s), network links and communications interface 1222. In the Internet example, a server can transmit the requested code for an application program through the Internet, an ISP, a local network and communications interface 1222.
[0113] The received code may be executed by processor 1204 as it is received, and / or stored in storage device 1210, or other non-volatile storage for later execution.
[0114] Each process, method, and algorithm described in the previous sections can be implemented in a code component executed by one or more computer systems or computer processors including computer hardware and automated in whole or in part by these code components. The one or more computer systems or computer processors can also operate to support the carrying out of related operations in a "cloud computing" environment, or operate as "software as a service" (SaaS). These processes and algorithms can be implemented in part or in whole in a dedicated circuit. The various features and processes described above can be used independently of each other, or can be combined in various ways. Different combinations and sub-combinations are intended to fall within the scope of the present disclosure, and some method boxes or process boxes can be omitted in some embodiments. The methods and processes described herein are also not limited to any specific order, and the boxes or states related to these methods and processes can be carried out in other appropriate orders, or can be carried out in parallel, or in some other way. Boxes or states can be added to or removed from the disclosed example embodiments. The carrying out of certain operations or processes can be distributed to multiple computer systems or computer processors so that it does not reside only in a single machine, but is deployed across multiple machines.
[0115] As used herein, circuits can be implemented using any form of hardware, software or a combination thereof. For example, one or more processors, controllers, ASIC, PLA, PAL, CPLD, FPGA, logic components, software routines or other mechanisms can be implemented to form circuits. In an embodiment, the various circuits described herein can be implemented as discrete circuits, or the described functions and features can be shared partially or entirely among one or more circuits. Even if various features or functional elements can be described or advocated separately as separate circuits, these features and functions can also be shared between one or more common circuits, and this description should not require or imply that separate circuits are needed to implement such features or functions. In the case of using software to implement circuits in whole or in part, such software can be implemented to operate together with a computing system or processing system (such as computer system 1200) that can perform the functions described about the software.
[0116] As used herein, the term "or" may be interpreted in an inclusive or exclusive sense. Furthermore, descriptions of resources, operations, or structures in the singular should not be understood to exclude the plural. Unless otherwise specifically provided, or otherwise understood within the context in which it is used, conditional language (such as, among others, "can," "could," "might," or "may") is generally intended to convey that certain embodiments include (and other embodiments do not include) certain features, elements, and / or steps.
[0117] Unless otherwise expressly stated, the terms and phrases used in this document and their variations should be interpreted as open-ended and not restrictive. Adjectives such as "conventional", "traditional", "normal", "standard", "known" and terms of similar meaning should not be interpreted as limiting the items described to items available in a given time period or at a given time, but should be understood to include conventional, traditional, normal or standard technology that may be available or known at any time now or in the future. In some cases, the presence of broad words and phrases such as "one or more", "at least", "but not limited to" or other similar phrases should not be understood to mean that narrower situations are intended or required where such broad phrases may not be present.
Claims
1. An analog content addressable memory (aCAM), comprising: Input data line; Matching lines; as well as A unit connected to the input data line and the match line, the unit comprising: a first adjustable resistance device having a first conductivity, the first conductivity establishing an upper voltage limit for the unmatched analog value range; and a second adjustable resistance device having a second conductivity, the second conductivity establishing a lower voltage limit for the range of unmatched analog values; Wherein, the match line voltage observed on the match line indicates a match only when the input data line voltage applied to the input data line is higher than the upper voltage limit or lower than the lower voltage limit.
2. The aCAM of claim 1, wherein: The unit further comprises: A first voltage divider circuit, the first voltage divider circuit comprising: The first adjustable resistance device; and A first transistor connected in series with the first adjustable resistance device; and A second voltage divider circuit, the second voltage divider circuit comprising: the second adjustable resistance device; and A second transistor connected in series with the second adjustable resistance device.
3. The aCAM of claim 2, further comprising: A first selection line and a second selection line, wherein the first adjustable resistance device and the second adjustable resistance device are both connected to the first selection line, and the first transistor and the second transistor are both connected to the second selection line.
4. The aCAM of claim 2, wherein the unit further comprises: a first pull-down transistor connected to the match line; as well as a second pull-down transistor connected in series with the first pull-down transistor to the match line, The first voltage divider circuit drives the first pull-down transistor, and the second voltage divider circuit drives the second pull-down transistor.
5. The aCAM of claim 4, wherein: The second voltage divider circuit further includes an inverter configured to invert a voltage signal and apply the inverted voltage signal as a gate voltage to the second pull-down transistor.
6. The aCAM of claim 4, wherein: The match line is pre-charged with the match line voltage, and wherein the aCAM detects the match if the match line is not discharged.
7. The aCAM of claim 6, wherein: If at least one of the first pull-down transistor or the second pull-down transistor is off, the match line is not discharged.
8. The aCAM of claim 7, wherein: In response to the input data line voltage being higher than the upper voltage limit, the first voltage divider circuit applies a first gate voltage to the first pull-down transistor that is insufficient to turn on the first pull-down transistor.
9. The aCAM of claim 7, wherein: In response to the input data line voltage being lower than the lower voltage limit, the second voltage divider circuit applies a second gate voltage to the second pull-down transistor that is insufficient to turn on the second pull-down transistor.
10. The aCAM of claim 4, wherein the unit further comprises: a third voltage divider circuit, the third voltage divider circuit comprising a third adjustable resistance device; as well as A third pull-down transistor driven by the third voltage divider circuit, wherein the third pull-down transistor is connected to the match line in parallel with the first pull-down transistor and the second pull-down transistor.
11. The aCAM of claim 10, wherein: The aCAM is configured to search the input data line voltage for a plurality of disjoint ranges of analog values.
12. The aCAM of claim 10, wherein: The third voltage divider circuit has the same circuit structure as the second voltage divider circuit.
13. The aCAM of claim 2, wherein the unit further comprises: a first pass-gate transistor connected to the match line; as well as a second pass-gate transistor connected to the match line; The first voltage divider circuit drives the first pass-gate transistor, and the second voltage divider circuit drives the second pass-gate transistor.
14. The aCAM of claim 13, wherein: The match line is charged with the match line voltage on a first side of the first and second pass-gate transistors, and wherein the aCAM detects the match if the match line voltage is measurable on an opposite second side of the first and second pass-gate transistors.
15. The aCAM of claim 14, wherein: The match line voltage is measurable at the opposite second sides of the first pass-gate transistor and the second pass-gate transistor if at least one of the first pass-gate transistor or the second pass-gate transistor is conductive to provide an uninterrupted path for the match line voltage through the pass-gate transistor.
16. The aCAM of claim 15, wherein: In response to the input data line voltage being higher than the upper voltage limit, the first voltage divider circuit applies a first gate voltage sufficient to turn on the first pass-gate transistor to the first pass-gate transistor, and wherein, in response to the input data line voltage being lower than the lower voltage limit, the second voltage divider circuit applies a second gate voltage sufficient to turn on the second pass-gate transistor to the second pass-gate transistor.
17. The aCAM of claim 13, wherein the unit further comprises: a third voltage divider circuit, the third voltage divider circuit comprising a third adjustable resistance device; as well as a third pass-gate transistor connected to the match line; wherein the third pass-gate transistor is driven by the third voltage divider circuit, and The third voltage divider circuit has the same circuit structure as the first voltage divider circuit.
18. The aCAM of claim 1, wherein: The first adjustable resistance device and the second adjustable resistance device are memristors or three-terminal semiconductor devices.
Citation Information
Patent Citations
Analog, non-volatile, content addressable memory
US10847238B2
Content addressable memory circuits with threshold switching memristors
US10896731B1
Analog, non-volatile, content addressable memory
US20200258587A1
Accelerating constrained, flexible, and optimizable rule look-ups in hardware
US20220138204A1
Methods and systems for an analog CAM with fuzzy search
US10998047B1
