Analog, non-volatile, content addressable memory
10847238 ยท 2020-11-24
Assignee
Inventors
- Can Li (Palo Alto, CA, US)
- Catherine Graves (Palo Alto, CA, US)
- John Paul Strachan (Palo Alto, CA, US)
Cpc classification
G11C27/005
PHYSICS
G11C13/0007
PHYSICS
G11C7/1006
PHYSICS
G11C11/16
PHYSICS
International classification
G11C27/00
PHYSICS
G11C13/00
PHYSICS
G11C11/16
PHYSICS
Abstract
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.
Claims
1. An analog content addressable memory cell, comprising: a high side encoding a high bound on a range of values, the high side including a first voltage divider comprised of a first programmable resistor and a first electronically controlled variable resistor; and a low side encoding a low bound on the range of values, the low side including a second voltage divider comprised of a second programmable resistor and a second electronically controlled variable resistor.
2. The analog content addressable memory cell of claim 1, wherein the first programmable resistor and the second programmable resistor each comprise a resistive random access memory device.
3. The analog content addressable memory cell of claim 1, wherein the first programmable resistor and the second programmable resistor each comprise at least one of a metal oxide memristor device, a phase-change memory device, a spin torque transfer device, and a ferroelectric random access memory device.
4. The analog content addressable memory cell of claim 3, wherein the first variable resistor and the second variable resistor each comprise at least one of a complementary metal oxide semiconductor transistor, a ferroelectric transistor, and three-terminal electronic non-linear device.
5. The analog content addressable memory cell of claim 1, wherein the first variable resistor and the second variable resistor each comprise at least one of a complementary metal oxide semiconductor transistor, a ferroelectric transistor, and three-terminal electronic non-linear device.
6. The analog content addressable memory cell of claim 1, wherein at least one of the low side and the high side includes an inverter.
7. An analog content addressable memory, comprising: 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 indicating 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, wherein each cell of the analog memory cell array comprises: a high side encoding a high bound on a range of values, the high side including a first voltage divider comprised of a first programmable resistor and a first electronically controlled variable resistor; and a low side encoding a low bound on the range of values, the low side including a second voltage divider comprised of a second programmable resistor and a second electronically controlled variable resistor.
8. The analog content addressable memory of claim 7, further comprising at least one of: a search data register into which a digital input pattern may be loaded in use via the inputs; and an encoder that generates a match location for the analog input pattern within the analog memory cell array.
9. The analog content addressable memory of claim 7, wherein at least one of the low side and the high side includes an inverter.
10. The analog content addressable memory of claim 7, further comprising at least one of: a pre-charging peripheral that, in use, pre-charges the cells of the analog memory cell array; and a sensing peripheral that senses indications of a match from the analog memory cell array.
11. A method for storing data in a content addressable memory, comprising: 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, wherein the searched value is a digital value; and indicating whether the searched value matches a low value defining the range of values in the cell.
12. The method of claim 11, wherein the method further comprising loading the searched value into a search register.
13. The method of claim 11, wherein the searched value is an analog value.
14. The method of claim 11, wherein the searched value is a don't care value.
15. The method of claim 11, further comprising encoding the indications, along with match indications for other searched values, into a representation of the matching locations.
16. The method of claim 11, further comprising programming the high value and the low value.
17. An analog content addressable memory cell, comprising: 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, including: a high side encoding a high bound on the range of values, the high side including a voltage divider formed by a programmable resistor and an electronically controlled variable resistor; and means for defining a low value of the range of values and indicating whether the searched value matches the low value.
18. The analog content addressable memory cell of claim 17, wherein the first programmable resistor and the second programmable resistor each comprise a resistive random access memory device.
19. The analog content addressable memory cell of claim 17, wherein the programmable resistor comprises at least one of a metal oxide memristor device, a phase-change memory device, a spin torque transfer device, and a ferroelectric random access memory device.
20. The analog content addressable memory cell of claim 17, wherein the variable resistor each comprise at least one of a complementary metal oxide semiconductor transistor, a ferroelectric transistor, and three-terminal electronic non-linear device.
21. The analog content addressable memory cell of claim 17, wherein the means for defining the low value includes: a low side encoding a low bound on the range of values, the low side including a voltage divider formed by a programmable resistor and a second electronically controlled variable resistor.
22. The analog content addressable memory cell of claim 21, wherein the programmable resistor comprises at least one of a metal oxide memristor device, a phase-change memory device, a spin torque transfer device, and a ferroelectric random access memory device.
23. The analog content addressable memory cell of claim 21, wherein the variable resistor each comprise at least one of a complementary metal oxide semiconductor transistor, a ferroelectric transistor, and three-terminal electronic non-linear device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) 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.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17) 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
(18) 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.
(19) 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.
(20) 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.
(21) 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 0s and 1s. 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.
(22) 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.
(23) 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.sub.high and R.sub.low herein. R.sub.high and R.sub.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.sub.high and the value defined by R.sub.low. If R.sub.high=R.sub.max, where R.sub.max is the maximum resistance of a memristor, and R.sub.low=R.sub.min, where R.sub.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.sup.n+1 states.
(24) Thus, a memristor-based aCAM can search analog voltages and stores analog values as the value(s) which fall in between R.sub.low and R.sub.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.
(25) 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.sub.high or R.sub.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.
(26) 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.
(27) 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.
(28) 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.
(29) 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.
(30) 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.
(31) 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.
(32)
(33) 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 W1. 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
(34) The analog cell array 110 includes a plurality of analog cells 120 (only one indicated) arranged in rows and columns as shown in
(35) 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.
(36) 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.
(37)
(38) Each aCAM cell 205 includes two memristors M1, M2 (not separately shown) that are used to define the range of values stored in the respective aCAM cell 205.
(39) 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.sup.n+1 distinct resistance levels between R.sub.low and R.sub.high. That is, R.sub.range=R.sub.highR.sub.low and includes 2.sup.n+1 distinct resistance levels, each distinct resistance level representing a different value. For example, where R.sub.highR.sub.low and R.sub.high>R.sub.low, then the aCAM cell 205 stores all levels between R.sub.low and R.sub.high. For another example, if R.sub.high=R.sub.max and R.sub.low=R.sub.min, then the aCAM cell 205 stores an X=do not care value. For yet another example, if R.sub.high=a resistance R.sub.1 and R.sub.low=R.sub.1delta where delta=(R.sub.maxR.sub.min)/(2.sup.n), then the aCAM cell 205 stores the single level R.sub.1.
(40)
(41) The high side 403 includes a first transistor T1 and a first memristor M1. The first memristor M1, in conjunction with the first transistor T1, defines a first voltage divider 409 for the voltage applied on SL.sub.P and, when programmed, the memristor M1 defines a high value R.sub.high of a range of values R.sub.range. The high side 403 also includes a second transistor that, in use, indicates whether a searched value matches the high value R.sub.high as discussed further below. The low side 406 includes a third transistor T3 and the second memristor M2. The second memristor M2, in conjunction with the third transistor T3, defines a second voltage divider 412. When the second memristor M2 is programmed, the memristor M2 defines the low value R.sub.low of the range of values R.sub.range. The low side 406 also includes a fourth transistor T4 that, in use, indicates whether the searched value matches the low value R.sub.low.
(42) The aCAM cell 400 also includes a match line ML, a word line WL that serves as a ground, search lines SL.sub.P, SL.sub.N, and data lines DL.sub.P, DL.sub.N. As noted above, the memristor-transistor pairs M1/T1 and M2/T3 define a respective voltage divider 409, 412. The memristors M1, M2 of the voltage dividers 409, 412 are used encode R.sub.high and R.sub.low when the memristors M1, M2 are programmed. (Whether the searched data matches the stored data is a function of the voltage divider (the M1/M2 values and the transistor characteristics)). Thus, in this example, in each memristor-transistor pair M1/T1 and M2/T3, 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.
(43) In the high side 403, where R.sub.high is programmed, V.sub.search on DL.sub.P should be low enough such that the voltage at G1 (created by the voltage divider between T1 and M1) does not turn on the T2 pulldown transistor. If DL.sub.P is too low (indicating a search value above the R.sub.high bound), then T1 is very low resistance, and thus the voltage at G1 will be similar to the search voltage on SL.sub.P, and therefore quite high causing T2 to turn on and discharge the pre-charged voltage on the ML, indicating a mismatch. In the low side 406, where R.sub.low is programmed, V.sub.search on DL.sub.N should be high enough such that the voltage at G2 (created by the voltage divider between M2 and T3) is fairly low and does not turn on the pulldown transistor T4. If DL.sub.N is too low, then T3 can be too high resistance, and cause the voltage at G2SL.sub.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 T1 and T3 lines. So, for instance: SL.sub.P=SL.sub.N=0.8V, DL.sub.P=0V, DL.sub.N=1.5V, M1=10, and M2=10 k.
(44) Note that the transistors T1-T4 are implemented using metal-oxide semiconductor field-effect transistors (MOSFETs). T1 is a positive or p MOSFET and T3 is a negative or n MOSFET. This permits the two memristors M1, M2 to be more similar in resistance. This, in turn, offers potential for more analog levels relative to examples in which T1 and T3 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.
(45) The example aCAM cell 400 in
(46)
(47) 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.sub.N(H), DL.sub.N(L). As noted above, the memrstor-transistor pairs M1/T1 and M2/T3 define a respective voltage divider 509, 512. The voltage dividers 509, 512 are used encode R.sub.high and R.sub.low when the memristors M1, M2 are programmed. Thus, in this example, in each memristor-transistor pair M1/T1 and M2/T3, 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.
(48) In the high side 503, where R.sub.high is programmed into M1, V.sub.search on data line DL.sub.N(H) is low enough such that the voltage at G1 (created by the voltage divider between T1 and M1) does not turn on the T2 pulldown transistor. If data line DL.sub.N(H) is too high (indicating a search value above the R.sub.high bound), then T1 is very low resistance, and thus the voltage at G1 will be similar to the search voltage on search line SL, causing a mismatch and discharge through T2. In the low side 506, where R.sub.low is programmed, V.sub.search on data line DL.sub.N(L) is high enough such that the voltage at G2 (created by the voltage divider between M2 and T3) does not turn on the T4 pulldown transistor. If data line DL.sub.N(L) is too low, then T3 can be too high resistance, and cause the voltage at G2-search line SL search voltage, causing a mismatch and discharge through T4. 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.sub.N(H) and DL.sub.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.
(49)
(50) Note that the example shown in
(51) The aCAM cell 600 also includes a match line ML, search lines SL.sub.HI, SL.sub.LO and data lines DL, DL1. As noted above, the memristor-transistor pairs M1/T1 and M2/T3 define a respective voltage divider 609, 612. The voltage dividers 609, 612 are used to encode R.sub.high and R.sub.low when the memristors M1, M2 are programmed. Thus, in this example, in each memristor-transistor pair M1/T1 and M2/T3, 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.
(52) More particularly, memristor M1 and transistor T1 form a voltage divider 609, in which M1 is a memristor with tunable non-volatile resistance and T1 is a transistor whose resistance increases with the input voltage on the data line DL. Therefore, there exists a threshold voltage, dependent on the M1 resistance, that when the data line DL input voltage is smaller than the threshold, the pull-down transistor T2 turns on which pulls down the match line ML yielding a mismatch result. Similarity, memristor M2 and transistor T3 form another voltage divider 612, and the internal voltage node is inverted by the transistors T4, T5 before applying to another pull-down transistor T6. As a result, with properly programmed resistances in the memristors M1, M2, 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 M1 and M2 resistances.
(53) Still referring to
(54) The operation of the memristor aCAM cell 600 will now be discussed.
(55) 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 M1/T1 and M2/T3 in
V.sub.DLG.sub.M1.Math.(V.sub.SLHI/V.sub.TH,ML1)/+V.sub.TH
(56) where V.sub.TH and V.sub.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.sub.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
(57) Returning to
f(G.sub.M1)<V.sub.DL<f(G.sub.M2),
where f(G.sub.M1), and f(G.sub.M2) are the voltages at G1, G2, respectively, in
(58) If a cell has DL as the input and G1 as output, it is an inverter with a tunable parameter defined by M1 resistance.
(59)
(60) Assuming NFET is working in a triode mode:
V.sub.DLV.sub.THN>(V.sub.SLhi/V.sub.th1)/(.Math.R.sub.M1)R.sub.M1.sup.1
(61) And, assuming NFET is working in a saturation mode:
V.sub.DLV.sub.THN>{square root over (2(V.sub.SLhiV.sub.th)/(.Math.R.sub.M1))}R.sub.M1.sup.0.5
(62) Turning now to
(63) 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
(64)
(65) Each of the examples disclosed above includes at least two programmed memristors. The memristors M1, M2 in the aCAM cells 400, 500, 600 are programmed before the search operation. Referring again to
(66) TABLE-US-00001 TABLE 1 Write Operations of the Analog CAM Cell Operation SL.sub.HI SL.sub.LO DL1 DL2 Set M1 V.sub.set 0 V.sub.g,set 0 Reset M1 0 V.sub.reset V.sub.DD 0 Set M2 V.sub.set 0 0 V.sub.g,set Reset M2 0 V.sub.reset 0 V.sub.DD Read M1 V.sub.read 0 V.sub.DD 0 Read M2 V.sub.read 0 0 V.sub.DD
(67) 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, Xs 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.
(68) For instance, assume two-bit objects, which would use four levels of memristor resistance or conductance state00, 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.
(69) TABLE-US-00002 TABLE 2 Compression with Two-Bit Objects Stored Value Matches 0X 00, 01 1X 10, 11 XX 00, 01, 10, 11
(70) 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.
(71) 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.
(72) TABLE-US-00003 TABLE 3 Compression with Four-Bit Objects 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
(73) As described above, when Xs 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).
(74) 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.
(75) Each of the examples of an aCAM memory cell in
(76) 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).
(77) 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.
(78) 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.
(79) 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.
(80) 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.
(81) Accordingly, the protection sought herein is as set forth in the claims below.