Skip to content
Conference Open access

SVAN-FSM: Static Analysis of Finite State Machines in SystemVerilog

Aug 2026 · International Test Conference in Asia · pp. 1-6 · 0 citations · 24 references
Computer Science

TL;DR

SVAN-FSM, a tool for automatic extraction and static analysis of FSMs from SystemVerilog designs, which operates on RTL netlists, builds graph-based representations, and detects unreachable states, dead transitions, deadlocks, and livelocks.

Abstract

Finite state machines (FSMs) are a widely used design pattern in hardware description languages (HDLs) for modeling control logic. Despite their simplicity, FSM implementations are prone to various classes of design errors that are difficult to detect using conventional simulation-based verification techniques. This paper presents SVAN-FSM, a tool for automatic extraction and static analysis of FSMs from SystemVerilog designs. The tool operates on RTL netlists, builds graph-based representations, and detects unreachable states, dead transitions, deadlocks, and livelocks. It also identifies interacting FSMs to expose cross-module control dependencies and handles parameterized designs by analyzing each elaborated instance independently. Analysis results are mapped back to the source code to improve interpretability. The tool has been evaluated on multiple open-source RISC-V designs and security-critical projects, demonstrating its effectiveness on industrial-scale designs. A comparison with a commercial static analysis tool shows that the proposed approach identifies significantly more FSM instances, particularly in designs where the transition logic extends beyond canonical coding patterns.

Read PDF

Similar papers

Review Open access Sep 2026

State space-based methods for validating model transformations in model checkers

Formal methods, including model checking, are rapidly gaining importance, especially in safety-critical domains like aerospace and automotive. Consequently, the systems to be verified are growing more complex and are described in diverse design languages, often expressive and ambiguous. However, model checkers oper...

Zsófia Ádám, Z. Micskei · 0 citations
Open access Sep 2026

From Formal Specifications to Simulations: Generating Executable Hardware Models for Early Validation

This work presents a model-driven code generator transforming static USF specifications into executable software simulations that abstract cycle-accurate timing and helps shorten validation cycles, ultimately reducing the risk of costly design flaws.

Robert Kunzelmann, Raphael Kunz, Stephanie Ecker et al. · 0 citations
#software testing Book Open access Sep 2026

All Your Assembly Belongs to Rust: Automated Lifting for Uniform Testing and Verification

This paper translates Rust code containing RISC-V inline assembly into pure Rust code by emulating each instruction using a machine model extracted from the official RISC-V Sail ISA specification, and demonstrates how each category is handled by the translation.

Charly Castes, Gurvan Debaussart, Thomas Bourgeat · 1 citation
Open access Sep 2026

Complete SEU Vulnerable Register Enumeration using Property Directed Reachability

Single-event upsets are a major dependability concern in safety- and security-critical hardware. Identifying which registers are vulnerable to them is increasingly tackled by formal fault injection, i.e., driving a fault-injection campaign through a model checker. In industrial practice, this analysis is often built on...

Félix Ridoux, Antoine Schohn, S. Baarir et al. · 0 citations
Book Open access Oct 2026

SpecFSM: Extracting and Repairing Finite State Machines from Protocol Specification Documents

Finite state machines (FSMs) are a fundamental abstraction for modeling dynamic system behavior and are widely used in protocol analysis. However, automatically extracting FSMs from natural-language specifications remains challenging. Protocol documents are often lengthy and structurally complex, with state-transition...

Xiang-Dong Li, Da-Wei Huang, Jing-Jing Guan et al. · 0 citations
Open access Oct 2026

Towards Understanding the Bugs in Verilator, a Hardware Description Language Compiler

Verilator is the premier open-source Hardware Description Language (HDL) compiler. It transforms Verilog and SystemVerilog designs into optimized C++ or SystemC models, enabling high-speed, cycle-accurate simulation prior to large-scale production. As a cornerstone of the hardware verification ecosystem, the correctnes...

Song-Yan Jiang, Mao-Lin Sun, Kang Chen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.