Trikarenos: Design and Experimental Characterization of a Fault-Tolerant 28-nm RISC-V-Based SoC

Michael Rogenmoser, Philip Wiese, Bruno Forlin, Frank K. Gürkaynak, Paolo Rech, Alessandra Menicucci, Marco Ottavi, Luca Benini

TL;DR

This paper presents Trikarenos, a fault-tolerant RISC-V System-on-Chip (SoC) designed for safety-critical applications. Through extensive radiation testing and simulation, they demonstrate Trikarenos' resilience against single event upsets (SEUs) using a combination of ECC memory protection and a triple-core lockstep (TCLS) mechanism, achieving high reliability for automotive and space environments.

What Problem Does This Paper Address?

Modern automotive and space systems demand extremely high reliability, especially in environments with significant radiation. Single Event Upsets (SEUs), caused by energetic particles, can flip bits in memory or logic, leading to system malfunctions or crashes. While RISC-V is gaining traction due to its open nature, ensuring its reliability in these harsh conditions is paramount. Existing research often focuses on FPGA implementations, leaving configuration memory vulnerable, or lacks detailed characterization of specific fault-tolerant architectures under realistic radiation scenarios. This paper addresses the need for experimental validation of a robust RISC-V SoC design, Trikarenos, under controlled radiation doses to quantify its fault tolerance.

Methods

The Trikarenos SoC, implemented in TSMC 28nm technology, employs two primary fault-tolerance strategies:

  • Error Correction Codes (ECC) with Scrubbing: The on-chip SRAM memory uses a 32-bit word with 7 ECC bits (single error correction, double error detection Hsiao code). A "scrubber" continuously checks memory contents, correcting errors in real-time without interrupting operation.
  • Triple-Core Lockstep (TCLS): Three identical RISC-V Ibex cores run in parallel. Their outputs are voted, and any mismatch triggers a recovery routine. This mechanism is implemented at the interface of the cores, minimizing performance impact.

To evaluate Trikarenos' resilience, the researchers used:

  • Beam Experiments: The fabricated chips were exposed to atmospheric neutron beams at ChipIR and 200 MeV proton beams at HollandPTC. During these tests, they monitored error rates, TCLS events, and system crashes.
  • Simulation-based Fault Injection: Gate-level simulations were performed on the post-layout netlist. Single bit-flips were injected into all registers and flip-flops (FFs) to assess the system's response and compare it with experimental results.

Datasets

Not discussed in the paper. The paper focuses on experimental evaluation of a fabricated chip and simulation-based fault injection.

Key Insights and Ideas

  • Synergistic Protection: The combination of ECC for memory and TCLS for cores provides a strong defense against SEUs, with each mechanism addressing different vulnerabilities.
  • TCLS Effectiveness: The TCLS mechanism proved highly effective, correcting all injected faults within the core regions during simulations and demonstrating a significant reduction in overall vulnerability.
  • Interconnect Vulnerability: Despite robust protection for cores and memory, the interconnect and debug modules were identified as key areas of vulnerability, as they are not hardened and can lead to system-level issues.
  • Latent Errors: A significant portion of injected faults in simulations resulted in latent errors that did not immediately cause functional failures but could potentially impact future computations. This highlights the importance of understanding and mitigating these hidden issues.
  • Neutron vs. Proton Sensitivity: The SRAM exhibited a higher cross-section for neutrons compared to protons, suggesting that the specific particle type and energy spectrum can influence error rates.

Key Results

  • Memory Reliability: The ECC-protected SRAM demonstrated excellent error correction. The estimated cross-section per bit was approximately 1.09 × 10<sup>-14</sup> cm²/bit for neutrons and 1.12 × 10<sup>-15</sup> cm²/bit for protons.
  • Core Reliability (TCLS): The TCLS mechanism corrected errors with a cross-section up to 3.23 × 10<sup>-11</sup> cm² for neutrons. The remaining uncorrectable vulnerability was below 5.36 × 10<sup>-12</sup> cm².
  • Simulation Results: In simulations, 99.10% of injected faults into the SoC resulted in correct termination. Crucially, 100% of injections within the TCLS-protected cores were handled correctly, with 12.28% of all injected faults leading to a TCLS recovery.
  • Estimated FF Cross-section: The effective average flip-flop cross-section was estimated to be (0.99 ± 0.29) × 10<sup>-14</sup> cm²/FF for neutrons and (2.04 ± 0.64) × 10<sup>-15</sup> cm²/FF for protons.
  • No TID/SEL Issues: No degradation due to total ionizing dose (TID) or single event latch-ups (SELs) was observed during proton testing.

Limitations and Future Work

  • Unprotected Components: The interconnect, debug module, and peripherals are not hardened, representing a significant vulnerability. Future designs should consider protecting these critical components.
  • Latent Errors: A large percentage of injected faults in simulations resulted in latent errors. Further research is needed to better understand and mitigate these errors, potentially through improved observability and workload testing.
  • FF Focus in Simulation: The fault injection simulations primarily focused on FFs, potentially missing errors in logic blocks that could affect system state.
  • Neutron vs. Proton Differences: The observed differences in SRAM error rates between neutron and proton tests warrant further investigation to understand the underlying causes.

Future work could involve extending fault tolerance to the interconnect and peripherals, developing more comprehensive methods for detecting and mitigating latent errors, and exploring a wider range of fault injection techniques.

Summary updated

BibTeX
@article{rogenmoser2025trikarenos,
  author = {Michael Rogenmoser and Philip Wiese and Bruno Forlin and Frank K. Gürkaynak and Paolo Rech and Alessandra Menicucci and Marco Ottavi and Luca Benini},
  title = {{Trikarenos: Design and Experimental Characterization of a Fault-Tolerant 28-nm RISC-V-Based SoC}},
  journal = {IEEE Transactions on Nuclear Science},
  year = {2025},
  doi = {10.1109/tns.2025.3564739},
}
Figure