| ||||
| ||||
![]() Title:Reaching What the Optimizer Removes: Fault-Site Insertion in Verilator’s AST Conference:DVCon Europe 2026 Tags:Direct-Programming-Interface, Fault Injection, Hardware Design Automation, Simulation, SystemVerilog and Verilator Abstract: Digital systems increasingly operate in safety- and security- critical domains, making early evaluation of hardware fault resilience essential. Simulation-based fault injection provides precise analysis of fault propagation but traditionally requires a trade-off between arbitrary signal access and simulation performance, limiting the scalability of large fault-injection campaigns. We present a fault-injection method for Verilator that inserts fault sites into the abstract syntax tree before optimization. Placing the fault site while the design is still fully described lets it target signals that optimizations would later eliminate, and that approaches operating on the generated model therefore cannot reach. The rest of the design still keeps the optimizations Verilator relies on for speed. Across five RTL designs spanning diverse microarchitectures and independent codebases, we quantify what this reach costs and separate it into two parts: a design-dependent cost of overriding a signal, from negligible on a multi-cycle core to more than threefold on a bit-serial one, and a consistent 1.4–2.4× for binding the fault site at runtime rather than at build time, which we attribute to the routing logic. We further demonstrate that the method reproduces representative dependability and security fault effects, including silent data corruption, control-flow hang, masking, and differential fault effects in both hardware and software AES implementations. Our results establish what precise, campaign-scale fault injection costs in a high-performance open-source simulator, and when each fault-site binding is the right choice. Reaching What the Optimizer Removes: Fault-Site Insertion in Verilator’s AST ![]() Reaching What the Optimizer Removes: Fault-Site Insertion in Verilator’s AST | ||||
| Copyright © 2002 – 2026 EasyChair |
