Elsevier

Microelectronics Reliability

Volumes 88–90, September 2018, Pages 898-902
Microelectronics Reliability

Design of approximate-TMR using approximate library and heuristic approaches

https://doi.org/10.1016/j.microrel.2018.07.115Get rights and content

Highlights

  • The genetic algorithm approach to build approximate circuits has a high computational cost.

  • The heuristic approach has a low computational effort, taking just few minutes to generate approximate circuits.

  • The heuristic approach achieves a good balance between error rate and area when compared to the genetic approach.

  • The heuristic approach has a good advantage against the worst possible circuits in the population.

Abstract

Approximate Triple Modular Redundancy (ATMR), which is the implementation of TMR with approximate versions of the target circuit, has emerged in recent years as an alternative to partial hardware replication where designers can explore reduced area overhead combined with some compromise on fault masking. This work presents a novel approach for implementing approximate TMR that combines the approximate gate library (ApxLib) technique with heuristics. The algorithm initially defines the gates to be approximated using testability and observability measures and then choose the gate transformation based on the bits difference. Experimental results compare the proposed new approach with another state of the art technique that uses approximate gate libraries with genetic algorithm showing a good trade-off between the ATMR schemes efficiency in terms of area and fault masking and the computational effort needed to generate them.

Introduction

Technology scaling poses an increasing challenge to hardware reliability. Circuits manufactured on advanced technologies are more susceptible to errors, mainly as a consequence of the shrinking of transistor dimensions and the increased integration density [1]. The most important cause of soft errors is the interaction of energetic particles with the silicon. When a particle hits a circuit node, the collected charge produces a transient voltage perturbation at the node. If the affected node is a memory cell or latch, a change of state may happen, which is known as Single-Event Upset (SEU). If a combinational node is affected, it is originated a transient voltage pulse known as a Single-Event Transient (SET), which may be propagated through the logic and eventually may be captured by one or several memory elements. In the past, SEUs were the primary concern. However, for advanced technologies, SETs are becoming very relevant too.

Fault mitigation techniques able to mask soft errors require redundancy and majority voters. Triple Modular Redundancy (TMR) is a well-known technique, which provides excellent concurrent masking capability. However, these techniques introduce considerable overheads regarding both area and power consumption. Within this context, approximate circuits have recently emerged as an alternative approach for building partial TMR solutions. An approximate logic circuit is a circuit that performs a different but closely related logic function to the original circuit. As it is not required to match the original circuit exactly, the approximate circuit can be smaller, but it can still be used as replicas in the TMR to be voted at the majority voter and consequently mask faults. An efficient approximation provides high fault tolerance with a good compromise in area and power. The generation of optimal approximate TMR (ATMR) circuits for any given design is a challenging problem.

Several techniques for approximate circuit generation already exist in the literature. They range from BDD manipulation [2], cube selection [3, 4], testability driven approaches [5, 6] and genetic algorithms [7]. In a past work [8], we proposed the use of two approaches, approximate libraries (ApxLib) and MOOGA (Multi-Objective Optimization Genetic Algorithm), to generate Approximate Triple Modular Redundancy (ATMR) designs optimized for area and fault masking. However, the scalability of the approach started to become a problem, i.e., the computational effort needed to generate good results is too high for large circuits. It can take few weeks to generate ATMR designs for circuits composed of few hundred gates. This paper proposes the use of the approximate library technique with heuristics to build approximations in a faster and deterministic way. Testability and observability measures guide the creation of an approximate version of the circuit. Using this technique, ATMR solutions can take around a minute instead of hours and results show that in some cases, a good tradeoff between area overhead and fault masking can be achieved.

The rest of this paper is organized as follows. Section 2 introduces the main concepts of approximate logic circuits applied to fault mitigation. Section 3 addresses the approximation library approach (ApxLib) and how it generates approximate circuits. Section 4 presents the experimental results.

Section snippets

TMR and approximate-TMR

TMR increases the area by 200%, plus the area of the majority voters, thus providing a considerable impact on the area and power consumption. In this sense, in some cases it is interesting to reduce these criteria considerably, sacrificing the masking fault rate as little as possible. This can be applied using the principle of approximate computing circuit, which sacrifices the 100% correctness of a given logic function in exchange for a benefit (e.g., performance, area or power).

Given a logic

Approximate library approach

The approximate library approach (ApxLib) generates approximate circuits by transforming the logic gates that compose the circuit. In Fig. 1 we have a netlist of logic gates which can be approximated. The algorithm chooses the XOR2 gate as the gate to be approximated. Using a pre-defined set of approximate logic gates library, two options are evaluated to over-approximate it (NAND2 and OR2). In the same way, to under-approximate the original circuit two options are available in the library:

Experiments and results

The experiments were conducted in a group of benchmarks extracted from the LGSynth93 set: majority, clpl, cm82a, and rd73. The original circuit (G) for the benchmarks were obtained using the academic logic synthesis tool ABC [13] using a custom standard cell library. Table 4 shows some information of the original circuits synthesized. Table 5 shows information about the execution time for both techniques, comparing the computational effort between the two approaches.

Each resulting ATMR scheme

Conclusion

This paper compares two methods to obtain ATMR circuits with a different trade-off between size overheads and fault coverage. The heuristic approach (ApxLib + Heuristic) shows good balance between the reliability requirements and the area, while it maintains a low computational effort when compared to the genetic technique (ApxLib + MOOGA), taking around a minute instead of hours to generate the results. We could also see that even when it is far from the Pareto front, the ApxLib + Heuristic

Acknowledgement

This research was supported by Federal University of Rio Grande Do Sul (UFRGS) and was also funded by the Spanish Ministry of Economy and Competitiveness and the European Regional Development Fund with the project Evaluacion temprana de los efectos de radiacion mediante simulacion y virtualizacion. Estrategias de mitigacion en arquitecturas de microprocesadores avanzados (Ref: ESP2015-68245-C4-3-P MINECO/FEDER, UE).

References (13)

  • R.C. Baumann

    Radiation-induced soft errors in advanced semiconductor technologies

    Device Mater. Reliab.

    (2005)
  • M. Choudhury et al.

    Low cost concurrent error masking using approximate logic circuits

  • H. Xie et al.

    New approaches for synthesis of redundant combinatorial logic for selective fault tolerance

  • A. Sanchez-Clemente et al.

    Logic masking for set mitigation using approximate logic circuits

  • A. Sanchez-Clemente et al.

    Error masking with approximate logic circuits using dynamic probability estimations

  • L. Sekanina et al.

    Approximate circuits by means of evolvable hardware

There are more references available in the full text version of this article.

Cited by (6)

  • Approximate TMR based on successive approximation and loop perforation in microprocessors

    2019, Microelectronics Reliability
    Citation Excerpt :

    ATMR methods can be implemented in such a manner to guarantee the correction of faults despite the inaccuracy caused by the approximation [6]. Some works even present a full ATMR concept [7], where all the three redundancies of the ATMR are approximations. All those proposals, however, imply on limitations.

  • Building ATMR circuits using approximate library and heuristic approaches

    2019, Microelectronics Reliability
    Citation Excerpt :

    In the following section, a new deterministic approach will be presented: approximate library using heuristics based on testability and observability measures (ApxLib + Heuristic). The methodology proposed in [10] designed ATMR circuits by selecting the most suitable set of functions F and H. To apply this technique, it was needed to know the original Boolean function of the whole circuit explicitly. Also, there was a limitation on the number of the literals that the Boolean factoring algorithm could handle, therefore limiting the scalability of the approach.

  • Approximate Computing for Fault Tolerance Mechanisms for Safety-Critical Applications

    2022, Approximate Computing Techniques: From Component- to Application-Level
  • A Fast Approximate Function Generation Method to ATMR Architecture

    2022, 2022 IEEE 13th Latin American Symposium on Circuits and Systems, LASCAS 2022
View full text