Analog, non-volatile, content addressable memory
Granted 24 Nov 2020 · 1 office action
Current assignee: Hewlett Packard Enterprise Development LP · originally Hewlett Packard Enterprise
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: John Paul Strachan, Catherine Graves, Can Li · Examiner: Pho M Luu · AU 2824 · TC 2800
Life of the application
9 dated eventsAbstract
An analog content addressable memory cell includes a high side and a low side. The high side encodes a high bound on a range of values and includes a first voltage divider formed of a first programmable resistor and a first electronically controlled variable resistor. The low side encodes a low bound on the range of values and includes a second voltage divider formed of a second programmable resistor and a second electronically controlled variable resistor.
Description
9 parts›BACKGROUND
Content addressable memory (“CAM”) is a type of computing memory in which the stored data is not accessed by its location but rather by its content. A word, or “tag”, is input to the CAM, the CAM searches for the tag in its contents and, when found, the CAM returns the address of the location where the found contents reside. CAMs are powerful, efficient, and fast. However, CAMs are also relatively large, consume a lot of power, and are relatively expensive. These drawbacks limit their applicability to select applications in which their power, efficiency, and speed are sufficiently desirable to outweigh their size, cost, and power consumption.
›BRIEF DESCRIPTION OF THE DRAWINGS
The present disclosure is best understood from the following detailed description when read with the accompanying Figures. It is emphasized that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
FIG. 1 conceptually depicts an analog content addressable memory (“analog CAM”) in accordance with one or more examples of the subject matter claimed below.
FIG. 2 illustrates selected portions of an analog cell array of an analog CAM such as the analog CAM in FIG. 1 in one particular example.
FIG. 3 conceptually illustrates a resistance differential that may be used to set the stored analog value of the analog CAM cells in FIG. 2 in some examples.
FIG. 4 depicts an analog CAM cell circuit that may be used to Implement the analog CAM cells of FIG. 2 in some examples where the high and low resistance thresholds described in FIG. 3 and encoded by the resistance values of memristors M 1 and M 2 .
FIG. 5 depicts an analog CAM cell circuit that may be used to implement the analog CAM cells of FIG. 2 in some examples.
FIG. 6 depicts an analog CAM cell circuit that may be used to implement the analog CAM cells of FIG. 2 in some examples.
FIG. 7 is a graph plotting the relationship of the gate voltage G 1 for the high side pull-down transistor T 2 of FIG. 6 versus the data line voltage.
FIG. 8 is a graph plotting the relationship of the gate voltage G 2 for the low side pull-down transistors of FIG. 6 (drain of T 3 ) versus the data line voltage.
FIG. 9 is a graph plotting the cut-off data line voltage for a lower and an upper bound of a matched search versus memristor conductance in the analog CAM cell of FIG. 6 .
FIG. 10 is an example timing diagram for the operation of the analog CAM cell of FIG. 6 .
FIG. 11 is a graph plotting the transient voltage response of the match line over time during operation of the analog CAM cell of FIG. 6 .
FIG. 12 is a graph of search result sensed on the match line of the analog CAM cell of FIG. 6 against the data line voltage given the M 1 and M 2 values shown on the plot.
FIG. 13 depicts another example of an analog CAM in accordance with some examples is shown where the searched data lines are analog.
FIG. 14 illustrates a single row of analog CAM cells in the analog CAM of FIG. 13 in addition to a pre-charging peripheral and a sensing peripheral.
FIG. 15 graphically conceptually illustrates a resistance differential where the memristor conductances G(M 1 ) and G(M 2 ) encode the analog value stored in the cell and determine for what range of data line voltages results in a match (if the data line voltage falls within the gray portion).
While examples described herein are susceptible to various modifications and alternative forms, the drawings illustrate specific examples herein described in detail by way of example. It should be understood, however, that the description herein of specific examples is not intended to be limiting to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the examples described herein and the appended claims.
›DETAILED DESCRIPTION · 1 of 7
Illustrative examples of the subject matter claimed below will now be disclosed. In the interest of clarity, not all features of an actual implementation are described in this specification. It will be appreciated that in the development of any such actual implementation, numerous implementation-specific decisions may be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which will vary from one implementation to another. Moreover, it will be appreciated that such a development effort, even if complex and time-consuming, would be a routine undertaking for those of ordinary skill in the art having the benefit of this disclosure.
Content addressable memory (“CAM”) is a hardware that compares input patterns against its stored data. The memory that stores the data in the CAM also performs the search operation at the same location, eliminating the expensive data transfer between different units in conventional hardware. During the search, all the memory cells are operating in parallel, which leads to massive throughput with applications in real-time network traffic monitoring, access control lists (“ACL”), associative memories, etc.
CAMs can be implemented in technologies that permit the CAM to hold its contents even when power is lost or otherwise removed. Thus, a CAM's data “persists” and can act as what is known as a “non-volatile memory”. These technologies include, for instance, resistive switching memory (i.e. memristor), phase change memory, magnetoresistive memory, ferroelectric memory, some other resistive random access memory device, or combinations of those technologies.
CAMs can be categorized as “binary” or “ternary”. A binary CAM (“BCAM”) operates on an input pattern containing binary bits of “0” and “1”. A ternary CAM (“TCAM”) operates on an input pattern (and stores data) containing not only binary bits of “0” and “1”, but also an “X” value. An “X” is sometimes referred to as a “don't care” or a “wildcard”. In a search on the input pattern in a TCAM, an “X” will return a match on either a “0” bit or a “1”. Thus, a search on the input pattern “10X1” will return a match for both “1001” and “1011”. Note that both BCAMs and TCAMS use and operate on binary values of “0” and “1”. CAMs are digital in that the data are stored in the CAM as binary values in a memory (e.g., SRAM, memristor, etc.) and the input patterns are represented by binarized logic ‘0’s and ‘1’s. Each memory cell in the CAM processes one value at a time (either 0/1 or 0/1/X), which limits the memory density and the power efficiency.
The present disclosure provides an analog CAM (“aCAM”) circuit that searches multilevel voltages and stores analog values in a nonvolatile memory (e.g., memrstor). One analog cell can implement a function that is equivalent to multiple digital CAM cells, leading to significant advantages in area and power saving in implementing certain CAM-based functions. The aCAM circuit can be driven with standard multi-level digital values, or directly with analog signals, giving additional potential for increased functionality while removing the need for expensive analog-digital conversion. More particularly, an aCAM cell outputs a match when the analog input voltage matches a certain range that is defined by the aCAM cell.
More particularly, an aCAM in accordance with the present disclosure can match all values between a “high value” and a “low value”, or within a range, where the range includes non-binary values. These high and low values are set by programming memristors, and so are referred to as “R high ” and “R low ” herein. R high and R low set bounds of the range of values that may be stored in the cell such that the cell may store analog values. A memory cell in an aCAM may store any value between the value defined by R high and the value defined by R low . If R high =R max , where R max is the maximum resistance of a memristor, and R low =R min , where R min is the minimum resistance of a memristor, then the stored value is an “X”, as in a Ternary CAM. The number of equivalent digital cells or bits that can be stored in an analog CAM cell depends on the number of states the programmable resistor can be programmed to. To be able to encode the equivalent of n bits (i.e., n binary CAM/TCAM cells), the programmable resistor has 2 n +1 states.
Thus, a memristor-based aCAM can search analog voltages and stores analog values as the value(s) which fall in between R low and R high which are set by the multilevel resistance of the memristors. (A memristor-based aCAM may also search and store digital values.) One example of an aCAM includes a plurality of cells arranged in rows and columns. Each cell performs two analog comparisons: ‘greater than’ and ‘less than’ to the searched data line voltage at the same time, with significantly reduced processing time and energy consumption comparing to its digital counterpart. The aCAM can be driven with standard multi-level digital values or directly with analog signals in various examples. This provides additional potential for increased functionality when removing the need for expensive analog-digital conversion. The significant power saving of the proposed memristor aCAM enables the application of CAMs to more generalized computation and other novel application scenarios.
Structurally, in the examples disclosed herein, each memory cell of the aCAM disclosed herein includes a “high side” that sets the high value and a “low side” that sets the low value. Each side of the cell includes a memristor and a pair of transistors in some examples. The memristor and one of the transistors create a voltage divider and the memristor is programmed to define either R high or R low and, hence, the high value or the low value. The second transistor provide a threshold function to determine from the voltage divider whether the searched data (in the case of the high side) is below the high threshold or (in the case of the low side), is below the low threshold. If there is a match, then a match is indicated on a match line in that neither transistor activates to discharge or pull down the match line. An aCAM includes an array of such cells, a search data register into which the input pattern is loaded, and an encoder that produces a match location from the match lines.
›DETAILED DESCRIPTION · 2 of 7
Note, however, that the structures shown herein by which the aCAM cells may be implemented are but illustrative means by which the aCAM cells may be implemented. Those skilled in the art having the benefit of this disclosure may realize other, alternative structures by which the disclosed functions of the aCAM cells may be performed. Accordingly, the subject matter claimed below includes not only those means disclosed herein, but also equivalent structures performing the disclosed functions.
More particularly, in some examples, an analog content addressable memory cell includes a high side and a low side. The high side encodes a high bound on a range of values and includes a first voltage divider formed by a first programmable resistor and a first electronically controlled variable resistor. The low side encodes a low bound on the range of values and includes a second voltage divider formed by a second programmable resistor and a second electronically controlled variable resistor.
In other examples, an analog content addressable memory includes a plurality of inputs by which an input pattern may be loaded in use; and an analog memory cell array. Each cell of the analog memory cell array indicates whether a value of the analog input pattern is matched by a range of values contained in the cell, the range of values including non-binary values.
In other examples, a method for storing data in a content addressable memory, includes indicating whether a searched value in an input pattern matches a high value defining a range of values in a cell of an analog memory cell array of the content addressable memory, the range of values including non-binary values; and indicating whether the searched value matches a low value defining the range of values in the cell.
In still other examples, an analog content addressable memory cell, includes means for defining a high value of a range of values, the range of values including non-binary values and indicating whether a searched value matches the high value; and means for defining a low value of the range of values and indicating whether the searched value matches the low value. The means for defining the high value may include a high side encoding a high bound on the range of values and including a voltage divider formed by a programmable resistor and an electronically controlled variable resistor. The means for defining the low value may include a low side encoding a low bound on the range of values and including voltage divider formed by a programmable resistor and a second electronically controlled variable resistor.
Turning now to the drawings, the aCAM disclosed herein may be used in digital applications to perform traditional TCAM functions and operations as well as in analog applications. FIG. 1 , discussed further below, illustrates one particular example of a digital application of the aCAM. FIG. 13 illustrates one particular example of an analog application. The aCAM cell circuits of FIG. 4 - FIG. 6 may be used in either digital applications such as FIG. 1 or in analog applications such as FIG. 13 .
FIG. 1 conceptually depicts an analog content addressable memory (“aCAM”) 100 in accordance with one or more examples of the subject matter claimed below. The aCAM 100 is, in the example of FIG. 1 , used in a digital application in which input search patterns and the values stored in the aCAM 100 are digital. An analog example is discussed below relative to FIG. 13 .
The aCAM 100 includes a search data register 105 , an analog memory cell array 110 , and an encoder 115 . The analog cell array 110 stores W “stored words” 0 through W−1. Each stored word is a pattern of values, at least some of which may be analog values as described below. The search data register 105 , in use, may loaded with an analog or binary input pattern that can be searched for among the contents of analog cell array 110 . The example of FIG. 1 operates on a binary input pattern as indicated by the ‘n bits’ going to the data line register. An example operating on an analog search pattern is discussed further below. Thus, instead of needing to store two bits of data in two columns as is the case for a digital CAM, one column of the aCAM cells can encode four analog values.
The analog cell array 110 includes a plurality of analog cells 120 (only one indicated) arranged in rows and columns as shown in FIG. 2 and discussed further below. During a search, the analog input pattern loaded into the search data register 105 is communicated to the analog cell array 110 over a plurality of search lines 125 . Some examples may use data lines in addition to or in lieu of search lines. Each cell 120 then indicates whether a value of the analog input pattern is matched by a range of values contained in the cell 120 , the range of values including non-binary values.
The indications of whether the cells contain matches are communicated to the encoder 115 over a plurality of match lines 130 . Note that a match is found if the searched word (or pattern) matches the stored word within a single row. The match lines do not output the matches of individual cells, but whether the stored row word matches the searched data (row). More particularly, that match lines 130 are pre-charged high along rows, data is searched on search lines 125 (or data lines) along columns, and if a mismatch between searched and stored content occurs, the 130 discharges and goes low. If a match occurs, the match line 130 stays high.
The encoder 115 is a priority encoder that returns a match location with the analog cell array 110 . Note that the encoder 115 may be omitted in some examples, particularly in examples in which multiple match locations are identified and desired. For instance, because the “don't care” values may be included in the input pattern, multiple matches among the W stored words may be found. Some examples might wish to identify more than one, or even all, match locations and these examples would omit the encoder 115 .
›DETAILED DESCRIPTION · 3 of 7
FIG. 2 illustrates selected portions of an analog cell array 200 of an aCAM such as the aCAM 100 in FIG. 1 in one particular example. The aCAM cells 205 are arranged in rows 210 and columns 215 and are each individually searchable over the data lines DL 1 , DL 2 . Whether a match is found from data on DL 1 and DL 2 and the data stored in the rows by each aCAM cell's M 1 and M 2 programmed values is indicated over the match lines ML 1 , ML 2 . As those in the art having the benefit of this disclosure will appreciate, an analog cell array 200 will typically be larger than a 2×2 array. The precise size will be implementation specific. The 2×2 portion is shown for illustrative purposes and is not limiting.
Each aCAM cell 205 includes two memristors M 1 , M 2 (not separately shown) that are used to define the range of values stored in the respective aCAM cell 205 . FIG. 3 conceptually illustrates a resistance differential that may be used to set the stored analog value or range of the aCAM cells 205 in FIG. 2 in some examples. The total range of resistance R that may be implemented by both memristors M 1 , M 2 is defined by a maximum resistance R max and a minimum resistance R min . A range of resistance R range is defined by R high and R low . R high is determined by programming a value in M 1 and R low is determined by programming a value in M 2 . When an analog value is stored, the analog number is encoded in the cell via two resistance thresholds, a high and a low resistance threshold within which the analog value of the cell (or range value) resides. Several electronic circuits by which the aCAM cells 205 may be implemented will be discussed further below.
As discussed above, the present disclosure may encode more than three levels in a content addressable memory. In a memristor CAM, the information is ultimately mapped to resistance levels and there are 2 n +1 distinct resistance levels between R low and R high . That is, R range =R high −R low and includes 2 n +1 distinct resistance levels, each distinct resistance level representing a different value. For example, where R high ≠R low and R high >R low , then the aCAM cell 205 stores all levels between R low and R high . For another example, if R high =R max and R low =R min , then the aCAM cell 205 stores an X=do not care value. For yet another example, if R high =a resistance R 1 and R low =R 1 −delta where delta=(R max −R min )/(2 n ), then the aCAM cell 205 stores the single level R 1 .
FIG. 4 depicts an electronic circuit implementing an aCAM cell 400 that may be used to implement the aCAM cells 205 of FIG. 2 in some examples. The aCAM cell 400 includes a “high side” 403 and a “low side” 406 , so-called because the memristor M 1 and the memristor M 2 are programmed to determine the values of R high and R low , respectively.
The high side 403 includes a first transistor T 1 and a first memristor M 1 . The first memristor M 1 , in conjunction with the first transistor T 1 , defines a first voltage divider 409 for the voltage applied on SL P and, when programmed, the memristor M 1 defines a high value R high of a range of values R range . The high side 403 also includes a second transistor that, in use, indicates whether a searched value matches the high value R high as discussed further below. The low side 406 includes a third transistor T 3 and the second memristor M 2 . The second memristor M 2 , in conjunction with the third transistor T 3 , defines a second voltage divider 412 . When the second memristor M 2 is programmed, the memristor M 2 defines the low value R low of the range of values R range . The low side 406 also includes a fourth transistor T 4 that, in use, indicates whether the searched value matches the low value R low .
The aCAM cell 400 also includes a match line ML, a word line WL that serves as a ground, search lines SL P , SL N , and data lines DL P , DL N . As noted above, the memristor-transistor pairs M 1 /T 1 and M 2 /T 3 define a respective voltage divider 409 , 412 . The memristors M 1 , M 2 of the voltage dividers 409 , 412 are used encode R high and R low when the memristors M 1 , M 2 are programmed. (Whether the searched data matches the stored data is a function of the voltage divider (the M 1 /M 2 values and the transistor characteristics)). Thus, in this example, in each memristor-transistor pair M 1 /T 1 and M 2 /T 3 , the analog search is implemented as the gate voltage of the transistor to create a variable-resistor divider with the memristors programmed to analog (stored) values to represent an analog number or range.
In the high side 403 , where R high is programmed, V search on DL P should be low enough such that the voltage at G 1 (created by the voltage divider between T 1 and M 1 ) does not turn on the T 2 pulldown transistor. If DL P is too low (indicating a search value above the R high bound), then T 1 is very low resistance, and thus the voltage at G 1 will be similar to the search voltage on SL P , and therefore quite high causing T 2 to turn on and discharge the pre-charged voltage on the ML, indicating a mismatch. In the low side 406 , where R low is programmed, V search on DL N should be high enough such that the voltage at G 2 (created by the voltage divider between M 2 and T 3 ) is fairly low and does not turn on the pulldown transistor T 4 . If DL N is too low, then T 3 can be too high resistance, and cause the voltage at G 2 ˜SL n search voltage, causing a mismatch and discharge similar to as noted above. This example uses an inverse mapping of the desired analog search value onto low and high gate voltages for T 1 and T 3 lines. So, for instance: SL P =SL N =0.8V, DL P =0V, DL N =1.5V, M 1 =10Ω, and M 2 =10 kΩ.
Note that the transistors T 1 -T 4 are implemented using metal-oxide semiconductor field-effect transistors (“MOSFETs”). T 1 is a positive or “p” MOSFET and T 3 is a negative or “n” MOSFET. This permits the two memristors M 1 , M 2 to be more similar in resistance. This, in turn, offers potential for more analog levels relative to examples in which T 1 and T 3 are both “n” MOSFETs with the memristor/transistors pairs reversed. These and other advantages arising from the circuit design will become apparent to those skilled in the art having the benefit of this disclosure.
›DETAILED DESCRIPTION · 4 of 7
The example aCAM cell 400 in FIG. 4 offers many “tuning knobs” for adjusting cell performance: the voltages on DL P , DL N , SL P , SL N , and the number of levels/ranges of M 1 and M 2 , for instance. The source as GND for T 1 and T 2 pulldown transistors can also be changed to a global nonzero voltage value to help tune cases of near-matches. Still other tuning knobs, or sources for adjustment, may become apparent to those skilled in the art having the benefit of this disclosure.
FIG. 5 depicts an electronic circuit implementing an aCAM cell 500 that may be used to implement the aCAM cells 205 of FIG. 2 in some examples. The aCAM cell 500 includes a “high side” 503 and a “low side” 506 , so-called because the memristor M 1 and the memristor M 2 are programmed to determine the values of R high and R low , respectively. The high side 503 includes a first transistor T 1 and a first memristor M 1 . The first memristor M 1 , in conjunction with the first transistor T 1 , defines a first voltage divider 509 and, when M 1 programmed accordingly, defines a high value R high of a range of values R range . The high side 503 also includes a second transistor that, in use, indicates whether a searched value matches the high value R high as discussed further below. The low side 506 includes a third transistor T 3 and the second memristor M 2 . The second memristor M 2 , in conjunction with the third transistor T 3 , defines a second voltage divider 512 . When the second memristor M 2 is programmed, the memristor M 2 defines the low value R low of the range of values R range . The low side 506 also includes a fourth transistor T 4 that, in use, indicates whether the searched value matches the low value R low .
The aCAM cell 500 also includes a match line ML, a word line WL that serves as a ground, a search line SL, and data lines DL N (H), DL N (L). As noted above, the memrstor-transistor pairs M 1 /T 1 and M 2 /T 3 define a respective voltage divider 509 , 512 . The voltage dividers 509 , 512 are used encode R high and R low when the memristors M 1 , M 2 are programmed. Thus, in this example, in each memristor-transistor pair M 1 /T 1 and M 2 /T 3 , the analog search is implemented by determining the gate voltage of the voltage-divider transistors to create a variable-resistor divider with the memristors programmed to an analog (stored) value.
In the high side 503 , where R high is programmed into M 1 , V search on data line DL N (H) is low enough such that the voltage at G 1 (created by the voltage divider between T 1 and M 1 ) does not turn on the T 2 pulldown transistor. If data line DL N (H) is too high (indicating a search value above the R high bound), then T 1 is very low resistance, and thus the voltage at G 1 will be similar to the search voltage on search line SL, causing a mismatch and discharge through T 2 . In the low side 506 , where R low is programmed, V search on data line DL N (L) is high enough such that the voltage at G 2 (created by the voltage divider between M 2 and T 3 ) does not turn on the T 4 pulldown transistor. If data line DL N (L) is too low, then T 3 can be too high resistance, and cause the voltage at G 2 -search line SL search voltage, causing a mismatch and discharge through T 4 . The high side 503 and low side 506 may share search line SL but may have limited bit resolution with only ‘one’ knob on voltage divider (data lines DL N (H) and DL N (L)). One might also separate search line SL into two search lines to control drain voltage independently on the two search sides, i.e., the high side 503 and the low side 506 .
FIG. 6 depicts an electronic circuit implementing an aCAM cell 600 that may be used to implement the aCAM cells 205 of FIG. 2 in some examples. The aCAM cell 600 includes a “high side” 603 and a “low side” 606 , so-called because the memristor M 1 and the memristor M 2 are programmed to determine the values of R high and R low , respectively. The high side 603 includes a first transistor T 1 and a first memristor M 1 . The first memristor M 1 , in conjunction with the first transistor T 1 , defines a first voltage divider 609 and, when programmed, defines a high value R high of a range of values R range . The high side 603 also includes a second transistor that, in use, indicates whether a searched value matches the high value R high as discussed further below. The low sides 606 includes a third transistor T 3 and the second memristor M 2 . The second memristor M 2 , in conjunction with the third transistor T 3 , defines a second voltage divider 612 . When the second memristor M 2 is programmed, the memristor M 2 defines the low value R low of the range of values R range . The low side 606 also includes another transistor T 6 that, in use, indicates whether the searched value matches the low value R low .
Note that the example shown in FIG. 4 and described above uses a different encoding of the input voltage for DL P and DL N than does the example of FIG. 6 . In the example of FIG. 6 , the inputs can be tied together, so that T 1 /M 1 and T 3 /M 2 are equivalent, but T 4 /T 5 form an inverter. Thus, the left side and right side are defining the low and high side independently. Note that, although the T 4 /T 5 inverter is in the low side 606 in the illustrated example, it may be implemented in the high side 603 in other examples.
The aCAM cell 600 also includes a match line ML, search lines SL HI , SL LO and data lines DL, DL 1 . As noted above, the memristor-transistor pairs M 1 /T 1 and M 2 /T 3 define a respective voltage divider 609 , 612 . The voltage dividers 609 , 612 are used to encode R high and R low when the memristors M 1 , M 2 are programmed. Thus, in this example, in each memristor-transistor pair M 1 /T 1 and M 2 /T 3 , the analog search is implemented as the gate voltage of the transistor to create a variable-resistor divider with the memristors programmed to an analog (stored) value.
More particularly, memristor M 1 and transistor T 1 form a voltage divider 609 , in which M 1 is a memristor with tunable non-volatile resistance and T 1 is a transistor whose resistance increases with the input voltage on the data line DL. Therefore, there exists a threshold voltage, dependent on the M 1 resistance, that when the data line DL input voltage is smaller than the threshold, the pull-down transistor T 2 turns on which pulls down the match line ML yielding a ‘mismatch’ result. Similarity, memristor M 2 and transistor T 3 form another voltage divider 612 , and the internal voltage node is inverted by the transistors T 4 , T 5 before applying to another pull-down transistor T 6 . As a result, with properly programmed resistances in the memristors M 1 , M 2 , the aCAM cell 600 keeps the match line ML high only when the voltage on the data line DL is within a certain range defined by M 1 and M 2 resistances.
›DETAILED DESCRIPTION · 5 of 7
Still referring to FIG. 6 , the search result is therefore sensed as the voltage level on the ML, which is pulled down when the gate voltage of the pull-down transistor T 1 , T 3 exceeds its threshold voltage (V th ). The gate voltages on the pull-down transistors T 1 , T 3 with differently configured memristor conductances G 1 , G 2 during the CAM search operation are plotted in FIG. 7 and FIG. 8 . These graphs show that the voltage on G 1 (V G1 ) decreases with V DL . Therefore, a lower bound voltage (V lo ) exists, which is configurable by the corresponding memristor conductance, that when the V DL is smaller than V lo , V G1 is larger than the V th of the pull-down transistor, causing the match line ML to be pulled down for a ‘mismatch’ result. Similarly, voltage on G 2 (V G2 ) increases with V DL , and therefore the upper bound voltage is configured by another memristor conductance in the same aCAM cell 600 . Combining the two parts, the search voltage upper and lower range (i.e. the search voltage range) is configured with the two memristor conductances in one aCAM cell, and the relationship between the search voltage range and the memristor conductance is plotted in FIG. 9 , given that the threshold voltage of the simulated pull-down transistor is around 0.5 V in this example.
The operation of the memristor aCAM cell 600 will now be discussed. FIG. 10 is an example timing diagram of the aCAM operations. The pre-charging of the match line ML is initiated by enabling a pre-charging peripheral not shown in FIG. 6 . The data lines DL are asserted in conjunction with the match line ML pre-charge while SL HI is kept low. The search is started by asserting SL HI . A transient voltage response on the ML with a search range defined in the memristors is shown in FIG. 11 . Different curves show the search with different data line DL voltages. As shown in FIG. 12 , the search result sensed from the match line ML 10 ns after initiating the search shows that the aCAM cell 600 outputs a match when the voltage on the data line DL falls within a predefined range defined by the memristor conductances given by G(M 1 ) and G(M 2 ) where conductance is the inverse of resistance. The gate voltage V G1 at G 1 in FIG. 6 of the pull-down transistor T 2 drops to a voltage below its threshold with increasing data line DL voltage as shown in FIG. 7 and discussed above. The gate voltage V G2 at G 2 in FIG. 6 of the pull-down transistor T 6 increases to a voltage above its threshold with increasing data line DL voltage. The cut-off data line DL voltage for a lower and upper bound of a matched search increases with the corresponding memristor conductance as shown in FIG. 9 and discussed above. Note that FIG. 7 - FIG. 12 were obtained through simulated operations of the aCAM cell 600 .
The relationship between the search voltage range and the memristor conductance can be better understood by the voltage divider effect from the series connected transistors and memristors M 1 /T 1 and M 2 /T 3 in FIG. 6 . During the operation, the transistors T 1 , T 2 are mostly working in a triode regime as the voltage drop across the transistor channel is fairly small. Under this condition, one derives that the match line is pulled down (i.e. a mismatch) only when the VDL follows the following equation:
V DL ≥G M1 ·( V SLHI /V TH,ML −1)/β+ V TH
where V TH and V TH,ML are the threshold voltages of the transistor in the voltage divider and the transistor which discharges or pulls down the ML respectively, and β is a constant coefficient. G M1 is the memristor conductance, which is linearly correlated to the search voltage range on the DL according to the equation. The analysis is consistent with the results shown in FIG. 9 , with an exception that when the memristor conductance is too small, where the voltage drop on the transistor channel is too small, more nonlinear effects are added to the relation.
Returning to FIG. 6 , the aCAM cell 600 will output a match result when:
f ( G M1 )< V DL <f ( G M2 ),
where f(G M1 ), and f(G M2 ) are the voltages at G 1 , G 2 , respectively, in FIG. 6 .
If a cell has DL as the input and G 1 as output, it is an inverter with a tunable parameter defined by M 1 resistance.
Assuming NFET is working in a triode mode:
V DL −V THN >( V SLhi /V th −1)/(β· R M1 )∝ R M1 −1
And, assuming NFET is working in a saturation mode:
V DL −V THN >√{square root over (2( V SLhi −V th )/(αβ· R M1 ))}∝ R M1 −0.5
Turning now to FIG. 13 , another example of an aCAM 1300 in accordance with some examples is shown. In the aCAM disclosed herein, search inputs are analog values instead of binarized ‘0’s and ‘1’s. Note that there is no register for the search data. Since the values are continuous, to avoid ambiguity, the stored value in the aCAM represents a range instead of a specific value. The search operation in the proposed aCAM is illustrated in FIG. 13 . Similar to a digital CAM word, an aCAM word returns a ‘match’ result only when all input values fall within the ranges that are stored in analog memories, specifically for memristors, as resistance (or equivalently conductance) values for the word row of analog CAM cells. Noteworthy, the aCAM implements the TCAM-like function, where TCAM stores an equivalent ‘range’ from ‘0’ to ‘1’, while the aCAM stores arbitrary sections in whole range of the analog signal. The ‘wild-card’, or ‘X’ value, which matches all the inputs, can be stored when the resistances of the two memristor maps to the lower and upper bound of the input voltage range respectively.
Note that the analog search pattern is directly input to the aCAM 1300 over a plurality of inputs 1310 . In some examples, the analog search pattern may be input over the inputs 1310 into a search register (not shown). Although search registers ordinarily are used with digital binary values as in the example of FIG. 1 . However, search registers handling analog input values may be implemented using, for example, sample/hold circuits. Some examples (not shown) may therefore may input analog search values over one or more search registers.
›DETAILED DESCRIPTION · 6 of 7
FIG. 14 shows a high-level implementation 1400 of the memristor based aCAM 1300 of FIG. 13 in accordance with one or more examples. In the example illustrated in FIG. 14 , the aCAM cells are implemented using the electronic circuit of FIG. 6 —i.e., the aCAM cells 600 are arranged in rows and columns as described above although only a single row 1400 is shown in FIG. 14 . The aCAM 1400 also includes data lines DL 1 -DLn and a match line ML for each row 1400 . The aCAM 1400 includes a pre-charging peripheral 1410 that charges the match lines MLs in the enabled words to a high logic level prior to the search. A match line ML stays at the high logic level only when all the inputs are within the ranges defined by the memristor resistances in each CAM cells 600 . The matching results are finally read out by a sensing peripheral 1415 . FIG. 15 graphically illustrates a match.
Each of the examples disclosed above includes at least two programmed memristors. The memristors M 1 , M 2 in the aCAM cells 400 , 500 , 600 are programmed before the search operation. Referring again to FIG. 6 , the data lines DL 1 , DL 2 select the memristor device, M 1 or M 2 , to be programmed, and the programming voltage is applied through the search lines SL HI and SL LO to set (i.e., program the device from a low conductance state to a high conductance state) or reset the device. An analog voltage can be applied to the data lines DL 1 , DL 2 to set a compliance current during the set operation for a better multilevel tunability. In the case that the programmed memristor conductance needs to be verified after the write operation, the conductance of a given memristor be read out by current while applying a reading voltage across SL HI and SL LO , with data lines selects the device. TABLE 1 summarizes the detailed voltage signals as used in various operations.
The aCAM disclosed herein permits ternary-like operations. The aCAM cells store and operate on, as discussed above, a range of values. In a large fraction of TCAM encoding of desired data to be stored and matched, ‘X’s′ are typically implemented from the right (less significant bits) to the left (more significant bits). The “don't cares” are not randomly distributed throughout an 8-bit/16-bit object. So, for instance, in a four-bit object Xs are almost always encoded as 1001, 100X, 10XX, 1XXX-1X1X typically is not implemented.
For instance, assume two-bit objects, which would use four levels of memristor resistance or conductance state—00, 01, 10, 11. Table 2 sets forth possible compressions using the aCAM cells of the present disclosure. Note that X1 and X0 are not eligible for compression in this technique.
One should ensure the data compression ratio is matched to stored data attributes. Thus, to compress in four-bit objects, one uses a four-level aCAM cell. One could also set the number of stored analog bits per cell based on compression requirements and spacing of “X” bits, or “don't cares”. As the same circuit can be used to encode four levels, eight levels, etc., this could be done dynamically.
For another instance, assume four-bit objects, yielding sixteen levels of memristor state. Introducing “X” bits, or “don't cares” from the right-hand side, one can introduce three Xs for the three right-most bits. Table 3 sets forth possible compressions using the aCAM cells of the present disclosure. Note that X000 to X111 are not eligible for compression in this technique.
As described above, when ‘X’s are implemented from less significant bits to more significant bits, the TCAM is matching a continuous input range. For example, 10XX represents a matching from 1000-1011 (or 8-11 in decimal number), which can be represented by one 4-bit equivalent analog CAM cell. On the other hand, the analog CAM also permits the search in an arbitrary range in the 4-binary-bit space, and some of the ranges cannot be represented by one TCAM word. (e.g. 0010-1110 (or 2-14 in decimal number).
Note that the discussion associated with Table 2 and Table 3 discusses the functionality of the aCAM in terms of binary values. This is to establish that the aCAM disclosed herein can perform in the manner of known, digital TCAMs. However, as should be apparent from the disclosure herein, the aCAM can also store and operate on analog values with which compression would operate in an analogous manner to that discussed relative to Table 2 and Table 3.
Each of the examples of an aCAM memory cell in FIG. 4 - FIG. 6 includes a high side and a low side in which the high bound and the low bound, respectively, of the range of values is set. Each of the high sides and low sides includes a first voltage divider and a second voltage divider, respectively. In each of these voltage dividers, T 1 and T 3 are variable resistances and M 1 and M 2 are programmable resistances. The variable resistor (e.g., T 1 , T 3 ) is controlled electronically through the search line or data line voltage. The claimed subject matter admits variation in how the variable resistance and the programmable resistance may be implemented.
For instance, the programmable resistor may be a metal oxide memristor device, as is the case in the illustrated examples. Other examples may instead use a phase-change memory (“PCM”) device, a spin torque transfer (“STT”) device, a ferroelectric random access memory (“FeRAM”) device, or other resistive memory devices with a programmable resistance. The variable resistor in the illustrated examples is a complementary metal oxide semiconductor (“CMOS”) transistor. Other examples may instead use a ferroelectric transistor or other three-terminal electronic non-linear device (i.e., device resistance changes with applied voltage).
Furthermore, the examples discussed above present only illustrative means by which the high bound and low bound for the range of values in an aCAM memory cell. Those in the art having the benefit of this disclosure may appreciate other means by which this setting of the bounds may be accomplished. Accordingly, the subject matter claimed below encompasses means substantially equivalent to those expressly disclosed herein that perform this function.
›DETAILED DESCRIPTION · 7 of 7
Throughout this disclosure, the term “match” is used to describe a context in which a stored content “matches” a search-for portion of an input pattern. What constitutes a “match” will be implementation specific. So, for instance, in an operation with a digital, binary input, a “match” will be where the stored content is the same as the search-for input portion or is a “don't care” bit. In an operation with an analog input, a “match” will be where the searched-for input is within the range of values defined by the “high” value and the “low value” as described above or where a “don't care” bit. In the disclosed examples, a match may be defined as the ML voltage maintaining its pre-charged (high value), as well as a pattern match between searched and stored data.
The aCAM disclosed herein can increase memory density significantly relative to SRAM CAMs, as one aCAM cell searches and stores multibit signals with only six transistors while a SRAM CAM cell searches single-bit signals with 16 transistors. Since the energy consumption in the search operation of a CAM is mostly charging the parasitic capacitors, the reduced chip area leads to a significant drop in energy cost for completing a certain task. The analog processing capability also opens up the possibility of directly handling analog signals acquired from Internet of Things, such as sensors. The output of the aCAM is digital, which can be processed directly in digital logic, removing the cost of the expensive analog-digital conversion entirely. Furthermore, the function of the aCAM is intrinsically different from the digital CAMs, which may enable new applications for fuzzy logic, analog computing, probabilistic computing, and more.
This concludes the detailed description. The particular examples disclosed above are illustrative only, as examples described herein may be modified and practiced in different but equivalent manners apparent to those skilled in the art having the benefit of the teachings herein. Furthermore, no limitations are intended to the details of construction or design herein shown, other than as described in the claims below. It is therefore evident that the particular examples disclosed above may be altered or modified and all such variations are considered within the scope and spirit of the appended claims.
Accordingly, the protection sought herein is as set forth in the claims below.
›Tables in the description — 3
| Operation | SL HI | SL LO | DL1 | DL2 |
| Set M1 | V set | 0 | V g,set | 0 |
| Reset M1 | 0 | V reset | V DD | 0 |
| Set M2 | V set | 0 | 0 | V g,set |
| Reset M2 | 0 | V reset | 0 | V DD |
| Read M1 | V read | 0 | V DD | 0 |
| Read M2 | V read | 0 | 0 | V DD |
| Stored Value | Matches |
|---|---|
| 0X | 00, 01 |
| 1X | 10, 11 |
| XX | 00, 01, 10, 11 |
| Stored Value | Matches |
| 000X | 0000, 0001 |
| 001X | 0010, 0011 |
| 010X | 0100, 0101 |
| 011X | 0110, 0111 |
| 100X | 1000, 1001 |
| 101X | 1010, 1011 |
| 110X | 1100, 1101 |
| 111X | 1110, 1111 |
| 00XX | 0000 to 0011 |
| 01XX | 0100 to 0111 |
| 10XX | 1000 to 1011 |
| 11XX | 1100 to 1111 |
| 0XXX | 0000 to 0111 |
| 1XXX | 1000 to 1111 |
Claims as granted
23 claimsLog in to read the claims of this application.
Log in to unlockClassifications
4 codes- G11C27/00
- G11C15/04
- G11C11/16
- G11C13/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock