<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>SRAM Stability Analysis and Performance–Reliability Tradeoff for Different Cache Configurations</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>03/01/2020</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10199381</idno>
					<idno type="doi">10.1109/TVLSI.2019.2956923</idno>
					<title level='j'>IEEE Transactions on Very Large Scale Integration (VLSI) Systems</title>
<idno>1063-8210</idno>
<biblScope unit="volume">28</biblScope>
<biblScope unit="issue">3</biblScope>					

					<author>Rui Zhang</author><author>Taizhi Liu</author><author>Kexin Yang</author><author>Chang-Chih Chen</author><author>Linda Milor</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Bias temperature instability (BTI), hot carrier injection (HCI), gate-oxide time-dependent dielectric breakdown (GTDDB), and random telegraph noise (RTN) degrade the stability of the deeply scaled transistors and the overall circuit reliability. These front-end wearout mechanisms are especially acute in the static random access memory (SRAM) cells of first-level (L1) caches, which are crucial for the performance of microprocessors due to frequent accesses. This article presents a methodology to analyze cache reliability degradation due to the combined effect of BTI, HCI, GTDDB, and RTN for different cache configurations, including variations due to associativity, cache line size, cache size, and the error-correcting codes (ECCs). Timezero variability due to process and environmental parameters are also considered. First, we analyze how each wearout mechanism affects reliability degradation. Then we analyze the relationship between reliability (probability of failure) and performance (hit rate) of the L1 cache within a LEON3 microprocessor, while the LEON3 is running a set of benchmarks, which determine cell array activity, characterized by the duty cycle, toggle rate, temperature, and supply voltage distributions of cells. Insights on the performance-reliability tradeoff are provided for cache designers.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>in modern microprocessors. Hence, it is important to analyze the reliability of SRAMs. This article focuses on the firstlevel (L1) data cache. This block may not be the worst block from the reliability perspective, as mentioned in <ref type="bibr">[1]</ref>- <ref type="bibr">[3]</ref>, which suggests the greater importance of the instruction caches (I-Caches) and register files, but it is analyzed in detail to illustrate the methodology. Cache efficiency is also critical for system performance. Many prior works have focused on the cache architecture needed to obtain higher cache efficiency <ref type="bibr">[4]</ref>- <ref type="bibr">[6]</ref>. However, it is not known how cache reliability is affected when a higher performance is achieved. In this article, we present a methodology to estimate cache reliability and apply this methodology to investigate the reliability [probability of failure (PF)] of the L1 data cache in a typical SoC microprocessor for different design configurations, by looking at associativity, cache line size, cache size, and error-correcting codes (ECCs). By analyzing the reliability and performances of different cache configurations, we provide insights into how to achieve the best performance-reliability tradeoff in cache system design.</p><p>Advanced SRAM design is accompanied with the development of technology. Although smaller technology nodes bring various benefits, like higher device density and lower power consumption, they also pose significant reliability challenges. Deeply scaled CMOS devices, such as Fin Field-Effect Transistors (FinFETs), have a high sensitivity to process parameter variability and front-end wearout mechanisms, such as bias temperature instability (BTI), hot carrier injection (HCI), gate-oxide breakdown (GTDDB), and random telegraph noise (RTN). Variability and wearout not only make transistors unreliable for low-voltage operation, but also lead to earlier functional failures of circuits. This concern is for all computing devices, ranging from server processors, where lifetime is a critical requirement, to mobile devices, where the market share strongly depends on reliability.</p><p>This article takes into account performance degradation due to BTI, HCI, GTDDB, and RTN. These wearout mechanisms degrade SRAM cell performances, including read/write/hold static noise margins (SNMs), minimum voltage for state retention, read delay and power, write delay and power, and the leakage power during hold. The degradation of these performances is random, involving within-die and between-die process parameter variations, in addition to the degradation caused by wearout.</p><p>The SRAM is composed of cells, but to determine SRAM lifetime, the stress distribution among the cells must be taken into account, which depends on the use scenario of the microprocessor. In this article, SRAM performances [hit rate (HR)] and lifetime are evaluated for the full SRAM when the microprocessor (containing the SRAM) is running realistic workloads. The workloads are determined by running a set of benchmarks on an emulation system, which determines the duty cycle and toggle rate distributions for the SRAM cells in the SRAM array. These parameters are then used to determine the stress caused by each wearout mechanism in each cell. The cell lifetime distributions are then computed and combined to determine the statistical lifetime distribution and failure probability of the full SRAM.</p><p>This work is new in the following ways. 1) A methodology that incorporates degradation due to BTI, HCI, RTN, and GTDDB in a unified way is presented. Shifts due to wearout are combined with within-die and between-die process parameters for a complete parametric description of degradation.</p><p>2) The methodology is demonstrated with application to the analysis of cache reliability for different cache configurations considering associativity, cache line size, and cache size.</p><p>3) The impact of variations in device parameters (process/electrical) is combined with wearout parameters in Monte Carlo (MC) simulations to find the failure probability of the SRAM cells based on when various performance metrics degrade beyond design limitations. 4) The work uses the stress profile of the microprocessor to analyze the cache reliability which is determined with a field-programmable gate array (FPGA)-based aging assessment framework to determine the stress profile distributions of the cells in the SRAM. The remainder of this article is organized as follows. Section II summarizes the wearout models and the SRAM cell structure studied in this article. Section III describes the steps for activity extraction and shows an example of activity distributions. It also presents the aging assessment framework. Section IV uses the aging assessment framework to evaluate SRAM cell and cache degradation. Section V analyzes how various configurations affect cache performance and reliability. Section VI concludes this article.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. BACKGROUND AND PRIOR ART</head><p>Our evaluation process starts from physical models and propagates them to the cache level, where they cause a shift in performance metrics. In this section, we first introduce the models for each wearout mechanism and how they affect the device parameters. Then, we discuss how the mechanisms degrade SRAM cell performances under various stress conditions. Finally, we summarize prior work about how wearout mechanisms impact SRAM reliability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Wearout Mechanisms (BTI, HCI, GTDDB, and RTN)</head><p>1) BTI Model: BTI is caused by trap generation and degeneration at the interface and in the bulk of gate dielectric materials. Studies of BTI have been conducted at the transistor and gate level with the classical reaction-diffusion (R-D) model and the atomistic trap-based model <ref type="bibr">[7]</ref>- <ref type="bibr">[10]</ref>. Consensus between the two models has not been achieved yet. The classical R-D model has a lower computational and memory requirement, whereas the atomistic model has a higher resolution in the nanosecond range and is challenging to use for longer stress simulations <ref type="bibr">[11]</ref>. In this article, since the simulated time ranges from 1 to 10 8 s, an enhanced R-D model is adopted to emulate the high-k dielectric charge evolution with time, as described in <ref type="bibr">[12]</ref>- <ref type="bibr">[14]</ref>. Because of the less importance of nFET BTI (PBTI), only the pFET BTI (NBTI) is taken into account <ref type="bibr">[15]</ref>, <ref type="bibr">[16]</ref>.</p><p>Three uncorrelated contributions from the generation of the interface trap density ( N I T ), hole trapping in preexisting sites ( N H T ), and the generation of new bulk insulator ( N OT ) traps are applied for trap density evolution <ref type="bibr">[12]</ref>. The model also incorporates the stress-recovery phenomenon, duty factor, and the effect of temperature and operating frequency.</p><p>For BTI, the time range and the ratios of stress and recovery are quite important for a clear prediction of degradation. There is a complete solution for stress and recovery for each part under short time durations, and a simplified solution for each part under long-term dc stress <ref type="bibr">[12]</ref>. Considering the long times in this article, we combine the long-term dc stress model with a duty factor equation to calculate the overall BTI degradation. The traps' shift due to BTI is predicted as</p><p>(1a)</p><p>)</p><p>(2)</p><p>where A, B, C, I T , E AI T , E Ak f , E Akr , E AD H2 , H T , E AH T , &#951;, OT , &#946; OT , and E AOT are constants. V G is the stress voltage, V T 0 is the initial threshold voltage, V T is the shift of the threshold voltage, t is the stress time, k is Boltzmann's constant, and T is temperature. We use constants adopted from <ref type="bibr">[12]</ref> to calculate NBTI degradation for high-k devices with E OT = 0.7 nm. A, B, and C are scaled simultaneously to meet the assumption that V T ,dc,Mean is 100 mV after ten years of dc stress <ref type="bibr">[17]</ref>.</p><p>Since SRAM cells experience frequent Read/Write operations, ac waveforms are necessary to predict real NBTI degradation under different duty cycles. A universal relaxation model for the effect of duty cycle (D) has been proposed <ref type="bibr">[18]</ref> and validated <ref type="bibr">[19]</ref> for FinFETs and planar devices in 16-and 20-nm technology, respectively. The equivalent shift due to traps (impacting the threshold voltage, etc.) is the product of the shift under dc stress and the recovery fraction, r (D). In general, r (D) is a function of operating frequency, temperature, and stress voltage <ref type="bibr">[18]</ref>. We adopt a simplified expression for r (D) due to the lack of experimental data on the impact of frequency, temperature, and stress voltage</p><p>Authorized licensed use limited to: Georgia Institute of Technology. Downloaded on October 27,2020 at 02:06:25 UTC from IEEE Xplore. Restrictions apply.</p><p>where B D F is a scaling factor and &#946; D F is a dispersive shape factor <ref type="bibr">[20]</ref>. The accuracy of the simplified recovery fraction model for experimental data (under various stress conditions) is validated in <ref type="bibr">[18]</ref>.</p><p>2) HCI Model: HCI happens when there are hot carriers flowing through the channel. Energy transferred from hot carriers to the lattice helps generate interface states or bulk defects <ref type="bibr">[21]</ref>, <ref type="bibr">[22]</ref>. HCI is caused by both interfaces and oxide bulk trapped charges <ref type="bibr">[23]</ref>. It is found that the interface charge is not recoverable, however the bulk charge is partially recoverable, and the highest HCI degradation in FinFETs appears at V G = V D <ref type="bibr">[23]</ref>. It has been found that degradation caused by HCI is primarily due to interface traps and is not recoverable <ref type="bibr">[24]</ref>, and modeling of interface charge matches well with experimental data <ref type="bibr">[25]</ref>, <ref type="bibr">[26]</ref>. Hence, we adopt the analytical model in <ref type="bibr">[25]</ref> to describe how the threshold voltage related to HCI evolves with time. The interface charge is the only contributor and is not recoverable. HCI in pFETs is three times higher than that in nFETs under the same stress conditions <ref type="bibr">[27]</ref>.</p><p>The interface trap degradation due to HCI during the time under stress varies with FinFET dimension, stress voltage, and temperature <ref type="bibr">[25]</ref>, <ref type="bibr">[28]</ref>. It is modeled as</p><p>where D, n, b, c 1 , and c 2 are constants. L g is the gate length and V ds and V gs are the drain-source voltage and the gate-source voltage, respectively. E a,HCI is the activation energy. HCI occurs when highly energized (hot) carriers flow from the drain to the source. Therefore, in the SRAM cell structure, HCI happens when a transistor is ON and is conducting current. Therefore, HCI happens when the stored data is being flipped. It is necessary to figure out the equivalent stress time during a transition, so that (5) can be evaluated for fixed values of V ds = V D D and V gs = V D D . A method described in <ref type="bibr">[29]</ref> is used to obtain the equivalent stress time for each transition. The equivalent times are summed to determine the total equivalent time interval for a transition. The values of equivalent times are combined with the transition rate computed in Section III.</p><p>It has been checked that HCI does not affect the threshold voltage by more than 2 mV after ten years of stress at a constant operating frequency of 250 MHz using the model parameters in <ref type="bibr">[25]</ref> and <ref type="bibr">[28]</ref>.</p><p>3) GTDDB Model: With the increase in stress time, traps are accumulated in the oxide layer. If the traps do not overlap from the gate to the channel, the device gate leakage current is not affected. GTDDB occurs when the conducting paths are formed in the gate dielectric. According to its severity, GTDDB is divided into soft breakdown (SBD) and hard breakdown (HBD). HBD has leakage currents that are several orders of magnitude larger than SBD. For ultrathin dielectrics, conversion between the two becomes more unstable. Therefore, we use a statistical model for the GTDDB failure time distribution. Time to HBD is the sum of time to SBD (T BD ) and the time gap between SBD and HBD (T PBD ), where both T BD and T PBD follow Weibull distributions <ref type="bibr">[30]</ref>.</p><p>Specifically, the breakdown (BD) of ultrathin gate-oxides consists of the first BD and the progressive BD (PBD) phases. Thus, the overall time to oxide failure is the sum of the time to first BD (T BD ) and the duration of PBD (T PBD ) <ref type="bibr">[31]</ref>. Before the first BD, the leakage current is negligible (set as I BD (t) = 1.0 nA, 0 &#8804; t &#8804; T BD ). When BD enters PBD, the current starts to rise. At the end of PBD, the leakage current reaches a saturation level which is taken as HBD. Here we set the HBD current as 1 &#956;A (I BD (T BD + T PBD )) for FinFETs <ref type="bibr">[32]</ref>. There are linear and exponential growth models for this process. The exponential model is applied in this work <ref type="bibr">[33]</ref>, <ref type="bibr">[34]</ref> </p><p>where T PBD is a Weibull distribution. The overall time to failure is T FAIL = T BD + T PBD . Both T BD and T PBD follow Weibull distributions. For small-area devices in an SRAM cell, T PBD is much smaller than T BD . It is reasonable to assume that T PBD follows a Weibull distribution with a scale parameter of 10 6 s (&#951; PBD ) and a shape parameter of 1 (&#946; PBD ) <ref type="bibr">[31]</ref>. T BD has a shape parameter of 1.08 (&#946; BD ) and a scale parameter as follows:</p><p>where E and n BD are constants, A eff is the effective gate area, and E a,BD is the activation energy. Under these assumptions, the cumulative distribution function (CDF) of T fail is <ref type="bibr">[30]</ref> </p><p>where B(&#8226;, &#8226;) is the beta function.</p><p>In the light of models in ( <ref type="formula">6</ref>)-( <ref type="formula">8</ref>), it is convenient to calculate the distribution of gate leakage current under specific stress conditions (such as time, temperature, and stress voltage). Moreover, ratios of leakage current flowing from the gate to the drain and the source depend on the position of percolation paths. In our simulations, it is assumed that the location of the percolation path is uniformly distributed within the device channel <ref type="bibr">[35]</ref>. Since TDDB is less of a concern for pFETs <ref type="bibr">[15]</ref>, we only consider nFET GTDDB in this article.</p><p>Our models include only the leakage current impact of GTDDB. However, it is now known that BTI and GTDDB accelerate each other <ref type="bibr">[36]</ref>. Hence, in the future, the defect generation caused by GTDDB can be included in the defect density models that are used to determine the device parameter degradation. Similarly, defects from BTI could serve to accelerate GTDDB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4) RTN Model:</head><p>The trapping and de-trapping of channel charges contribute to RTN by introducing large variations in the interface trap density ( N I T ). Variations in N I T cause variations in various device parameters, such as the threshold voltage (V th ). RTN leads to the malfunction of circuits when N I T is large. The distribution of N I T has been observed to be a lognormal distribution for deeply scaled devices <ref type="bibr">[37]</ref>, <ref type="bibr">[38]</ref>. We similarly model RTN as a lognormal distribution.</p><p>RTN is affected by device dimensions, temperature, and interface charge density <ref type="bibr">[37]</ref>, <ref type="bibr">[39]</ref>. RTN introduces additional variations in the interface trap density ( N I T ). However, since the fluctuation is temporary, it does not affect the accumulated N I T induced by BTI and HCI. N I T induced by RTN is modeled with a lognormal distribution, with mean and standard deviation as follows <ref type="bibr">[37]</ref>, <ref type="bibr">[39]</ref>:</p><p>where F, G, H , n RTN , and m RTN are constants. W eff and L eff are the effective gate width and length, respectively. q is the elementary charge.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5) Impact on Device Parameters:</head><p>In this article, BTI is modeled as affecting the interface traps of the pFETs, hole trapping in preexisting sites, and the generation of new bulk insulator traps. HCI affects interface traps of the n/pFETs. RTN introduces extra variations in the number of traps, while GTDDB leads to gate leakage current in the nFETs.</p><p>It is verified in <ref type="bibr">[40]</ref> that performance evaluation considering solely the impact on V T draws over optimistic conclusions. To obtain a convincing and persuasive result, it is necessary to include a more comprehensive model of the impact on the device parameters. Therefore, a shift of charge density in a transistor, caused by BTI, HCI, and RTN, leads to a shift of threshold voltage, carrier mobility (&#956;), subthreshold slope (SS), and gate-drain capacitance (C gd ) <ref type="bibr">[44]</ref>. The GTDDBinduced gate leakage current consists of leakage from the gate to the drain and leakage from the gate to the source. Leakage currents are implemented with Verilog-A models.</p><p>Uncontrollable factors in manufacturing cause time-zero variability of the threshold voltage. Wearout causes both the mean and standard deviation to shift with time under stress.</p><p>The overall shift of the threshold voltage due to NBTI and HCI is modeled as a normal distribution with mean, &#956; V T , and variance &#963; 2</p><p>where the trap shifts are caused by BTI and HCI. V T 0 and &#963; 2 V T 0 are the time-zero mean and variance, respectively. They depend on the specific manufacturing process. We assume a well-controlled process by setting the square root of the variance to be 5% of V T 0 <ref type="bibr">[42]</ref>.</p><p>The threshold voltage shift ( V IT ) caused by RTN is obtained from the lognormal distribution with a mean and standard deviation:</p><p>The overall threshold voltage shift distribution is sum of the normal distribution described in <ref type="bibr">(10)</ref> and the lognormal distribution shown in <ref type="bibr">(11)</ref>.</p><p>These front-end wearout mechanisms induce not only N I T , but also N H T and N OT . Only shallow N I T impacts &#956;, SS, and C gd . The relationship between effective carrier mobility and the threshold voltage shift induced by interface traps (through Coulomb scattering) is described by <ref type="bibr">[25]</ref> </p><p>where &#956; eff,ini is the effective carrier mobility initially, V I T is the threshold voltage shift due to interface traps, and &#945; 1 is a constant. It is found in <ref type="bibr">[40]</ref> that SS is sensitive to interface trap capacitance (C I T ) and V I T . In this article, we use the 14-nm predictive technology model (PTM) for simulation <ref type="bibr">[43]</ref>. We have checked how C I T and V I T affect SS for devices with various gate lengths and temperatures. Neither C I T nor V I T affect SS in an obvious way. Therefore, the shift of SS is not considered. It can be easily added for other device models that are sensitive to C I T and V I T .</p><p>C gd degradation due to N I T is characterized with TCAD simulations, incorporating real device materials and dimensions. Since the influence of N I T on C gd varies for different values of L g , it is also included in the characterization. A generalized expression of this relation is <ref type="bibr">(13)</ref> where p 0 -p 8 are constants. The units of N I T and L g are cm -2 and nanometer, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. SRAM Cell</head><p>Each cached bit is implemented with an SRAM cell consisting of six transistors (6T) as shown in Fig. <ref type="figure">1</ref>. The cell is implemented with the PTM for the 14-nm technology node <ref type="bibr">[43]</ref>. The cell configuration is designed with a fin number ratio of 1:1:2 (PU:AX:PD). The degradation and variability parameters considered in this article are marked. The labeled transistors form an inverter loop that holds the stored logic value, whereas the remaining pass transistors controlled by the wordline (WL) signal allow read and write operations to the cell through the bitline (BL) and its complement (BLB).</p><p>In a 6T cell, when the cell is stable and storing a "0," PU R suffers from NBTI, and PD L suffers from GTDDB. On the contrary, when the cell stores a "1," PU L and PD R are affected by NBTI and GTDDB, respectively. On the other hand, HCI affects all the transistors on a write if the logic value flips. Note that the wearout effects induced by each possible duty cycle are complementary, meaning that, for a given duty cycle, the pair of transistors not under stress are partially under recovery from NBTI degradation. Overall, the four transistors of the inverter loop are continuously aging regardless of whether the cell stores "0" or "1." This fact makes these transistors particularly sensitive to wearout <ref type="bibr">[44]</ref>. Note that the pass transistors (nFETs) just age from BTI when the SRAM cell is being accessed, making them much less aging-sensitive than the inverter-loop transistors. Therefore, this article focuses on the wearout of the inverter-loop transistors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Prior Art</head><p>SRAMs are highly sensitive to BTI-induced transistorstrength mismatch <ref type="bibr">[45]</ref>- <ref type="bibr">[47]</ref>, and the FinFET SRAM is more vulnerable to BTI than the planar CMOS SRAM <ref type="bibr">[36]</ref>. SRAM stability is analyzed in <ref type="bibr">[48]</ref> and <ref type="bibr">[49]</ref> by assuming two ideal stress conditions, static stress and alternating stress, and for a continuous range of stress states <ref type="bibr">[50]</ref>. The SRAM degradation due to BTI based on a customer usage workload has been considered for logic <ref type="bibr">[1]</ref>, <ref type="bibr">[51]</ref> and SRAM cells <ref type="bibr">[2]</ref>, <ref type="bibr">[3]</ref>, <ref type="bibr">[52]</ref>- <ref type="bibr">[54]</ref>.</p><p>The shift of SRAM stability due to the HCI is less studied in prior research because BTI is usually dominant due to its frequency independence. However, since nowadays chips are running at higher frequencies, HCI is becoming an issue <ref type="bibr">[55]</ref>, <ref type="bibr">[56]</ref>. In <ref type="bibr">[57]</ref> and <ref type="bibr">[58]</ref>, the impact of HCI on SRAM cell stability is analyzed, and the simulation and experimental results were compared <ref type="bibr">[57]</ref>.</p><p>Methods that take into account usage scenarios have been proposed to mitigate aging. These methods include power gating <ref type="bibr">[2]</ref>, <ref type="bibr">[3]</ref>, <ref type="bibr">[59]</ref>, adaptive body bias <ref type="bibr">[60]</ref>, register address allocation <ref type="bibr">[2]</ref>, <ref type="bibr">[53]</ref>, and other techniques to more evenly distribute the stress <ref type="bibr">[54]</ref>. Improved lifetime is achieved by balancing the amount of time that logic "0" and "1" values are stored in the cells with the aim to provide a BTI-optimal dutycycle distribution <ref type="bibr">[2]</ref>, <ref type="bibr">[54]</ref>, <ref type="bibr">[61]</ref>, <ref type="bibr">[62]</ref>, and by implementing redundancy into the cache design to combat BTI-induced wearout <ref type="bibr">[63]</ref>. It has also been proposed to mitigate the HCI degradation by providing a uniform distribution of cache accesses across sets of cells <ref type="bibr">[54]</ref>, <ref type="bibr">[63]</ref>.</p><p>Progressive gate-oxide BD is an important source of stability degradation in an SRAM. This is not only because of the thinner dielectrics, but also due to the lower supply voltage. In fact, it was found that leakage currents of 20-50 &#956;A at the nFET source results in a 50% reduction in the noise margin (for 0.15 and 0.13 &#956;m technologies) <ref type="bibr">[64]</ref>. Moreover, an equivalent 100 K SBD resistance leads to an increase of 21% and 33% in delay and power of an SRAM cell, respectively <ref type="bibr">[65]</ref>.</p><p>RTN induces the erratic performance phenomenon and a higher failure probability <ref type="bibr">[66]</ref>- <ref type="bibr">[70]</ref>. With the scaling of technology, RTN adversely affects SRAM design margins <ref type="bibr">[67]</ref>. Moreover, RTN reduces the read SNM and write margin by 12% and 3.9%, respectively <ref type="bibr">[68]</ref>. In <ref type="bibr">[69]</ref>, RTN causes a 50% increase in the failure probability.</p><p>We study the impact of NBTI, HCI, GTDDB, and RTN on SRAM stability by checking the shifts of representative performance metrics. Based on the shift of performance metrics, we obtain the failure probability as a function of performance specifications. This article differs from prior work as we consider all wearout mechanisms simultaneously, together with realistic workloads. Our purpose is not to propose a wearout mitigation technique, but rather to demonstrate a methodology to evaluate the impact of wearout on caches in a realistic way so that designers can make appropriate tradeoffs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. AGING ASSESSMENT FRAMEWORK</head><p>As the time-to-failure due to wearout is a function of device stress and the thermal profile, a framework for the acquisition of spatial thermal/electrical stress of a system was constructed. The FPGA-based emulation system extracts the duty-cycle/toggle-rate profiles and the temperature profile.</p><p>Running register transfer level (RTL) or Simulation Program with Integrated Circuit Emphasis (SPICE) simulations of a complete microprocessor to extract the activity profile of each SRAM cell is not feasible in most cases, since it may take a few months to simulate a single benchmark. On the other hand, simulating microprocessors with standard benchmarks on an FPGA takes only a few minutes. Our aging assessment framework provides an efficient way to acquire electrical and thermal profiles for any digital system for use in system-level reliability analysis. Any other emulation system, such as Gem5 <ref type="bibr">[71]</ref>, would be able to generate similar results after revising the source code carefully.</p><p>For analyzing the impact of BTI, HCI, GTDDB, and RTN on caches within a microprocessor system, we have implemented the well-known open-source LEON3 IP core processor <ref type="bibr">[72]</ref> with superscalar abilities on various processes. The emulation system is implemented with an FPGA. Specifically, for activity tracking, the hardware RTL of the design was synthesized for the FPGA, and counters were placed at the I/O ports of the data cache, which track both state probabilities and toggle rates of the ports during application runtime. We used the LEON3 processor synthesized with the 90-nm process to extract the cache activity and then used the activity to study the aging of the cache implemented with a 14-nm FinFET process. The technology of the FPGA is not important. It is just required that the FPGA has sufficient resources to implement the circuit being analyzed and that the FPGA implementation is functionally equivalent.</p><p>A set of standard benchmarks <ref type="bibr">[73]</ref> were used as the applications for analysis. The outputs of the FPGA emulation are the duty cycle and toggle rate of the I/O's of the blocks of which the design is composed.</p><p>The microprocessor logic units consist of a 32-bit generalpurpose integer unit (IU), a 32-bit multiplier (MUL), a 32-bit divider (DIV), and a memory management unit (MMU). Storage blocks, which are composed for SRAM cells, include a window-based register file unit (RF), separate data (D-Cache), and instruction (I-Cache) caches, and cache tag storage units (Dtags and Itags). In this article, we have focused on the L1 data cache due to its high activity and temperature. However, other cache blocks can be studied using the same methodology.</p><p>After emulation is complete, the I/O duty cycle, I/O toggle rate, and the netlist were then used for activity propagation to each SRAM cell in the data cache for a complete stress/transition probability profile of the SRAM arrays within microprocessor. This step takes into account the technology and netlist of the circuit being implemented. After activity propagation, we have the distributions of duty cycle and toggle rate for all of the SRAM arrays in the microprocessor. Fig. <ref type="figure">2</ref> shows an example joint distribution of the duty cycle and the transition rate of the data cache, when the microprocessor is running the Basicmath benchmark. Fig. <ref type="figure">3</ref> compares the duty cycle and transition rate for different memory blocks while running the same benchmark. BTI is sensitive to the duty-cycle distribution, and Fig. <ref type="figure">3(a)</ref> shows that the data cache is the most vulnerable unit to BTI and the register file is the least vulnerable unit to BTI. HCI is sensitive to the toggle rate, and Fig. <ref type="figure">3(b)</ref> shows that the register file is most sensitive to HCI and the data cache is least sensitive to HCI. Moreover, for a modern cache operating at a higher frequency, the most vulnerable block is more likely to be the register file.</p><p>Besides activity variation, temperature variation throughout the microprocessor is also taken into account when modeling the wearout mechanisms. The netlist was used for layout generation in the target technology (14 nm). The RC information from the layout, together with the net activities, was used for the extraction of the power profile and the consequent thermal profile, through the power (Synopsys PrimeTime) and the thermal (COMSOL) simulators, respectively, for every single block of the microprocessor. The COMSOL <ref type="bibr">[74]</ref> heat transfer module determines the thermal distribution. The equivalent thermal resistance (R T H ) of 1.472e5 K/W due to FinFET  self-heating (SH) is also incorporated <ref type="bibr">[75]</ref>. Fig. <ref type="figure">4</ref> shows the average temperature distribution when the microprocessor implemented with 14-nm technology is running the Basicmath benchmark. During the microprocessor's operations, the activity and temperature are not constant. We have simulated the steady-state results while using the maximum power distribution to obtain a worst case estimate.</p><p>All the crucial blocks of a microprocessor are considered in this experiment. The power ratio for each block is calculated from PrimeTime. The I-Cache has the highest temperature in our simulations, because the operations of the microprocessor are determined by the instructions. Every time, when an instruction is executed, the I-Cache is involved, while the D-Cache is relatively less frequently involved. On the other hand, although Fig. <ref type="figure">4</ref> shows that the RF has a higher toggle rate than the I-Cache, the I-Cache has a higher temperature because of its much larger size and the larger number of bits involved during each operation. Meanwhile, Dtags has a lower temperature, since only a successful comparison of tags is accompanied with a read operation on the cache block, which involves more bits than the tags. Also, Dtags has a much smaller size than the D-Cache block. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. SRAM RELIABILITY CHARACTERIZATION</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Performance Degradation Analysis</head><p>SRAMs are characterized with several performance metrics. These include the read/write/hold SNMs, minimum voltage for state retention (vdd-min-ret), read delay and power, write delay and power, and the leakage power during hold.</p><p>The SNMs are defined as the minimum dc noise voltage necessary to change the state of an SRAM cell.</p><p>The stability margins are extracted by fitting squares between the SNM curves and observing the diagonal length of the smaller of the two squares <ref type="bibr">[76]</ref>. While measuring the SNM, the inverter loop is first opened to form two inverters, and then the input-output curves are obtained by sweeping the input voltage. The SNM is calculated from fitting the squares between the input-output curves. The read margin is measured with the access transistors turned ON and BL/BLB at Vdd (the supply voltage). The write margin is the minimum voltage needed to flip the state of the cell, with the access transistors turned on and BL/BLB at their own voltages (0/1 for write 0, and 1/0 for write 1). The hold margin is measured when the access transistors are turned off. Vdd-min-ret is the minimum voltage in which the SRAM retains its state. Finally, delay and power are also extracted with SPICE simulations. Fig. <ref type="figure">5</ref> shows the input-output curves of the SRAM inverters, with squares inserted to measure the noise margins (write, hold, and read). As shown in Fig. <ref type="figure">5</ref>, the read SNM is the smallest of the SNMs for various device dimensions (gate length) and stress conditions (duty cycle, transition rate, temperature). Therefore, we only consider the read SNM among the SNMs when determining the cell failure probability in the next step.</p><p>With the increase in degradation, when any of the seven metrics degrades to a predefined threshold, the SRAM cell is considered to have failed. In this article, MC simulations in HSPICE were implemented to obtain 2000 samples for each performance metric for each stress condition considered. Fig. <ref type="figure">6</ref> shows our detailed simulation flow. First, the cell's device information, workload, temperature, and stress time are fed to front-end wearout mechanism models to obtain the corresponding parameters, such as trap density shifts and distributions and the T BD relevant to GTDDB. Then the failure probability based on time to the first BD distribution and the time to post-BD distribution are calculated with <ref type="bibr">(8)</ref>. The exact leakage current distribution is obtained from the current growth model and the GTDDB failure probability. The ratio of leakage current from the gate to the drain versus the gate to the source is assumed to be uniformly distributed between 0 and 1 for each device <ref type="bibr">[35]</ref>. Third, the SRAM cell netlist is augmented with parameters predicted by the degradation mechanisms. Finally, the HSPICE MC simulations are performed to get various performance degradation distributions. Post analysis is needed for data display and to compute the cells' failure probability. Fig. <ref type="figure">7</ref> shows the degradation of the read SNM, Vddmin-ret, read delay and power, write delay and power, and hold (leakage) power of a memory cell with a 20% duty cycle and a 10 transitions/&#956;s transition rate. It shows a comparison between degradation due to all front-end mechanisms, due to NBTI and GTDDB, and due to NBTI and HCI. At the 10 6 s time point, NBTI and HCI severely degrade the read SNM and Vdd-min-ret and improve hold power, while read delay and power and write delay and power are relatively unaffected. When NBTI and GTDDB are considered simultaneously, both read SNM and Vdd-min-ret degrade, while the other performance metrics are not obviously affected. The different shift direction of Vdd-min-ret introduced by GTDDB is caused by the fact that the inverters' state is easier to flip if the pull-down (PD) nFETs have a higher gate leakage current. Therefore, the overall Vdd-min-ret gets higher (worse) with GTDDB.</p><p>When NBTI, HCI, and GTDDB are present, the read SNM and Vdd-min-ret degrade more in comparison with NBTI and GTDDB. We should also note that the HCI effect has a strong dependence on the operating frequency. Throughout this article, the LEON3 microprocessor is set to run at 250 MHz <ref type="bibr">[76]</ref>. For this situation, BTI is dominant and HCI has a smaller influence. HCI would have more influence when the operating frequency reaches the GHz range. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Memory PF Characterization</head><p>When any of the performance metrics mentioned in Section IV-A degrades to a predefined threshold, the SRAM cell is said to have failed, and thus the PF of the cell is obtained. Using MC simulations, the PF of an SRAM cell at each time point is obtained for the given performance distributions and the constraints.</p><p>Running SPICE simulations for each SRAM cell is very computationally expensive. To manage the large volume of SRAM cells and to limit the number of SPICE simulations, we partition both static stress probability and switching activity into states to balance the accuracy and computational cost of the simulations for NBTI, GTDDB, HCI, and RTN. The cells in the same stress state have the same degradation. Fig. <ref type="figure">8</ref>. Failure probability evolution of an SRAM cell when it is in a specific stress state. Each stress state is a combination of the duty-cycle state and the toggle-rate state. Four stress states are shown in this figure. Note that the figure shows limiting cases, which do not occur in practice (see Fig. <ref type="figure">3</ref>). For example, "0% duty cycle + 100% toggle" and "50% duty cycle and 0% toggle" are such limiting conditions. These cases are included to illustrate the trend toward these extremes.</p><p>For NBTI and GTDDB, the stress states represent duty cycles. 0% duty cycle means the cell has 0% time storing a "1," while 100% duty cycle corresponds to 100% time storing a "1." For HCI, the stress states are proportional to the maximum observed transition rate, a fraction of the maximum transition rate. One example of such a distribution of stress states is illustrated in Fig. <ref type="figure">2</ref>, for a 32-kb data cache. Note that the stress distribution not only depends on the applications being run, but also depends on the memory allocation of the cache system, which will be discussed in detail in Section V. When NBTI, GTDDB, and HCI are combined, the stress states are combinations of the duty-cycle state and the toggle-rate state. For example, a stress state could have a low duty cycle and a high toggle rate, or a high duty cycle and a low toggle rate.</p><p>Since degradation and process variations are considered, the performance degradation of each SRAM cell is a distribution rather than a fixed value. Because we consider all the cells in the same stress state to have the same stress, all the cells in one stress state share the same degradation distribution at each stress time point. By running MC simulations in HSPICE, the performance distribution is computed for each stress state at each time point. The PF of each cell is calculated as the fraction of performance distributions whose values exceed their predefined threshold values. An example of a failure probability after various stress times for four different stress states is illustrated in Fig. <ref type="figure">8</ref> for the combined effect of NBTI, HCI, GTDDB, and RTN.</p><p>As can be seen from this figure, an SRAM cell has a lower probability of failure when it has a 50% duty cycle and a 0% toggle rate. Moreover, higher toggle rates result in a worse failure probability. The failure probability distribution of all stress states is characterized for two different temperatures, that is, temperature is partitioned into two states.</p><p>The PF of a word is then calculated by</p><p>where PF word is the PF of a word, PF bit is the PF of a bit, and N is the number of bits in one word. The word size is N = 32</p><p>for the data cache of the LEON3. Since PF bit changes as a function of time, PF word also changes as a function of time.</p><p>If the SRAM does not use error-correcting codes, the memory fails when the first cell fails to work. The PF of the SRAM block is obtained accordingly as a function of time</p><p>where PF SRAM is the PF of the whole memory block, PF word i is the PF of word i and N word is the number of words.</p><p>Error-correcting codes (ECCs) can ensure that a memory system can tolerate faults. Bose-Chaudhun-Hocquenghem (BCH) codes <ref type="bibr">[77]</ref> require seven additional bits per word and can correct one bit per word. The relationship between failures of single bits, P fail , and the failure of the word is modeled with a binomial distribution. For a word containing N bits, the PF of a word, F word , is</p><p>The word size when there are ECCs is N = 39 for the D-Cache, I-Cache, and RF blocks of the LEON3. The failure probability of the memory, PF SRAM , is calculated using <ref type="bibr">(15)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. PERFORMANCE-RELIABILITY ANALYSIS FOR DIFFERENT CACHE CONFIGURATIONS</head><p>Based on the method for memory lifetime characterization in Section IV, the reliability (failure probability) of the LEON3 L1 data cache was studied for different cache configurations: associativity, cache line size, and cache size. Since the least-recently-used (LRU) replacement algorithm is found to cause the highest failure probability compared with the least recently replaced (LRR) and Random algorithms, we take it as the default setting <ref type="bibr">[78]</ref>. The impact of ECCs is also analyzed.</p><p>Six representative benchmarks from MiBench <ref type="bibr">[73]</ref> were run on the microprocessor: Basicmath, Qsort, SHA, cyclic redundancy check (CRC) 32, FFT, and Dijkstra. These may not be the most advanced benchmarks, but they easily run on the LEON3 microprocessor and are sufficient to illustrate our methodology. The Basicmath benchmark performs simple mathematical calculations that often do not have dedicated hardware support in embedded processors. Qsort sorts a large array of strings into ascending order using the well-known quick sort algorithm. SHA is the secure hash algorithm that produces a 160-bit digest for a given input. CRC32 is a benchmark performing a 32-bit CRC on a file to detect errors in data transmission. FFT performs a Fast Fourier Transform (FFT) on an array of data. The Dijkstra benchmark constructs a large graph in an adjacency matrix representation and then calculates the shortest path between every pair of nodes using the repeated application of Dijkstra's algorithm.</p><p>The aging assessment framework in Section III was used to extract the duty-cycle/toggle-rate and temperature of the data cache for different cache designs and for the six applications above. The method for memory lifetime characterization described in Section IV was then used to calculate the failure probability of the data cache while running each application.</p><p>Fig. <ref type="figure">9</ref> shows the duty-cycle distribution for each application using a two-way 32-kb data cache with a 16-byte line size. Clearly, logic "0" is the predominant state.</p><p>Memories in a processor contain more 0s than 1s throughout normal operations <ref type="bibr">[79]</ref>. In general, "0" is stored longer than "1" because the memory is usually initialized to zero when it is allocated. Thus, even if there is an equal likelihood of an application writing a "0" or a "1" in any bit position, this initialization always means that "0" is stored longer. Other reasons for "0" being stored longer are that false Boolean values and NULL pointers are represented with zero, as well as most data in dense-form sparse matrices <ref type="bibr">[77]</ref>.</p><p>According to the performance requirements and the reliability budget, cache designers could optimize a cache by balancing performance, reliability, and area requirements. We define a performance metric HPS which is a function of HR, PF, and cache area (Area)</p><p>In general, our target is to obtain a high HR and low PF at a suitable cache area. We set the constants according to the importance of the various requirements, so that a higher HPS results in a better design. Therefore, a cache designer can optimize HPS to achieve the best possible design. In <ref type="bibr">(17)</ref>, A HR , B HR , n HR , A PF , B PF , n PF , A Area , B Area , and n Area are constants that can be adjusted based on the design requirements. In our study, A HR , n HR , A PF , B PF , n PF , B Area , and n Area are fixed at 1.0e -4 , 5.0, 1.0e 2 , 0, 0.1, 0, and 1.5, respectively. B HR and A Area are chosen to be different for each benchmark to make the impact of configuration parameters under various benchmarks observable in a similar range. They are selected as 9.6e3 and 0.7629 &#956;m -2 for Basicmath, 7.58e3 and 1.63e2 &#956;m -2 for CRC32, 6.2e3 and 8.54e2 &#956;m -2 for Dijkstra, 7.24e3 and 4.11e2 &#956;m -2 for FFT, 7.8e3 and 1.16e2 &#956;m -2 for Qsort, and 9.74e3 and 0.2154 &#956;m -2 for SHA, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Associativity</head><p>Cache associativity can be taken as the method to select bookshelves of different shapes and sizes. Caches fall into one of three categories: direct mapped, n-way set associative, and fully associative. Direct mapped caches are designed so that Fig. <ref type="figure">10</ref>. Failure probability as a function of time for one-way associativity with the Basicmath benchmark while all the wearout mechanisms are included, GTDDB is excluded, and both GTDDB and RTN are excluded. a cache block can only go in one spot in the cache. Two-way set associative caches are made up of sets such that each set can fit into two blocks, while in a four-way set associative cache, each set fits into four blocks. For a fully associative cache, a cache block can go anywhere in the cache. It is worth noting that the directly mapped cache is actually a one-way set associative cache and a fully associative cache of m blocks is an m-way set associative cache. Higher associativity improves the HR, but reduces the cycle time and costs more area because of the need for more comparators. The L1 data cache of the LEON3 was implemented with three different associativities: one-way, two-way, and four-way, while the cache line size (16 byte), cache size (32 kb), and the replacement algorithm (LRU) were kept the same. Fig. <ref type="figure">10</ref> shows the PF as a function of time for one-way associativity under the Basicmath benchmark, with different combinations of wearout mechanisms. According to a comparison of the PF, it is found that GTDDB and RTN affect reliability significantly. GTDDB impacts SRAM reliability by introducing leakage currents which impact device performance metrics and cause them to shift more easily. As a result, the SRAM becomes more sensitive to NBTI and HCI. Similarly, since the interface trap density due to NBTI and HCI accumulates, the impact of RTN on the failure probability increases with stress time. Therefore, it is necessary to include all the wearout mechanisms in simulations.</p><p>Fig. <ref type="figure">11</ref> shows the comparison of failure probability at 10 6 s for three associativities and two benchmarks. For illustration purposes, the results from two applications are shown: Basicmath and Dijkstra, since other applications produce the same trend. Note that the impact of associativity on the failure probability is highly related to the mechanisms considered, while the impact of associativity is small.</p><p>The HRs for one-way, two-way, and four-way associativities are 96.12%, 96.33%, 96.36%, respectively, for Basicmath, and are 62.23%, 64.81%, 65.54%, respectively, for Dijkstra. Higher associativity results in a higher HR, but also increases the failure probability. A higher HR produces fewer misses, and thus the cells are more likely to keep their stored values unchanged, which aggravates NBTI and GTDDB. From the perspective of aging, a cache miss is potentially useful as it flips the value stored in a cell and mitigates NBTI and GTDDB. HPS varies with associativity under different benchmarks. For example, when the benchmark is Basicmath with one-way associativity, the values of HPS are 0.123, 0.138, and 0.177. When the associativity is two-way, the values of HPS are <ref type="bibr">19.35, 21.7, and 27.86</ref>, respectively. When the associativity is four-way, the values of HPS are 29.88, 33.44, and 42.82, respectively. Four-way associativity is the optimal option with respect to HPS. The trend is similar for the Dijkstra benchmark.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Cache Line Size</head><p>Data is transferred between the main memory and the cache in blocks of fixed size, called cache lines. When a cache line is copied from the main memory into the cache, a cache entry is created. The cache entry includes the copied data as well as the requested memory location (called a Tag). We implemented the data cache with two different cache line sizes: 16-and 32 byte, while the two-way associativity, cache size (32 kb), and the replacement algorithm (LRU) are kept the same.</p><p>Fig. <ref type="figure">12</ref> shows the percentage reduction of the PF at 10 6 s and the percentage improvement of the HR of the six benchmarks with a 32-byte cache line compared with a 16-byte cache line. The simulation results with all mechanisms considered, with GTDDB excluded, and with GTDDB &amp; RTN excluded, are shown. Obviously, it is necessary to include all wearout mechanisms in the analysis. It is observed that the 32-byte cache line has a lower failure probability than the 16-byte cache line for all six benchmarks. When including all wearout mechanisms, the 32-byte cache line always has an improved failure probability in comparison with the 16-byte cache line. Except for Basicmath and SHA, where there is almost no hit-rate improvement, the 32-byte cache line also achieves a better performance than the 16-byte cache line. Percentage reduction in the PF at 10 6 s and the percentage improvement in the HR, for six applications, with all wearout mechanisms included, GTDDB excluded, and both GTDDB and RTN excluded. The improved/reduced value is defined as the improvement/reduction of using a 32-byte cache line compared to a 16-byte line. It can be seen that compared to the case without GTDDB, the PF reduction is lower for the case with all the wearout mechanisms for some benchmarks. The reason is that although a larger cache line size causes the overall duty cycle distributions to get closer to 50%, the sensitivity of the PF reduction for cells with a duty cycle close to 50% is different for the cases with all wearout mechanisms included and the cases with GTDDB excluded. It's found that when the duty cycle is very close to 50%, the PF reduction of cells with all wearout mechanisms considered is lower than that of the cases with GTDDB excluded.</p><p>Overall, the 32-byte cache line is better than the 16-byte cache line in both performance and reliability, although this improvement is not very large. This observation is a little counter-intuitive as we have shown that a higher HR results in lower reliability in Section V-A. So, it might be straightforward to think that the 32-byte cache line would have a higher failure probability because of its higher HR. However, a cache miss in a 32-byte cache line produces recovery cycles for up to 256 (32 &#215; 8) SRAM cells, which is twice as many as with a 16-byte cache line (16 &#215; 8 SRAM cells). Therefore, although a 32-byte cache line has fewer misses, it actually has a larger number of NBTI stress recovery cycles than a 16-byte cache line, which results in improved reliability. Fig. <ref type="figure">13</ref> shows the percentage reduction of the PF at 10 6 s, with 32-, 64-, and 128-byte cache lines when compared with a 16-byte cache line. The larger cache line size helps improve the PF.  The differences among applications for cache line size are because the activity shifts differently under various applications. Since different applications cause different data to be kept in the cache, the impact on the cells' activity is not always the same. The improved PF also varies with application.</p><p>Obviously, cache line size impacts HPS. If the benchmark is FFT, the values of HPS are 19.94, 118.93, 139.21, and 188.02 with line sizes of 16, 32, 64, and 128 bytes, respectively. The trend is similar for the benchmark Qsort.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Cache Size</head><p>The size of the data cache is another important metric in cache system design. In our experiments, the data cache was implemented with five different cache sizes: 4, 16, 32, 64, and 128 kb, while the associativity (two-way), cache line size (16 byte), and replacement algorithm (LRU) were kept the same. Fig. <ref type="figure">14</ref> shows the HR and failure probability (at 10 6 s) for five different cache sizes and the Basicmath application. The failure probability increases dramatically as the cache size increases because the failure probability is larger when there are more SRAM cells.</p><p>It is also observed that the HR increases as the cache size increases. However, when the cache size is larger than 32 kb, little improvement is seen in the HR.</p><p>According to the performance requirements and the reliability budget, cache designers could determine an optimal cache size balancing both performance and reliability requirements, by maximizing HPS, as shown in Fig. <ref type="figure">15</ref>. As can be seen from the figure, we may not prefer a very large cache because large caches result in a large area and high power consumption. According to the HPS distribution in Fig. <ref type="figure">15</ref>, we can say that a 32-kb cache size provides an optimal design. When including different wearout mechanisms, the optimal solution does not change. The parameters of the HPS function are just an example, and the methodology can be extended to study more complicated cases.</p><p>Fig. <ref type="figure">16</ref>(a)-(c) shows HPS as a function of cache size, the average duty cycle as a function of cache size, and HPS as a function of the average duty cycle for four applications, respectively, while the associativity (two-way), cache line size (16 byte), and replacement algorithm (LRU) were kept the same. In Fig. <ref type="figure">16(c</ref>), HPS is a function of the average duty cycle, which is obtained from Fig. <ref type="figure">16</ref>(a) and (b), by sweeping cache size from small to large. Here, all the wearout mechanisms are included. First, it is found that the cache size for optimal HPS is impacted by the application. Second, the average duty cycle always gets lower with the increase in cache size. Third, the cache size for optimal HPS gets higher if the overall duty-cycle distribution gets lower. The optimal HPS is affected by the average duty cycle of the applications.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Error-Correcting Codes</head><p>ECCs detect and correct the most common sources of internal data corruption. ECCs add some redundancy (some extra bits) to check the consistency of the data and to recover corrupted data. The word size containing the ECC codes for the data cache of the LEON3 is N = 39 when the implemented ECCs are designed to correct single-bit errors.</p><p>The failure probabilities of the two-way 32-kb data cache with and without ECCs are shown in Fig. <ref type="figure">17</ref> as a function of time, with all the wearout mechanisms included, GTDDB excluded, and both GTDDB and RTN excluded. The Basicmath benchmark is illustrated as an example, and other benchmarks produce similar results. It can be seen that ECCs lead to a substantial improvement in the failure probability. In fact, increasing the number of bits corrected always lowers the PF.</p><p>Although ECCs lower the PF, the area increases. For the example shown in Fig. <ref type="figure">18</ref> In this article, we have studied the impact of a variety of wearout mechanisms on SRAM lifetime. The wearout mechanisms are sensitive to two parameters which are a function of the application running on the microprocessor, the duty cycle and the toggle rate. We have found that if the application running on the SRAM has a duty-cycle distribution closer to 50% and a toggle rate closer to 0%, the PF is lower. Hence, applications whose characteristics are closer to these limits have better lifetimes.</p><p>We have also presented the reliability and performance of the data cache while varying four different configuration parameters: associativity, cache line size, cache size, and ECCs. A general rule is that higher performance (higher HR) results in lower reliability (higher failure probability). This is because the additional resources needed to improve the HR degrade lifetime.</p><p>One exception of this rule happens for different cache line sizes. The 32-byte cache line is better than the 16-byte cache line in both performance and reliability. One cache miss for a 32-byte cache line can recover as many as 256 (32 &#215; 8) cells from BTI stress, which is twice as many as for a 16-byte cache line. Therefore, despite the fact that the 32-byte cache line has fewer cache misses, it actually results in more NBTI stress recovery. Thus, the 32-byte cache line achieves higher performance and better reliability.</p><p>Cache size is of great significance to both cache performance and reliability. It is observed that when the cache size increases to larger than 16 kb, the cache reliability dramatically drops, while the performance (HR) shows very limited improvement. Moreover, ECCs improve reliability at the cost of area and power overhead. The two configuration parameters that most strongly impacted reliability are cache size and ECCs.</p><p>It is important to include all of the wearout mechanisms while evaluating the PF of a cache. Then, based on the user-defined importance of cache area, HR, and PF, we can obtain the target cache configuration which results in an optimal HPS.</p><p>Overall, the proposed framework can efficiently evaluate the performance and reliability of the cache memory and can provide insights to help cache designers optimize performance-reliability tradeoffs by selecting the appropriate cache configurations based on the specification budget and lifetime requirements. Instead of just determining whether the duty-cycle distribution is closer to 50%, users can define requirements on HR, PF, and cache size to obtain the best cache configuration at a specific stress time.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Authorized licensed use limited to: Georgia Institute of Technology. Downloaded on October 27,2020 at 02:06:25 UTC from IEEE Xplore. Restrictions apply.</p></note>
		</body>
		</text>
</TEI>
