Formal fault tolerance analysis of complex digital systems for safety and security applications
Where it appeared
| School | Université Grenoble Alpes |
|---|
From bibtex.
Abstract
In this thesis, we propose a novel methodology to characterize the tolerance of hardware designs against external faults.The main objective is to construct an efficient process to discover the vulnerable areas of a given digital circuit, when external faults manifest in it.From the simulation that encodes the nominal behavior of the circuit, we extract the associated reference finite state machine.Linear temporal properties are integrated into the environment, restraining it to the expected protocol specification. In our scenario, assertions have the role of error detectors, when faults are injected by model checking.From each initial state of the selected phase of the reference state machine, we launch a formal proof to discover if from that scenario the system can be fatally affected from a SEU fault. This error is injected by the model checker at the most propitious time and node, to violate at least one assertion property.This process is iterated to map the vulnerability of each fault target over time, and results are compared with simulated statistical fault injection, to confront the accuracy and speed gains of the methodology.We apply the methodology on distinct units integrated of a RISC-V bases SoC for aerospace applications, developed by STMicroelectronics for radiative tests.In particular, the SPI, DMA, CPU are assessed with our workflow for safety purposes.Preliminary results are provided on an AES block for security purposes, providing a first useful insight of application in such environment for our methodology.Results are in accordance with what the pure simulation provides, with significant speedups (in the magnitude of hundreds) and improved accuracy in fault detection.Starting from this analysis, we also provide by model checking an estimation of the Architectural Vulnerability Factor.The next problem we address is the automatic generation of LTL assertions, to treat blocks that lack clear specification or protected IPs. Moreover, by mining properties on signals that are hierarchically inside the addressed module, we can estimate the fault masking capacity of the block by model checking.Once we have successfully characterized the fault effect on the single module's functionality, we then focus on a preliminary model of how a fault may propagate from one circuit to the next one.This study provides fist insights on the probability with which a system of SoC-like complexity may be affected by an external fault affecting its functionality.This analysis is performed by treating the different hardware units in their FSM representation. Once we have generated the digraphs, we must reduce their size along with computing the fault propagation probability to reach a failure state.We then conceived a methodology (based on iterative assumption removal) to predict the worst scenario of how the fault can affect the functionality of the next module.By this, we can interconnect the two distinct digraphs, counter-verifying the results by extensive formal fault injection. This analysis allows to small-sized systems, starting from very complex and large dysfunctional models. In particular, the reduced and re-composed models can be further treated by industrial tools to study the safety of critical systems.Finally, we present a preliminary study in the hardware security domain, addressing with our methodology an AES block. This example is also used to verify that after integrating the countermeasures on the flip-flops, we can formally prove that the module is fault immune.This study provides a first glance on how our methodology may be adaptable in totally different contexts, where the objective is not to study how much the circuit is tolerant against external perturbations, but how easy can be to extract from it useful information through fault injection.