<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.7//EN" "ep-patent-document-v1-7.dtd">
<!--This XML data has been generated under the supervision of the European Patent Office -->
<ep-patent-document id="EP18782227B1" file="EP18782227NWB1.xml" lang="en" country="EP" doc-number="3682334" kind="B1" date-publ="20240925" status="n" dtd-version="ep-patent-document-v1-7">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYALTRBGCZEEHUPLSK..HRIS..MTNORS..SM..................</B001EP><B003EP>*</B003EP><B005EP>J</B005EP><B007EP>0009210-RPUB02</B007EP></eptags></B000><B100><B110>3682334</B110><B120><B121>EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B1</B130><B140><date>20240925</date></B140><B190>EP</B190></B100><B200><B210>18782227.5</B210><B220><date>20180820</date></B220><B240><B241><date>20200129</date></B241><B242><date>20220125</date></B242></B240><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>201715701926</B310><B320><date>20170912</date></B320><B330><ctry>US</ctry></B330></B300><B400><B405><date>20240925</date><bnum>202439</bnum></B405><B430><date>20200722</date><bnum>202030</bnum></B430><B450><date>20240925</date><bnum>202439</bnum></B450><B452EP><date>20240424</date></B452EP></B400><B500><B510EP><classification-ipcr sequence="1"><text>G06F  12/123       20160101AFI20190322BHEP        </text></classification-ipcr></B510EP><B520EP><classifications-cpc><classification-cpc sequence="1"><text>G06F  12/123       20130101 FI20221010BHEP        </text></classification-cpc></classifications-cpc></B520EP><B540><B541>de</B541><B542>BEREITSTELLUNG EINER VARIABLEN INTERPRETATION VON NUTZENINDIKATOREN FÜR SPEICHERTABELLEN IN PROZESSORBASIERTEN SYSTEMEN</B542><B541>en</B541><B542>PROVIDING VARIABLE INTERPRETATION OF USEFULNESS INDICATORS FOR MEMORY TABLES IN PROCESSOR-BASED SYSTEMS</B542><B541>fr</B541><B542>FOURNITURE D'UNE INTERPRÉTATION VARIABLE D'INDICATEURS D'UTILITÉ POUR DES TABLES DE MÉMOIRE DANS DES SYSTÈMES BASÉS SUR UN PROCESSEUR</B542></B540><B560><B561><text>US-A- 5 881 266</text></B561><B561><text>US-A1- 2009 063 776</text></B561><B561><text>US-A1- 2011 010 502</text></B561><B561><text>US-B1- 7 120 751</text></B561></B560></B500><B700><B720><B721><snm>KRISHNA, Anil</snm><adr><str>133 Crest View Drive</str><city>Lakeway, Texas 78734</city><ctry>US</ctry></adr></B721><B721><snm>YI, Yongseok</snm><adr><str>5775 Morehouse Drive</str><city>San Diego, California 92121</city><ctry>US</ctry></adr></B721><B721><snm>ROTENBERG, Eric</snm><adr><str>5775 Morehouse Drive</str><city>San Diego, California 92121</city><ctry>US</ctry></adr></B721><B721><snm>KOTHINTI NARESH, Vignyan Reddy</snm><adr><str>5775 Morehouse Drive</str><city>San Diego, California 92121</city><ctry>US</ctry></adr></B721><B721><snm>WRIGHT, Gregory, Michael</snm><adr><str>5775 Morehouse Drive</str><city>San Diego, California 92121</city><ctry>US</ctry></adr></B721></B720><B730><B731><snm>Qualcomm Incorporated</snm><iid>101331406</iid><irf>PX417EP</irf><adr><str>5775 Morehouse Drive</str><city>San Diego, CA 92121-1714</city><ctry>US</ctry></adr></B731></B730><B740><B741><snm>Tomkins &amp; Co</snm><iid>101600868</iid><adr><str>5 Dartmouth Road</str><city>Dublin 6</city><ctry>IE</ctry></adr></B741></B740></B700><B800><B840><ctry>AL</ctry><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>MK</ctry><ctry>MT</ctry><ctry>NL</ctry><ctry>NO</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>RS</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>SM</ctry><ctry>TR</ctry></B840><B860><B861><dnum><anum>US2018047043</anum></dnum><date>20180820</date></B861><B862>en</B862></B860><B870><B871><dnum><pnum>WO2019055170</pnum></dnum><date>20190321</date><bnum>201912</bnum></B871></B870></B800></SDOBI>
<description id="desc" lang="en"><!-- EPO <DP n="1"> -->
<heading id="h0001"><b><u>BACKGROUND</u></b></heading>
<heading id="h0002"><b>I. Field of the Disclosure</b></heading>
<p id="p0001" num="0001">The technology of the disclosure relates generally to usefulness indicators used by memory tables in processor-based systems, and, in particular, to maintaining the effectiveness of such usefulness indicators.</p>
<heading id="h0003"><b>II. Background</b></heading>
<p id="p0002" num="0002">Caches and prediction logic employed in many processor-based systems, such as high performance central processing units (CPUs) and graphical processing units (GPUs), often use large static random access memory (SRAM) banks to store state data needed for operation. SRAMs are used in these types of devices because they offer density and power advantages over other structures (e.g., flip-flops or flop-trays, as non-limiting examples) which occupy more processor chip area and consume more power in comparison. Memory tables stored in such SRAM banks may hold hundreds or thousands of individual logical memory table entries, and thus may require careful management of the state data stored therein to be effective.</p>
<p id="p0003" num="0003">Many SRAM state management policies rely on a notion of "usefulness" for each memory table entry in a memory table stored in the SRAM. Under a "usefulness" approach, each memory table entry maintains a small "usefulness" indicator (e.g., a bit field providing two (2) to three (3) bits). A memory controller implementing an SRAM state management policy increments the usefulness indicator of a memory table entry whenever the memory table entry proves valuable (e.g., when the memory table entry provides a good prediction or prefetch suggestion). The usefulness indicator is likewise decremented in response to each misprediction or invalid prefetch suggestion that occurs. The value of the usefulness indicator at a given time thus represents a measure<!-- EPO <DP n="2"> --> of the usefulness of the memory table entry. For example, in implementations in which the value of each usefulness indicator is considered to directly correlate with the usefulness of the corresponding memory table entry, a memory table entry with a usefulness indicator of two (2) bits having a value of 0b00 or 0b01 would be considered less useful than a memory table entry with a usefulness indicator having a value of 0b10 or 0b11.</p>
<p id="p0004" num="0004">However, usefulness indicators may also incur a number of disadvantages. Because memory tables tend to retain only the more useful entries, over time the differentiation among the usefulness indicators of the memory table entries decreases. This is because, when every memory table entry indicates that it is useful, the usefulness indicators themselves become less useful. Conventional solutions to this issue attempt to recalibrate the usefulness indicators across all memory table entries in one or more memory tables. For example, some approaches involve shifting each usefulness indicator to the right by one (1) bit, flash-clearing all usefulness indicator entries within a memory table to reset all memory table entries to the same initial state, or clearing a single bit within the usefulness indicator of each memory table entry. All of these potential solutions require multiple (e.g., often thousands) of memory table entries to be written within a very short period of time, which may be impracticable when using memory devices such as SRAMs. This issue may be mitigated by storing the usefulness indicators within separate additional SRAM or registers, but at the cost of additional processor chip area and power consumption. Consequently, it is desirable to provide a technique for recalibrating the usefulness indicators without requiring additional SRAM or registers to store the usefulness indicators, without incurring the area and power overhead of existing solutions, and without negatively impacting system performance.</p>
<p id="p0005" num="0005"><patcit id="pcit0001" dnum="US7120751B1"><text>US 7 120 751 B1 (ENDO YASAHIRO [US] ET AL) 10 October 2006</text></patcit> discusses a streaming media cache comprises a mass storage device configured to store streaming media data, a cache memory coupled to the mass storage device, the cache memory configured to store a subset of the streaming media data in a plurality of locations, and configured to provide the subset of the streaming media data to the processor, and a processor coupled to the mass storage device and to the cache memory, the processor configured to use a first retirement algorithm to determine a first location within the cache memory that is to be retired, configured to copy data from the mass<!-- EPO <DP n="3"> --> storage device to the first location within the cache memory, con figured to monitor a cache memory age, wherein the cache memory age is determined in response to an age of data in at least a second location within the cache memory, configured to use a second retirement algorithm to determine a third location within the cache memory that is to be retired when the cache memory age falls below a threshold age, and configured to copy data from the mass storage device to the third location within the cache memory.</p>
<p id="p0006" num="0006"><patcit id="pcit0002" dnum="US5881266A"><text>US 5881 266 A (MATSUMOTO TOSHIO [JP]) 9 March 1999</text></patcit> discusses how the hit ratio of a cache memory in a data base processing system is improved by changing the priority of erasing cache data. A forward/backward pointer and a backward/forward pointer are contained as cache management information. At a completion of access of all the data of a table and before the next access of a table begins, the forward/backward pointer is changed to the backward/forward pointer and the backward/forward pointer is changed to the forward/backward pointer if the hit ratio is lower than expected ratio. Depending on the type of data access or external commands, the priority of erasing cache data is further changed to achieve a high hit ratio.</p>
<p id="p0007" num="0007"><patcit id="pcit0003" dnum="US2011010502A1"><text>US 2011/010502 A1 (WANG JAMES [US] ET AL) 13 January 2011</text></patcit> discusses an embodiment wherein, a cache stores tags for cache blocks stored in the cache. Each tag may include an indication identifying which of two or more replacement policies supported by the cache is in use for the corresponding cache block, and a replacement record indicating the status of the corresponding cache block in the replacement policy. Requests may include a replacement attribute that identifies the desired replacement policy for the cache block accessed by the request. If the request is a miss in the cache, a cache block storage location may be allocated to store the corresponding cache block. The tag associated with the cache block storage location may be updated to include the indication of the desired replacement policy, and the cache may manage the block in accordance with the policy. For example, in an embodiment, the cache may support both an LRR and an LRU policy.</p>
<p id="p0008" num="0008"><patcit id="pcit0004" dnum="US2009063776A1"><text>US 2009/063776 A1</text></patcit> discusses a cache memory system which includes a cache memory and a block replacement controller. The cache memory may include a plurality of sets, each set including a plurality of block storage locations. The block<!-- EPO <DP n="4"> --> replacement controller may maintain a separate count value corresponding to each set of the cache memory. The separate count value points to an eligible block storage location within the given set to store replacement data. The block replacement controller may maintain for each of at least some of the block storage locations, an associated recent access bit indicative of whether the corresponding block storage location was recently accessed. In addition, the block replacement controller may store the replacement data within the eligible block storage location pointed to by the separate count value depending upon whether a particular recent access bit indicates that the eligible block storage location was recently accessed.</p>
<heading id="h0004"><b><u>SUMMARY OF THE DISCLOSURE</u></b></heading>
<p id="p0009" num="0009">Aspects according to the disclosure include providing variable interpretation of usefulness indicators for memory tables in processor-based systems. In this regard, in one aspect, a processor-based system includes a memory system that comprises a memory table (e.g., a table storing state data within a static random access memory<!-- EPO <DP n="5"> --> (SRAM), as a non-limiting example). In some aspects, the memory system may comprise or be part of a cache, a branch predictor, a value predictor, a load address predictor, and/or a hardware data prefetcher, as non-limiting examples. The memory table is made up of multiple memory table entries, each of which includes a usefulness indicator. The memory system further includes a memory controller (for example, an SRAM controller) that provides a global polarity indicator. Some aspects may provide that the global polarity indicator is a single-bit field representing a Boolean value. The global polarity indicator represents a present polarity that indicates how the usefulness indicator for each memory table entry is interpreted and updated by the memory controller. For example, in some aspects, if the global polarity indicator is set, the usefulness indicator of a given memory table entry is interpreted in the conventional fashion, whereby a value of the usefulness indicator directly corresponds to the usefulness of the corresponding memory table entry. Thus, a higher usefulness indicator value indicates a higher level of usefulness, and the usefulness indicator is incremented when the corresponding memory table entry proves valuable, and is decremented otherwise. Conversely, if the global polarity indicator is not set, the polarity is reversed such that the memory controller interprets the usefulness indicator value as inversely corresponding to the usefulness of the corresponding memory table entry. A higher usefulness indicator value therefore is indicative of a lower level of usefulness, and the usefulness indicator is decremented when the corresponding memory table entry proves valuable, and is incremented otherwise. In this manner, the memory controller selects memory table entries for replacement and updates the usefulness indicator based on the interpretation of the usefulness indicators indicated by the global polarity indicator.</p>
<p id="p0010" num="0010">In another aspect, a memory system of a processor-based system is provided. The memory system includes a memory table comprising a plurality of memory table entries each providing a usefulness indicator, and further comprises a memory controller providing a global polarity indicator. The memory controller is configured to, responsive to determining that replacement from the memory table is necessary, determine whether the global polarity indicator is not set. The memory controller is further configured to, responsive to determining that the global polarity indicator is not set, interpret a value of the usefulness indicator of each memory table entry of the<!-- EPO <DP n="6"> --> plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry. The memory controller is also configured to, responsive to determining that the global polarity indicator is set, interpret the value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as directly correlating to the usefulness of the memory table entry. The memory controller is additionally configured to select a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</p>
<p id="p0011" num="0011">In another aspect, a memory system of a processor-based system is provided. The memory system comprises a means for determining that replacement of a memory table entry of a plurality of memory table entries of a memory table is necessary. The memory system further comprises a means for determining whether a global polarity indicator is not set, responsive to determining that replacement of a memory table entry is necessary. The memory system also comprises a means for interpreting a value of a usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry, responsive to determining that the global polarity indicator is not set. The memory system additionally comprises a means for selecting a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</p>
<p id="p0012" num="0012">In another aspect, a method for providing variable interpretation of memory table usefulness indicators is provided. The method comprises determining, by a memory controller of a processor-based system, that replacement of a memory table entry of a plurality of memory table entries of a memory table is necessary. The method further comprises, responsive to determining that replacement of a memory table entry is necessary, determining whether a global polarity indicator is not set. The method also comprises, responsive to determining that the global polarity indicator is not set, interpreting a value of a usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry. The method additionally comprises selecting a least useful<!-- EPO <DP n="7"> --> memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</p>
<p id="p0013" num="0013">In another aspect, a non-transitory computer-readable medium is provided. The non-transitory computer-readable medium stores thereon computer-executable instructions which, when executed by a processor, cause the processor to determine that replacement of a memory table entry of a plurality of memory table entries of a memory table is necessary. The computer-executable instructions further cause the processor to, responsive to determining that replacement of a memory table entry is necessary, determine whether a global polarity indicator is not set. The computer-executable instructions also cause the processor to, responsive to determining that the global polarity indicator is not set, interpret a value of a usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry. The computer-executable instructions additional cause the processor to select a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</p>
<heading id="h0005"><b><u>BRIEF DESCRIPTION OF THE FIGURES</u></b></heading>
<p id="p0014" num="0014">
<ul id="ul0001" list-style="none" compact="compact">
<li><figref idref="f0001">Figure 1</figref> is a block diagram of an exemplary processor-based system including a memory controller providing a global polarity indicator for variable interpretation of usefulness indicators,</li>
<li><figref idref="f0002">Figure 2</figref> is a state diagram illustrating how usefulness indicators are interpreted and updated by a conventional memory controller;</li>
<li><figref idref="f0003">Figure 3</figref> is a state diagram illustrating how the memory controller of <figref idref="f0001">Figure 1</figref> uses the global polarity indicator of <figref idref="f0001">Figure 1</figref> to interpret and update usefulness indicators,</li>
<li><figref idref="f0004">Figure 4</figref> is a flowchart illustrating exemplary operations for providing variable interpretation of usefulness indicators by the memory controller of <figref idref="f0001">Figure 1</figref> using the global polarity indicator of <figref idref="f0001">Figure 1</figref>;<!-- EPO <DP n="8"> --></li>
<li><figref idref="f0005">Figure 5</figref> is a flowchart illustrating additional exemplary operations of the memory controller of <figref idref="f0001">Figure 1</figref> for determining when to invert a value of the global polarity indicator of <figref idref="f0001">Figure 1</figref>; and</li>
<li><figref idref="f0006">Figure 6</figref> is a block diagram of an exemplary processor-based system that can include the memory controller and the global polarity indicator of <figref idref="f0001">Figure 1</figref>.</li>
</ul></p>
<heading id="h0006"><b><u>DETAILED DESCRIPTION</u></b></heading>
<p id="p0015" num="0015">With reference now to the drawing figures, several exemplary aspects of the present disclosure are described. The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects.</p>
<p id="p0016" num="0016">Aspects disclosed in the detailed description include providing variable interpretation of usefulness indicators for memory tables in processor-based systems. In this regard, <figref idref="f0001">Figure 1</figref> illustrates an exemplary processor-based system 100 that includes a central processing unit (CPU) 102 and a memory system 104 comprising a memory controller 106. The memory system 104 according to some aspects may comprise or be part of a cache, a branch predictor, a value predictor, a load address predictor, and/or a hardware data prefetcher, as non-limiting examples. In such aspects, the memory controller 106 may comprise a cache controller, a branch predictor controller, a value predictor controller, a load address predictor controller, and/or a hardware data prefetch controller, respectively, as non-limiting examples. The memory system 104 may further comprise memory devices, such as static random access memory (SRAM) devices, as non-limiting examples.</p>
<p id="p0017" num="0017">It is to be understood that the processor-based system 100 of <figref idref="f0001">Figure 1</figref> may encompass any one of known digital logic elements, semiconductor circuits, and processing cores, and/or memory structures, among other elements, or combinations thereof. Aspects described herein are not restricted to any particular arrangement of elements, and the disclosed techniques may be easily extended to various structures and layouts on semiconductor dies or packages. It is to be further understood that some aspects of the processor-based system 100 may include elements in addition to those illustrated in <figref idref="f0001">Figure 1</figref>. As non-limiting examples, the processor-based system 100 may<!-- EPO <DP n="9"> --> include one or more graphical processing units (GPUs), one or more instruction caches, one or more data caches, one or more execution pipelines, one or more execution units, one or more completion units, and/or one or more registers.</p>
<p id="p0018" num="0018">As seen in <figref idref="f0001">Figure 1</figref>, the memory system 104 includes a memory table 108 that stores a plurality of memory table entries 110(0)-110(X). The memory table 108 in some aspects may comprise an SRAM data table for storing state data. Each of the memory table entries 110(0)-110(X) includes a corresponding usefulness indicator 112(0)-112(X) that is used by the memory controller 106 for determining a usefulness of the memory table entry 110(0)-110(X) as part of implementing a replacement policy for the memory table 108. For example, if the memory controller 106 determines that replacement of one of the memory table entries 110(0)-110(X) is necessary, the memory controller 106 may be configured to select a memory table entry 110(0)-110(X) whose usefulness indicator 112(0)-112(X) indicates that the memory table entry 110(0)-110(X) is least useful among the memory table entries 110(0)-110(X). In this manner, the memory controller 106 attempts to minimize any impact on system performance that may result from replacement of one of the memory table entries 110(0)-1 10(X).</p>
<p id="p0019" num="0019">However, as noted above, the usefulness indicators 112(0)-112(X) themselves tend to become less useful over time as the memory table 108 becomes populated with memory table entries 110(0)-110(X) that all indicate that they are useful. While recalibration of the usefulness indicators 112(0)-112(X) (e.g., by shifting or flash-clearing all of the usefulness indicators 112(0)-112(X) in the memory table 108) can remedy this problem, such solutions require multiple memory table entries 110(0)-110(X) to be written within a very short period of time. As a result, these potential solutions may not be practicable when using memory devices such as SRAMs.</p>
<p id="p0020" num="0020">In this regard, the memory controller 106 of <figref idref="f0001">Figure 1</figref> provides a global polarity indicator 114 that determines how the memory controller 106 interprets and updates the usefulness indicators 112(0)-112(X) of the memory table entries 110(0)-110(X). In some aspects, the global polarity indicator 114 comprises a single-bit field that represents a Boolean value. When the global polarity indicator 114 is set (e.g., has a Boolean value of true), the memory controller 106 interprets the usefulness indicator 112(0)-112(X) in the conventional fashion, whereby a value of each of the usefulness indicators 112(0)-112(X) directly corresponds to the usefulness of the corresponding<!-- EPO <DP n="10"> --> memory table entry 1 10(0)-110(X). Thus, a usefulness indicator 112(0)-112(X) having a higher value indicates a higher level of usefulness, and the usefulness indicator 112(0)-112(X) is incremented when the corresponding memory table entry 110(0)-110(X) proves valuable, and is decremented otherwise.</p>
<p id="p0021" num="0021">If the global polarity indicator 114 is not set (e.g., has a Boolean value of false), the memory controller 106 interprets the value of each usefulness indicator 112(0)-112(X) as inversely corresponding to the usefulness of the corresponding memory table entry 110(0)-110(X). A usefulness indicator 112(0)-112(X) having a higher value therefore is indicative of a lower level of usefulness, and the usefulness indicator 112(0)-112(X) is decremented when the corresponding memory table entry 110(0)-110(X) proves valuable, and is incremented otherwise. In this manner, the memory controller 106 selects memory table entries 110(0)-110(X) for replacement and updates the usefulness indicators 112(0)-112(X) based on the interpretation of the usefulness indicators 112(0)-112(X) indicated by the global polarity indicator 114. It is to be understood that, in some aspects, the global polarity indicator 114 may be considered to be "set" when storing a Boolean value of false and "not set" when storing a Boolean value of true.</p>
<p id="p0022" num="0022">In some aspects, the memory controller 106 is further configured to determine an optimal time to invert the value of the global polarity indicator 114 by tracking how many times an installation of a new memory table entry 110(0)-110(X) is successful versus how many installations fail (e.g., resulting in forfeiting placement of the new memory table entry 110(0)-110(X) or selecting a memory table entry 110(0)-110(X) that is indicated to be useful). In this regard, the memory controller 106 in such aspects provides an installation failure count indicator 116 that is incremented upon a failed attempt to install a new memory table entry 110(0)-110(X), and decremented upon a successful attempt to install a new memory table entry 110(0)-110(X). The memory controller 106 may further provide an installation failure threshold indicator 118, the value of which is set to indicate a maximum allowable number of failed installations. When the value of the installation failure count indicator 116 exceeds the value of the installation failure threshold indicator 118, the memory controller 106 is configured to invert the value of the global polarity indicator 114. As a non-limiting example, if the global polarity indicator 114 has a current Boolean value of true, the<!-- EPO <DP n="11"> --> memory controller 106 sets the global polarity indicator 114 to a Boolean value of false, and vice versa. This has the effect of reversing the interpretation of the usefulness indicators 112(0)-112(X) by the memory controller 106, transforming the most useful memory table entries 110(0)-110(X) into the least useful.</p>
<p id="p0023" num="0023">Some aspects may provide that the performance of the memory controller 106 and the global polarity indicator 114 is enhanced by ensuring that the usefulness indicators 112(0)-112(X) of the memory table entries 110(0)-110(X) represent symmetric ranges of useful states and non-useful states. For example, for usefulness indicators 112(0)-112(X) having two (2) bits (and thus four (4) potential usefulness values), the performance of the memory controller 106 may be optimized where the four (4) potential usefulness values represent two (2) useful states and two (2) non-useful states.</p>
<p id="p0024" num="0024"><figref idref="f0002">Figures 2</figref> and <figref idref="f0003">3</figref> provide state diagrams to compare and contrast the manner in which the state of each of the usefulness indicators 112(0)-112(X) may be interpreted and updated by a conventional memory controller and the memory controller 106 of <figref idref="f0001">Figure 1</figref>. In particular, <figref idref="f0002">Figure 2</figref> shows the potential states of the usefulness indicators 112(0)-112(X) and the transitions between states according to a conventional memory controller. <figref idref="f0003">Figure 3</figref> shows the possible states of the usefulness indicators 112(0)-112(X) and how they are interpreted and updated by the memory controller 106 based on the usefulness of the corresponding memory table entries 110(0)-110(X) and the value of the global polarity indicator 114. In both <figref idref="f0002">Figures 2</figref> and <figref idref="f0003">3</figref>, it is assumed that the usefulness indicators 112(0)-112(X) are bit fields storing two (2) bits each.</p>
<p id="p0025" num="0025">In <figref idref="f0002">Figure 2</figref>, a state diagram 200 illustrates four possible states 202(0)-202(3) of each of the usefulness indicators 112(0)-112(X) of <figref idref="f0001">Figure 1</figref>. As seen in <figref idref="f0002">Figure 2</figref>, the four possible states 202(0)-202(3) have corresponding binary values of 0b00, 0b01, 0b10, and 0b11, with the allowable transitions between the states 202(0)-202(3) indicated by transition arrows 204(0)-204(7). A legend 206 indicates how the value of each of the states 202(0)-202(3) is interpreted by a conventional memory controller. In the example of <figref idref="f0002">Figure 2</figref>, the binary value 0b00 is interpreted as "useless," while the binary value 0b01 is interpreted as "less useful," the binary value 0b10 as "more useful," and the binary value 0b11 as "most useful."<!-- EPO <DP n="12"> --></p>
<p id="p0026" num="0026">When a memory table entry of the plurality of memory table entries 110(0)-1 10(X) is determined by the conventional memory controller to be useful (e.g., in response to a correct prediction or prefetch suggestion), the value of the corresponding usefulness indicator 112(0)-1 12(X) is incremented. This results in a transition to a more useful" state (as indicated by transition arrows 204(0)-204(3)) ultimately reaching the state 202(3) representing "most useful." Conversely, when the conventional memory controller judges a memory table entry of the plurality of memory table entries 110(0)-110(X) to be less useful, the value of the corresponding usefulness indicator 112(0)-112(X) is decremented, resulting in a transition to a "less useful" state (as shown by transition arrows 204(4)-204(7)) until the state 202(0) representing "useless" is reached.</p>
<p id="p0027" num="0027"><figref idref="f0003">Figure 3</figref>, in contrast, shows how the memory controller 106 of <figref idref="f0001">Figure 1</figref> may vary the interpretation of the value of the usefulness indicators 1 12(0)-112(X) based on the value of the global polarity indicator 114 of <figref idref="f0001">Figure 1</figref>. As seen in <figref idref="f0003">Figure 3</figref>, a state diagram 300 comprises states 302(0)-302(3) that have corresponding binary values of 0b00, 0b01, 0b10, and 0b11, with possible transitions between the states 302(0)-302(3) indicated by transition arrows 304(0)-304(7). A legend 306 indicates how the value of each state 302(0)-302(3) is interpreted by the memory controller 106, depending on the global polarity indicator 114. The logic for determining how to interpret a given binary value is shown in <figref idref="f0003">Figure 3</figref> in the format "X?Y:Z," which is intended to be read as "if condition X is true, interpret as Y; otherwise, interpret as Z." Thus, if the global polarity indicator 114 is set (e.g., has a Boolean value of true), then the values of the states 302(0)-302(3) are interpreted in conventional fashion. The binary value 0b00 is interpreted as "useless," the binary value 0b01 as "less useful," the binary value 0b10 as "more useful," and the binary value 0b11 as "most useful." However, if the global polarity indicator 114 is not set (e.g., has a Boolean value of false), the interpretation of each binary value is reversed. As a result, the binary value 0b00 is interpreted as "most useful," the binary value 0b01 as "more useful," the binary value 0b10 as "less useful," and the binary value 0b11 as "useless."</p>
<p id="p0028" num="0028">In similar fashion, the transitions between the potential states 302(0)-302(3) for each of the usefulness indicators 112(0)-112(X) vary based on the value of the global polarity indicator 114 and the determined usefulness of the corresponding<!-- EPO <DP n="13"> --> memory table entries 110(0)-110(X). In the example of <figref idref="f0003">Figure 3</figref>, if the global polarity indicator 114 is set, the transitions between the states 302(0)-302(3) occur in the same manner as shown in <figref idref="f0002">Figure 2</figref>. Thus, when a memory table entry of the plurality of memory table entries 110(0)-110(X) is determined by the memory controller 106 to be useful, the value of the corresponding usefulness indicator 112(0)-112(X) is incremented, resulting in a transition to a "more useful" state as shown by the transition arrows 304(0)-304(3). The value of the usefulness indicator 112(0)-112(X) corresponding to a less useful memory table entry 110(0)-110(X) is decremented, resulting in a transition to a "less useful" state as shown by the transition arrows 304(4)-304(7).</p>
<p id="p0029" num="0029">However, if the global polarity indicator 114 is not set, the memory controller 106 applies the reverse logic to state transitions. Consequently, when a memory table entry of the plurality of memory table entries 110(0)-110(X) is determined to be useful, the value of the corresponding usefulness indicator 112(0)-112(X) is decremented, resulting in a transition to a "more useful" state as shown by the transition arrows 304(4)-304(7). Likewise, the value of the usefulness indicator 112(0)-112(X) corresponding to a less useful memory table entry 110(0)-110(X) is incremented, resulting in a transition to a "less useful" state as shown by the transition arrows 304(0)-304(3).</p>
<p id="p0030" num="0030"><figref idref="f0004">Figure 4</figref> is a flowchart illustrating exemplary operations for providing variable interpretation of usefulness indicators by the memory controller 106 of <figref idref="f0001">Figure 1</figref> using the global polarity indicator 114 of <figref idref="f0001">Figure 1</figref>. In describing <figref idref="f0004">Figure 4</figref>, elements of <figref idref="f0001">Figure 1</figref> are referenced for the sake of clarity. In <figref idref="f0004">Figure 4</figref>, operations begin with the memory controller 106 determining whether replacement of a memory table entry of the plurality of memory table entries 110(0)-110(X) of the memory table 108 is necessary (block 400). In this regard, the memory controller 106 may be referred to herein as "a means for determining that replacement of a memory table entry of a plurality of memory table entries of a memory table is necessary." The operations of block 400 for determining whether replacement of one of the memory table entries 110(0)-110(X) may be based on conventional techniques for applying a replacement policy by the memory controller 106. If replacement is not necessary, processing continues (block 402).<!-- EPO <DP n="14"> --></p>
<p id="p0031" num="0031">However, if the memory controller 106 determines at decision block 400 that replacement of a memory table entry of the plurality of memory table entries 1 10(0)-110(X) is necessary, the memory controller 106 next determines whether the global polarity indicator 114 is set (block 404). Accordingly, the memory controller 106 may be referred to herein as "a means for determining whether a global polarity indicator is set, responsive to determining that replacement of a memory table entry is necessary." According to some aspects, if the global polarity indicator 114 is set, the memory controller 106 will interpret a value of a usefulness indicator 112(0)-112(X) of each memory table entry of the plurality of memory table entries 110(0)-1 10(X) of the memory table 108 as directly correlating to the usefulness of the memory table entry 110(0)-110(X) (block 406). If the memory controller 106 determines at decision block 404 that the global polarity indicator 114 is not set, the memory controller 106 will interpret the value of the usefulness indicator 112(0)-112(X) of each memory table entry of the plurality of memory table entries 110(0)-110(X) of the memory table 108 as inversely correlating to the usefulness of the memory table entry 110(0)-110(X) (block 408). The memory controller 106 thus may be referred to herein as "a means for interpreting a value of a usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry, responsive to determining that the global polarity indicator is not set."</p>
<p id="p0032" num="0032">After determining how to interpret the usefulness indicator 112(0)-112(X) of each memory table entry of the plurality of memory table entries 110(0)-110(X), the memory controller 106 then selects a least useful memory table entry of the plurality of memory table entries 110(0)-110(X) for replacement based on the interpreted value of the usefulness indicator 112(0)-112(X) of each memory table entry of the plurality of memory table entries 110(0)-110(X) of the memory table 108 (block 410). In this regard, the memory controller 106 may be referred to herein as "a means for selecting a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table." As a non-limiting example, the "least useful" memory table entry of the plurality of memory table entries 110(0)-110(X) may comprise a memory table entry of the plurality of memory table entries<!-- EPO <DP n="15"> --> 110(0)-110(X) having a usefulness indicator 112(0)-112(X) with a value closest to the "useless" value as determined based on the global polarity indicator 114. Some aspects of the memory controller 106 may be further configured to update a value of the usefulness indicator 112(0)-112(X) of a memory table entry of the plurality of memory table entries 1 10(0)-110(X) of the memory table 108 based on a determined usefulness of the memory table entry 110(0)-110(X) and a value of the global polarity indicator 114 (block 412).</p>
<p id="p0033" num="0033">As noted above, to maintain the usefulness of the usefulness indicators 112(0)-112(X) themselves, the value of the global polarity indicator 114 may be inverted to reverse how the usefulness indicators 1 12(0)-112(X) are interpreted by the memory controller 106. To illustrate exemplary operations of the memory controller 106 for determining when to invert the value of the global polarity indicator 114, <figref idref="f0005">Figure 5</figref> is provided. For the sake of clarity, elements of <figref idref="f0001">Figure 1</figref> are referenced in describing <figref idref="f0005">Figure 5</figref>. Operations in <figref idref="f0005">Figure 5</figref> begin with the memory controller 106 determining whether an attempt to install a new memory table entry, such as the memory table entry 110(0), in the memory table 108 was successful (block 500). If so, the memory controller 106 decrements the installation failure count indicator 116 (block 502). Processing then continues at block 504. However, if the memory controller 106 determines at decision block 500 that the attempt to install the new memory table entry 110(0) in the memory table 108 was not successful, the memory controller 106 increments the installation failure count indicator 116 (block 506). The memory controller 106 then determines whether a value of the installation failure count indicator 116 exceeds a value of the installation failure threshold indicator 118 (block 508). If not, processing continues at block 504. If the value of the installation failure count indicator 116 is determined at decision block 508 to exceed the value of the installation failure threshold indicator 118, the memory controller 106 inverts a value of the global polarity indicator 114 (block 510). Consequently, from this point forward, the memory controller 106 will reverse its interpretation of the usefulness indicators 112(0)-112(X) relative to how the usefulness indicators 112(0)-112(X) were interpreted prior to inverting the global polarity indicator 114. Processing then continues (block 504).</p>
<p id="p0034" num="0034">Providing variable interpretation of usefulness indicators for memory tables in processor-based systems according to aspects disclosed herein may be provided in or<!-- EPO <DP n="16"> --> integrated into any processor-based system. Examples, without limitation, include a set top box, an entertainment unit, a navigation device, a communications device, a fixed location data unit, a mobile location data unit, a global positioning system (GPS) device, a mobile phone, a cellular phone, a smart phone, a session initiation protocol (SIP) phone, a tablet, a phablet, a server, a computer, a portable computer, a mobile computing device, a wearable computing device (e.g., a smart watch, a health or fitness tracker, eyewear, etc.), a desktop computer, a personal digital assistant (PDA), a monitor, a computer monitor, a television, a tuner, a radio, a satellite radio, a music player, a digital music player, a portable music player, a digital video player, a video player, a digital video disc (DVD) player, a portable digital video player, an automobile, a vehicle component, avionics systems, a drone, and a multicopter.</p>
<p id="p0035" num="0035">In this regard, <figref idref="f0006">Figure 6</figref> illustrates an example of a processor-based system 600 that corresponds to the processor-based system 100 of <figref idref="f0001">Figure 1</figref>. The processor-based system 600 includes one or more CPUs 602, each including one or more processors 604. The CPU(s) 602 may have cache memory 606 that is coupled to the processor(s) 604 for rapid access to temporarily stored data. The CPU(s) 602 is coupled to a system bus 608 and can intercouple master and slave devices included in the processor-based system 600. As is well known, the CPU(s) 602 communicates with these other devices by exchanging address, control, and data information over the system bus 608. For example, the CPU(s) 602 can communicate bus transaction requests to a memory controller 610 (which corresponds to the memory controller 106 of <figref idref="f0001">Figure 1</figref>) as an example of a slave device.</p>
<p id="p0036" num="0036">Other master and slave devices can be connected to the system bus 608. As illustrated in <figref idref="f0006">Figure 6</figref>, these devices can include a memory system 612, one or more input devices 614, one or more output devices 616, one or more network interface devices 618, and one or more display controllers 620, as examples. The input device(s) 614 can include any type of input device, including, but not limited to, input keys, switches, voice processors, etc. The output device(s) 616 can include any type of output device, including, but not limited to, audio, video, other visual indicators, etc. The network interface device(s) 618 can be any devices configured to allow exchange of data to and from a network 622. The network 622 can be any type of network, including, but not limited to, a wired or wireless network, a private or public network, a<!-- EPO <DP n="17"> --> local area network (LAN), a wireless local area network (WLAN), a wide area network (WAN), a BLUETOOTH<sup>™</sup> network, and the Internet. The network interface device(s) 618 can be configured to support any type of communications protocol desired. The memory system 612 can include one or more memory units 624(0)-624(N).</p>
<p id="p0037" num="0037">The CPU(s) 602 may also be configured to access the display controller(s) 620 over the system bus 608 to control information sent to one or more displays 626. The display controller(s) 620 sends information to the display(s) 626 to be displayed via one or more video processors 628, which process the information to be displayed into a format suitable for the display(s) 626. The display(s) 626 can include any type of display, including, but not limited to, a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, etc.</p>
<p id="p0038" num="0038">Those of skill in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithms described in connection with the aspects disclosed herein may be implemented as electronic hardware, instructions stored in memory or in another computer readable medium and executed by a processor or other processing device, or combinations of both. The master devices, and slave devices described herein may be employed in any circuit, hardware component, integrated circuit (IC), or IC chip, as examples. Memory disclosed herein may be any type and size of memory and may be configured to store any type of information desired. To clearly illustrate this interchangeability, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. How such functionality is implemented depends upon the particular application, design choices, and/or design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.</p>
<p id="p0039" num="0039">The various illustrative logical blocks, modules, and circuits described in connection with the aspects disclosed herein may be implemented or performed with a processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A processor may be a<!-- EPO <DP n="18"> --> microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).</p>
<p id="p0040" num="0040">The aspects disclosed herein may be embodied in hardware and in instructions that are stored in hardware, and may reside, for example, in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a CD-ROM, or any other form of computer readable medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a remote station. In the alternative, the processor and the storage medium may reside as discrete components in a remote station, base station, or server.</p>
<p id="p0041" num="0041">It is also noted that the operational steps described in any of the exemplary aspects herein are described to provide examples and discussion. The operations described may be performed in numerous different sequences other than the illustrated sequences. Furthermore, operations described in a single operational step may actually be performed in a number of different steps. Additionally, one or more operational steps discussed in the exemplary aspects may be combined. It is to be understood that the operational steps illustrated in the flowchart diagrams may be subject to numerous different modifications as will be readily apparent to one of skill in the art. Those of skill in the art will also understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.<!-- EPO <DP n="19"> --></p>
<p id="p0042" num="0042">The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.</p>
</description>
<claims id="claims01" lang="en"><!-- EPO <DP n="20"> -->
<claim id="c-en-01-0001" num="0001">
<claim-text>A memory system of a processor-based system, comprising:
<claim-text>a memory table (108) comprising a plurality of memory table entries (110(0) - 110(x)) each comprising a usefulness indicator (112(0) - 112(x)); and</claim-text>
<claim-text>a memory controller (106) comprising a global polarity indicator (114);</claim-text>
<claim-text>the memory controller configured to, responsive to determining that replacement from the memory table is necessary:
<claim-text>determine whether the global polarity indicator is not set;</claim-text>
<claim-text>responsive to determining that the global polarity indicator is not set, interpret a value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry;</claim-text>
<claim-text>responsive to determining that the global polarity indicator is set, interpret the value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as directly correlating to the usefulness of the memory table entry; and</claim-text>
<claim-text>select a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>The memory system of claim 1, wherein the memory controller is further configured to update a value of the usefulness indicator of a memory table entry of the plurality of memory table entries of the memory table based on a determined usefulness of the memory table entry and a value of the global polarity indicator.</claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>The memory system of claim 1, wherein:
<claim-text>the memory controller further comprises an installation failure count indicator; and<!-- EPO <DP n="21"> --></claim-text>
<claim-text>the memory controller is further configured to:
<claim-text>increment the installation failure count indicator responsive to a failed attempt to install a new memory table entry in the memory table; and</claim-text>
<claim-text>decrement the installation failure count indicator responsive to a successful attempt to install the new memory table entry in the memory table.</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>The memory system of claim 3, wherein:
<claim-text>the memory controller further comprises an installation failure threshold indicator; and</claim-text>
<claim-text>the memory controller is further configured to:
<claim-text>determine whether a value of the installation failure count indicator exceeds a value of the installation failure threshold indicator; and</claim-text>
<claim-text>responsive to the value of the installation failure count indicator exceeding the value of the installation failure threshold indicator, invert a value of the global polarity indicator.</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>The memory system of claim 1, wherein the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table represents symmetric ranges of useful states and non-useful states.</claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>The memory system of claim 1, comprising a static random access memory, SRAM.</claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>The memory system of claim 1 integrated into an integrated circuit, IC.</claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>The memory system of claim 1 integrated into a device selected from the group consisting of: a set top box; an entertainment unit; a navigation device; a communications device; a fixed location data unit; a mobile location data unit; a global positioning system, GPS device; a mobile phone; a cellular phone; a smart phone; a session initiation protocol, SIP, phone; a tablet; a phablet; a server; a computer; a portable computer; a mobile computing device; a wearable computing device; a desktop computer; a personal digital assistant, PDA; a monitor; a computer monitor; a<!-- EPO <DP n="22"> --> television; a tuner; a radio; a satellite radio; a music player; a digital music player; a portable music player; a digital video player; a video player; a digital video disc, DVD player; a portable digital video player; an automobile; a vehicle component; avionics systems; a drone; and a multicopter.</claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>A method for providing variable interpretation of memory table usefulness indicators, comprising:
<claim-text>determining,(400) by a memory controller of a processor-based system, that replacement of a memory table entry of a plurality of memory table entries of a memory table is necessary; and</claim-text>
<claim-text>responsive to determining that replacement of a memory table entry is necessary:
<claim-text>determining (404) whether a global polarity indicator is not set;</claim-text>
<claim-text>responsive to determining that the global polarity indicator is not set, interpreting (408) a value of a usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as inversely correlating to a usefulness of the memory table entry; and</claim-text>
<claim-text>selecting (410) a least useful memory table entry of the plurality of memory table entries for replacement based on the interpreted value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table.</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>The method of claim 9, further comprising, responsive to determining that the global polarity indicator is set, interpreting (406) the value of the usefulness indicator of each memory table entry of the plurality of memory table entries of the memory table as directly correlating to the usefulness of the memory table entry.</claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>The method of claim 9, further comprising updating (412) a value of the usefulness indicator of a memory table entry of the plurality of memory table entries of the memory table based on a determined usefulness of the memory table entry and a value of the global polarity indicator.</claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>The method of claim 9, further comprising:<!-- EPO <DP n="23"> -->
<claim-text>Incrementing (506) an installation failure count indicator responsive to a failed attempt to install a new memory table entry in the memory table; and</claim-text>
<claim-text>decrementing (502) the installation failure count indicator responsive to a successful attempt to install the new memory table entry in the memory table.</claim-text></claim-text></claim>
<claim id="c-en-01-0013" num="0013">
<claim-text>The method of claim 12, further comprising:
<claim-text>determining (508) whether a value of the installation failure count indicator exceeds a value of an installation failure threshold indicator; and</claim-text>
<claim-text>responsive to the value of the installation failure count indicator exceeding the value of the installation failure threshold indicator, inverting (510) a value of the global polarity indicator.</claim-text></claim-text></claim>
<claim id="c-en-01-0014" num="0014">
<claim-text>A non-transitory computer-readable medium having stored thereon computer-executable instructions which, when executed by a processor, cause the processor to:<br/>
implement the method according to any of claims 9 to 13.</claim-text></claim>
</claims>
<claims id="claims02" lang="de"><!-- EPO <DP n="24"> -->
<claim id="c-de-01-0001" num="0001">
<claim-text>Ein Speichersystem eines prozessorbasierten Systems, das Folgendes aufweist:
<claim-text>eine Speichertabelle (108) mit einer Vielzahl von Speichertabelleneinträgen (110(0) - 110(x)), die jeweils einen Nützlichkeitsindikator (112(0) - 112(x)) aufweisen; und</claim-text>
<claim-text>eine Speichersteuerung (106) mit einem globalen Polaritätsindikator (114);</claim-text>
<claim-text>wobei der Speichercontroller, als Reaktion auf Feststellen, dass eine Ersetzung aus der Speichertabelle erforderlich ist, konfiguriert ist zum:
<claim-text>Feststellen, ob der globale Polaritätsindikator nicht gesetzt ist;</claim-text>
<claim-text>als Reaktion auf das Feststellen, dass der globale Polaritätsindikator nicht gesetzt ist,</claim-text>
<claim-text>Interpretieren eines Wertes des Nützlichkeitsindikators jedes Speichertabelleneintrags der Vielzahl von Speichertabelleneinträgen der Speichertabelle als umgekehrt korrelierend mit einer Nützlichkeit des Speichertabelleneintrags;</claim-text>
<claim-text>als Reaktion auf das Feststellen, dass der globale Polaritätsindikator gesetzt ist, den Wert des Nützlichkeitsindikators jedes Speichertabelleneintrags der Vielzahl von Speichertabelleneinträgen der Speichertabelle als direkt mit der Nützlichkeit des Speichertabelleneintrags korrelierend interpretieren; und</claim-text>
<claim-text>Auswählen eines am wenigsten nützlichen Speichertabelleneintrags aus der Vielzahl von Speichertabelleneinträgen zum Ersetzen auf der Grundlage des interpretierten Werts des Nützlichkeitsindikators jedes Speichertabelleneintrags aus der Vielzahl von Speichertabelleneinträgen der Speichertabelle.</claim-text></claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Speichersystem nach Anspruch 1, wobei der Speichercontroller ferner so konfiguriert ist, dass er einen Wert des Nützlichkeitsindikators eines Speichertabelleneintrags aus der Vielzahl der Speichertabelleneinträge der Speichertabelle auf der Grundlage einer festgestellten Nützlichkeit des<!-- EPO <DP n="25"> --> Speichertabelleneintrags und eines Werts des globalen Polaritätsindikators aktualisiert.</claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Speichersystem nach Anspruch 1, wobei:
<claim-text>der Speicher-Controller außerdem eine Anzeige für die Anzahl der Installationsfehler aufweist;<br/>
und</claim-text>
<claim-text>der Speicher-Controller außerdem konfiguriert ist zum:
<claim-text>Inkrementieren des Installationsfehlerzählindikators als Reaktion auf einen fehlgeschlagenen Versuch, einen neuen Speichertabelleneintrag in der Speichertabelle zu installieren;<br/>
und</claim-text>
<claim-text>Dekrementieren des Installationsfehlschlag-Zählindikators als Reaktion auf einen erfolgreichen Versuch, den neuen Speichertabelleneintrag in der Speichertabelle zu installieren.</claim-text></claim-text></claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Speichersystem nach Anspruch 3, wobei:
<claim-text>der Speichercontroller außerdem einen Schwellenwertindikator für Installationsfehler aufweist; und</claim-text>
<claim-text>der Speicher-Controller außerdem konfiguriert ist zum:
<claim-text>Feststellen, ob ein Wert des Installationsfehler-Zählindikators einen Wert des Installationsfehler-Schwellenwertindikators überschreitet; und</claim-text>
<claim-text>als Reaktion darauf, dass der Wert des Indikators für die Anzahl der Installationsfehler den Wert des Indikators für den Schwellenwert der Installationsfehler überschreitet, einen Wert des globalen Polaritätsindikators zu invertieren.</claim-text></claim-text></claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Speichersystem nach Anspruch 1, wobei der Nützlichkeitsindikator jedes Speichertabelleneintrags der Vielzahl von Speichertabelleneinträgen der Speichertabelle symmetrische Bereiche von nützlichen Zuständen und nicht nützlichen Zuständen darstellt.<!-- EPO <DP n="26"> --></claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Speichersystem nach Anspruch 1 weist einen statischen Direktzugriffsspeicher, SRAM (SRAM = Static Random Access Memory) auf.</claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Speichersystem nach Anspruch 1 ist in eine integrierte Schaltung, IC (IC = Integrated Circuit) integriert.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Speichersystem nach Anspruch 1, das in ein Gerät integriert ist, das ausgewählt ist aus der Gruppe bestehend aus: einer Set-Top-Box; einem Unterhaltungsgerät; einem Navigationsgerät; einem Kommunikationsgerät; einer festen Standortdateneinheit; einer mobilen Standortdateneinheit; einem GPS-Gerät (GPS = Global Positioning System); einem Mobiltelefon; einem zellularen Telefon; einem Smartphone; einem SIP-Telefon (Session Initiation Protocol); einem Tablet; einem Phablet; einem Server; einem Computer; einem tragbaren Computer; einem mobilen Rechengerät; einem tragbaren Rechengerät; einen Desktop-Computer; einen persönlichen digitalen Assistenten, PDA; einen Monitor; einen Computermonitor; ein Fernsehgerät; einen Tuner; ein Radio; ein Satellitenradio; ein Musikabspielgerät; ein digitales Musikabspielgerät; ein tragbares Musikabspielgerät; ein digitales Videoabspielgerät; ein Videoabspielgerät; eine digitale Videoplatte, DVD; ein tragbares digitales Videoabspielgerät; ein Automobil; eine Fahrzeugkomponente; Avioniksysteme; eine Drohne; und ein Multicopter.</claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Ein Verfahren zur Bereitstellung einer variablen Interpretation von Speichertabellen-Nutzungsindikatoren, wobei das Verfahren Folgendes aufweist:
<claim-text>Feststellen (400) durch einen Speicher-Controller eines prozessorbasierten Systems, dass das Ersetzen eines Speichertabelleneintrags aus einer Vielzahl von Speichertabelleneinträgen einer Speichertabelle notwendig ist; und</claim-text>
<claim-text>als Reaktion auf das Feststellen, dass die Ersetzung eines Speichertabelleneintrags notwendig ist:
<claim-text>Feststellen (404), ob ein globaler Polaritätsindikator nicht gesetzt ist;<!-- EPO <DP n="27"> --></claim-text>
<claim-text>als Reaktion auf das Feststellen, dass der globale Polaritätsindikator nicht gesetzt ist, Interpretieren (408) eines Wertes eines Nützlichkeitsindikators jedes Speichertabelleneintrags aus der Vielzahl von Speichertabelleneinträgen der Speichertabelle als umgekehrt korrelierend mit einer Nützlichkeit des Speichertabelleneintrags; und</claim-text>
<claim-text>Auswählen (410) eines am wenigsten nützlichen Speichertabelleneintrags aus der Vielzahl von Speichertabelleneinträgen zum Ersetzen, basierend auf dem interpretierten Wert des Nützlichkeitsindikators jedes Speichertabelleneintrags aus der Vielzahl von Speichertabelleneinträgen der Speichertabelle.</claim-text></claim-text></claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Verfahren nach Anspruch 9, das ferner als Reaktion auf das Feststellen, dass der globale Polaritätsindikator gesetzt ist, das Interpretieren (406) des Wertes des Nützlichkeitsindikators jedes Speichertabelleneintrags der mehreren Speichertabelleneinträge der Speichertabelle als direkt mit der Nützlichkeit des Speichertabelleneintrags korrelierend aufweist.</claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Verfahren nach Anspruch 9, ferner aufweisend das Aktualisieren (412) eines Wertes des Nützlichkeitsindikators eines Speichertabelleneintrags aus der Vielzahl der Speichertabelleneinträge der Speichertabelle auf der Grundlage einer festgestellten Nützlichkeit des Speichertabelleneintrags und eines Wertes des globalen Polaritätsindikators.</claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Verfahren nach Anspruch 9, das ferner Folgendes aufweist:
<claim-text>Inkrementieren (506) eines Installationsfehlerzählindikators als Reaktion auf einen fehlgeschlagenen Versuch, einen neuen Speichertabelleneintrag in der Speichertabelle zu installieren; und</claim-text>
<claim-text>Dekrementieren (502) des Installationsfehlerzählindikators als Reaktion auf einen erfolgreichen Versuch, den neuen Speichertabelleneintrag in der Speichertabelle zu installieren</claim-text></claim-text></claim>
<claim id="c-de-01-0013" num="0013">
<claim-text>Verfahren nach Anspruch 12, das ferner Folgendes aufweist:<!-- EPO <DP n="28"> -->
<claim-text>Feststellen (508), ob ein Wert des Installationsfehlerzählindikators einen Wert eines Installationsfehlerschwellenindikators überschreitet; und</claim-text>
<claim-text>als Reaktion darauf, dass der Wert des Installationsfehler-Zählindikators den Wert des Installationsfehler-Schwellenwertindikators überschreitet, Invertieren (510) eines Wertes des globalen Polaritätsindikators.</claim-text></claim-text></claim>
<claim id="c-de-01-0014" num="0014">
<claim-text>Ein nicht-transitorisches computerlesbares Medium, auf dem computerausführbare Befehle gespeichert sind, die, wenn sie von einem Prozessor ausgeführt werden, den Prozessor veranlassen zur:<br/>
Durchführung des Verfahrens nach einem der Ansprüche 9 bis 13.</claim-text></claim>
</claims>
<claims id="claims03" lang="fr"><!-- EPO <DP n="29"> -->
<claim id="c-fr-01-0001" num="0001">
<claim-text>Système de mémoire d'un système basé sur un processeur, comprenant :
<claim-text>une table de mémoire (108) comprenant une pluralité d'entrées de table de mémoire (110(0) - 110(x)) comprenant chacune un indicateur d'utilité (112(0) - 112(x)) ; et</claim-text>
<claim-text>un contrôleur de mémoire (106) comprenant un indicateur de polarité global (114) ;</claim-text>
<claim-text>le contrôleur de mémoire étant configuré pour, en réponse à la détermination qu'un remplacement à partir de la table de mémoire est nécessaire :
<claim-text>déterminer si l'indicateur de polarité global n'est pas défini ;</claim-text>
<claim-text>en réponse à la détermination que l'indicateur de polarité global n'est pas défini,<br/>
interpréter une valeur de l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire comme étant inversement corrélée à une utilité de l'entrée de table de mémoire</claim-text>
<claim-text>en réponse à la détermination que l'indicateur de polarité global est défini,<br/>
interpréter la valeur de l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire comme étant directement corrélée à l'utilité de l'entrée de table de mémoire ; et</claim-text>
<claim-text>sélectionner une entrée de table de mémoire la moins utile de la pluralité d'entrées de table de mémoire pour remplacement sur la base de la valeur interprétée de l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire.</claim-text></claim-text></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Système de mémoire selon la revendication 1, dans lequel le contrôleur de mémoire est en outre configuré pour mettre à jour une valeur de l'indicateur d'utilité d'une entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire sur la base d'une utilité déterminée de l'entrée de table de mémoire et d'une valeur de l'indicateur de polarité globale.</claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Système de mémoire selon la revendication 1, dans lequel :
<claim-text>le contrôleur de mémoire comprend en outre un indicateur de nombre d'échecs d'installation ; et</claim-text>
<claim-text>le contrôleur de mémoire est en outre configuré pour :
<claim-text>incrémenter l'indicateur de nombre d'échecs d'installation en réponse à une tentative infructueuse d'installation d'une nouvelle entrée de table de mémoire dans la table de mémoire ; et<!-- EPO <DP n="30"> --></claim-text>
<claim-text>décrémenter l'indicateur de nombre d'échecs d'installation en réponse à une tentative réussie d'installation de la nouvelle entrée de table de mémoire dans la table de mémoire.</claim-text></claim-text></claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Système de mémoire selon la revendication 3, dans lequel :
<claim-text>le contrôleur de mémoire comprend en outre un indicateur de seuil d'échec d'installation ; et</claim-text>
<claim-text>le contrôleur de mémoire est en outre configuré pour :
<claim-text>déterminer si une valeur de l'indicateur de nombre d'échecs d'installation dépasse une valeur de l'indicateur de seuil d'échec d'installation ; et</claim-text>
<claim-text>en réponse à la valeur de l'indicateur de nombre d'échecs d'installation dépassant la valeur de l'indicateur de seuil d'échec d'installation, inverser une valeur de l'indicateur de polarité globale.</claim-text></claim-text></claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Système de mémoire selon la revendication 1, dans lequel l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire représente des plages symétriques d'états utiles et d'états non utiles.</claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Système de mémoire selon la revendication 1, comprenant une mémoire vive statique, SRAM.</claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Système de mémoire selon la revendication 1 intégré dans un circuit intégré, IC.</claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Système de mémoire selon la revendication 1 intégré dans un dispositif choisi dans le groupe constitué par : un décodeur ; une unité de divertissement ; un appareil de navigation ; un appareil de communication ; une unité de données de localisation fixe ; une unité de données de localisation mobile ; un dispositif de système de positionnement global, GPS ; un téléphone mobile ; un téléphone cellulaire ; un téléphone intelligent ; un téléphone à protocole d'initiation de session, SIP ; une tablette ; une phablette ; un serveur ; un ordinateur ; un ordinateur portable ; un appareil informatique mobile ; un appareil informatique à porter sur soi ; un ordinateur de bureau ; un assistant numérique personnel, PDA ; un moniteur ; un écran d'ordinateur ; une télévision ; un syntoniseur ; une radio ; une radio par satellite ; un lecteur de musique ; un lecteur de musique numérique ; un lecteur de musique portable ; un lecteur vidéo numérique ; un lecteur vidéo ; un lecteur de disque vidéo numérique, DVD ; un lecteur vidéo numérique portable ; une automobile ; un composant de véhicule ; des systèmes avioniques ; un drone ; et un multicoptère.</claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Procédé permettant de fournir une interprétation variable d'indicateurs d'utilité de table de mémoire, comprenant :<!-- EPO <DP n="31"> -->
<claim-text>la détermination (400) par un contrôleur de mémoire d'un système basé sur un processeur, que le remplacement d'une entrée de table de mémoire d'une pluralité d'entrées de table de mémoire d'une table de mémoire est nécessaire ; et</claim-text>
<claim-text>en réponse à la détermination que le remplacement d'une entrée de table de mémoire est nécessaire :
<claim-text>la détermination (404) si un indicateur de polarité globale n'est pas défini ;</claim-text>
<claim-text>en réponse à la détermination que l'indicateur de polarité globale n'est pas défini,
<claim-text>l'interprétation (408) d'une valeur d'un indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire comme étant inversement corrélée à une utilité de l'entrée de table de mémoire ; et</claim-text>
<claim-text>la sélection (410) d'une entrée de table de mémoire la moins utile de la pluralité d'entrées de table de mémoire pour remplacement sur la base de la valeur interprétée de l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire.</claim-text></claim-text></claim-text></claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Procédé selon la revendication 9, comprenant en outre, en réponse à la détermination que l'indicateur de polarité global est défini, l'interprétation (406) de la valeur de l'indicateur d'utilité de chaque entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire comme étant directement corrélée à l'utilité de l'entrée de table de mémoire.</claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Procédé selon la revendication 9, comprenant en outre la mise à jour (412) d'une valeur de l'indicateur d'utilité d'une entrée de table de mémoire de la pluralité d'entrées de table de mémoire de la table de mémoire sur la base d'une utilité déterminée de l'entrée de table de mémoire et d'une valeur de l'indicateur de polarité global.</claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Procédé selon la revendication 9, comprenant en outre :
<claim-text>l'incrémentation (506) d'un indicateur de nombre d'échecs d'installation en réponse à une tentative infructueuse d'installation d'une nouvelle entrée de table de mémoire dans la table de mémoire ; et</claim-text>
<claim-text>la décrémentation (502) de l'indicateur de nombre d'échecs d'installation en réponse à une tentative réussie d'installation de la nouvelle entrée de table de mémoire dans la table de mémoire.</claim-text></claim-text></claim>
<claim id="c-fr-01-0013" num="0013">
<claim-text>Procédé selon la revendication 12, comprenant en outre les étapes consistant à :
<claim-text>déterminer (508) si une valeur de l'indicateur de comptage d'échecs d'installation dépasse une valeur d'un indicateur de seuil d'échec d'installation ; et<!-- EPO <DP n="32"> --></claim-text>
<claim-text>en réponse à la valeur de l'indicateur de comptage d'échecs d'installation dépassant la valeur de l'indicateur de seuil d'échec d'installation, inverser (510) une valeur de l'indicateur de polarité globale.</claim-text></claim-text></claim>
<claim id="c-fr-01-0014" num="0014">
<claim-text>Support non transitoire lisible par ordinateur sur lequel sont stockées des instructions exécutables par ordinateur qui, lorsqu'elles sont exécutées par un processeur, amènent le processeur à :<br/>
mettre en oeuvre le procédé selon l'une quelconque des revendications 9 à 13.</claim-text></claim>
</claims>
<drawings id="draw" lang="en"><!-- EPO <DP n="33"> -->
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="140" he="184" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="34"> -->
<figure id="f0002" num="2"><img id="if0002" file="imgf0002.tif" wi="134" he="211" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="35"> -->
<figure id="f0003" num="3"><img id="if0003" file="imgf0003.tif" wi="162" he="209" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="36"> -->
<figure id="f0004" num="4"><img id="if0004" file="imgf0004.tif" wi="162" he="233" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="37"> -->
<figure id="f0005" num="5"><img id="if0005" file="imgf0005.tif" wi="162" he="218" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="38"> -->
<figure id="f0006" num="6"><img id="if0006" file="imgf0006.tif" wi="151" he="217" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="US7120751B1"><document-id><country>US</country><doc-number>7120751</doc-number><kind>B1</kind><name>ENDO YASAHIRO</name><date>20061010</date></document-id></patcit><crossref idref="pcit0001">[0005]</crossref></li>
<li><patcit id="ref-pcit0002" dnum="US5881266A"><document-id><country>US</country><doc-number>5881266</doc-number><kind>A</kind><name>MATSUMOTO TOSHIO</name><date>19990309</date></document-id></patcit><crossref idref="pcit0002">[0006]</crossref></li>
<li><patcit id="ref-pcit0003" dnum="US2011010502A1"><document-id><country>US</country><doc-number>2011010502</doc-number><kind>A1</kind><name>WANG JAMES</name><date>20110113</date></document-id></patcit><crossref idref="pcit0003">[0007]</crossref></li>
<li><patcit id="ref-pcit0004" dnum="US2009063776A1"><document-id><country>US</country><doc-number>2009063776</doc-number><kind>A1</kind></document-id></patcit><crossref idref="pcit0004">[0008]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
