scieee AI-readable full text Open interactive document viewer

Aggressive undervolting of FPGAs : power & reliability trade-offs

Salami, Behzad

Abstract

In this work, we evaluate aggressive undervolting, i.e., voltage underscaling below the nominal level to reduce the energy consumption of Field Programmable Gate Arrays (FPGAs). Usually, voltage guardbands are added by chip vendors to ensure the worst-case process and environmental scenarios. Through experimenting on several FPGA architectures, we con¿rm a large voltage guardband for several FPGA components, which in turn, delivers signi¿cant power savings. However, further undervolting below the voltage guardband may cause reliability issues as the result of the circuit delay increase, and faults might start to appear. We extensively characterize the behavior of these faults in terms of the rate, location, type, as well as sensitivity to environmental temperature, primarily focusing on FPGA on-chip memories, or Block RAMs (BRAMs). Understanding this behavior can allow to deploy ef¿cient mitigation techniques, and in turn, FPGA-based designs can be improved for better energy, reliability, and performance trade-offs. Finally, as a case study, we evaluate a typical FPGA-based Neural Network (NN) accelerator when the FPGA voltage is underscaled. In consequence, the substantial NN energy savings come with the cost of NN accuracy loss. To attain power savings without NN accuracy loss below the voltage guardband gap, we proposed an application-aware technique and we also, evaluated the built-in Error-Correcting Code (ECC) mechanism. Hence, First, we developed an application-dependent BRAMs placement technique that relies on the deterministic behavior of undervolting faults, and mitigates these faults by mapping the most reliability sensitive NN parameters to BRAM blocks that are relatively more resistant to undervolting faults. Second, as a more general technique, we applied the built-in ECC of BRAMs and observed a signi¿cant fault coverage capability thanks to the behavior of undervolting faults, with a negligible power consumption overhead.

Full text

Aggressive undervolting of FPGAs: power & reliability trade-offs Behzad Salami ADVERTIMENT La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del repositori institucional UPCommons (http://upcommons.upc.edu/tesis) i el repositori cooperatiu TDX (http://www.tdx.cat/) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei UPCommons o TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a UPCommons (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del repositorio institucional UPCommons (http://upcommons.upc.edu/tesis) y el repositorio cooperativo TDR (http://www.tdx.cat/?localeattribute=es) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio UPCommons No se autoriza la presentación de su contenido en una ventana o marco ajeno a UPCommons (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the institutional repository UPCommons (http://upcommons.upc.edu/tesis) and the cooperative repository TDX (http://www.tdx.cat/?localeattribute=en) has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading nor availability from a site foreign to the UPCommons service. Introducing its content in a window or frame foreign to the UPCommons service is not authorized (framing). These rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author. Aggressive Undervolting of FPGAs: Power & Reliability Trade-offs Behzad Salami Department of Computer Architecture Universitat Politècnica de Catalunya (UPC) A thesis submitted for the degree of Doctor of Philosophy in Computer Architecture November, 2018 Advisor: Dr. Adrián Cristal Kestelman Co-Advisor: Dr. Osman S. Unsal For my Family i Acknowledgements First of all, I would like to express my deep and sincere gratitude to my Ph.D. advisors Dr. Adrian Cristal Kestelman and Dr. Osman S. Unsal for giving me this great opportunity to attend their research group at BSC, and also, for their advice, guidance, confidence, and patient demeanor later during my Ph.D. studies. Without their deep technical knowledge to guide me, my Ph.D. studies would never successfully happen. With a warm and friendly behavior, they showed me in practice how to enjoy of working and how research can provide satisfaction if I am building something useful. What I learned from them will stay with me in my professional and personal life forever. I would also like to express my acknowledge to Professor Mateo Valero. Mateo’s leadership has fostered an outstanding academic atmosphere at BSC that I was fortunate to be a part of. I had also a great chance to travel with Mateo and his lovely wife Angela to my home country, Iran. For me, this trip was full of good times, incredible experiences, and unique lessons. These experiences and lessons will play considerable role to shape of my future professional and personal life. During my Ph.D. studies, I had chances to collaborate with many deeply knowledgeable researchers. Some of these experiences were really unique for me. I would like to use this opportunity to send my thanks message to Dr. Pradip Bose, Dr. Alper Buyuktosunoglu, and Dr. Augusto Vega from IBM Watson, a major part of this thesis was done in collaboration with them, and also, to Dr. Dirk Koch from University of Manchester who was my internship advisor. I would also like to extend my thanks to the my Ph.D. defense and predefense committee, including Prof. Hamid Sarbazi-Azad, Prof. Onur Mutlu, Dr. Daniel Jimenez Gonzalez, Dr. Miquel Moreto, and Dr. Carles Hernandez Luz for their time to review and precise comments for improving the thesis. Also, I acknowledge to outstanding and friendly staff at BSC and UPC for their support over the years. I was fortunate to have had brilliant colleagues which turned into great friends including Oscar Palomar, Daniel Nemirovski, Azam Seyyedi, Burcu Ozcelik Mutlu, Gulay Yalcin, Nikola Markovi´c, Nehir Sonmez, Oriol Arcas-Abella, Gorker Alp Malazgirt, Ivan Ratkovi´c, Alberto Gonzalez, Julian Pavon, Leonardo Bautista-Gomez, Oyku Melikoglu, Albert Kahira, Cristobal Ramirez, Kai Keller, Santhosh Kumar Rethinagiri, Milan Stani´c, Tugberk Arkose, Damian Roca, Josue Esparza, Javier Arias, Adria Armejach, and Gina Alioto. During my stay at Barcelona, I had the chance to meet many people in my after-work life, and some of them turned into great friends. We shared our good or bad times together. I would like to thanks my friends including Jamileh Jafari, Hamid Tabani, and Pouya Esmaili. Finally, I would like to send my deep thanks to my lovely family, my brothers Sadegh, Turaj, and Ayhan, my sister, Zarrin, and specially my parents, Hossein and Roghiyeh, for their boundless dedication and encouragement. This thesis received funding from the European Union’s Horizon 2020 Programme under the LEGaTO project (www.legato-project.eu), grant agreement n◦780681, and the European Union Seventh Framework Program (FP7) under the AXLE project (www.axleproject.eu), grant agreement n◦318633. Also, I got grant from HiPEAC for my three-months internship at University of Manchester. Finally, this thesis is in part supported by Ministry of Economy and Competitiveness of Spain under contract n◦TIN2015-65316-p. Abstract In this work, we evaluate aggressive undervolting, i.e., voltage underscaling below the nominal level to reduce the energy consumption of Field Programmable Gate Arrays (FPGAs). Usually, voltage guardbands are added by chip vendors to ensure the worst-case process and environmental scenarios. Through experimenting on several FPGA architectures, we confirm a large voltage guardband on FPGAs. In turn, significant power consumption is saved, by eliminating this voltage guardband; however, further undervolting may cause reliability issues as the result of the circuit delay increase, and faults might start to appear. We perform a detailed fault characterization in terms of the rate, location, type, as well as experimentally analyzing the sensitivity to environmental temperature, with a primarily focused on FPGA on-chip memories, or Block RAMs (BRAMs). Understanding this behavior can allow to deploy efficient mitigation techniques, and in turn, FPGA-based designs can be improved for better energy, reliability, and performance tradeoffs. Finally, as a case study, we evaluate a typical FPGA-based Neural Network (NN) accelerator when the FPGA voltage is underscaled. In consequence, the substantial NN energy savings come with the cost of NN accuracy loss. To attain power savings without NN accuracy loss below the voltage guardband gap, we propose a novel technique and also evaluated the built-in ECC mechanism of BRAMs. Hence, we develop an application-dependent BRAMs placement technique that relies on the deterministic behavior of undervolting faults and mitigates these faults by mapping the most reliability sensitive NN parameters to BRAM blocks that are relatively more resistant to undervolting faults. Finally, as a more general technique, we apply the built-in ECC of BRAMs and observe a significant fault coverage capability thanks to the behavior of undervolting faults, with a negligible power consumption overhead. Keywords: FPGA, Voltage Scaling, Power Consumption, Reliability 1 Introduction In this chapter, we provide background information about the scope of the thesis and later on, explain the key challenges, motivations, our solutions, and finally, introduce the thesis outline. 1.1 Background The concentration of this thesis is on aggressive undervolting for commercial Field Programmable Gate Arrays (FPGAs). Hence, in this section, we briefly introduce these concepts. 1.1.1 FPGA Architecture In modern computing systems, FPGAs play a crucial role to accelerate state-of- the-art applications, thanks to their inherent capability to execute computations in streaming fashion on a massively parallel substrate. FPGAs are increasingly employed within the modern data centers and are expected to be in 30% of data centers by 2020 [7]. They are used to accelerate many state-of-the-art applications such as database query processing [19], [139], [141], [140], Neural Networks (NN) [59], [74], and genome sequence analytic [14], among others. FPGAs combine the 1 1. INTRODUCTION High-performance I/O Transceiver Technology Logic Fabric CLB and LUT On-chip Memory 36Kb/18Kb BRAMs DSP Engines Floating- and Fixed-Point Units Precise Clocking MMCM Figure 1.1: FPGAs among other digital devices (source: Intel/Altera [2]). flexibility of CPUs with the efficiency of Application-Specific Integrated Circuits (ASICs), see Figure 1.1. Hence, the concentration of this thesis is to study FP- GAs with the aim of making them more power-efficient, which can suit them for power-constrained environments. Modern FPGAs are composed of a wide range of reconfigurable components, e.g., Block RAMs (BRAMs), Digital Signal Processors (DSPs), Configurable Logic Blocks (CLBs), among others. These components in a tightly-coupled structure can be efficiently exploited to accelerate computation-, memory, or I/O-intensive applications to achieve the goal of high-throughput computation. Usually, these components are floorplanned in a column-oriented way, as 2 1.1 Background Figure 1.2: Voltage scaling in in Xilinx device family generations [10]. illustrated in Figure 1.1. For computations, corresponding components need to be appropriately configured at run- or compile-time. Most of the state-of-the-art commercial FPGAs including the studied commercial FPGAs in this thesis are Static RAM (SRAM)-based, which means that the configuration bitstream is stored in onchip SRAMs and FPGA components get configured by reading the corresponding parts of this bitstream. 1.1.2 Aggressive Undervolting The power consumption of digital circuits, e.g., FPGAs is directly related to their supply voltage level. Hence, any voltage underscaling can directly deliver power/energy efficiency gains. For instance, as shown in Figure 1.2, for Xilinx FPGA generations, the nominal operating voltage has been lowered from 1V in Virtex-7 series (28nm) to 0.72V in Ultrascale+ series (16nm); resulting in 1.2X and 2.4X in power and performance/watt efficiency, respectively [10]. As a more aggressive effort, for each technology node, the supply voltage underscaling below the standard nominal level can deliver further power savings. We target this approach in the thesis. 3 1. INTRODUCTION For different types of chips such as CPUs [22], [72], [153], [127], [172], [171], Graphics Processing Units (GPUs) [91], ASICs [165], Dynamic RAMs (DRAMs) [36], and SRAMs [174] it has been experimentally shown that the nominal operating voltages set by vendors are extremely conservative for real-world applications. This phenomenon is due to the voltage guardband added by vendors to ensure the correct operation under worst-case environmental and process conditions. Thus, as earlier mentioned, the promising approach to achieve energy efficiency is the aggressive undervolting, i.e., voltage underscaling below the standard nominal level. However, as the works above as well as our experimental studies confirm, the potential of the aggressive undervolting is fully vendor-, chip-, architecturede- pendent. The concentration of this thesis is to study aggressive undervolting for commercial FPGAs experimentally. However, the downside of the aggressive undervolting is that voltage underscaling below the voltage guardband can cause reliability issues and faults might start to appear. Unlike the DVFS technique, the frequency is not scaled down in the aggressive undervolting approach. Therefore energy savings can be more significant. However, aggressive undervolting leads to timing related faults, which can cause applications to crash or terminate with wrong results. This thesis aims to extend the aggressive supply voltage underscaling approach, i.e., power and reliability trade-off, detailed fault characterization, and effective mitigation for FPGAs. 1.2 Key Challenges and Motivations In comparison to ASICs, the power consumption of FPGAs is a first-order concern, especially in nano-scale manufacturing technologies. It has been shown that the power and energy efficiency of FPGAs is estimated to be ∼10X-∼20X worse than in the corresponding ASIC designs [135], [183], [83], [122], [123] as it is also 4 1.2 Key Challenges and Motivations Figure 1.3: Detailed energy efficiency of FPGAs [1]. confirmed from industry perspective, see Figure 1.3. This gap is due to the inherent structure of FPGA resources, which provide the configurability as an advantage against ASICs; however, configurability incurs additional power consumption overhead. The relatively lower power and energy efficiency of FPGAs can make them less attractive for power-limited environments such as high performance embedded computing scenarios and mobile environments, among others. Thus, the key challenge that this thesis aims to tackle is the power/energy dissipation of FPGAs. There are many techniques deployed to minimize the power consumption of FP- GAs, such as architectural improvements [10] [3], power-aware tools [43] [85] [49], bitstream compression [125], clock or voltage gating [126] [182], [95], [162] among others. This thesis concentrates on an orthogonal approach, aggressive undervolting. As summarized in equations 1.1,1.2, and 1.3, the total power consumption including the dynamic, i.e., the signal transition power, and static power, i.e., leakage power, are directly functions of the supply voltage [5]; thus, as expected, any 5 1. INTRODUCTION undervolting can directly lead to the power consumption reduction. Ptotal =Pdynamic +Pstatic (1.1) Pdynamic =α.C.f.V2(1.2) Pstatic =∑Leakage_Current.V(1.3) , where α,C,f,V, and Leakage_Current are the technology-dependent constant coefficient, capacitance, working frequency, supply voltage, and total leakage current of the digital circuit, respectively. With the aim of evaluating the aggressive undervolting technique to achieve energy-efficient FPGA-based accelerators, the key research questions that are answered by this thesis are listed below: 1. Is there any potential in FPGAs to take advantage of aggressive undervolting? 2. Do technology architecture, process variation, etc., play any role in the impacts of aggressive undervolting in FPGAs? 3. Is the effect of aggressive undervolting on the reliability deterministic or stochastic? 4. Which kind of real-world application can take advantage of the energy efficiency through aggressive undervolting? 1.3 Scope of the Thesis To have a thorough study, our experiments include several representative platforms from Xilinx, a main vendor, i.e., VC707 (performance-optimized architecture) [11], 6 1.3 Scope of the Thesis ZC702 (FPGA integrated with ARM-core) [13], and two identical samples of KC705 (power-optimized architecture) [12] platforms. These four platforms allow us to study different architectures and also the impact of die-to-die process variation for KC705. Experimentally confirming the voltage guardband for multiple components of FPGAs, we observe that data can be safely retrieved without any observable fault when the supply voltage is underscaled below the nominal level, i.e.,Vnom, and until a certain minimum safe voltage level, i.e.,Vmin. Further voltage underscaling causes faults. For a more detailed study, the concentration of this thesis is BRAMs, since BRAMs play a key role in the acceleration of state-of-the-art applications such as NNs and bioinformatics [14], and also, they considerably contribute in the total power consumption of such FPGA designs of up to 30% [59]. Also, unlike many FPGA components, the supply voltage of BRAMs can be independently regulated, which allows detailed power and reliability trade-off analysis. Hence, the reliability aspects of BRAMs under aggressively low-voltage operations are extensively studied. This study includes the characterization of faults in terms of the rate, location, type as well as the impact of the environmental temperature. As a case study application, we concentrate on the NN accelerator. NNs are state-of-the-art applications that are increasingly used in the context of many realworld environments such as autonomous cars [160], [143], [65], mobile scenarios [86], [90], [73], personalized medicine [39], [51], [67], game industry [147], among others. Also, due to the size of matrices that NNs needs to compute, the computation and power required is significant [146], [154]. To achieve energy-efficient NN, hardware accelerators such as GPU- [124], FPGA- [134], and ASIC-based [70], [135], [63] systems have recently received significant attention. Among them, FPGA- based accelerators have unique features such as the relatively short deployment time versus ASICs and more energy-efficient against GPUs. Hence, to achieve 7 1. INTRODUCTION an energy-efficient FPGA-based NN accelerator, we push a typical accelerator to operate under low-voltage FPGA BRAMs, and evaluate mitigation techniques to prevent NN accuracy loss as the result of undervolting faults. 1.4 Contributions This thesis aims to evaluate the aggressive undervolting technique for commercial FPGAs empirically. Toward this goal, the thesis has three main contributions, which are summarized as follows: 1. Voltage Guardband: This thesis is the first effort to empirically study aggressive voltage underscaling of FPGAs below the standard nominal level. Through experimenting on four platforms, we confirm a conservative voltage guardband until the minimum safe voltage level, i.e.,Vmin for different FPGA components. By eliminating this large voltage gap, a significant power saving gain is achieved without compromising to the performance or reliability, for instance, more than an order of magnitude power savings for on-chip BRAMs. 2. Fault Characterization: We perform the first detailed experimental bit-level characterization study of the behavior of faults when the supply voltage of FPGA on-chip BRAMs is underscaled below Vmin. Understanding the behavior of these faults can provide an opportunity to deploy efficient mitigation techniques, and in turn, a better trade-off for low-voltage FPGA-based designs can be achieved. More specifically, we observe that: •The fault rate exponentially increases by further undervolting; however, with a considerable difference among platforms, which is the result of technological differences and also process variation. 8 1.4 Contributions •The location and rate of undervolting faults do not considerably change over time. In other words, undervolting faults exhibit a deterministic behavior. •Within BRAMs, faults usually occur in certain few columns; however, these most-vulnerable columns are different among all BRAMs. •Undervolting faults are fully non-uniformly distributed among BRAMs. •Undervolting faults manifest themselves mostly as ’1’ to ’0’ bit-flips. •On a given BRAM raw, undervolting faults lead mostly to single-bit type faults. Multi-bit type faults start to appear as the voltage is further reduced. •At higher environmental temperatures, the fault rate reduces as the result of the Inverse Temperature Dependence (ITD) property of the nanoscale technology nodes [117]. •Undervolting faults follow the Fault Inclusion Property (FIP), i.e., faults in a certain voltage level, stay (and potentially extend) in lower voltages, as well. 3. FPGA-Based Accelerator: We perform the first study of the efficiency of NN accelerators under the aggressively low-voltage operation of commercial FP- GAs. We observe that the data sparsity of state-of-the-art NN benchmarks makes them inherently robust against undervolting faults; however, by aggressive undervolting, the NN accuracy is impacted. To attain the subsequent power saving without NN accuracy loss, we present two fault mitigation techniques, which rely on the behavior of undervolting faults. 9 1. INTRODUCTION 1.5 Outline The subsequent sections of this thesis are structured as follows. The FPGA undervolting experimental methodology, and also, the major behavior of the power and reliability trade-off is explained in Chapter 2. The fault characterization under aggressive low-voltage FPGA operations is detailed in Chapter 3. Chapter 4explains the effect of FPGA undervolting in the typical NN and evaluate the proposed fault mitigation techniques. Chapter 5reviews the recent related works and Chapter 6summarizes our findings and lessons learned in this study. Finally, Chapter 7 includes the list of publications from the thesis. 10 2.3 Safe, Critical, and Crash Voltage Regions (a) VCCBRAM. (b) VCCINT. Figure 2.5: Undervolting FPGA components, i.e., Internal (VCCINT) and BRAM (VCCBRAM) voltages. (SAFE: no observable fault occur. CRITICAL: faults manifest. CRASH: FPGA stops operating.) at a fixed frequency of ∼500Mhz [10], and externally the design is operating on the maximum frequency without timing violation at the nominal voltage level, 17 2. UNDERSTANDING FPGAS UNDERVOLTING UART FPGA Board FPGA Chip UCD9248 Voltage Regulator B_0 (16 kb) B_1 (16 kb) B_N (16 kb) Read to host one-by-one BRAM Pool ........... Host Voltage Rail of BRAMs Other Rails data data PMBUS Commands JTAG-Bitstream TI PMBUS Adapter Host FPGA UCD9248 JTAG UART I2C Platform PMBUSCommands HW SW UART-DATA Power Meter Power Supply 0 1 2 . . . . . 11 12 13 14 15 Columns Rows 0 1 2 3 4 5 . . . . . . 1022 1023 bitcell Figure 2.6: Experimental setup to perform fault characterization through FPGA BRAMs aggressive voltage underscaling. List 2.1: Pseudo-code to restudy liability behavior of voltage scaling on FPGA BRAMs at the CRITICAL, on the experimental setup of Figure 2.6. 1: VCCBRAM =Vmin; 2: while(VCCBRAM >=Vcrash) begin 3: while(numRun <=100) begin 4: delay(1sec); 5: Transfer content of BRAMs to the host; 6: Analyse faulty data (rate and location); 7: numRun++; 8: end 9: VCCBRAM−=10(mV); 10: end determined by the FPGA compiling tools. 2.4 Power and Reliability Trade-offs This section describes the overall behavior of FPGA BRAMs in terms of the power consumption and reliability trade-off when their supply voltage is aggressively re- 18 2.4 Power and Reliability Trade-offs duced. We repeat experiments on all platforms, mentioned earlier. As can be seen in Figure 2.7, our experiments on lowering the supply voltage of BRAMs below nominal level, Vnom, demonstrate two thresholds. First, a voltage guardband, Vmin, that separates the fault-free and faulty regions. Second,Vcrash that is the lowest level of the voltage that our design practically operates. For all tested platforms, Vnom =1Vdue to the factory settings. However, through our experiments, we observe a slight difference for Vmin and Vcrash. Note that repeating these tests in more noisy and harsh environments, i.e., worst case environmental conditions, can cause observable faults above observed Vmin, as well. Below the Vcrash region, we observed that the DONE pin is unset, which at nominal levels indicates incorrect bitstream. To have an initial exploration, we evaluated the environmental temperature; however, the large guardband is experimentally observed. The common observation for studied platforms is that when VCCBRAM >=Vmin, no observable faults occur. However, underscaling VCCBRAM below Vmin the fault rate exponentially increases, while the power consumption quadratically reduces but with different scales for different platforms. When VCCBRAM =Vmin, significant BRAMs power savings gain is achieved over Vnom =1V, more than an order of magnitude, without comprising any performance or incurring any reliability degradation. As can be seen, both power consumption and reduction are less in KC705 than VC707, which is the consequence of having relatively fewer BRAMs and also the inherent power optimizations adopted for KC705 by the vendor. Also, BRAMs power consumption in ZC702 is relatively less than other platforms, since it is composed of a much smaller number of BRAMs. Further undervolting below Vmin, the fault rate exponentially increases, up to 652, 153, 254, and 60 per 1 Mbits (∼0.06%, 0.01%, 0.03%, and 0.005%)1at Vcrash, 1Since the overall fault rates are very small, instead of percentage (%), we present them in terms of number of faults per 1Mbit, for clearer charts. 19 2. UNDERSTANDING FPGAS UNDERVOLTING (a) VC707. (b) ZC702. (c) KC705-A. (d) KC705-B. Figure 2.7: Major observations under low-voltage operations in FPGA BRAMs for studied commercial platforms. * Different scales for different charts. ** power results are reported as mWatts in ZC702 and in Watts for others. *** At ambient temperature. for VC707, ZC702, KC705-A, and KC705-B, respectively (with pattern= 16’hFFFF). Note that through our experimental observations, the vast majority of these faults are ’1’ to ’0’ bit flips, on average 99.9% for all platforms. We verify this observation by repeating the same tests with other data patterns. The fault rate is proportional to the number of ’1’ bits; for example, with pattern= 16’hFFFF the fault rate is 20 2.4 Power and Reliability Trade-offs Figure 2.8: The impact of the data pattern in the fault rate on VC707 (similar behavior is observed for other platforms.) almost double than pattern= 16’hAAAA, and with pattern=16’h0000 few faults are observed, as shown as an example on VC707 in Figure 2.8. In the same line, we did not observe any meaningful correlation in the various permutations of ’0’ and ’1’ in the data pattern, for instance, as can be seen, the fault rate of pattern= 16’hAAAA, 16’h5555, and a random pattern are almost the same. 21 3 Fault Characterization Through FPGA BRAMs Undervolting In this section, we comprehensively characterize the behavior of faults, where VCCBRAM is underscaled at the CRITICAL voltage region from Vmin to Vcrash. Considering the impact of the data pattern that is explained in Section 2, the detailed fault characterization in this section is for data pattern= 16’hFFFF, which corresponds the highest fault rate since as shown in Section 2, ’1’-to-’0’ bit flips are much more common than ’0’-to-’1’ flips.. Understanding the behavior of undervolting faults can allow the deployment of efficient fault mitigation techniques and in turn, better reliability, energy, and performance trade-off can be achieved for FPGA designs. 3.1 Fault Stability Over Time As earlier mentioned, we repeat each test 100 times to get statistically significant results. We did not observe a significantly different results among different runs, as shown in Table 3.1. Thus, the fault rates and as experimentally observed, faults locations show a stable behavior over time without meaningfully changing over the time. This observation is considered in our application-aware fault mitigation 23 3. FAULT CHARACTERIZATION THROUGH FPGA BRAMS UNDERVOLTING Table 3.1: Fault rate stability over time. (Fault rate analysis of 100 runs at Vcrash with pattern=16’hFFFF.) Parameter VC707 ZC702 KC705-A KC705-B AVERAGE fault rate* 652 153 254 60 MINIMUM fault rate* 630 140 237 51 MAXIMUM fault rate* 669 162 264 69 STD. DEV of fault rates 7.3 5.9 4.8 1.8 * per 1 Mbit. technique that is discussed in Chapter 4. 3.2 Fault Variability Among BRAMs By statistically analyzing the experimental results, we observe that faults are not uniformly distributed over different BRAMs. Common for all platforms, we observe that a big percentage of BRAMs, e.g., 38.9% in VC707 at the lowest voltage level Vcrash =0.54V, never experience faults; however, faults manifest in a small percentage of them. For instance, on VC707 when VCCBRAM =Vcrash =0.54V, the maximum, minimum, and average fault rate within BRAMs are 2.84%, 0%, and 0.04%, respectively. For further analysis, we clustered this statistical information in low-, mid-, and high-vulnerable classes of BRAMs, using the k-means clustering algorithm. For all platforms, a vast majority of BRAMs are clusted as low-vulnerable. For instance, we show detailed results of VC707 in Figure 3.1. As can be seen, 88.6% of BRAMs are recognized as low-vulnerable with an average fault rate of 0.02%, ∼ 3.4 faults within an individual BRAM with the size of 1024*16-bits. The fault rate variability among BRAMs is the result of the within-die process variation and as discussed earlier is permanent. Accordingly, we construct a chipdependent Fault Variation Map (FVM). FVM is extracted by mapping the observed fault rates to the physical location of BRAMs on the tested chips. Through Vivado, 24 3.3 Fault Variability Within BRAMs Xilinx toolkit, we extract the required information to build FVM, including the floorplan of the chip and the placement information of BRAMs. For instance, FVM of VC707 is shown in Figure 3.2, when VCCBRAM is underscaled from Vmin =0.61V to Vcrash =0.54V. FVM has the granularity of BRAM. Note that in this figure other FPGA components are ignored for the sake of more clarity of FVM. 3.3 Fault Variability Within BRAMs We performed a statistical analysis to analyze the fault distribution schema within those faulty BRAMs, from both column- and row-wise view. 3.3.1 Column-wise Fault Analysis Our observations reveals that faults mostly occur in a few certain columns within BRAMs. In other words, for each faulty BRAM, a few (one or two) most vulnerable column of bitcells exist, among 16 available columns, as illustrated in Figure 3.3. Figure 3.4a shows the number of most vulnerable columns within faulty BRAMs. As can be seen, more than 80% of faults occur in a single column, 17% in two Figure 3.1: Clustering BRAMs to low-, mid-, and high-vulnerable classes using K-mean algorithm. * This figure shows the clustering at Vcrash =0.54Vfor only VC707 since very similar behavior is observed for other platforms. 25 3. FAULT CHARACTERIZATION THROUGH FPGA BRAMS UNDERVOLTING Figure 3.2: BRAMs Fault Variation Map (FVM), scaling VCCBRAM from Vmin =0.61Vto Vcrash =0.54V. * Each small rectangular box represents a BRAM mapped to the corresponding X and Y physical location on FPGA, shown for Virtex-7 FPGA in VC707 platform containing 2060 BRAMs. ** White boxes represent the empty physical locations of BRAMs. *** For a clearer representation, other FPGA components such as LUTs and DSPs are not shown. columns, and so on. However, these most vulnerable columns do not occur in identical column indexes, for different BRAMs. As can be seen in Figure 3.4b, there is almost a uniform distribution of fault rate in different 16 available column indexes, when fault rate is averaged for all BRAMs. 3.3.2 Row-wise Fault Analysis By a statistical analysis of locations of faults within faulty BRAMs, we observe that there is a spatial correlation between faulty rows. Our hypothesis is that the BRAM wordlines are weaker than bitlines to support low voltage operation. However, we were not able to verify this hypothesis since there is no publicly available document that details the circuit level design of Xilinx BRAMs. In other words, by increasing the distance between rows, the probability of the fault is considerably reduced. As 26 3.7 Impact of the Environmental Temperature Figure 3.9: Different fault rate changes of the studied FPGA platforms over different temperatures at VCCBRAM =Vcrash. property [117]. ITD is a thermal property of digital devices with nano-scale technology nodes; and states that under ultra low-voltage operations, the circuit delay reduces at higher temperatures. The reason is that as the technology node scales down, the supply voltage approaches the threshold voltage. Hence, at low-voltage regimes, increasing the temperature reduces the threshold voltage and allows the Table 3.2: Summary of fault characterization in FPGA-Based BRAMs and comparing with the modern DRAMs, i.e,. DDR-3. BRAM [our work] DRAM [36] Large voltage margin. Large voltage margin. Fault type: stuck-at-0 Fault type: No Info! Pattern-dependent Faults Pattern-free Faults Exponential Fault Rate up to ∼0.1% Exponential Fault Rate up to ∼20% Significant Variation among BRAMs Significant Variation among DRAM Banks Follows Fault Inclusion Property (FIP) No Info! Inverse Relation of Temperature and Fault Rate Direct Relation of Temperature and Fault Rate 33 3. FAULT CHARACTERIZATION THROUGH FPGA BRAMS UNDERVOLTING device to switch faster. In turn, with the circuit delay decreasing, the number of critical paths, and subsequently, the fault rate reduces. This property is experimentally verified in our case, for commercial FPGAs. Also, as can be seen in Figure 3.9, the fault rate in VC707 is reduced more aggressively than KC705-A. A relatively 156% more fault rate in 50◦C is reduced to 11.6% less fault rate in 80◦C, for VC707 vs. KC705-A. The architectural and technological difference between these platforms can be the reason since their design goal is different, i.e., performance (VC707) vs. power (KC705-A). Also, by heating up, the fault rate is significantly lower for VC705-B than KC705-A, as the consequence of the process variation. 3.8 Summary We presented comprehensive fault characterization results under BRAM undervolting below Vmin. Our experimental observations such as stuck-at-0 behavior of faults and significant fault rate variability among BRAMs, can provide an opportunity to optimize power-reliability trade-offs in aggressively low-voltage regimes, for applications implemented onto FPGAs. We summarize our observations and findings in Table 3.2. Also, we compare our observations with a recent characterization work on DDR-3 [36], mostly in the behavioral-level. Although, there is a technological difference between them, i.e., BRAMs are SRAM-based while DDR-3 are DRAM-based, the comparison highlights their significant similar fault behavior under low-voltage operations; although, there are some differences, as well. For instance, the effect of the environmental temperature and also the type of faults (mostly ’1’-to-’0’ bit flips for BRAMs versus more uniform for DDR-3) are the main differences, which can be due to the architectural difference among two memories. 34 4 Evaluating FPGA-based NN Accelerator on Low-Voltage FPGA BRAMs In this chapter, we present and discuss the results of our study on the impact of the BRAM voltage scaling below nominal level, Vnom =1V, in a typical FPGA-based NN accelerator. More specifically, our study includes the power consumption and NN accuracy trade-off, and investigation of two fault mitigation technique when NN is operating below Vmin,i.e., a proposed intelligent placement technique and also, built-in ECC. First, we briefly describe the NN resilience and the experimental methodology, and later on, discuss the efficiency of low-voltage FPGA-based NN. 4.1 Background on NN Resilience Machine learning models and in particular NNs are increasingly being used in the context of nonlinear "cognitive" problems, such as natural language processing and computer vision. These models can learn from a dataset in the training phase and make predictions on a new, previously unseen data in the inference/prediction/classification phase with ever-increasing accuracy. However, the compute- and power-intensive nature of NNs prevents their effective deployment in resourceconstrained environments, such as mobile scenarios [175]. Hardware acceleration, 35 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS e.g., FPGAs offers a roadmap for enabling NNs in these scenarios [152], [94], [135], [42], [16], [74]. However, similar to general purpose devices, hardware accelerators are also susceptible to faults (permanent/hard and transient/soft), as more specifically studied in this thesis, as the result of the aggressive voltage underscaling approach. In recent years NN resilience is studied with different approaches, e.g., softwarelevel simulations or theoretical analyzes [156], [132], SPICE simulations [135], [93], [180], [181], and experimenting on the real hardware operating on low-voltage regimes, e.g., SRAMs [165], [174], [173]. Among them, it is evident that softwarelevel simulations and theoretical analyzes lack the information of the underlying hardware platform and are relatively less precise. In contrast, SPICE-based studies are more precise; however, these studies require significant circuit-level efforts. Among the most relevant existing works on the NN resilience, Minerva [135] performs a characterization on the sparsity of data and analyzes the efficiency of leveraging fixed-point data representation model. In the same line, [157] studied the vulnerability of various layers of NN. Also, recently [93] studied the fault propagation in an ASIC model of NN focused on the vulnerability of different NN layers. This thesis approaches the resilience study on real faults that are generated through aggressive undervolting. 4.1.1 The Architecture of the NN Accelerator Specifications of the experimented RTL NN with a baseline configuration is summarized in Table 4.1. Our study features a typical fully-connected NN that is also widely used in the structure of other NN models [135]. Our study targets the inference phase of NN since training is normally a one-time process; additionally, the inference is repeatedly performed to classify unknown data. As can be seen in Figure 4.1(a), this NN model is composed of input, hidden, and output layers, 36 4.1 Background on NN Resilience where all adjacent layers are fully connected to each other. The first/last layer is the input/output layer and has one neuron for each component in the input/output vector. Between the input and output layers, there are single/multiple hidden layers. The interconnection between neurons of adjacent layers is determined based on a collection of weights and biases, whose values are tuned in the training phase. Each NN neuron uses an activation function to determine its output. Finally, in the output layer, a softmax function generates the final output of the NN. We perform our experiments on a 6-layer NN, i.e., ({Li,i∈[0,5]}), one input, four hidden, and one output layer(s). The four hidden layer sizes are fixed at 1024, 512, 256, 128 while input and output layer sizes are benchmark-dependent (784, 54 and 2437 for input while 10, 8 and 52 for output layers for the three NN applications studied in this thesis, i.e., MNIST [87], Forest [24], and Reuters [25], respectively.). Thus, there are five matrix multipliers among adjacent layers, i.e., ({Layerj,j∈[0,4]}), where Layerjrefers to the matrix multiplication of Ljand Lj+1. Among benchmarks, MNIST is a set of black and white digitized handwritten digits, each image composed of 784*8-bit pixels, the output infers the number from 0 to 9 (10 output classes), with 60000 training- and 10000 inference images. Forest includes cartographic observations for classifying the forest cover type. Reuters covers news articles for text categorization. MNIST is most widely-used by the ML community to evaluate the efficiency of novel NN methods. Hence, we use MNIST as the main benchmark to evaluate our resilience studies. To demonstrate the generality of experimental observations, we briefly present results for Forest and Reuters, as well. For experiments, we first export weights and biases of the trained NN that is performed off-line using a MATLAB implementation, initialize BRAMs of FPGA, and then start streaming 10000 input images to perform the inference. Also, for representing data, we use the fixed-point low-precision model. Note that lowering 37 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS Off-Chip Memory w0(0,j) wN(1,j) On-Chip Memories Classifier ...... Registers multipliers/adders weights ** * * ** ++ ++ ++ + ...... ... ...... adder tree ..... ..... ..... Input Layer Hidden Layer(s) Output (softmax) Layer Underlying Hardware ..... I H0 H(K-1) O w w w ...... (a) A typical Neural Network(NN) (b) FPGA Implementation of the given Neural Network (NN) Figure 4.1: The overall methodology to resilience study of the RTL NN Accelerator. the precision of data is a common technique for applications in the approximate computing domain, in particular for NNs performing inference [60], to achieve power and performance efficiency with negligible accuracy loss. Following this approach, we use a per-layer minimum precision fixed-point model. The bit-width of data (input, weights, and intermediate) is fixed to 16-bits, composed of the sign, digit, and fraction components. Toward this goal, with a pre-processing analysis, we extract the minimum bit-widths of the sign and digit components per layer, and the fraction component fills the rest of the 16 bits. As we experimentally observed, this quantification does not lead to any considerable accuracy loss in comparison to a full-precision data model. The minimum precision is used in this thesis is summarized in Figure 4.2. 4.2 Experimental Methodology of NN Evaluations We perform our studies on the NN that is that is shown in Figure 4.1(b) and summarized in Table 4.1. In our system architecture, weights of the NN are located inside BRAMs and input images are being streamed through the off-chip DDR-3. The required calculation of the image classification, matrix multiplication plus sigmoid function activation, are performed in parallel by leveraging DSPs and LUTs 38 4.2 Experimental Methodology of NN Evaluations Table 4.1: Detailed specifications of the baseline RTL NN setup. Neural Network (NN) Type Fully-Connected Phase Inference Topology (number of layers) 6L (1L input, 4L hidden, 1L output) Per Layer Size (number of neurons) (784, 1024, 512, 256, 128, 10)= 2714 Total Number of Weights ∼1.5 million Original Activation Function Logarithmic Sigmoid (logsig) Original Benchmark Name MNIST [87] Type Handwritten Digits (Images) Number of Images Training: 60000, Inference: 10000 Number of Pixels per Image 28*28= 784 Number of Output Classes 10 Additional Benchmarks 1. Forest (cartographics of forest types) [24] 2. Reuters (articles for text categorization) [25] Data Representation Model Type 16-bits Fixed-Point (Figure 4.2) Sign-bit Precision Minimum per layer (1 or 0 bit) Digit-bit(s) Precision Minimum per layer Fraction-bit(s) Precision 16- (number of sign- and digit-bits) An Example Synthesize Results FPGA Platform-Chip VC707-Virtex7 Maximum Operating Frequency 100Mhz BRAM Usage (Total: 2060) 70.8% DSP Usage (Total: 2800) 8.6% FF Usage (Total: 303,600) 3.8% LUT Usage (Total: 607,200) 4.9% Number of PEs64 39 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS Figure 4.2: Minimum precision to represent data of RTL NN, i.e., Inputs (IRs), Weighs (WRs), and Intermediate (IMRs). of the FPGA and results are streamed to the host computer to perform the final step of the NN accuracy analysis. This setup is typical for most of the FPGA-based NN accelerator, as surveyed in [59]. In this section, we present results for the VC707 platform since a very similar efficiency is observed for other platforms. On this setup, the on-chip power breakdown at various VCCBRAMs,i.e.,Vnom = 1V,Vmin =0.61V, and Vcrash =0.54V, is shown in Figure 4.3. As can be seen, more than an order of magnitude BRAM power dissipation is reduced from Vnom =1V to the guardband gap on Vmin =0.61V, which in turn delivers 24.1% total onchip power reduction. Further voltage lowering to Vcrash =0.54V, reduces 40% of BRAM power over Vmin =0.61V; however, as a result of the timing faults, the NN classification error is in turn impacted. This impact and the proposed fault mitigation technique are discussed later in this section. 40 4.2 Experimental Methodology of NN Evaluations Figure 4.3: On-chip power breakdown of our FPGA-based NN at Vnom,Vmin, and Vcrash (VC707). Rest includes on-chip power consumption of DSPs, LUTs, routing resource, etc. Figure 4.4: Impact of BRAM voltage scaling in the NN classification error, lowering VCCBRAM from Vmin =0.61Vto Vcrash =0.54V. 41 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS 4.3 Impact of Voltage Scaling Below Vmin on the NN Accuracy When VCCBRAM is underscaled in the critical region between Vmin =0.61Vand Vcrash =0.54V, faults occurring in some of BRAMs bitcells degrade the NN accuracy. In fact, the classification error is increased from 2.56% (inherent classification error without any fault) to 6.15% when VCCBRAM =Vcrash =0.54V, see Figure 4.4. The NN classification error (left y-axis) increases exponentially, correlated directly with the fault rate increase in BRAMs (right y-axis), as expected. Also, we observe that the fault rate in BRAMs filled with the NN weights is significantly less than the default pattern= 16h’FFFF. The reason is that weights are sparse, our statistical analysis indicates that 76.3% of the bits having the logic value ’0’. These bits have a negligible probability to be flipped, especially considering that most of the timing faults in the critical low voltage operation are stuck-at-0. This experimentally verified failure characteristic is the reason that MNIST application on our NN is inherently fault-tolerant against faults in extremely low-voltage operations on FPGA- based BRAMs. Through statistical experimentation, we confirm this data sparsity for other NN benchmarks such as Forest [24] and Reuters [25]. Also, other state-of- the-art has also confirmed the sparsity of many other NN benchmarks [135], [112], and a wider range of other applications, as well [8]. It means these applications would be inherently fault-tolerant for the type of failures experienced in FPGA BRAM undervolting. 4.4 Fault Mitigation Techniques To prevent NN accuracy loss under low-voltage operations, we evaluate two techniques, i.e., a novel BRAM placement technique and built-in ECC. 42 4.4 Fault Mitigation Techniques (a) Classification error of NN with different BRAM placements at Vcrash = 0.54V. (b) Timing slack overhead of ICBP-N. Figure 4.8: Evaluating our fault mitigation technique, i.e., ICBP. We repeat our most effective and timing cost-free version of the proposed mitigation technique, "ICBP-1", by lowering VCCBRAM from Vmin =0.61Vto Vcrash = 0.54V, to explore the optimal voltage level in terms of power consumption and NN classification error trade-off, as shown in Figure 4.9. As can be seen in Figure 4.13a, 49 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS (a) Power reduction and NN classification error. (b) The optimal VCCBRAM, trading-off power and NN accuracy. Figure 4.9: "ICBP-1" mitigation on various VCCBRAMsin [Vmin =0.61V,Vcrash =0.54V]. 40% power savings is achieved in Vcrash =0.54Vover Vmin =0.61V, by 0.6% NN accuracy loss from the inherent fault-free classification error of 2.56%; however, the same amount of power in the default placement is dissipated by more than 3.59% NN accuracy loss. 50 4.4 Fault Mitigation Techniques (a) Forest [24]. (b) Reuters [25]. Figure 4.10: Efficiency of ICBP on FPGA-based NN accelerator for Forest and Reuters benchmarks on VC707. * Different scales in y-axis. Since VCCBRAM scaling inversely impacts power consumption and NN classification error, we aim to find the optimal voltage level as the best trade-off. Toward 51 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS this goal, experimental results are analyzed in terms of a new metric, the normalized product of power consumption with NN classification error, as shown in Figure 4.13b. As can be seen, first, due to this trade-off VCCBRAM =0.56Vis the optimal voltage level for "ICBP-1", which leads to 28.1% of power saving achievements over the Vmin =0.61V, while the classification error increase up to 2.66% (0.1% overhead from the inherent fault-free classification error, 2.56%). Second, the efficiency of "ICBP-1" technique in comparison to the default placement technique, is relatively better manifested in lower levels of VCCBRAM since in relatively higher voltage levels, the fault rate and its subsequent impact on the NN accuracy are not considerable. Also, we repeat the similar methodology for Forest and Reuters benchmarks and as can be seen in Fig. 4.10a and Figure 4.10b, undervolting faults are significantly covered, which in turn, leads to prevention of the NN accuracy loss for them, as well. Among studied benchmarks, Reuters is less sparse; thus, undervolting faults more significantly impact the NN accuracy loss; however, mostly covered by ICBP. 4.4.2 Built-in ECC BRAMs in Xilinx FPGAs are equipped with a built-in ECC with the capability of single-bit correction and double-bit detection (but not correction), i.e., SECDED. Leveraging the built-in ECC has the advantage of mitigating faults without any major hardware or software modifications against other methods. For instance, Razor [50] that dynamically underscales the voltage until a fault occurs, leverages additional delay latches; and [36] presents a majorly-modified memory controller to deal with the reduced supply voltages. It is worth noting that as earlier mentioned, each row of BRAMs has two additional bits that can be either data or parity. In the previous section, we skip these two bits since experiments are performed on the 52 4.4 Fault Mitigation Techniques Figure 4.11: The efficiency of ECC to mitigate undervolting faults in the critical voltage regions below Vmin basic size BRAM without ECC capability. In this section, these bits are exploited as parity. Hence, the size of each BRAM is 1024 *18-bits. Experimental Methodology of Built-in ECC The built-in ECC mechanism of BRAMs uses Hamming code. When ECC is activated, parity bits are generated during each write operation and stored along with the data, at the granularity of a single row. These parity bits are used during each read operation of a row to correct single-bit faults, or to detect (but not correct) any double-bit fault, termed SECDED. In studied platforms, there are several options for BRAMs configurations. Our experimental setup is based on the following configurations: •Configuration modes: We use simple dual-port mode BRAMs since it is the only mode that ECC can be activated. •Softvs. hard-core ECC: Two types of ECC are available in Xilinx BRAMs, i.e., 53 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS soft- and hard-core with the same functionality. Unlike the hard-core, in the soft-core ECC, FPGA resources such as LUTs are utilized to implement the corresponding functionality. Thus, we make our study on hard-core built-in ECC, which does not require any additional hardware. •Bit-width: Our design is based on memory bitwidth of 64-bits since the builtin ECC is optimized for memories with bitwidth ≥64-bits [9]. Note that since the basic BRAMs bitwidth is 18-bits, the memory used in our study is built by automatically cascading original BRAMs. Efficiency of the Built-in ECC This section evaluates the efficiency and overhead of this ECC in aggressive lowvoltage FPGA BRAMs, according to the behavior of undervolting faults. First, we experimentally observe that by leveraging ECC in BRAMs, the fault rate in the critical voltage region below Vmin is significantly reduced by an average more than 90% for all platforms, as detailed for VC707 in Figure 4.11. Due to the capability of the built-in ECC in FPGA BRAMs, we categorize faults into correctable (or single-bit), detectable (or double-bit), and undetectable (or multiple-bit) faults, as illustrated in Figure 4.12a. Figure 4.12b shows a histogram of these fault types, in different voltage levels at the critical voltage region, i.e., from Vmin =0.61Vto Vcrash =0.54Von VC707. We observe that: •The vast majority of these faults are correctable or detectable (but not correctable) by the built-in ECC; for instance, more than 90% and a further 7% at Vcrash =0.54Vare correctable and detectable, respectively, using the built-in ECC. This efficiency is the consequence of the inherent type of the built-in ECC, i.e., SECDED, which we experimentally find that it has very good fault 54 4.4 Fault Mitigation Techniques Columns 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Rows 0 1 2 3 4 5 . . . . . . . . . . . 1020 1021 1022 1023 BRAM (1024*18) Faulty Bitcell Healthy Bitcell single-bit (correctable) double-bit (detectable) multiple-bit (undetectable) (a) Illustration (basic size BRAM with two parity bits) (b) Trading-off power and NN accuracy. Figure 4.12: The behavior of ECC-activated BRAM faults in terms of fault types, when VCCBRAM is scaled down from Vmin =0.61Vto Vcrash =0.54Vfor VC707. 55 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS (a) NN classification error. (b) Trading-off power and NN accuracy. Figure 4.13: ECC efficiency of undervolted BRAMs on FPGA-based NN accelerator. 56 4.4 Fault Mitigation Techniques coverage due to the relatively sparse distribution of undervolting faults, as detailed in Chapter 3. •By further voltage underscaling, correctable faults manifest before detectable, and in turn, detectable faults manifest before undetectable faults. Through this observation, we leverage the built-in ECC to discover the minimum safe voltage of FPGA-based NN accelerator. The faults behavior mentioned above is the consequence of the FIP, as detailed in Chapter 3. It means that due to FIP, by further undervolting single-bit faults can be potentially converted to double-bit and similarly, double-bit faults can be potentially converted to multiple-bit faults. The Overhead of the Built-in ECC Table 4.2(a) includes the area utilization rate of the hardware design described in Section 2.1, in order to evaluate the area cost of the built-in ECC. Toward this goal, our hardware design accesses 512 memories each with the size of 1024 rows of 64-bits, which leads to a full BRAMs utilization on VC707. As can be seen, the built-in ECC does not incur considerable area cost since it is a hard-core unit and internally embedded within BRAMs structure. Also, Table 4.2(b) includes the power overhead of the built-in ECC. We report the power consumption of BRAMs at Vnom =1V,Vmin =0.61V, and Vcrash =0.54V. As can be seen, the ECC power overhead is 13mW or 4.2% at Vcrash =0.54V. In other words, the power consumption of BRAMs are reduced from 0.31W to 0.211W (31.9% power reduction) with the voltage underscaling from Vmin =0.61Vto Vcrash =0.54V, by exploiting built-in ECC to cover a vast majority of faults. 57 4. EVALUATING FPGA-BASED NN ACCELERATOR ON LOW-VOLTAGE FPGA BRAMS Table 4.2: Power and area overheads of the built-in ECC. a) Area Utilization (%) BRAM LUT FF Without ECC 96% 3% 0.25% With ECC 100% 12% 0.25% b) BRAM Power (W) Vnom= 1V Vmin= 0.61V Vcrash= 0.54V Without ECC 2.4 0.31 0.198 With ECC — — 0.211 —: Above Vmin, since there is no fault, no need for the ECC. Tested Memory Size: 512 * (1024 * 64-bits) NN on ECC-enabled BRAMs Motivated by above experiments on the efficiency of the built-in ECC, and to attain the power savings gain of the accelerator without compromising the NN accuracy, we leverage built-in ECC of FPGA BRAMs. In consequence, the NN classification error rate substantially reduces, thanks to the significant fault coverage by ECC, as shown in Figure 4.13a. For instance, the NN classification error has a 0.56% overhead, i.e., the NN error of 2.56% as the inherent error rate increases to 3.12% at VCCBRAM =Vcrash =0.54V, when BRAMs are equipped with built-in ECC. This overhead is 6.1X less than experiments on default BRAMs configuration without ECC, i.e., 3.44% vs. 0.56%. Also, since voltage scaling inversely impacts power consumption and NN error, we analyze this trade-off at below Vmin =0.61Vvolt- ages, by defining a new metric, i.e., the normalized product of power consumption and NN classification error. As can be seen in Figure 4.13b, due to this tradeoff, VCCBRAM =0.56Vis the optimal voltage level for ECC-activated case, which leads to 28.1% of power saving achievements over the Vmin =0.61V, while the classification error increases to 2.66% (0.1% overhead from the inherent fault-free 58 5.3 Power and Reliability of FPGA BRAMs versus DRAMs and SRAMs In this paper, the aforementioned phenomenon is experimentally characterized and present techniques to improve the overall system performance while ensuring reliable system operation. •SRAM: SRAMs are architecturally different than DRAMs and mainly used as cache and low-latency registers. However, the power and reliability of these memories is also a hot research topic in recent years. For instance, [166] proposed several architectural techniques that enable microprocessor caches (L1 and L2), to operate at low voltages despite very high memory cell failure rates. During high voltage operation, the proposed schemes allow the use of the entire cache; however, during the low voltage operation, they sacrifice cache capacity by up to 50% to reduce the minimum safe voltage. In the same line, other works exists to study the power and reliability in CPU caches by different techniques [44], [44], [176], [55], [148], [48], [97]. SRAMs can also be used as on-chip memories. For instance, [174] and its later version [173] evaluated the effect of supply voltage scaling in SRAMs that they specifically fabricated. They reported that the supply voltage reduction of 310mV could save 2.9X of power consumption. Also, a similar study for SRAM cells is conducted in [52]. They observed that the ratio of faults in highly reduced voltage levels is increased exponentially. In parallel to memory systems, there are many recent studies on the reliability and power optimizations of NAND Flash memories with the aim of improving the life time and reliability in presence of process variation and thermal stress, among others [99], [100], [29], [32], [31], [30], [98], [28], [27], [26]. Our thesis is an orthogonal approach to study the power and reliability of on-chip memories of real FPGAs through aggressive undervolting. 65 5. RELATED WORK 5.4 Aggressive Undervolting Below, we summarize the related work in the voltage guardband, voltage underscaling below this guardband with (without faults occurring) and without (with faults occurring) frequency scaling on commercial devices. 5.4.1 Voltage Guardband Most commercial devices are designed with a voltage guardband below the standard minimum nominal supply voltage to ensure the correct functionality in the worst case environmental and process variations. This voltage guardband is fully vendor- and system-dependent; for instance, it was measured to be 20% in modern GPUs [91] and 16% in modern DRAMs [36]. We experimentally determined the voltage guardband for Xilinx FPGA on-chip memories to be 39%. This gap provides an opportunity to decrease the supply voltage until Vmin without any reliability degradation, in our case delivering more than an order of magnitude power savings. 5.4.2 Simultaneous Voltage and Frequency Underscaling Further voltage underscaling below the guardband gap, Vmin, impacts the timing and increases the delay. In this regard, the simultaneous frequency lowering is a common approach to prevent timing violations, termed Dynamic Voltage and Frequency Scaling (DVFS). The DVFS mechanism guarantees that the design works as close to, but always above, the Critical Operating Point (COP), i.e., the point where further underscaling frequency or voltage will result in observable faults [129]. DVFS is widely studied in different computing devices such as ASICs [144], [53], [101], FPGAs [119], [121], [169], GPUs [103], [47], [177], [111], [68], CPUs [81], 66 5.4 Aggressive Undervolting [164], [66], [33], heterogeneous systems [38], [128], [131], [169], as well as memory systems [45], [46], [115], [105]. For instance, a recent DVFS mechanism implemented on FPGAs, [120], showed 70% energy savings. However, the impediment of DVFS is the performance degradation as a result of the frequency lowering, which in practice, limits the efficiency and applicability of this approach. DVFS is not targeted in this thesis. 5.4.3 Aggressive Undervolting into the Critical Voltage Regions Tackling with the increased delay in low-voltage regions below Vmin, a more aggressive approach is to allow designs to experience timing faults and in turn, tolerating faults. Characterizing and mitigating these faults can allow better power and reliability trade-offs, without performance degradation, as is for the DVFS approach. This approach is studied in some real hardware as summarized as follows. This thesis studies the procedure mentioned above, for the first time in commercial FPGAs. •Modern Processors: There are multiple studies on the voltage lowering below Vmin in modern processors [21], [110], [108], [109], [106]. For instance, [72] revisited the microarchitecture of the processor design to be adaptable in beyond COP regions to minimize the voltage at which a soft architecture encounters the maximum allowable fault rate, and [153] presented a methodology for reliability-aware design space exploration. [127] extends aggressive undervolting to multi-core CPUs and [20] leveraged built-in ECC technique to detect and mitigate undervolting faults in Intel Itanium II. •GPUs: Aggressive undervolting is also considered as a promising energy efficiency improvement technique in GPUs [158], [159]. As an example of commercial GPUs, [155] studied this approach in GPU register files and proposed 67 5. RELATED WORK an architectural solution that leverages long register dead time to enable reliable operations from unreliable register file at low voltages. •ASICs: As an example of ASICs, [163] evaluated the Floating Point Units (FPUs) under timing violations and accordingly, presented a bit-level fault model. Moreover, other components such as single CPU cores [57], Network On-Chips (NOCs) [18], [133], [137], caches [17], [107] as well as memory systems that is briefly surveyed in Section 5.3 are also studied by considering the aggressive undervolting effects. To detect and/or mitigate faults several general techniques are proposed in different domains such as TMR [168], Razor [50], [151], ECC using Hamming code [171], Hardware Transnational Memory (HTM) [170], among others. These techniques can be potentially customized to detect and/or mitigate timing faults in low-voltage regions, as well; however, with timing, area, or power costs. Unlike these relatively higher-overhead techniques, we performed our study to understand the behavior of faults under low-voltage operations comprehensively and accordingly, develop application-dependent efficient mitigation technique, more specifically experimented on FPGA-based NN accelerator. Finally, [50] proposed Razor as fault detection and mitigation technique that can be potentially exploited to deal with the timing faults in low voltage regions, as well. For instance, [92] studied the efficiency of Razor latches for FPGAs. It has been shown that the area overhead of this technique is significant. Instead of this high-overhead technique, we evaluate the built-in ECC of BRAMs to mitigate faults. 5.5 Recent Related Studies on NNs NNs are inherently power-hungry applications, due to the computational, storage, and data movement required for the large matrices. Addressing this concern, 68 5.5 Recent Related Studies on NNs several application-level power-optimization techniques are proposed such as lowprecision data representation model [60], node pruning [178], data compressing [61], among others. These techniques are customized for different underlying platforms such as CPUs, GPUs, FPGAs, and ASICs, as in detail surveyed in [154]. Alternatively, as an architecture-level power-savings technique, voltage underscaling of the underlying hardware is a promising approach. Since it has been shown that NNs are inherently resilient and can tolerate with quite high fault rates [161], [132], [157], the voltage lowering can lead to significant power savings. Below, we summarize recent works on the voltage scaling and the subsequent resilience studies, i.e., fault characterization and/or mitigation for NNs. The vast majority of works are simulations-based; however, there are a few efforts on real hardware, as well. 5.5.1 Simulation-Based Resilience Study of Low-voltage NNs A vast majority of existing efforts on the NNs fault tolerance study is based on either fault injection in the software level or theoretical analysis, as surveyed in [161]. More specifically, aggressive voltage underscaling has been recently studied mostly on ASIC-based NN accelerators. For instance, Minerva proposed an automated codesign approach across the algorithm, architecture, and circuit levels to optimize ASIC accelerators of fully-connected NN using SPICE simulations for low-voltage SRAMs [135]. As another recent effort, ThUnderVolt is proposed as a framework to enable the voltage scaling study on ASIC-based Deep NN (DNN) accelerators; however, they modeled timing faults via post-synthesis gate-level simulations in ModelSim [180]. In the same line, [179] presents an in-memory NN classifier in standard SRAM array and performs the subsequent fault study under low voltage operations; however, through Monte Carlo simulations. It is evident that this 69 5. RELATED WORK approach lacks the exact information of the fault model under very low-voltage operations and their validation on the silicon remains a key question. Also, recently [80] studied the NN accelerator in the learning phase with low-voltage SRAM cells through circuit-level simulations. In [69], fault injection in the hardware neural network is studied by modeling the temperature and voltage variations. 5.5.2 Real Hardware-Based Resilience Study of Low-voltage NNs There is little publicly-available work on the aggressive voltage scaling for NN applications on real-hardware; however, there are some efforts for ASICs and SRAMs, as summarized below: – ASICs: There are several energy-efficient fabricated ASIC for NNs, e.g., Google TPU [70], Eyeriss [42], YodaNN [16], and [165]. One of the contributions to achieving energy efficiency in these accelerators is the nominal voltage underscaling in comparison to the state-of-the-art. However, only [165] has briefly studied the behavior of NN below nominal level scaling beyond COP. They fabricated a 28nm System-On-Chip (SOC) with a programmable accelerator design for fullyconnected NN, where a Razor circuit is used to detect timing faults in the datapath of aggressively reduced voltages. However, this paper targeted ASICs and did not propose a detailed fault characterization study on NNs. – SRAMs: [174], [173] proposed a partially silicon-validated NN study on aggressively reduced voltage on SRAMs. In other words, they fabricated an 8KB SRAM with 28nm technology and evaluated the resilience of NN, while input images are located on the reduced-voltage SRAM. However, its drawbacks are that i) without detailed bit-level characterization, ii) this study is on only input data (not weights), and iii) a software-level NN is used (the computations of NN are performed on MATLAB), which does not allow to apply any mitigation technique on the datapath of NN on the silicon. Also, tests are performed on specialized SRAM 70 5.5 Recent Related Studies on NNs cells, not on standard SRAM library cell, which makes it difficult to expand the results of this paper for real accelerators. The key novelty of our FPGA-based NN accelerator is to experimentally study the effect of the aggressive undervolting to power and reliability of such a design. To the best of our knowledge, this thesis is the first experimental effort in this area. 71 6 Conclusion We conclude the thesis, discuss findings, and look into windows opened by this thesis. 6.1 Summary and Conclusion FPGAs are widely-used processing devices, thanks to their massively parallel architecture and for efficient streaming execution model. However, the power/energy efficiency of FPGAs is the main concern, especially when compared against ASICs. To effectively alleviate this issue, we evaluated aggressive undervolting, i.e., supply voltage underscaling below the standard nominal level. Since the power consumption of digital circuits, e.g., FPGAs is directly related to their supply voltage level, the aggressive undervolting approach exhibited significant potential to deliver energy saving of such devices. This thesis aims of this thesis was to study the potential of aggressive undervolting for commercial FPGAs experimentally. Below the standard nominal voltage level, usually, large voltage guardbands are added by chip vendors to account for the worst-case process and environmental scenarios. However, in real-world applications, these voltage margins are unnecessarily conservative and eliminating them can directly deliver significant power 73 6. CONCLUSION and energy efficiency without compromising to the performance or reliability. We experimentally evaluated this voltage guardbands for state-of-the-art commercial FPGAs. Our experiments included several representative platforms from Xilinx, a main vendor, i.e., VC707 (performance-optimized architecture), ZC702 (FPGA with integrated ARM-core), and two identical samples of KC705 (power-optimized architecture) platforms. Through experimental analysis on these platforms, we found that underscaling the supply voltage until a certain level, i.e., minimum safe voltage or Vmin, does not introduce any observable fault. We experimentally confirmed the large voltage gap for all platforms that we study. For instance, for on-chip BRAMs the voltage guardband was measured to be on average 39% of the nominal level, which in turn, resulted in more than an order of magnitude of BRAMs power/energy. However, we experimentally observed that further undervolting below the voltage guardband at Vmin, caused reliability issues, as the result of the circuit delay increase. For this voltage region below Vmin, we performed a detailed reliability study with preliminary focusing on BRAMs, since they play crucial roles in the FPGA-based designs and also, according to voltage distribution architecture of the studied platforms, the supply voltage of BRAMs are allowed to be independently regulated. We extensively characterized the bit-level behavior of these faults in terms of rate, location, type, the impact of the environmental conditions, etc. We exploited this detailed information for deploying fault mitigation techniques. More specifically, we experimentally observed that by further undervolting below Vmin, the fault rate exponentially increases; however, it varies for different studied platforms, which is the consequence of the process variation and architectural differences among them. Also, for all platforms that we study, we observed that i) faults are fully non-uniformly distributed over various BRAMs, ii) a vast majority of these faults are single-bit, iii) by on average 99.9% of these faults manifest 74 6.3 Future of Aggressive FPGAs Undervolting studied platforms, the voltage regulator is hardwired to the host (not to the FPGA). It means that voltage adjusting needs to be applied by software running at the host. This is another practical constraint that we observed, and the solution is to be able to regulate supply voltage from the FPGA logic, which can facilitate to implement dynamic voltage scaling techniques. We hope that this thesis can convince vendors to take this suggestion into account for their future board designs. •Analytically modeling and confirmation of the experimental studies: We experimentally analyzed the power and reliability behavior of FPGAs as well as detailed fault characterization of BRAMs under aggressively low-voltage operations. However, to analytically modeling and in turn, confirming our experimental results, detailed circuit-level information of the internal FPGA architecture is required. Unfortunately, there is very limited publicly available information from the circuit-level structure of commercial FPGAs components, which, in turn, we did not find the chance to extend our work to analytically models, as well. 81 7 Publications The work of the thesis has resulted in the following peer-reviewed publications. 7.1 Publications from the Thesis •Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman, "Comprehensive Evaluation of Supply Voltage Underscaling in FPGA on-chip Memories.", in 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO), 2018. •Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman, "Fault Characterization Through FPGAs Undervolting.", in 28th International Conference on Field Programmable Logic & Applications (FPL), 2018. •Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman, "A Demo of FPGA Aggressive Voltage Downscaling: Power and Reliability Tradeoffs.", in 28th International Conference on Field Programmable Logic & Applications (FPL), 2018. •Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman, "Under- Volt_FNN: An Energy-Efficient and Fault-Resilient Low-Voltage FPGA-based 83 7. PUBLICATIONS DNN Accelerator", in 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO) ACM Student Research Competition (SRC), 2018. 7.2 Publications not Included in the Thesis •Behzad Salami, Osman S. Unsal, and Adrian Cristal Kestelman, "On the Resilience of RTL NN Accelerators: Fault Characterization and Mitigation.", in High Performance Machine Learning Workshop (HPML) in conjunction with 30th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD), 2018 •Behzad Salami, Gorker Alp Malazgirt, Oriol Arcas-Abella, Arda Yurdakul, and Nehir Sonmez, "AxleDB: A novel programmable query processing platform on FPGA.", in Elsevier Microprocessors and Microsystems - Embedded Hardware Design (MICPRO), vol. 51, pp. 142-164, 2017. •Oriol Arcas-Abella, Adria Armejach, Timothy Hayes, Gorker Alp Malazgirt, Oscar Palomar, Behzad Salami, and Nehir Sonmez, "Hardware Acceleration for Query Processing: Leveraging FPGAs, CPUs, and Memory.", in IEEE Computing in Science and Engineering (CISE), vol. 18(1), pp. 80-87, 2016. •Behzad Salami, Oriol Arcas-Abella, Nehir Sonmez, Osman S. Unsal, and Adrian Cristal Kestelman, "Accelerating Hash-Based Query Processing Operations on FPGAs by a Hash Table Caching Technique.", in Springer Communications in Computer and Information Science (CCIS), presented in Latin American Conference on High Performance Computing (CARLA), pp. 131-145, 2016. •Behzad Salami, Oriol Arcas-Abella, and Nehir Sonmez, "HATCH: Hash Table Caching in Hardware for Efficient Relational Join on FPGA.", in 23th 84 7.2 Publications not Included in the Thesis IEEE International Symposium on Field-Programmable Custom Computing Machines (FCCM), pp. 163, 2015. 85 List of Figures 1.1 FPGAs among other digital devices (source: Intel/Altera [2]). . . . . 2 1.2 Voltage scaling in in Xilinx device family generations [10]. ..... 3 1.3 Detailed energy efficiency of FPGAs [1]. ................ 5 2.1 On-board voltage regulator for FPGAs, shown for VC707 [11]. . . . . 13 2.2 FPGA platform undervolting until the crash voltage level, shown for VC707 [11]................................... 14 2.3 Status LEDs under different voltages, shown for VC707 [11]...... 14 2.4 Minimized Idle power consumption through undervolting as detailed in Figure 2.2, shown for VC707 [11]. ............... 15 2.5 Undervolting FPGA components, i.e., Internal (VCCINT) and BRAM (VCCBRAM) voltages. (SAFE: no observable fault occur. CRITICAL: faults manifest. CRASH: FPGA stops operating.) . . . . . . . . . . . 17 2.6 Experimental setup to perform fault characterization through FPGA BRAMs aggressive voltage underscaling. . . . . . . . . . . . . . . . . 18 87 7. PUBLICATIONS 2.7 Major observations under low-voltage operations in FPGA BRAMs for studied commercial platforms. * Different scales for different charts. ** power results are reported as mWatts in ZC702 and in Watts for others. *** At ambient temperature. . . . . . . . . . . . . . . 20 2.8 The impact of the data pattern in the fault rate on VC707 (similar behavior is observed for other platforms.) . . . . . . . . . . . . . . . . 21 3.1 Clustering BRAMs to low-, mid-, and high-vulnerable classes using K-mean algorithm. * This figure shows the clustering at Vcrash = 0.54Vfor only VC707 since very similar behavior is observed for otherplatforms................................ 25 3.2 BRAMs Fault Variation Map (FVM), scaling VCCBRAM from Vmin = 0.61Vto Vcrash =0.54V. * Each small rectangular box represents a BRAM mapped to the corresponding X and Y physical location on FPGA, shown for Virtex-7 FPGA in VC707 platform containing 2060 BRAMs. ** White boxes represent the empty physical locations of BRAMs. *** For a clearer representation, other FPGA components such as LUTs and DSPs are not shown. . . . . . . . . . . . . . . . . . 26 3.3 Illustration of column-wise fault distraction within BRAMs. . . . . . 27 3.4 Column-wise fault characterization within BRAMs. * Shown for VCCBRAM at Vcrash =0.54VforVC707................... 28 3.5 Row-wise fault characterization within BRAMs. * Shown for VCCBRAM at Vcrash =0.54VforVC707......................... 29 3.6 FVM for two identical samples of KC705 at Vcrash. Different fault rates and fault locations (FVM) are experimentally observed. . . . . 29 3.7 Further analysis of faults location, undervolting BRAMs from Vmin = 0.61Vto Vcrash =0.54V, shown for VC707. . . . . . . . . . . . . . . . 31 88 7.2 Publications not Included in the Thesis 3.8 The correlation among on-board temperature, supply voltage of BRAMs, technology, and fault rate. * x-axis: VCCBRAM from Vmin =0.61Vto Vcrash =0.54V. ** y-axis: the fault rate per 1Mbit. . . . . . . . . . . . 32 3.9 Different fault rate changes of the studied FPGA platforms over different temperatures at VCCBRAM =Vcrash................. 33 4.1 The overall methodology to resilience study of the RTL NN Accelerator. ..................................... 38 4.2 Minimum precision to represent data of RTL NN, i.e., Inputs (IRs), Weighs (WRs), and Intermediate (IMRs)................. 40 4.3 On-chip power breakdown of our FPGA-based NN at Vnom,Vmin, and Vcrash (VC707). Rest includes on-chip power consumption of DSPs, LUTs, routing resource, etc. . . . . . . . . . . . . . . . . . . . . . . . . 41 4.4 Impact of BRAM voltage scaling in the NN classification error, lowering VCCBRAM from Vmin =0.61Vto Vcrash =0.54V. ......... 41 4.5 Methodology of Intelligently-Constrained BRAM Placement (ICBP). 43 4.6 Statistical analysis of NN layers: size (#BRAMs), #Faults (at Vcrash = 0.54V), and normalized vulnerability. . . . . . . . . . . . . . . . . . . 45 4.7 Pblocks and its Impact in the Schematic of the NN Design Placement inVC707Platform.............................. 47 4.8 Evaluating our fault mitigation technique, i.e.,ICBP........... 49 4.9 "ICBP-1" mitigation on various VCCBRAMsin [Vmin =0.61V,Vcrash = 0.54V]. .................................... 50 4.10 Efficiency of ICBP on FPGA-based NN accelerator for Forest and Reuters benchmarks on VC707. * Different scales in y-axis. . . . . . 51 4.11 The efficiency of ECC to mitigate undervolting faults in the critical voltage regions below Vmin ........................ 53 89 7. PUBLICATIONS 4.12 The behavior of ECC-activated BRAM faults in terms of fault types, when VCCBRAM is scaled down from Vmin =0.61Vto Vcrash =0.54V forVC707. .................................. 55 4.13 ECC efficiency of undervolted BRAMs on FPGA-based NN accelerator. 56 90 BIBLIOGRAPHY (2017). Very Low Voltage (VLV) Design. In Computer Design (ICCD), 2017 IEEE International Conference on, 601–604, IEEE. 4 [23] Binkert, N., Beckmann, B., Black, G., Reinhardt, S.K., Saidi, A., Basu, A., Hestness, J., Hower, D.R., Krishna, T., Sardashti, S. et al. (2011). GEM5: A multiple-ISA full system simulator with detailed memory model. Computer Architecture News,39.63 [24] Blackard, J.A. (2000). Comparison of neural networks and discriminant analysis in predicting forest cover types. 37,39,42,51 [25] Cachopo, A.M.d.J.C. (2007). Improving methods for single-label text categorization. Instituto Superior Técnico, Portugal.37,39,42,51 [26] Cai, Y., Haratsch, E.F., Mutlu, O. & Mai, K. (2012). Error patterns in MLC NAND flash memory: Measurement, characterization, and analysis. In Proceedings of the Conference on Design, Automation and Test in Europe, 521–526, EDA Consortium. 65 [27] Cai, Y., Haratsch, E.F., Mutlu, O. & Mai, K. (2013). Threshold voltage distribution in MLC NAND flash memory: Characterization, analysis, and modeling. In Proceedings of the Conference on Design, Automation and Test in Europe, 1285–1290, EDA Consortium. 65 [28] Cai, Y., Yalcin, G., Mutlu, O., Haratsch, E.F., Unsal, O., Cristal, A. & Mai, K. (2014). Neighbor-cell assisted error correction for MLC NAND flash memories. In ACM SIGMETRICS Performance Evaluation Review, vol. 42, 491– 504, ACM. 65 [29] Cai, Y., Luo, Y., Ghose, S. & Mutlu, O. (2015). Read disturb errors in MLC NAND flash memory: Characterization, mitigation, and recovery. In Depend- 96 BIBLIOGRAPHY able Systems and Networks (DSN), 2015 45th Annual IEEE/IFIP International Conference on, 438–449, IEEE. 65 [30] Cai, Y., Luo, Y., Haratsch, E.F., Mai, K. & Mutlu, O. (2015). Data retention in MLC NAND flash memory: Characterization, optimization, and recovery. In High Performance Computer Architecture (HPCA), 2015 IEEE 21st International Symposium on, 551–563, IEEE. 65 [31] Cai, Y., Ghose, S., Luo, Y., Mai, K., Mutlu, O. & Haratsch, E.F. (2017). Vulnerabilities in MLC NAND flash memory programming: experimental analysis, exploits, and mitigation techniques. In 2017 IEEE International Symposium on High-Performance Computer Architecture (HPCA), 49–60, IEEE. 65 [32] Cai, Y., Luo, Y., Haratsch, E.F., Mai, K., Ghose, S. & Mutlu, O. (2018). Experimental Characterization, Optimization, and Recovery of Data Retention Errors in MLC NAND Flash Memory. arXiv preprint arXiv:1805.02819.65 [33] Calore, E., Gabbana, A., Schifano, S. & Tripiccione, R. (2018). Software and DVFS tuning for performance and energy-efficiency on Intel KNL processors. Journal of Low Power Electronics and Applications,8, 18. 67 [34] Chandrasekar, K., Akesson, B. & Goossens, K. (2011). Improved power modeling of DDR SDRAMs. In Digital System Design (DSD), 2011 14th Euromicro Conference on, 99–108, IEEE. 63 [35] Chandrasekar, K., Goossens, S., Weis, C., Koedam, M., Akesson, B., Wehn, N. & Goossens, K. (2014). Exploiting expendable process-margins in DRAMs for run-time performance optimization. In Proceedings of the conference on Design, Automation & Test in Europe, 173, European Design and Automation Association. 63 97 BIBLIOGRAPHY [36] Chang, K.K., Ya˘ alikçi, A.G., Ghose, S., Agrawal, A., Chatterjee, N., Kashyap, A., Lee, D., O’Connor, M., Hassan, H. & Mutlu, O. (2017). Understanding reduced-voltage operation in modern DRAM devices: Experimental characterization, analysis, and mechanisms. Proceedings of the ACM on Measurement and Analysis of Computing Systems,1, 10. 4,33,34,52,63,64,66 [37] Chang, K.K., Yaglikçi, A.G., Ghose, S., Agrawal, A., Chatterjee, N., Kashyap, A., Lee, D., O’Connor, M., Hassan, H. & Mutlu, O. (2018). Voltron: Understanding and Exploiting the Voltage-Latency-Reliability Trade-Offs in Modern DRAM Chips to Improve Energy Efficiency. arXiv preprint arXiv:1805.03175.63,64 [38] Chau, V., Chu, X., Liu, H. & Leung, Y.W. (2017). Energy Efficient Job Scheduling with DVFS for CPU-GPU Heterogeneous Systems. In Proceedings of the Eighth International Conference on Future Energy Systems, 1–11, ACM. 67 [39] Che, Z., Purushotham, S., Khemani, R. & Liu, Y. (2015). Distilling knowledge from deep networks with applications to healthcare domain. arXiv preprint arXiv:1512.03542.7 [40] Chen, D., Cong, J. & Fan, Y. (2003). Low-power high-level synthesis for FPGA architectures. In Proceedings of the 2003 international symposium on Low power electronics and design, 134–139, ACM. 61 [41] Chen, D., Cong, J., Pan, P. et al. (2006). FPGA design automation: A survey. Foundations and Trends R in Electronic Design Automation,1, 195–330. 61 [42] Chen, Y.H., Krishna, T., Emer, J.S. & Sze, V. (2017). Eyeriss: An energyefficient reconfigurable accelerator for deep convolutional neural networks. IEEE Journal of Solid-State Circuits,52, 127–138. 36,70 98 BIBLIOGRAPHY [43] Cheon, Y., Ho, P.H., Kahng, A.B., Reda, S. & Wang, Q. (2005). Power-aware placement. In Design Automation Conference, 2005. Proceedings. 42nd, 795–800, IEEE. 5 [44] Chishti, Z., Alameldeen, A.R., Wilkerson, C., Wu, W. & Lu, S.L. (2009). Improving cache lifetime reliability at ultra-low voltages. In Proceedings of the 42nd Annual IEEE/ACM International Symposium on Microarchitecture, 89–99, ACM. 65 [45] David, H., Fallin, C., Gorbatov, E., Hanebutte, U.R. & Mutlu, O. (2011). Memory power management via dynamic voltage/frequency scaling. In Proceedings of the 8th ACM international conference on Autonomic computing, 31–40, ACM. 67 [46] Deng, Q., Meisner, D., Bhattacharjee, A., Wenisch, T.F. & Bianchini, R. (2012). Coscale: Coordinating cpu and memory system dvfs in server systems. In Proceedings of the 2012 45th Annual IEEE/ACM International Symposium on Microarchitecture, 143–154, IEEE Computer Society. 67 [47] Dutta, B., Adhinarayanan, V. & Feng, W.c. (2018). GPU power prediction via ensemble machine learning for DVFS space exploration. In Proceedings of the 15th ACM International Conference on Computing Frontiers, 240–243, ACM. 66 [48] Duwe, H., Jian, X., Petrisko, D. & Kumar, R. (2016). Rescuing uncorrectable fault patterns in on-chip memories through error pattern transformation. In Computer Architecture (ISCA), 2016 ACM/IEEE 43rd Annual International Symposium on, 634–644, IEEE. 65 99 BIBLIOGRAPHY [49] Elléouet, D., Savary, Y. & Julien, N. (2006). An FPGA power aware design flow. In International Workshop on Power and Timing Modeling, Optimization and Simulation, 415–424, Springer. 5 [50] Ernst, D., Kim, N.S., Das, S., Pant, S., Rao, R., Pham, T., Ziesler, C., Blaauw, D., Austin, T., Flautner, K. et al. (2003). Razor: A low-power pipeline based on circuit-level timing speculation. In Proceedings of the 36th annual IEEE/ACM International Symposium on Microarchitecture, 7, IEEE Computer Society. 52,68 [51] Esteva, A., Kuprel, B., Novoa, R.A., Ko, J., Swetter, S.M., Blau, H.M. & Thrun, S. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature,542, 115. 7 [52] Ganapathy, S., Kalamatianos, J., Kasprak, K. & Raasch, S. (2017). On characterizing near-threshold SRAM failures in FinFET technology. In Proceedings of the 54th Annual Design Automation Conference 2017, 53, ACM. 65 [53] Garg, D. (2018). Power Reduction using Dynamic Voltage and Frequency Scaling (DVFS) Technique. 66 [54] Gayasen, A., Lee, K., Vijaykrishnan, N., Kandemir, M., Irwin, M.J. & Tuan, T. (2004). A dual-vdd low power FPGA architecture. In International Conference on Field Programmable Logic and Applications, 145–157, Springer. 61 [55] Ghasemi, H.R., Draper, S.C. & Kim, N.S. (2011). Low-voltage on-chip cache architecture using heterogeneous cell sizes for high-performance processors. In High Performance Computer Architecture (HPCA), 2011 IEEE 17th International Symposium on, 38–49, IEEE. 65 100 BIBLIOGRAPHY [56] Ghose, S., Ya˘ glikçi, A.G., Gupta, R., Lee, D., Kudrolli, K., Liu, W.X., Hassan, H., Chang, K.K., Chatterjee, N., Agrawal, A. et al. (2018). What Your DRAM Power Models Are Not Telling You: Lessons from a Detailed Experimental Study. arXiv preprint arXiv:1807.05102.63 [57] Gopireddy, B., Song, C., Torrellas, J., Kim, N.S., Agrawal, A. & Mishra, A. (2016). ScalCore: Designing a core for voltage scalability. In High Performance Computer Architecture (HPCA), 2016 IEEE International Symposium on, 681–693, IEEE. 68 [58] Gottscho, M., BanaiyanMofrad, A., Dutt, N., Nicolau, A. & Gupta, P. (2014). Power/capacity scaling: Energy savings with simple fault-tolerant caches. In Proceedings of the 51st Annual Design Automation Conference, 1–6, ACM. 30 [59] Guo, K., Zeng, S., Yu, J., Wang, Y. & Yang, H. (2017). A Survey of FPGA Based Neural Network Accelerator. arXiv preprint arXiv:1712.08934.1,7,40 [60] Gupta, S., Agrawal, A., Gopalakrishnan, K. & Narayanan, P. (2015). Deep learning with limited numerical precision. In International Conference on Machine Learning, 1737–1746. 38,69 [61] Han, S., Liu, X., Mao, H., Pu, J., Pedram, A., Horowitz, M.A. & Dally, W.J. (2016). EIE: efficient inference engine on compressed deep neural network. In Computer Architecture (ISCA), 2016 ACM/IEEE 43rd Annual International Symposium on, 243–254, IEEE. 69 [62] Hassan, H., Vijaykumar, N., Khan, S., Ghose, S., Chang, K., Pekhimenko, G., Lee, D., Ergin, O. & Mutlu, O. (2017). SoftMC: A flexible and practical open-source infrastructure for enabling experimental DRAM studies. In 101 BIBLIOGRAPHY 2017 IEEE International Symposium on High-Performance Computer Architecture (HPCA), 241–252, IEEE. 63 [63] Hsu, J. (2014). IBM’s new brain [News]. IEEE spectrum,51, 17–19. 7,77 [64] Hwang, A.A., Stefanovici, I.A. & Schroeder, B. (2012). Cosmic rays don’t strike twice: understanding the nature of DRAM errors and the implications for system design. In ACM SIGPLAN Notices, vol. 47, 111–122, ACM. 63 [65] Ingle, S. & Phute, M. (2016). Tesla autopilot: semi autonomous driving, an uptick for future autonomy. International Research Journal of Engineering and Technology,3.7 [66] Jevti´ c, R., Le, H.P., Blagojevi´ c, M., Bailey, S., Asanovi´ c, K., Alon, E. & Nikoli´ c, B. (2015). Per-core DVFS with switched-capacitor converters for energy efficiency in manycore processors. IEEE Transactions on Very Large Scale Integration (VLSI) Systems,23, 723–730. 67 [67] Jia, F., Lei, Y., Lin, J., Zhou, X. & Lu, N. (2016). Deep neural networks: A promising tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data. Mechanical Systems and Signal Processing, 72, 303–315. 7 [68] Jiao, Q., Lu, M., Huynh, H.P. & Mitra, T. (2015). Improving GPGPU energyefficiency through concurrent kernel execution and DVFS. In Proceedings of the 13th annual IEEE/ACM international symposium on code generation and optimization, 1–11, IEEE Computer Society. 66 [69] Jiao, X., Luo, M., Lin, J.H. & Gupta, R.K. (2017). An assessment of vulnerability of hardware neural networks to dynamic voltage and temperature 102 BIBLIOGRAPHY variations. In Proceedings of the 36th International Conference on Computer-Aided Design, 945–950, IEEE Press. 70 [70] Jouppi, N.P., Young, C., Patil, N., Patterson, D., Agrawal, G., Bajwa, R., Bates, S., Bhatia, S., Boden, N., Borchers, A. et al. (2017). In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture, 1–12, ACM. 7,70, 77 [71] Jung, M., Mathew, D.M., Rheinländer, C.C., Weis, C. & Wehn, N. (2017). A Platform to Analyze DDR3 DRAM’s Power and Retention Time. IEEE Design & Test,34, 52–59. 63 [72] Kahng, A.B., Kang, S., Kumar, R. & Sartori, J. (2010). Designing a processor from the ground up to allow voltage/reliability tradeoffs. In High Performance Computer Architecture (HPCA), 2010 IEEE 16th International Symposium on, 1–11, IEEE. 4,67 [73] Kang, Y., Hauswald, J., Gao, C., Rovinski, A., Mudge, T., Mars, J. & Tang, L. (2017). Neurosurgeon: Collaborative intelligence between the cloud and mobile edge. ACM SIGPLAN Notices,52, 615–629. 7 [74] Kara, K., Alistarh, D., Alonso, G., Mutlu, O. & Zhang, C. (2017). FPGA- accelerated dense linear machine learning: A precision-convergence tradeoff. In 2017 IEEE 25th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), 160–167, IEEE. 1,36 [75] Khan, S., Lee, D., Kim, Y., Alameldeen, A.R., Wilkerson, C. & Mutlu, O. (2014). The efficacy of error mitigation techniques for DRAM retention failures: A comparative experimental study. In ACM SIGMETRICS Performance Evaluation Review, vol. 42, 519–532, ACM. 63 103 BIBLIOGRAPHY [76] Khan, S., Lee, D. & Mutlu, O. (2016). PARBOR: An efficient system-level technique to detect data-dependent failures in DRAM. In Dependable Systems and Networks (DSN), 2016 46th Annual IEEE/IFIP International Conference on, 239–250, IEEE. 63 [77] Khan, S., Wilkerson, C., Lee, D., Alameldeen, A.R. & Mutlu, O. (2017). A case for memory content-based detection and mitigation of data-dependent failures in DRAM. IEEE Computer Architecture Letters,16, 88–93. 63 [78] Khan, S., Wilkerson, C., Wang, Z., Alameldeen, A.R., Lee, D. & Mutlu, O. (2017). Detecting and mitigating data-dependent DRAM failures by exploiting current memory content. In Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture, 27–40, ACM. 63 [79] Kim, J.S., Patel, M., Hassan, H. & Mutlu, O. (2018). The DRAM Latency PUF: Quickly Evaluating Physical Unclonable Functions by Exploiting the Latency-Reliability Tradeoff in Modern Commodity DRAM Devices. In High Performance Computer Architecture (HPCA), 2018 IEEE International Symposium on, 194–207, IEEE. 63 [80] Kim, S., Howe, P., Moreau, T., Alaghi, A., Ceze, L. & Sathe, V. (2018). MATIC: Learning around errors for efficient low-voltage neural network accelerators. In Design, Automation & Test in Europe Conference & Exhibition (DATE), 2018, 1–6, IEEE. 70 [81] Kim, S.g., Eom, H., Yeom, H.Y. & Min, S.L. (2014). Energy-centric DVFS controlling method for multi-core platforms. Computing,96, 1163–1177. 66 [82] Kim, Y., Daly, R., Kim, J., Fallin, C., Lee, J.H., Lee, D., Wilkerson, C., Lai, K. & Mutlu, O. (2014). Flipping bits in memory without accessing them: An ex- 104 BIBLIOGRAPHY perimental study of DRAM disturbance errors. In ACM SIGARCH Computer Architecture News, vol. 42, 361–372, IEEE Press. 63 [83] Kuon, I. & Rose, J. (2007). Measuring the gap between FPGAs and ASICs. IEEE Transactions on computer-aided design of integrated circuits and systems,26, 203–215. 4 [84] Lamoureux, J. & Luk, W. (2008). An overview of low-power techniques for field-programmable gate arrays. In Adaptive Hardware and Systems, 2008. AHS’08. NASA/ESA Conference on, 338–345, IEEE. 61 [85] Lamoureux, J. & Wilton, S.J. (2003). On the interaction between poweraware FPGA CAD algorithms. In Proceedings of the 2003 IEEE/ACM international conference on Computer-aided design, 701, IEEE Computer Society. 5 [86] Lane, N.D. & Georgiev, P. (2015). Can deep learning revolutionize mobile sensing? In Proceedings of the 16th International Workshop on Mobile Computing Systems and Applications, 117–122, ACM. 7 [87] LeCun, Y., Bottou, L., Bengio, Y. & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE,86, 2278– 2324. 37,39 [88] Lee, D., Kim, Y., Pekhimenko, G., Khan, S., Seshadri, V., Chang, K. & Mutlu, O. (2015). Adaptive-latency DRAM: Optimizing DRAM timing for the common-case. In High Performance Computer Architecture (HPCA), 2015 IEEE 21st International Symposium on, 489–501, IEEE. 63 [89] Lee, D., Khan, S., Subramanian, L., Ghose, S., Ausavarungnirun, R., Pekhimenko, G., Seshadri, V. & Mutlu, O. (2017). Design-induced latency 105 BIBLIOGRAPHY [130] Patel, M., Kim, J.S. & Mutlu, O. (2017). The reach profiler (REAPER): Enabling the mitigation of DRAM retention failures via profiling at aggressive conditions. ACM SIGARCH Computer Architecture News,45, 255–268. 63 [131] Pathania, A., Jiao, Q., Prakash, A. & Mitra, T. (2014). Integrated CPU-GPU power management for 3D mobile games. In Design Automation Conference (DAC), 2014 51st ACM/EDAC/IEEE, 1–6, IEEE. 67 [132] Phatak, D.S. & Koren, I. (1995). Complete and partial fault tolerance of feedforward neural nets. IEEE Transactions on Neural Networks,6, 446–456. 36, 69 [133] Pothukuchi, R.P., Ansari, A., Gopireddy, B. & Torrellas, J. (2017). Sthira: A Formal Approach to Minimize Voltage Guardbands under Variation in Networks-on-Chip for Energy Efficiency. In Parallel Architectures and Compilation Techniques (PACT), 2017 26th International Conference on, 260–272, IEEE. 68 [134] Putnam, A., Caulfield, A.M., Chung, E.S., Chiou, D., Constantinides, K., Demme, J., Esmaeilzadeh, H., Fowers, J., Gopal, G.P., Gray, J. et al. (2014). A reconfigurable fabric for accelerating large-scale datacenter services. ACM SIGARCH Computer Architecture News,42, 13–24. 7,77 [135] Reagen, B., Whatmough, P., Adolf, R., Rama, S., Lee, H., Lee, S.K., Hernández-Lobato, J.M., Wei, G.Y. & Brooks, D. (2016). Minerva: Enabling low-power, highly-accurate deep neural network accelerators. In ACM SIGARCH Computer Architecture News, vol. 44, 267–278, IEEE Press. 4,7,36, 42,62,69 112 BIBLIOGRAPHY [136] Rosenfeld, P., Cooper-Balis, E. & Jacob, B. (2011). DRAMSim2: A cycle accurate memory system simulator. IEEE Computer Architecture Letters,10, 16–19. 63 [137] Sadrosadati, M., Mirhosseini, A., Aghilinasab, H. & Sarbazi-Azad, H. (2015). An efficient dvs scheme for on-chip networks using reconfigurable virtual channel allocators. In Low Power Electronics and Design (ISLPED), 2015 IEEE/ACM International Symposium on, 249–254, IEEE. 68 [138] Salami, B., Zamani, M.S. & Jahanian, A. (2011). VMAP: A variation mapaware placement algorithm for leakage power reduction in FPGAs. In Digital System Design (DSD), 2011 14th Euromicro Conference on, 81–87, IEEE. 61 [139] Salami, B., Arcas-Abella, O. & Sonmez, N. (2015). HATCH: hash table caching in hardware for efficient relational join on FPGA. In Field- Programmable Custom Computing Machines (FCCM), 2015 IEEE 23rd Annual International Symposium on, 163–163, IEEE. 1 [140] Salami, B., Arcas-Abella, O., Sonmez, N., Unsal, O. & Kestelman, A.C. (2016). Accelerating Hash-Based Query Processing Operations on FPGAs by a Hash Table Caching Technique. In Latin American High Performance Computing Conference, 131–145, Springer. 1 [141] Salami, B., Malazgirt, G.A., Arcas-Abella, O., Yurdakul, A. & Sonmez, N. (2017). AxleDB: A novel programmable query processing platform on FPGA. Microprocessors and Microsystems,51, 142–164. 1 [142] Salami, B., Unsal, O. & Cristal, A. (2018). On the Resilience of RTL NN Accelerators: Fault Characterization and Mitigation. High Performance Machine Learning Workshop (HPML) in conjunction with 30th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD).44 113 BIBLIOGRAPHY [143] Sallab, A.E., Abdou, M., Perot, E. & Yogamani, S. (2017). Deep reinforcement learning framework for autonomous driving. Electronic Imaging,2017, 70–76. 7 [144] Santoro, G., Casu, M.R., Peluso, V., Calimera, A. & Alioto, M. (2018). Design-Space Exploration of Pareto-Optimal Architectures for Deep Learning with DVFS. In Circuits and Systems (ISCAS), 2018 IEEE International Symposium on, 1–5, IEEE. 66 [145] Sarangi, S.R., Greskamp, B., Teodorescu, R., Nakano, J., Tiwari, A. & Torrellas, J. (2008). VARIUS: A model of process variation and resulting timing errors for microarchitects. IEEE Transactions on Semiconductor Manufacturing, 21, 3–13. 27 [146] Schmidhuber, J. (2015). Deep learning in neural networks: An overview. Neural networks,61, 85–117. 7 [147] Silver, D., Huang, A., Maddison, C.J., Guez, A., Sifre, L., Van Den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M. et al. (2016). Mastering the game of Go with deep neural networks and tree search. nature,529, 484. 7 [148] Son, Y.H., Lee, S., Seongil, O., Kwon, S., Kim, N.S. & Ahn, J.H. (2015). CiDRA: A cache-inspired DRAM resilience architecture. In 2015 IEEE 21st International Symposium on High Performance Computer Architecture (HPCA), 502–513, IEEE. 65 [149] Sterpone, L. & Violante, M. (2006). A new reliability-oriented place and route algorithm for SRAM-based FPGAs. IEEE Transactions on Computers, 732–744. 62 114 BIBLIOGRAPHY [150] Stott, E., Sedcole, P. & Cheung, P.Y. (2008). Fault tolerant methods for reliability in FPGAs. In Field Programmable Logic and Applications, 2008. FPL 2008. International Conference on, 415–420, IEEE. 62 [151] Stott, E., Levine, J.M., Cheung, P.Y. & Kapre, N. (2014). Timing fault detection in FPGA-based circuits. In Field-Programmable Custom Computing Machines (FCCM), 2014 IEEE 22nd Annual International Symposium on, 96–99, IEEE. 68 [152] Suda, N., Chandra, V., Dasika, G., Mohanty, A., Ma, Y., Vrudhula, S., Seo, J.s. & Cao, Y. (2016). Throughput-optimized OpenCL-based FPGA accelerator for large-scale convolutional neural networks. In Proceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, 16–25, ACM. 36 [153] Swaminathan, K., Chandramoorthy, N., Cher, C.Y., Bertran, R., Buyuktosunoglu, A. & Bose, P. (2017). Bravo: Balanced reliability-aware voltage optimization. In High Performance Computer Architecture (HPCA), 2017 IEEE International Symposium on, 97–108, IEEE. 4,67 [154] Sze, V., Chen, Y.H., Yang, T.J. & Emer, J.S. (2017). Efficient processing of deep neural networks: A tutorial and survey. Proceedings of the IEEE,105, 2295–2329. 7,69 [155] Tan, J., Song, S.L., Yan, K., Fu, X., Marquez, A. & Kerbyson, D. (2016). Combating the reliability challenge of GPU register file at low supply voltage. In Parallel Architecture and Compilation Techniques (PACT), 2016 International Conference on, 3–15, IEEE. 67 [156] Tchernev, E.B., Mulvaney, R.G. & Phatak, D.S. (2005). Investigating the fault tolerance of neural networks. Neural Computation,17, 1646–1664. 36 115 BIBLIOGRAPHY [157] Temam, O. (2012). A defect-tolerant accelerator for emerging highperformance applications. In Computer Architecture (ISCA), 2012 39th Annual International Symposium on, 356–367, IEEE. 36,44,69 [158] Thomas, R., Barber, K., Sedaghati, N., Zhou, L. & Teodorescu, R. (2016). Core Tunneling: Variation-aware voltage noise mitigation in GPUs. In High Performance Computer Architecture (HPCA), 2016 IEEE International Symposium on, 151–162, IEEE. 67 [159] Thomas, R., Sedaghati, N. & Teodorescu, R. (2016). EmerGPU: Understanding and mitigating resonance-induced voltage noise in GPU architectures. In Performance Analysis of Systems and Software (ISPASS), 2016 IEEE International Symposium on, 79–89, IEEE. 67 [160] Tian, Y., Pei, K., Jana, S. & Ray, B. (2018). Deeptest: Automated testing of deep-neural-network-driven autonomous cars. In Proceedings of the 40th International Conference on Software Engineering, 303–314, ACM. 7 [161] Torres-Huitzil, C. & Girau, B. (2017). Fault and Error Tolerance in Neural Networks: A Review. IEEE Access,5, 17322–17341. 69 [162] Tuan, T., Kao, S., Rahman, A., Das, S. & Trimberger, S. (2006). A 90nm low-power FPGA for battery-powered applications. In Proceedings of the 2006 ACM/SIGDA 14th international symposium on Field programmable gate arrays, 3–11, ACM. 5 [163] Tziantzioulis, G., Gok, A., Faisal, S., Hardavellas, N., Ogrenci-Memik, S. & Parthasarathy, S. (2015). b-HiVE: A bit-level history-based error model with value correlation for voltage-scaled integer and floating point units. In Proceedings of the 52nd Annual Design Automation Conference, 105, ACM. 68 116 BIBLIOGRAPHY [164] ul Islam, F.M.M., Lin, M., Yang, L.T. & Choo, K.K.R. (2018). Task aware hybrid DVFS for multi-core real-time systems using machine learning. Information Sciences,433, 315–332. 67 [165] Whatmough, P.N., Lee, S.K., Lee, H., Rama, S., Brooks, D. & Wei, G.Y. (2017). 14.3 a 28nm soc with a 1.2 ghz 568nj/prediction sparse deep-neural- network engine with> 0.1 timing error rate tolerance for IOT applications. In Solid-State Circuits Conference (ISSCC), 2017 IEEE International, 242–243, IEEE. 4,36,70 [166] Wilkerson, C., Gao, H., Alameldeen, A.R., Chishti, Z., Khellah, M. & Lu, S.L. (2008). Trading off cache capacity for reliability to enable low voltage operation. In ACM SIGARCH computer architecture news, vol. 36, 203–214, IEEE Computer Society. 65 [167] Wirthlin, M., Johnson, E., Rollins, N., Caffrey, M. & Graham, P. (2003). The reliability of FPGA circuit designs in the presence of radiation induced configuration upsets. In Field-Programmable Custom Computing Machines, 2003. FCCM 2003. 11th Annual IEEE Symposium on, 133–142, IEEE. 62 [168] Wirthlin, M.J. (2004). Improving the reliability of FPGA circuits using triplemodular redundancy (TMR) & efficient voter placement. In Proceedings of the 2004 ACM/SIGDA 12th international symposium on Field programmable gate arrays, 252–252, ACM. 68 [169] Wu, Y., Nunez-Yanez, J., Woods, R. & Nikolopoulos, D.S. (2014). Power modelling and capping for heterogeneous ARM/FPGA SoCs. In Field- Programmable Technology (FPT), 2014 International Conference on, 231–234, IEEE. 66,67 117 BIBLIOGRAPHY [170] Yalcin, G., Unsal, O. & Cristal, A. (2013). FaulTM: error detection and recovery using hardware transactional memory. In Design, Automation & Test in Europe Conference & Exhibition (DATE), 2013, 220–225, IEEE. 68 [171] Yalcin, G., Islek, E., Tozlu, O., Reviriego, P., Cristal, A., Unsal, O.S. & Ergin, O. (2014). Exploiting a fast and simple ECC for scaling supply voltage in level-1 caches. In On-Line Testing Symposium (IOLTS), 2014 IEEE 20th International, 1–6, IEEE. 4,68 [172] Yalcin, G., Rethinagiri, S.K., Palomar, O., Unsal, O., Cristal, A. & Milojevic, D. (2016). Exploring Energy Reduction in Future Technology Nodes via Voltage Scaling with Application to 10nm. In Parallel, Distributed, and Network-Based Processing (PDP), 2016 24th Euromicro International Conference on, 184–191, IEEE. 4 [173] Yang, L. & Murmann, B. (2017). Approximate SRAM for Energy-Efficient, Privacy-Preserving Convolutional Neural Networks. In VLSI (ISVLSI), 2017 IEEE Computer Society Annual Symposium on, 689–694, IEEE. 36,65,70 [174] Yang, L. & Murmann, B. (2017). SRAM voltage scaling for energy-efficient convolutional neural networks. In Quality Electronic Design (ISQED), 2017 18th International Symposium on, 7–12, IEEE. 4,36,65,70 [175] Yang, T.J., Howard, A., Chen, B., Zhang, X., Go, A., Sze, V. & Adam, H. (2018). NetAdapt: Platform-Aware Neural Network Adaptation for Mobile Applications. arXiv preprint arXiv:1804.03230.35 [176] Yoon, D.H. & Erez, M. (2009). Memory mapped ECC: low-cost error protection for last level caches. In ACM SIGARCH Computer Architecture News, vol. 37, 116–127, ACM. 65 118 BIBLIOGRAPHY [177] You, D. & Chung, K.S. (2015). Quality of service-aware dynamic voltage and frequency scaling for embedded GPUs. IEEE Computer Architecture Letters,14, 66–69. 66 [178] Yu, J., Lukefahr, A., Palframan, D., Dasika, G., Das, R. & Mahlke, S. (2017). Scalpel: Customizing dnn pruning to the underlying hardware parallelism. In Proceedings of the 44th Annual International Symposium on Computer Architecture, 548–560, ACM. 69 [179] Zhang, J., Wang, Z. & Verma, N. (2017). In-memory computation of a machine-learning classifier in a standard 6T SRAM array. IEEE Journal of Solid-State Circuits,52, 915–924. 69 [180] Zhang, J., Rangineni, K., Ghodsi, Z. & Garg, S. (2018). Thundervolt: enabling aggressive voltage underscaling and timing error resilience for energy efficient deep learning accelerators. In Proceedings of the 55th Annual Design Automation Conference, 19, ACM. 36,69 [181] Zhang, J.J., Gu, T., Basu, K. & Garg, S. (2018). Analyzing and mitigating the impact of permanent faults on a systolic array based neural network accelerator. In VLSI Test Symposium (VTS), 2018 IEEE 36th, 1–6, IEEE. 36 [182] Zhang, Y., Roivainen, J. & Mammela, A. (2006). Clock-gating in FPGAs: A novel and comparative evaluation. In Digital System Design: Architectures, Methods and Tools, 2006. DSD 2006. 9th EUROMICRO Conference on, 584–590, IEEE. 5 [183] Zuchowski, P.S., Reynolds, C.B., Grupp, R.J., Davis, S.G., Cremen, B. & Troxel, B. (2002). A hybrid ASIC and FPGA architecture. In Proceedings of the 2002 IEEE/ACM international conference on Computer-aided design, 187–194, ACM. 4 119