A Temporally Staggered Dual-Core Lockstep RV32I SoC with Custom-ISA Sensor Arbitration and Deterministic 3-Cycle Rollback for Brake-by-Wire Systems
Removing mechanical and hydraulic fallback paths in automotive Brake-by-Wire (BBW) systems requires ISO 26262 ASIL-D fault containment, deterministic sensor-to-actuator timing, and rapid recovery from radiation- or EMI-induced singleevent upsets (SEUs). Standard single-core microcontrollers running real-time operating systems (RTOS) check sensor plausibility in software and rely on watchdog timers for fault recovery. That approach leaves the processor pipeline exposed to silent data corruption (SDC) and adds millisecond-scale delays before emergency braking engages. In this paper, we present a synthesizable, hardware-level lockstep System-on-Chip (SoC) based on a 5-stage pipelined RISC-V (RV32I) core designed specifically for BBW caliper control. Our design integrates a single-cycle custom-0 instruction (PLAUS) inside the execute stage to validate dual pedal sensors and clamp faulty readings in hardware. Two identical cores execute the control loop with a 1-cycle fetch and load-bus temporal stagger (t vs. t − 1), while a cycleby-cycle signature comparator blocks memory-mapped PWM updates whenever write-back or store-bus outputs diverge. Upon detecting a transient mismatch, a shadow checkpointing unit parallel-restores all 31 general-purpose registers and flushes both pipelines in 3 clock cycles (53.50 ns), escalating to a permanent hardware brake lock (12’hFFF) if a fault persists. Post-route implementation on a Xilinx Artix-7 (xc7a35tcpg236-1) FPGA achieves Fmax = 56.07 MHz using 4, 806 Slice LUTs (23.11%), 4, 568 Flip-Flops (10.98%), and 0.132 W total on-chip power, cutting worst-case fail-safe response latency by > 9, 000× relative to an 80 MHz STM32L476RG FreeRTOS controller. Index Terms—Brake-by-Wire, RISC-V, Dual-Core Lockstep, ISO 26262 ASIL-D, Custom ISA, Fault-Tolerant Computing, FPGA, Single-Event Upset.
Authors
- Aayush Narkhede (ORCID: https://orcid.org/0009-0002-3487-9802)
Institutions
- JSPM's Rajarshi Shahu College of Engineering (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24762837
- Primary Topic
- Radiation Effects in Electronics
- Type
- preprint