Submitted:
24 November 2026
Posted:
25 November 2026
You are already at the latest version
Abstract
The verification of integrated circuits is a major challenge in the modern design process. Latent bugs may escape conventional verification methods and show up in the final chip. Fuzz testing, a method for automated test case generation, has proven itself in software engineering, where tools relying on this methodology have contributed to the discovery of many recent software vulnerabilities. Several groups have applied fuzzing to the hardware domain. However, these efforts almost exclusively target microprocessor design and cannot be used in the mixed-signal domain. We introduce What The Fuzz (WTF), our modular and simulator-agnostic fuzzing framework, and demonstrate its application to a range of ASIC designs. It realizes a unified coverage-and-stimulus data model, an extensible set of mutations and deterministic as well as stochastic fuzzing strategies. We evaluate our fuzzing framework on three examples of increasing complexity: a simple digital lock, a mixed-signal LED driver model and a digital circuit for a wake-up receiver. We show the effectiveness of the different strategies in these scenarios and discuss consequences for the verification process and future hardware fuzzer developments.
Keywords:
ASIC
; fuzz testing
; genetic algorithm
; stimulus generation
; verification
1. Introduction
Designing functional application-specific integrated circuits (ASICs) poses significant challenges, particularly when aiming to achieve economic efficiency. As designs grow increasingly complex, reliance on electronic design automation (EDA) tools and adherence to stringent, qualified design processes become essential for achieving successful outcomes.
Despite exhaustive safeguards, it remains common for latent bugs and design flaws to evade detection and become embedded in the final silicon. To illustrate, Texas Instruments Inc. reports 17 distinct bugs in the Device Errata Sheet for its widely used MSP430 microcontroller [1]. One notable defect in the CPU module causes an unintended auto-increment of the program counter by two under specific conditions – namely, when a jump instruction is followed by a particular address or data section. This error results in incorrect branching to an unintended address, thereby disrupting the intended program execution.
This type of defect is particularly challenging to detect through conventional verification methods (see Figure 1), as it manifests only under highly specific conditions, often remaining inconspicuous otherwise. A unique input pattern triggers this unexpected behavior, making it difficult to identify in the design phase. While one could theoretically attempt to exhaustively test all possible combinations of input patterns to identify such a flaw, the sheer volume of permutations, coupled with the reliance on computationally intensive hardware simulations, renders this approach impractical.
In recent years, hardware designers have increasingly looked to the field of software engineering for inspiration, particularly toward the technique of fuzz testing (see Figure 2). This method involves the systematic application of randomly generated test cases. However, given the vast number of possible combinations, a purely random approach is unlikely to produce effective results. Instead, a more refined technique, known as coverage-guided fuzz testing, is employed. This approach generates new test cases based on tracking coverage metrics and revealing which components of the design are actively engaged during each test.
The rationale for using coverage as a heuristic for test case generation is to focus on tests that actually stimulate the DUT as this is necessary for bugs to emerge. Test cases that fail to stimulate significant activity are deemed unproductive, as they lack the necessary conditions for defects to manifest. Typically, such low-activity cases are far more prevalent than cases with higher coverage, so prioritizing the latter enhances testing efficiency by focusing computational resources on scenarios with a higher probability of revealing faults.
When a test case is identified that successfully stimulates some level of design activity – either through random generation or as a derivative of an existing case – it serves as a seed for further testing. Rather than generating subsequent cases entirely at random, the initial case undergoes systematic mutation, often using genetic algorithms. This iterative process generates similar cases with subtle variations that may increase activity within the DUT, thus amplifying the likelihood of exposing hidden bugs.
While the algorithms underlying fuzz testing are relatively straightforward, the theoretical foundation and practical application of fuzzing techniques are nontrivial. Implementing fuzz testing to effectively identify design flaws is a complex endeavor, requiring decades of refinement. Although software fuzz testing originated in the early 1990s [2], only in recent years have similar methodologies begun to gain traction in the domain of microelectronics.
The main contributions of this paper are as follows:
- A fuzzing framework that admits mixed-signal simulation as a target. All approaches surveyed in Table 1 are tied to purely digital simulation backends. WTF decouples the fuzzer from the simulator through a thin wrapper that normalizes the simulator’s coverage data into a universal format for internal use. We demonstrate this on a mixed-signal LED driver, where the fuzzer drives a co-simulation of a digital control part and an analog front end. We note, however, that the coverage exploited in these experiments is the digital-domain coverage reported by the simulator. The development of mixed-signal-specific coverage metrics is a distinct research question as shown in [3] and that we identify as future work.
- A search-process record for hardware fuzzing. Every stimulus is stored with its complete mutation lineage, including rejected mutations, so that accepted mutations form the ancestors of a stimulus. This makes the fuzzer’s own behavior analyzable, allowing us to explain strategy performance as illustrated later by the exploration tree in Figure 8.
- An explicit accept/reject model for fuzzing strategies. The strategy’s decision over the coverage delta is defined explicitly and implemented in both deterministic and stochastic form, in which non-coverage-increasing mutations are accepted with a configurable probability. This makes the exploration/exploitation tradeoff an explicit, controlled experimental parameter that prior hardware fuzzers do not expose.
- Empirical findings on the behavior of hardware fuzzing strategies. Across three DUTs of increasing complexity, we show that breadth-first exploration consistently outperforms depth-first, that the volume of tested stimuli is a dominant factor, and that a naïve random strategy is competitive with a phased strategy inspired by American Fuzzy Lop (AFL) — challenging the assumption that complex phased strategies transfer from software to hardware.
The experiments and the underlying setup are detailed in Section 5.
2. Related Work
What the Fuzz (WTF) is one of multiple approaches to adapt and utilize the fuzz testing method for microelectronic hardware verification. There are specific challenges of hardware fuzz testing as mentioned in the following Section 3.2: (a) the dependency on time consuming hardware simulations, (b) non-trivial evaluation or bug detection, (c) differences in coverage metrics and measurements compared to software fuzz testing, and (d) inhomogeneity of DUT input types. Different prioritizations of these challenges have led to the development of diverse hardware fuzzers that each address these challenges in a different way. Table 1 gives an overview of several hardware fuzzing approaches while we discuss the main differences of the approaches in the following.
As the volume of tested stimuli is a dominant factor in the fuzzing performance, one approach is to speed up the hardware simulation in order to test more stimuli given a certain quantity of computational resources. Compared to software fuzzers, simulating a microelectronic circuit with specialized software is usually orders of magnitude slower. In order to address this problem, the authors of [4,5,6,7,8], and [9] use Verilator, a lightweight and especially fast simulator that also compiles everything necessary for the simulation into a binary that can be combined with a software fuzzer [5]. The utilization of software fuzzers has the advantage of having access to sophisticated and proven fuzzers, although the link-up between the fuzzer and the simulator is not trivial. The downside of this approach is that, in order to achieve these speeds, Verilator has lost some flexibility and is not able to handle non-synthesizable or mixed-signal designs.
The approaches shown in [10] and [11] overcome the limitations of costly hardware simulation by utilizing field-programmable gate array (FPGA)-based hardware emulations. This has the advantage that chip functionality can be tested in real-time and in conjunction with hardware prototypes that may include analog frontends. However, this approach is also limited to synthesizable designs. Despite being frequently used in the industry, the implementation of FPGA-prototypes still comes with separate challenges that make their handling more cumbersome compared to hardware simulations.
A key difference in fuzzer functionality between software and hardware fuzzers is the bug detection and evaluation. While software fuzzers may capitalize on the naïve approach of detecting software hangs, crashes, memory overflows, or similar software typical behavior, and use that to indicate non-conformal behavior, hardware fuzzers usually do not have a simple approach to detect crashes or bugs in the simulated DUT. One way to address this problem is to use a golden reference model (GRM) and compare system behavior in response to the fuzzing stimulus between the DUT and the model. This is especially useful for microprocessors where a common set of instructions should result in common responses independent of the actual circuit design, see e.g. [4,6,12,13,14]. Here, the concept of running software with a well defined behavior on a processor that is to be tested may also be used to infer hardware bugs from software anomalies.
Other evaluation methods rely on the comparison of the system behavior with known patterns [11], the analysis of trace patterns [8,15], or predetermined assertions that check specific system behavior of the DUT [7,10,16]. WTF also relies on predetermined assertions. This has the disadvantage that design knowledge and a test scenario are necessary for the setup of the design-specific testbench. However, it has the advantage of a specified test scenario and a simplified bug triage and analysis as the violated assertions provide at least some information compared to a general system crash or hang found in software fuzzers.
While coverage metrics in general are in widespread use for hardware verification and simulator software generally adheres to interoperability standards [17], suitable coverage metrics are not always accessible or available for the purpose of fuzz testing. For example, FPGA-based hardware emulation generally does not provide any coverage information. To overcome this, the authors of [10] access the multiplexer toggle information of the FPGA during the fuzzing process and use this as coverage information. Similar to software fuzzers, where the fuzzer customly instruments the software under test during software compilation and therefore has access to suitable coverage metrics, some hardware fuzzers can utilize custom instrumentation of the DUT and infer coverage information from there [18,19]. WTF utilizes the coverage information provided by the simulator and translates this into a universal format for internal use. Because of this, the framework is able to handle custom coverage metrics from simulations or emulations.
Another point where hardware fuzzing approaches show differences is the type of inputs they produce as fuzzing stimuli. Generally, most hardware fuzzers use some type of digital information like byte sequences or series of bits. Some fuzzers use assembly language as a low-level language to directly communicate with the DUT. WTF uses the Verilog language as stimulus format which is compiled with the testbench and the DUT for simulation. This has the advantage that the stimulus, testbench, and DUT can be used independently from the fuzzing setup for bug triage or analysis.
3. Background
3.1. Coverage-Driven Fuzzing
The concept of fuzz testing is to find bugs in the DUT by perpetually stimulating it with test inputs until one of the inputs is able to provoke erroneous behavior in the DUT. Valid input of microelectronic devices is usually highly structured and adheres to specific protocols like Serial Peripheral Interface (SPI) or inter-integrated circuit (I²C). Therefore, it is very unlikely to randomly generate an input that stimulates any behavior in the DUT at all as it dismisses the input as invalid. Coverage-guided fuzz testing uses coverage metrics to indicate whether an input is triggering any behavior. By using genetic algorithms for mutation and selection, fuzz testing is able to focus on test cases that make the DUT do something and avoid checking the vast amount of test cases, where the DUT is not doing anything. This is the main difference to coming up with test cases completely at random.
When discussing coverage-driven fuzzing in the context of microelectronic verification, there is usually a slight misconception about the usage of coverage metrics. Verification is the process of demonstrating the intent of a design is preserved in its implementation and coverage is a measure of verification completeness [28]. Therefore, the goal of a verification engineer is to create test cases which collectively achieve high coverage. Conventionally, this is achieved by designing the test cases to cover all relevant corners, bring the DUT in all possible states and check all relevant state transitions for erroneous behavior.
However, in the context of coverage-driven fuzz testing, coverage is not used as a measure of verification completeness but as an indicator how well the generated test case explores the state space of the DUT. Fuzz testing is about the try-out of semi-randomly generated test cases, but doing so in an efficient manner. In other words, it is about efficient exploration of the system’s behavior, i.e. its state space. The goal is not to achieve 100 % coverage, but it would be inefficient to test the DUT with inputs that are discarded as invalid right away and result in low coverage. Equally, it is beneficial to avoid testing the same functionality ad nauseam, leaving us with a classical exploration/exploitation dilemma.
3.2. Hardware Fuzzing
The demonstrated success of fuzzing applications in the realm of software engineering and striking commonalities between software and microelectronic hardware development suggest fuzzing as a promising tool for aiding hardware verification as well. However, applying it to hardware raises several challenges that do not arise when the target is software. First, the behavior of the target system must be observed either through simulation, which is typically orders of magnitude slower than executing a software target, or through FPGA-based emulation, which is faster but requires a synthesizable design, is more labor-intensive to set up, and does not readily provide coverage metrics. In contrast to software, which can run on a broad range of systems after compilation, a hardware design is tied to a specific simulator or emulator — logic, analog, or mixed-signal, behavioral or synthesizable. Second, whereas software fuzzing can rely on standardized inputs such as structured data streams and files, hardware fuzzing has to handle timing, differing realizations of input signals, and only partially standardized buses, so that a design-specific testbench and a chosen fuzzing scenario must be prepared by hand. Third, the notion of a bug differs: software fuzzers typically flag crashes or hangs, or detect illegal kernel operations automatically, whereas hardware fuzzers rely on pre-defined assertions or on comparing the target against a golden reference model. In software, such checks are often already part of the target system, provided by the operating system, by libraries, or written by the programmer. In hardware, by contrast, designers rarely place assertions and their definition is almost exclusively a task of the verification team. Consequently, a design-specific testbench and its assertions must be prepared manually before fuzzing can begin.
Despite these challenges, there have been several recent propositions on how to apply the fuzzing methodology to hardware verification [4,5,6,7,8,9,10,11,12,13,14,15,16,21,22,23,24,25] (more details and explanation about these references in Section 2). While the fuzzing of microelectronic hardware can be considered an emerging topic, it still has currently several gaps to fill.
One of these gaps is the flexibility to apply the fuzzing concept to different ASIC designs. Most of the hardware fuzzing approaches to date depend on a digital simulator such as Verilator as integral part of the development tool chain, which makes their use impossible if the situation requires the co-simulation of the logic and analog part of the integrated circuit (IC). These mixed-signal simulations are widely used in the industry and play an important role in the verification process of ASICs, but tend to be more demanding with regards to computational resources. This is why most of the hardware fuzzing approaches focus on digital-only designs as this simplifies and accelerates the fuzzing setup. This approach is useful for digital-heavy designs like microprocessors, where mixed-signal simulations are not as important but excludes ASIC designs where analog functions are more prominent.
Comparing our WTF to an approach like HW-Fuzzing [5], WTF tries to overcome these limitations by creating a very flexible and modular fuzzing framework. This enables the flexible exchange of simulators or even the inclusion of FPGA-based hardware emulations or the usage of different coverage metrics making WTF adaptable to many use-cases including mixed-signal simulations.
Approaches like HW-Fuzzing [5] obtain their effectiveness from the utilization of proven software fuzzers like AFL [29]. However, as software fuzzers are specialized to fuzz software, it requires an extensive tool chain to adapt them for hardware fuzzing. This makes these setups inflexible especially when it comes to the usage of different hardware simulators or the usage of hardware specific coverage metrics as defined by the Unified Coverage Interoperability Standard (UCIS) [17], which are unknown to software fuzzers.
The idea of creating a flexible fuzzing framework is similar to Google’s ClusterFuzz [30], that provides a software-fuzzing infrastructure. Unfortunately, because of the reasons mentioned above, it is not easily possible to adapt such a framework for hardware fuzzing. Therefore, we choose to start the development of WTF from scratch and specifically tailor its architecture to the needs of fuzzing hardware.
4. Methods and Materials
4.1. Main Idea
The main idea of WTF [27] is a modular Python framework that recognizes a set of distinct tasks, forming an iterative workflow (Figure 3): hardware simulation (1), coverage extraction (2), input creation and mutation (3) as well as fuzzing strategies. These tasks are treated in an abstract manner, and the WTF infrastructure provides an interface for the flexibility of solving the tasks with a variety of different methods and modules. For example, the simulator is exchangeable and only a simple simulator-specific wrapper containing routines to drive the simulation software and retrieve coverage information is needed to enable new simulators for the fuzzer.
The stimuli generated by WTF are bitstreams. They are used to feed multiple signals/pins of the DUT simultaneously. In one time-step, an input vector is applied to the DUT by splitting the current sample of the bitstream into slices that resemble the input ports of the DUT. In subsequent time steps or clock cycles, the next samples of the bitstream are applied by the testbench. The testbench may use this representation to create structured inputs for the DUT by, for instance, interpreting each sample as a bus transaction. Therefore, the bitstream is variable in width and length to treat different input port configurations and stimuli lengths. Similar to the other hardware fuzzers, a general fuzzing harness testbench has to be adjusted for each DUT in order to link the bitstream properly to the device and handle housekeeping and clock management.
WTF takes an initial bitstream as a seed, runs a simulation of the testbench with that input, and checks the coverage achieved. The stimulus with the coverage information is then passed to the fuzzing strategy. The fuzzing strategy must then choose from a set of basic mutations such as bitflip, append, insert, or curtail to determine which mutation is to be applied to the stimulus and to start another simulation. The result of this simulation is returned to the fuzzing strategy. This strategy has to decide, wether the mutation is accepted or not. For instance, if a mutation does not increase the coverage, it may be rejected and another mutation is applied. This results in an optimization problem where a set of mutations is able to iteratively increase the coverage. To find this set of mutations, various algorithms already exist and can easily be included into the toolset of WTF. The subsequent subsection formalizes this loop, so that the strategies and the results of Section 5 can be described on a common basis. In the latter part of this article, different setups are evaluated (see Section 5.1).
4.2. Formal Description of the Fuzzing Loop
A stimulus is a sequence of L samples with , where w is the sample width. The testbench provides an interpretation function I that maps a stimulus to the input trajectory of the DUT. Concretely, I applies the samples in sequence, one sample per clock cycle, and splits each sample into slices that are assigned to the individual input ports of the DUT. The stimulus is variable in both width and length, so that the slice assignment matches the input interface of the DUT. In the simplest case, the samples are applied to the ports directly, i.e., the stimulus is fed to the DUT as in bit-banging. Where the testbench instead interprets a sample as one bus transaction, the protocol-level expansion is part of I as well and is performed by the testbench, not by the fuzzer. Simulating a stimulus yields the coverage model , the set of covered coverage items; the priority of a stimulus is .
The mutation operators act on the sample sequence s, whereas the structural semantics of the stimulus, i.e. the protocol frames or transfer sequences that I maps it to, are deliberately outside the operators’ domain. This separation also anticipates a further extension: a protocol-aware generator can be introduced by encoding from an abstract parameter space x and applying the operators to x instead of s. The simulator interface, the coverage model, and the acceptance function are unaffected by such an extension, as they operate on the trajectory rather than on its encoding.
A mutation operator m maps a stimulus and a parameter tuple to a new stimulus, . Each operator draws its parameters from a randomized parameter space, e.g., a sample index and a value, and affects a scaled number ℓ of consecutive samples; ℓ is either fixed or drawn from a truncated normal distribution with configurable mean, standard deviation, and bounds. Table 2 lists the ten operators implemented in WTF. The basic set comprises the value-level edits, while the full set additionally provides the bit-level and boundary-value operators; the random_bare and random configurations of Section 5.1 correspond to setting the operator set of Algorithm 1 to and , respectively.
Given a parent stimulus s and a candidate produced from it, the strategy compares the coverage model of the last accepted mutation step of s, , with the coverage model of , and obtains the number of newly covered items and the number of lost items . A mutation is accepted if it covers more items than it loses, or with a configurable probability p regardless:
where the initial stimulus is always accepted. With , the process is deterministic and accepts only strictly improving mutations; with , non-improving mutations are accepted with probability p, which allows the process to escape local maxima in the coverage landscape.
The generation of successor stimuli, performed by Spawn in Algorithm 1, depends on the exploration mode. In mono mode a single stimulus is processed per step, realizing a depth-first exploration: Spawn returns one mutated copy of the stimulus. In multi mode, a breadth-first exploration is realized: if the last mutation covers new items, Spawn returns eight independently mutated copies of the accepted stimulus, otherwise a single copy, and the not-yet-processed stimuli of the current todo list are postponed to the next step. After each step, the todo list is sorted by priority, descending, and reduced to the B stimuli of highest priority ( in this work), which bounds the number of stimuli processed in parallel. The afl-like strategy additionally restricts the operators available to Spawn per phase: while the first 100 processed stimuli only offer the bit-level and boundary-value operators, the full set is available from the second phase onward.
As a runtime optimization that does not affect the search process, the implementation additionally stores each simulated stimulus together with its result. If the same stimulus is encountered again, the stored result is reused instead of re-running the simulator.
The complete fuzzing process is summarized in Algorithm 1.
| Algorithm 1 WTF fuzzing loop |
|
Require: initial stimulus ; operator set ; acceptance probability p; maximum number of steps N; reduction bound B Ensure: set of stimuli whose simulation ends in FAIL
|
The operations ACCEPT and REVERT update the mutation lineage recorded for each stimulus, i.e., the series of accepted and rejected mutations that produced it.
4.3. Framework Operation
Similar to software fuzzers, WTF automates the fuzzing process; the initial setup and the evaluation of the results remain manual. Before a fuzzing run can start, three prerequisites must be provided:
- (A)
- The design of the DUT is implemented in an hardware description language (HDL) that is compatible with the chosen simulator or, alternatively, synthesized on an FPGA board.
- (B)
- A design-specific fuzzing testbench is provided through which WTF interacts with the DUT. The testbench defines how the fuzzer is connected to the DUT and what it is able to manipulate, and it carries the assertions necessary for evaluation and bug detection. Together, the assertions and the testbench setup constitute a test scenario.
- (C)
- WTF is set up by choosing the fuzzing strategy and related options, the simulator or emulator to be used, and the maximum number of fuzzing steps unless the fuzzer is run in continuous mode; the setup is provided to WTF via a .json file or manually in a Jupyter notebook.
After the setup, WTF is intended to run unattended, for days or weeks if necessary, during which design work or conventional verification may continue. The result is either that no stimulus triggering the predefined assertions was found within the given time, or that WTF found one. In the latter case, stimulus, testbench, and DUT form a test case that can be used independently from the fuzzing framework, either by introducing it into a regression environment or by subjecting it to further analysis by the designer.
WTF is written in Python and keeps additional software dependencies to a minimum; only the hardware simulation or emulation tools are required beyond the Python environment. A runner class acts as the control instance of the fuzzing loop and provides interfaces to the modules responsible for simulation, coverage extraction, and mutation. All of these tasks are abstracted: when the control instance issues the command simulate, a simulator-specific wrapper translates it into the syntax of the concrete simulator and adapts its outputs, such as simulation data or coverage traces, to the internal format of WTF. Given such a small wrapper, the control instance can thus interact with almost any hardware simulator or emulator.
Each input stimulus is a Python object that links the stimulus to the corresponding coverage data and to the history of the previous generations of this specific stimulus, so that the sequence of mutations that led to a stimulus can be analyzed and different stimuli can be compared regarding their coverage. The series of rejected and accepted mutations that led to the creation of a stimulus forms this history, with all accepted mutations as the direct ancestors and all rejected mutations as the non-ancestral branches of the lineage. The perpetual mutation of fuzzing stimuli that drives the loop is formalized in Section 4.2 and summarized in Algorithm 1. Consider an initial stimulus A. A mutation of A produces stimulus B, whose coverage is not beneficial according to the chosen fuzzing strategy, so the mutation is rejected. Mutating A again produces stimulus C, which is rejected on the same basis. A further mutation produces stimulus D, whose coverage is favorable, so D is accepted and becomes the basis for the next set of mutations.
4.4. Components of a Fuzzing Step
The main goal of WTF is to be independent of the used simulator. Mixed-signal circuits may require the co-simulation of an analog and a digital simulator, whereas digital-only designs are preferably simulated with a single digital simulator for reasons of performance. Using different types of simulators depending on the design stage and type is an established industry practice but poses a significant challenge for hardware fuzz testing. WTF addresses this by relocating the task of test case simulation to a separate module behind the simulator-specific wrapper described above: the wrapper starts the simulation with the given stimulus and searches the simulation logs for violated assertions, which are signaled by simulator-specific indicator terms such as “ERROR” or “FAILURE”. The same approach extends to FPGA prototyping, where a wrapper starts the design execution on the board and handles coverage readout and bug detection. Currently, WTF supports the Cadence Xcelium [31] and Icarus Verilog [32] simulators.
The coverage information of each stimulus is retrieved from the simulation logs and attached to the stimulus object. The traces of most simulators follow the UCIS standard [17]. Regardless of the concrete coverage metric (toggle, code line, code block, finite state machine (FSM), or other types), the simulator-specific wrapper compiles them into a custom Python data class that WTF uses as a simulator-independent data format for coverage information. Between stimuli, WTF compares each coverage item and is able to track changes in their coverage. Overall coverage, the summary of all coverage items of all types available for a simulation, is the coverage metric used in Section 5.4 and, in this work, precisely the priority of the fuzzing loop of Section 4.2: the cardinality of the coverage model of the stimulus. An overall coverage of 20 may, for example, consist of 15 toggled nets and 5 executed lines of code. Stimuli that violate the assertions of the test scenario are considered interesting stimuli and are reported to the user. In contrast to [18], WTF does not instrument the design for software simulations and instead relies on coverage traces provided by the simulator or, for FPGA emulations, on the method presented in [19]. As long as the trace is translated to the internal data class, WTF is indifferent about how the coverage information was collected.
The stimulus, now bundled with its coverage information, is subjected to mutation in order to generate a new stimulus and restart the fuzzing cycle. WTF differentiates between a mutation, which is applied to a fuzzing stimulus, and a fuzzing strategy, which is applied to the fuzzing process and is sometimes simply called “fuzzer” in other publications. A mutation may be a single bitflip, with a parameter indicating the specific location in the stimulus, or a standard genetic mutation such as insertion, deletion, curtail, or exchange. The strategy has two tasks: it chooses the mutation and its parameters, and, according to the acceptance function of Section 4.2, decides whether the mutated stimulus is accepted or rejected. In the latter case, the parent stimulus is subjected to another mutation. As different strategies behave differently with regards to speed and efficiency depending on the fuzzing target, Section 5.4 analyzes and compares the different fuzzing strategies of WTF when applied to the different DUTs.
5. Test Setup and Results
5.1. Strategies
In the context of this paper, we experimented with two different strategies. The first strategy chooses a mutation randomly from a given pool of possible mutations. The other strategy is inspired by the software fuzzer AFL [29] and employs a multi-phase mode where the pool of mutations changes according to the current phase of the fuzzing process. Furthermore, each strategy is varied by parameters:
- Deterministic/stochastic: This parameter introduces a probability that a mutation that does not increase the overall coverage will be accepted regardless. This is the acceptance probability p of the acceptance function given in Eq. (1) and Algorithm 1. In the context of this paper, we used a flat probability of which in our experience proved to be a good balance between exploration and exploitation with respect to the coverage optimization.
- mono/multi or depth-first vs. breadth-first: In the default “mono” mode of operation, the fuzzer focuses on one stimulus per fuzzing step leading to a sequential processing of a single branch of stimuli. In contrast to that, in the “multi” mode a successful mutation spawns several offspring stimuli that are processed in parallel during a single fuzzing step. To avoid an explosion of number of stimuli, they are prioritized and filtered by the achieved coverage. Practically, the “mono” mode functions similar to a depth-first search algorithm while the “multi” mode shows some resemblance to a breadth-first search algorithm.
- limited set of available mutations: The pool of mutations that are available for the fuzzing strategy may be limited to “basic” mutations. This means the stimulus may only be changed by appending, inserting, curtailing, exchanging, or deleting values. This corresponds to the basic operator set of Section 4.2, listed in Table 2. In contrast to that, the full range of mutations would also include the option to flip bits, arithmetically increase or decrease values, insert multiple consecutive copies of a value, or exchange values for minimum or maximum values. Limiting the available mutations reduces the fuzzer’s degrees of freedom to change the stimulus. The advantages and disadvantages of this option are discussed in Section 6.
5.2. Test Scenarios and Bug Detection
We tested WTF with several circuit designs. In this paper, we choose to showcase the performance of WTF with these three designs of increasing complexity. For each of them, the assertions are created together with the testbench as part of the test scenario. In the following, an assertion denotes a testbench check on the behavior of the DUT that emits a distinct error indication into the simulation log whenever the checked property is violated. The simulator wrapper classifies a stimulus as interesting, i.e., as a potential bug, whenever this indication appears in the log. In the terms of the fuzzing loop of Section 4.2, this corresponds to the fail state of Algorithm 1, which stops the further mutation of the affected stimulus.
5.2.1. Basic Example: Digital Lock
Although implemented differently, this design is functionally equivalent to the digital lock proposed and used in [5]. The lock opens when an unknown combination of eight 4-bit numbers is applied in sequence. The testbench challenges the lock with the fuzzing stimuli from WTF and evaluates the open output after the sequence. A stimulus is interesting if the lock has been successfully unlocked, i.e., if the fuzzer has found the correct combination. For coverage purposes, the design exposes its internal state in a one-hot state register that allows observing the process via the toggle-coverage of this register.
5.2.2. Mixed-Signal LED Driver
This example showcases the ability to include mixed-signal simulations in the WTF toolchain. It comes with a moderately complex digital part and a simple analog part modeled in VerilogAMS. In order to turn on the LEDs, the stimulus has to adhere to the bus protocol and write sufficient power settings in two out of 16 specific registers. The bug detection is realized by an analog monitor that observes the supply current of the DUT and flags a threshold crossing of . This is the only check that inspects an analog signal of the DUT, and it detects an overcurrent condition in the analog part even though the coverage exploited by the fuzzer remains the digital-domain coverage of the simulator.
5.2.3. Complex Example: Wake-up Receiver
This design receives unique identification signals via an antenna and, if the correct ID has been sent, wakes a host device. It has a size of 593 registers. The testbench feeds the fuzzing stimulus as a digitized antenna signal into the wake-up receiver; each 7-bit sample encodes one antenna bit, where the most significant bit is the bit value and the remaining bits define the bit duration in multiples of the receiver’s clock period. A potential bug would lead to the chip not responding to a next wake-up sequence. Therefore, the testbench performs a still-alive test after the fuzzing stimulus has been sent: It sends a valid wake-up header and checks the resulting interrupt request, so that a stimulus is interesting if the fuzzing activity drives the DUT into a state in which it no longer responds to the standardized wake-up signal. Before this phase, the testbench sets a flag that excludes the still-alive test from the coverage fed back to the fuzzer. Without this measure, the fixed header would blanket the coverage of the stimulus and effectively blind the fuzzer.
5.2.4. Characterization of the Scenarios
The three scenarios are deliberately chosen as staged benchmarks of increasing scope. The digital lock is a minimal academic reference design, functionally equivalent to the design used in [5], which makes the results directly comparable to earlier work. The LED driver extends the evaluation to the mixed-signal domain: the stimulus must adhere to the bus protocol and write correct power settings into two of the 16 registers, while the bug indication is produced by an analog monitor. The wake-up receiver is the most involved target, both in size (593 registers) and in the nature of the failure it models: a bug may not manifest as an error indication but may leave the device unresponsive to a subsequent wake-up sequence, a failure class that the still-alive test detects. Together, the scenarios span purely digital, mixed-signal, and stateful verification tasks, and they are used in the following to evaluate how the fuzzing strategies scale with this scope.
All three scenarios share the same structure. A property check in the testbench and a distinct error indication in the simulation log is evaluated so that the fuzzing framework is independent of the concrete check. For adapting to new scenarios, only the indicator string has to be adapted to the test scenario.
5.3. Simulation Environment
All experiments are conducted with the Cadence Xcelium simulator (xrun), launched through a per-design shell script that prepares the working directory, loads the simulator, and forwards the run results. The same script interface supports further simulators; in the presented experiments, however, Xcelium is used throughout. Each fuzzing step corresponds to one simulation of the DUT per active stimulus, so that the wall-clock time of a step is dominated by the simulation run time. Table 3 summarizes the environment of the three test setups.
For the mixed-signal LED driver, the analog part is modeled with VerilogAMS behavioral models and co-simulated with the digital part in a transient simulation with a timescale of . For the wake-up receiver, two versions of the design are fuzzed. In the first, the behavioral Verilog model is used. For the second, the digital top level is synthesized with Cadence Genus into a technology-independent gate-level netlist, which is then compiled directly into the simulator. This generic netlist replaces the register-level logic by boolean logic gates, resulting in a finer-grained coverage landscape that is explored more easily by the fuzzer.
Coverage is obtained from the simulator’s code-coverage database, which is parsed after each simulation into WTF’s internal coverage model; a stimulus is classified as interesting whenever it violates a predefined assertion in the testbench, as indicated by the simulation log.
For integrating a simulator with WTF, a simulator-specific wrapper is needed that starts the simulation, retrieves the result, and extracts the coverage information. The wrapper parses the simulation log and classifies the result emitted by the assertions of the testbench. After each simulation, the coverage database of the simulator is read and converted into the universal internal format of WTF described in Section 4.2. This decouples the coverage items from the specific format of the simulator and allows different simulators and coverage metrics to be used interchangeably.
Two aspects of this integration are to be noted. First, every part of the test scenario that is fixed, i.e., that is not driven by the fuzzing stimulus, must be excluded from the coverage that is fed back to the fuzzer. The still-alive test of the wake-up receiver is excluded in this way. Second, the simulator-specific effort is confined to the wrapper and to the coverage importer. The fuzzing process itself, i.e., the selection and mutation of the stimuli, is independent of the simulator in use. This is the property that allows the same strategies of Section 5.1 to be applied unchanged to all three test setups.
5.4. Results
For each fuzzing strategy, we used five fuzzing runs with 400 steps each against all three mentioned design examples. The mean and the 95% confidence interval of the corresponding overall coverage, i.e., the summary of all covered coverpoints, are depicted in Figure 4 (digital lock example), Figure 5 (LED driver example), Figure 6 (wake-up receiver example), and Figure 7 (wake-up receiver example with generic netlist) for each fuzzing step.
As described in Section 5.1, two different strategies in overall 12 different settings were tested: a random strategy, where a mutation is chosen at random for each fuzzing step, and an AFL-like strategy “afl”, where the fuzzing process is partitioned in different phases in which the pool of mutations consists of different types for each phase. The random strategy was tested in two modes, “random_bare”, where the strategy has access to a limited pool of mutations and “random”, where it has access to the full pool of available mutations. Each strategy “afl”, “random_bare”, and “random” was tested in “mono” and “multi” mode, as well as in deterministic and stochastic mode, as described in Section 5.1.
To illustrate how WTF mutates stimuli, Figure 8 shows a graph representation of a fuzzing run. The target design was the wake-up receiver example with a generic netlist that comprises boolean logic gates to realize the logic functionality. The chosen strategy was “random” in “multi” and “stochastic” mode. The graph is a mutation tree starting at the initial stimulus and shows the different mutation steps the fuzzer has applied. Due to the chosen strategy in “multi” mode, the tree shows distinct branching where the fuzzer has explored multiple promising stimuli but overall prioritized the most successful stimulus, resulting in the highest coverage. Due to the strategy being in the “stochastic” mode, some stimuli were accepted even without actually raising the achieved coverage (). This has helped the fuzzer to avoid being stuck on local maxima.
Figure 8.
A graph representation that illustrates the fuzzing process of WTF for the wake-up receiver example with a generated generic netlist. The chosen strategy here was “random” and mutations that did not increase the coverage were accepted anyway with a probability of (“stochastic”). This helps to overcome local maxima in the coverage landscape. Each accepted mutation spawned multiple offspring stimuli in the next fuzzing step and the stimuli were prioritized by achieved coverage and processed in parallel (“multi”). This fuzzing run produced a total of 3,292 individual stimuli. Note how WTF is evaluating different branches in this stimulus evolution tree.
Figure 8.
A graph representation that illustrates the fuzzing process of WTF for the wake-up receiver example with a generated generic netlist. The chosen strategy here was “random” and mutations that did not increase the coverage were accepted anyway with a probability of (“stochastic”). This helps to overcome local maxima in the coverage landscape. Each accepted mutation spawned multiple offspring stimuli in the next fuzzing step and the stimuli were prioritized by achieved coverage and processed in parallel (“multi”). This fuzzing run produced a total of 3,292 individual stimuli. Note how WTF is evaluating different branches in this stimulus evolution tree.

In addition to the overall coverage achieved, the fuzzing runs also produced a number of stimuli that violate the assertions of the test scenarios described in Section 5.2. Following the convention of the test scenario, such stimuli are interesting stimuli, and they constitute the result that is handed over to the verification engineer. We emphasize that an interesting stimulus indicates a violation of the test scenario and does not, in general, identify a defect in the design. Its triage is a task of the verification engineer. For the digital lock, the interesting stimulus is the stimulus that opens the lock, i.e., the stimulus that the fuzzer was tasked with finding. Here, the assertion encodes the intended success criterion, so the finding demonstrates that the fuzzer is able to reach a predefined target state. For the mixed-signal LED driver, the fuzzer found stimuli that drive the DUT into an overcurrent condition, i.e., that cause the supply current to exceed the threshold of the analog monitor. Whether such a condition reflects a defect in the design or an acceptable operating point is decided by the verification engineer, while in either case the stimulus provides a concrete scenario that would otherwise have to be constructed by hand. For the wake-up receiver, no interesting stimuli were found in the presented runs. As we discuss in Section 7, the fuzzing process was not able to generate stimuli that cover a significant part of the state machine of the DUT, which we interpret as a limitation of the presented black-box approach for protocol-rich interfaces.
6. Discussion
6.1. Impact of Fuzzing Strategy
Due to WTF being a flexible fuzzing framework, it is straightforward and simple to add new fuzzing strategies. We have created numerous strategies for testing, some of which we can compare to each other in this paper. The two strategies shown in this paper were used in different modes resulting in overall 12 distinct setups. In the following, we discuss the impact of these modes.
Deterministic vs. stochastic: As the fuzzer is a coverage optimization algorithm, it can be assumed that typical insights to optimization methods also apply to the performance of the fuzzer. An example is the problem of local maxima, where optimization methods can be stuck on. To overcome this, various algorithms are available. We tested the impact of a stochastic mode. Here, mutations that do not increase the coverage are accepted anyway with a flat probability of . Typical for genetic algorithms, this probability should not be too high as this would disturb the directed nature of the optimization algorithm, but also should not be too low in order to help the fuzzer to not be stuck on local maxima for too long. The value of p used in this paper was chosen based on empirical tuning.
While this stochastic mode did not perform well in comparison to the naïve deterministic mode for the digital lock example, it did perform well for the other three examples. Still, surprisingly it did not outperform the deterministic mode, indicating that the problem of local maxima might not be that relevant for the designs and timescales that are considered in this paper. However, an optimization method similar to simulated annealing where the probability p is not set to a constant value but rather changed with increasing or decreasing temperature might still be valuable in other settings.
Variations in available mutation types: The “random” strategy was tested in two variations. In the “bare” configuration only basic genetic mutations like insertions, deletions, etc. are available to the fuzzer, whereas in the normal configuration all implemented mutations are available (see Section 5.1). The idea behind this test is that more available mutations increase the degrees of freedom of the fuzzer to change the stimulus and explore the parameter space. However, this does not always benefit the performance of the fuzzer. In the simple example with the digital lock, the fastest strategy is to start with an empty stimulus and try out appending one integer at a time until a higher coverage is achieved and we know that we found a match in that position. By this we would be trying out all positions of the digital combination lock at a time, resulting in a fast lock pick. However, while this simple strategy might fit ideally for the digital lock, it is not suitable for more complex designs, where stimuli have to adhere to protocols or other kind of grammar and more degrees of freedom in mutating the stimulus are useful. This effect can be seen as the “random_bare” strategy achieves higher coverage slightly faster in the lock example compared to the “random” strategy but fails to do so in the two wake-up receiver tests where it is the other way around.
Afl-like strategy vs. random: Here, we compare the performance of the “random” strategy with an afl-like phased strategy, where the fuzzing process is divided into separate phases (see [29]). These phases are distinct from each other in the availability of different types of mutations. Interestingly, we see a very similar performance of these strategies, with a slight advantage on the side of the “random” strategy for the lock example, fuzzy LED, and wake-up receiver netlist design. This is surprising as one could assume the afl-like strategy to be superior. However, a conclusion could also be that the “random” strategy is a solid all-purpose strategy while improvements and specializations in the realm of software fuzzers like [33,34], or [35] indicate benefits of specialized fuzzers for specific fuzzing targets.
Depth-first (mono) vs. breadth-first (multi): The two modes appear at first to have the largest impact on the fuzzing performance. For all four fuzzing targets and all strategy setups, the breadth-first or “multi” mode considerably outperforms the depth-first (mono) mode. One explanation is that the method of exploring different stimuli and then prioritizing the most promising ones has proven itself for software fuzzers (see e.g. [35]) and is therefore a good strategy for hardware fuzzers as well. To observe this behavior, Figure 8 shows the evolution of a stimulus over several iterations. It depicts the complete stimulus evolution tree of a single fuzzing run on the wake-up receiver with the generic netlist, executed with the random strategy in multi and stochastic mode (). The tree, which contains 3,292 stimuli, makes two mechanisms of WTF directly observable. First, each fuzzing step spawns offspring from several distinct parent stimuli, after which the run re-converges on the stimulus with the highest achieved coverage. This parallel branch structure is the visual signature of the breadth-first exploration; in mono mode the evolution tree degenerates to a single chain, as only one stimulus is tracked at a time. Second, the coverage-neutral side branches that remain in the tree are the direct consequence of accepting non-coverage-improving mutations with probability : without this stochastic escape, the run would follow strictly improving mutations only and could remain trapped in local maxima. This is consistent with the findings in [5].
6.2. Impact of Test Scenario
The results presented here show that the ability of a fuzzer to produce test cases that achieve high coverage also depends on the test scenario and testbench the fuzzer is presented with. The key question is: how is the fuzzer connected to the DUT and what is the fuzzer actually able to manipulate there.
WTF and most other fuzzers are putting out a data structure containing the stimulus that has to be applied to the target DUT’s input ports. This includes the mapping of individual data items to each port, as well as realizing the temporal behavior. In case the DUT has an interface like a SPI or an I²C it might suggest to interpret the samples of the datastream as bus transactions.
The stimuli can be fed into the interface similar to bit banging, i.e., each sample of the datastream represents the input for one system clock cycle. However, Trippel pointed out that this would create an exploration barrier due to the required structured syntax and timing of bus protocols and would inflate the required length of the stimulus unnecessarily [36]. To address this problem, the testbench can be specifically tailored for the DUT to translate the fuzzing stimulus into a valid bus transaction. But this is where we leave the area of black-box fuzzing and creep into the realm of grey-box fuzzing. The more we assist the fuzzer by transforming the stimulus in order to make it adhere to bus protocols, syntax, and grammar, the less the fuzzer is able to find bugs related to that protocol. If the testbench feeds the stimulus to the bus while conforming to interface timing protocols, the fuzzer will not be able to detect timing related errors originating from the implementation of the interface itself in the DUT. Additionally, while the testbench is becoming more and more specific and we need to have insight to design features and protocols, it requires more time and effort to tailor the testbench to the test scenario.
Furthermore, when creating the testbench, we are challenged with another set of considerations: how do we deal with the initialization of the DUT? How do we recognize errors and bugs in the DUT? And what does the coverage landscape of the testbench look like? As in the previous paragraph, it is a trade-off again: if the testbench reduces the complexity for the fuzzer by properly initializing the DUT before feeding in the fuzzing stimulus, the startup process of the DUT will be out of scope for tests generated by the fuzzer.
A relevant test scenario might be that the testbench initializes the DUT, then fuzzing stimuli are applied to the DUT, followed by a “still-alive” test. The intention of this setup is to check whether something is able to bring the DUT into a state where it does not respond to a standardized test, i.e., to check whether the device is still alive and not in a deadlock. In this case, it is important that the fuzzer does not receive the coverage of the whole testbench since the still-alive test will blanket the achieved coverage of the fuzzer-generated stimulus, effectively blinding the fuzzer.
It is details like these that have to be taken into consideration that make the use of fuzzers for hardware testing not as universal and straightforward as a quick look on software fuzzers might suggest. Nonetheless, this work steps in line with other publications like [5] or [10] that still suggest useful and promising, yet specific applications for fuzzers in hardware verification.
7. General Limitations and Outlook
The most important limitation of fuzz testing with respect to its ability to assist the verification process is that it cannot be used to validate a design. Due to its stochastic and try-out nature, this method may falsify the presumed state of flawlessness but is not able to prove it. Only by exploring the complete state space, this method is able to verify something, but this is almost never a practical solution as this space is generally too big. In the few cases where it is not, there are easier ways to cover it than fuzz testing.
However, as stated in the introduction, the verification process of ASICs is usually not about proving flawlessness either. Typically, the verification process focuses on proving the functionality and checks various corner cases. This is where fuzz testing may be useful, as it is an automated process that challenges the design with test cases that go beyond obvious corner cases.
Another limitation of specifically coverage-guided fuzz testing is its dependency on coverage. A scenario in which stimuli always result in the same coverage or other scenarios with significant coverage indifference are not suitable for coverage-guided fuzz testing. As described in Section 6.2, this can be sometimes mitigated by careful setup of the fuzzing testbench, but coverage-guided fuzz testing is not universal enough to be applicable to every verification scenario. Some fuzzing approaches tried to overcome this challenge by tailoring the used coverage metric to the specific fuzzing target and fuzzing setup. We note that the coverage exploited in the mixed-signal experiments of this work is the digital-domain coverage reported by the simulator. The development of mixed-signal-specific coverage metrics is a distinct research question that we identify as future work.
A more fundamental limitation of the presented approach becomes apparent with the wake-up receiver. The input of this DUT is a communication protocol, in which the fuzzing stimulus is interpreted as a sequence of antenna bits with a specific duration, and the receiver traverses its state machine only in response to specific sequences. In the presented runs, the fuzzing process was not able to generate stimuli that cover a significant part of this state machine. We interpret this as an indication that black-box fuzzing, in which the fuzzer manipulates the bit stream without knowledge of the underlying protocol, is not sufficient for this class of DUT. A deeper understanding of the design is needed in order to guide the stimulus generation. In a classical simulation environment, such understanding can only be obtained by analyzing the code of the DUT, which requires a custom-tailored code analysis implementation for each individual design. Using large language models for this step changes the character of the approach. The model can derive the protocol-level encoding G of the generator extension introduced in Section 4.2 from the design description itself, without a dedicated analysis tool for every new DUT. Recent work on LLM-based fuzzing systems demonstrates that large language models can be used to create more structured stimulus generators from a description of the DUT [26], which supports this direction for targeting instruction-level fuzzing. As the generator would be derived from the design under test rather than from the observable behavior alone, the resulting approach is no longer black-box fuzzing in the strict sense. We will explore this direction in a future implementation.
Overall, there is a multitude of different approaches for hardware fuzzing and potential improvements. Comparing the literature about these proves to be difficult, as there is a distinct lack of comparable data. On the one hand, this is due to the fundamental differences in the individual approaches. On the other hand, even where fuzzers are comparable, no comparable data is available. In this paper, we tried to address this problem by including the digital lock as fuzzing target that was published in [5], but we acknowledge that this, still, is insufficient.
In order to improve the comparison of hardware fuzzing approaches, a comparison of hardware fuzzing approaches on a platform such as Google’s FuzzBench would be useful. FuzzBench provides a universal benchmark platform for software fuzzers, which is necessary to evaluate and compare the performance of individual fuzzers and the benefits of specific fuzzing concepts. On the hardware side of things, the authors of [37] provide maliciously affected circuits for benchmarking purposes. However, these focus on hardware trojans and their implication on hardware security, leaving out other typical bugs that occur during ASIC design like the bug in the MSP430 microcontroller mentioned in the introduction. Most importantly, good comparable data on hardware fuzzing performance remains to be published.
8. Conclusions
In this paper, we present WTF as a Python-based hardware fuzzing framework and discuss fuzz testing as a means to assist the verification process of ASICs. The key of this approach is its modularity where a framework is used to connect modules for fuzzing strategies, mutations, hardware simulators or emulators, and coverage information. Similar to driver software, a simulator-specific small wrapper enables the interchangeable use of different hardware simulators like Cadence Xcelium [31] or FPGA-based hardware emulators. In contrast to other hardware fuzzing approaches, this enables the use of WTF for example in scenarios where a mixed-signal simulator is needed.
The ability to easily introduce new or modify existing fuzzing strategies can be used to test different strategies in a regression environment. In this work, we present an analysis of 12 different fuzzing strategy setups against three different circuit designs. The results suggest the superiority of a breadth-first over a depth-first algorithm and the benefit of sheer numbers regarding the amount of tested stimuli in the context of fuzz testing. Furthermore, the results indicate that only less complex designs benefit from fuzzing strategies with reduced degrees of freedom for the shaping of fuzzing stimuli and that a naïve strategy where mutations are drawn at random is competitive compared to an afl-like strategy.
The successful application of fuzz testing in the ASIC verification process is highly dependent on the testing scenario and the setup of the fuzzing testbench. It is important for coverage-guided fuzzers that the generated stimuli can have a meaningful effect on the DUT and the achieved coverage. It is important that the abstract coverage landscape of the DUT does have a gradient of some sort so that the optimization algorithm is able to work. The development of mixed-signal-specific coverage metrics, which would extend the coverage exploited by the fuzzer from the digital domain to analog behavior, is a distinct research question that we leave to future work.
It can be seen that the success of fuzz testing in the realm of software engineering is not easily adaptable to the realm of microelectronic hardware. Yet, WTF is one of multiple successful applications in this regard. However, we are not there yet. Hardware fuzzers are challenged with comparably time consuming hardware simulations or cumbersome FPGA-based hardware emulations and protocols that may demand complex grammar. Despite these challenges, there are hardware fuzzing approaches that tackle individual problems very well. It remains to be seen whether the advantages of individual hardware fuzzers can be merged and fuzz testing is able to become a valued asset for ASIC verification.
Author Contributions
Conceptualization and methodology, Henning Siemen and Georg Gläser; software, Henning Siemen, Manuel Jirsak and Georg Gläser; writing—original draft preparation, Henning Siemen, Georg Gläser; writing—review and editing, Georg Gläser, Eric Schäfer; supervision, project administration, and funding acquisition, Georg Gläser, Eric Schäfer. All authors have read and agreed to the published version of the manuscript.
Funding
The authors would like to acknowledge funding support through the project KI-EDA, funded by the Federal Ministry of Education and Research within the framework of the programme “Microelectronics for Industry 4.0 (ElektroniK I4.0)” under the consortium no. es2eli4001, IMMS under the reference no. 16ME0010; the joint project VE-VIDES, funded by the Federal Ministry of Education and Research under the reference no. 16ME0246; and the IMMS AI research group, funded by the German Land of Thüringen.
Institutional Review Board Statement
Not applicable.
Acknowledgments
During the preparation of this manuscript/study, the authors used Qwen 3.8 27B within openwebui for the purposes of revising and rewriting parts of article as well as consistency checking with the implementation. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AFL | American Fuzzy Lop |
| ASIC | application-specific integrated circuit |
| DUT | device under test |
| EDA | electronic design automation |
| FPGA | field-programmable gate array |
| FSM | finite state machine |
| GRM | golden reference model |
| HDL | hardware description language |
| IC | integrated circuit |
| I2C | inter-integrated circuit |
| SPI | Serial Peripheral Interface |
| UCIS | Unified Coverage Interoperability Standard |
| WTF | What the Fuzz |
References
- Texas Instruments Inc. MSP430FR6047 Device Errata Sheet (Rev. N). 2021. Available online: https://www.ti.com/lit/er/slaz692n/slaz692n.pdf (accessed on 03.Jul.2024).
- Miller, B.P.; Fredriksen, L.; So, B. An empirical study of the reliability of UNIX utilities. Commun. ACM 1990, 33, 32–44. [Google Scholar] [CrossRef]
- Fürtig, A.; Gläser, G.; Grimm, C.; Hedrich, L.; Heinen, S.; Lee, H.S.L.; Nitsche, G.; Olbrich, M.; Radojicic, C.; Speicher, F. Novel metrics for Analog Mixed-Signal coverage. In Proceedings of the 2017 IEEE 20th International Symposium on Design and Diagnostics of Electronic Circuits & Systems (DDECS), 2017; pp. 97–102. [Google Scholar] [CrossRef]
- Canakci, S.; Delshadtehrani, L.; Eris, F.; Taylor, M.B.; Egele, M.; Joshi, A. Directfuzz: Automated test generation for rtl designs using directed graybox fuzzing. In Proceedings of the 2021 58th ACM/IEEE Design Automation Conference (DAC); IEEE, 2021; pp. 529–534. [Google Scholar]
- Trippel, T.; Shin, K.G.; Chernyakhovsky, A.; Kelly, G.; Rizzo, D.; Hicks, M. Fuzzing Hardware Like Software. 2021. [Google Scholar] [CrossRef]
- Canakci, S.; Rajapaksha, C.; Delshadtehrani, L.; Nataraja, A.; Taylor, M.B.; Egele, M.; Joshi, A. Processorfuzz: Processor fuzzing with control and status registers guidance. In Proceedings of the 2023 IEEE International Symposium on Hardware Oriented Security and Trust (HOST); IEEE, 2023; pp. 1–12. [Google Scholar]
- Muduli, S.K.; Takhar, G.; Subramanyan, P. Hyperfuzzing for soc security validation. In Proceedings of the Proceedings of the 39th International Conference on Computer-Aided Design, 2020; pp. 1–9. [Google Scholar]
- Rajapaksha, C.; Delshadtehrani, L.; Egele, M.; Joshi, A. SIGFuzz: A framework for discovering microarchitectural timing side channels. In Proceedings of the 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE); IEEE, 2023; pp. 1–6. [Google Scholar]
- Gadde, D.N.; Kumar, A.; Lettnin, D.; Simon, S. FuzzWiz – Fuzzing Framework for Efficient Hardware Coverage. arXiv 2024, arXiv:cs. [Google Scholar]
- Laeufer, K.; Koenig, J.; Kim, D.; Bachrach, J.; Sen, K. RFUZZ: Coverage-Directed Fuzz Testing of RTL on FPGAs. In Proceedings of the International Conference on Computer-Aided Design (ICCAD), 2018; pp. 1–8. [Google Scholar] [CrossRef]
- Hossain, M.M.; Vafaei, A.; Azar, K.Z.; Rahman, F.; Farahmandi, F.; Tehranipoor, M. Socfuzzer: Soc vulnerability detection using cost function enabled fuzz testing. In Proceedings of the 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE); IEEE, 2023; pp. 1–6. [Google Scholar]
- Tyagi, A.; Crump, A.; Sadeghi, A.R.; Persyn, G.; Rajendran, J.; Jauernig, P.; Kande, R. Thehuzz: Instruction fuzzing of processors using golden-reference models for finding software-exploitable vulnerabilities. arXiv 2022, arXiv:2201.09941. [Google Scholar]
- Hur, J.; Song, S.; Kwon, D.; Baek, E.; Kim, J.; Lee, B. Difuzzrtl: Differential fuzz testing to find cpu bugs. In Proceedings of the 2021 IEEE Symposium on Security and Privacy (SP); IEEE, 2021; pp. 1286–1303. [Google Scholar]
- Chen, C.; Kande, R.; Nguyen, N.; Andersen, F.; Tyagi, A.; Sadeghi, A.R.; Rajendran, J. {HyPFuzz}:{Formal-Assisted} Processor Fuzzing. In Proceedings of the 32nd USENIX Security Symposium (USENIX Security 23), 2023; pp. 1361–1378. [Google Scholar]
- Borkar, P.; Chen, C.; Rostami, M.; Singh, N.; Kande, R.; Sadeghi, A.R.; Rebeiro, C.; Rajendran, J. WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors. arXiv 2024, arXiv:2402.03704. [Google Scholar]
- Li, T.; Zou, H.; Luo, D.; Qu, W. Symbolic simulation enhanced coverage-directed fuzz testing of rtl design. In Proceedings of the 2021 IEEE International Symposium on Circuits and Systems (ISCAS); IEEE, 2021; pp. 1–5. [Google Scholar]
- Unified Coverage Interoperability Standard (UCIS). Available online: https://www.accellera.org/images/downloads/standards/ucis/UCIS_Version_1.0_Final_June-2012.pdf.
- Laeufer, K.; Iyer, V.; Biancolin, D.; Bachrach, J.; Nikolić, B.; Sen, K. Simulator independent coverage for RTL hardware languages. Proceedings of the Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems 2023, Volume 3, 606–615. [Google Scholar] [CrossRef]
- Jirsak, M.; Siemen, H.; Lienke, J.; Grabmann, M.; Schäfer, E.; Gläser, G. Under Cover: On-FPGA Coverage Monitoring by Netlist Instrumentation. In Proceedings of the 2023 19th International Conference on Synthesis, Modeling, Analysis and Simulation Methods and Applications to Circuit Design (SMACD); IEEE, 2023; pp. 1–4. [Google Scholar]
- Saravanan, R.; Pudukotai Dinakarrao, S.M. The Fuzz Odyssey: A Survey on Hardware Fuzzing Frameworks for Hardware Design Verification. In Proceedings of the Proceedings of the Great Lakes Symposium on VLSI 2024, New York, NY, USA, 2024; GLSVLSI ’24, pp. 192–197. [Google Scholar] [CrossRef]
- Squillero, G. MicroGP—An Evolutionary Assembly Program Generator. Genet. Program. Evolvable Mach. 2005, 6, 247–263. [Google Scholar] [CrossRef]
- Dobis, A.; Petersen, T.; Schoeberl, M. Towards Functional Coverage-Driven Fuzzing for Chisel Designs. In Proceedings of the Workshop on Open-Source EDA Technology (WOSET 2021), 2021. [Google Scholar]
- Fajardo, B.; Laeufer, K.; Bachrach, J.; Sen, K. RTLFuzzLab: Building A Modular Open-Source Hardware Fuzzing Framework. In Proceedings of the Workshop on Open-Source EDA Technology (WOSET), 2021. [Google Scholar]
- Yoshisue, K.; Masuda, Y.; Ishihara, T. Dynamic verification of approximate computing circuits using coverage-based grey-box fuzzing. In Proceedings of the 2021 IEEE 27th International Symposium on On-Line Testing and Robust System Design (IOLTS); IEEE, 2021; pp. 1–7. [Google Scholar]
- Hossain, M.M.; Dipu, N.F.; Azar, K.Z.; Rahman, F.; Farahmandi, F.; Tehranipoor, M. TaintFuzzer: SoC Security Verification using Taint Inference-enabled Fuzzing. In Proceedings of the 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD), 2023; pp. 1–9. [Google Scholar] [CrossRef]
- Wang, K.; Li, C.; Chang, K.; Cai, S.; Han, Y.; Wang, Y. When Fuzzing Meets Understanding: LLM-Driven Semantic Test Generation for RTL Verification. Technical report, Institute of Computing Technology, Chinese Academy of Sciences, 2026. [Google Scholar] [CrossRef]
- Siemen, H.; Lienke, J.; Gläser, G. Hot Fuzz: Assisting verification by fuzz testing microelectronic hardware. In Proceedings of the 2023 19th International Conference on Synthesis, Modeling, Analysis and Simulation Methods and Applications to Circuit Design (SMACD), 2023; pp. 1–4. [Google Scholar] [CrossRef]
- Piziali, A. Functional verification coverage measurement and analysis, 1st ed.; Springer: New York, 2004. [Google Scholar] [CrossRef]
- Zalewski, Michal. American fuzzy lop. Available online: https://lcamtuf.coredump.cx/afl/.
- Google. ClusterFuzz. Available online: https://github.com/google/clusterfuzz.
- Systems, C.D. Xcelium Simulator User Guide Product. Version 22.09 2022. [CrossRef]
- Icarus Verilog Simulator.
- Aschermann, C.; Schumilo, S.; Blazytko, T.; Gawlik, R.; Holz, T. REDQUEEN: Fuzzing with Input-to-State Correspondence. Proc. NDSS 2019, Vol. 19, 1–15. [Google Scholar]
- Pham, V.T.; Böhme, M.; Santosa, A.E.; Căciulescu, A.R.; Roychoudhury, A. Smart greybox fuzzing. IEEE Trans. Softw. Eng. 2019, 47, 1980–1997. [Google Scholar] [CrossRef]
- Böhme, M.; Pham, V.T.; Roychoudhury, A. Coverage-based greybox fuzzing as markov chain. In Proceedings of the Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, 2016; pp. 1032–1043. [Google Scholar]
- Trippel, T. Developing Trustworthy Hardware with Security-Driven Design and Verification. PhD thesis, University of Michigan, 2021. [Google Scholar]
- Shakya, B.; He, T.; Salmani, H.; Forte, D.; Bhunia, S.; Tehranipoor, M. Benchmarking of hardware trojans and maliciously affected circuits. J. Hardw. Syst. Secur. 2017, 1, 85–102. [Google Scholar] [CrossRef]
Figure 1.
Part of the conventional verification process of the device under test (DUT) (1) is the creation of specific test cases by the verification engineer. Typically, these test cases target known corner cases or design specifications while each test case is implemented in its own testbench (2). These specific test cases may be included in a regression environment for continuous testing during further design steps. In case the testbench fails, the designer is made aware of the bug and is able to fix it (3).
Figure 1.
Part of the conventional verification process of the device under test (DUT) (1) is the creation of specific test cases by the verification engineer. Typically, these test cases target known corner cases or design specifications while each test case is implemented in its own testbench (2). These specific test cases may be included in a regression environment for continuous testing during further design steps. In case the testbench fails, the designer is made aware of the bug and is able to fix it (3).

Figure 2.
The workflow for the generation of test cases with fuzz testing is similar to the conventional approach shown in Figure 1. The target design (1) is tested with a generic testbench. The fuzzer generates stimuli for the DUT and together with the testbench, each stimulus forms a specific test case (2). In case the fuzzer is able to find a stimulus that makes the testbench fail, this specific test case is handed over to the designer who can fix the bug (3). The specific test case may then be added to a regression environment for continuous testing and the changed design should be subjected to a new fuzzing process.
Figure 2.
The workflow for the generation of test cases with fuzz testing is similar to the conventional approach shown in Figure 1. The target design (1) is tested with a generic testbench. The fuzzer generates stimuli for the DUT and together with the testbench, each stimulus forms a specific test case (2). In case the fuzzer is able to find a stimulus that makes the testbench fail, this specific test case is handed over to the designer who can fix the bug (3). The specific test case may then be added to a regression environment for continuous testing and the changed design should be subjected to a new fuzzing process.

Figure 3.
This is an illustration of the working principle of WTF. Test cases given as initial seed inputs are stored in an input backlog and handed to a hardware simulator (1) that simulates the device under test with the given input and checks for erroneous behavior (see Section 4.3). After simulation, the control instance initiates the coverage extraction (2) from simulation logs (see Section 4.4). Based on the achieved coverage and according to the selected fuzzing strategy, the input is mutated (3) and forwarded to the input backlog, where it will be ready for simulation (see Section 4.4).
Figure 3.
This is an illustration of the working principle of WTF. Test cases given as initial seed inputs are stored in an input backlog and handed to a hardware simulator (1) that simulates the device under test with the given input and checks for erroneous behavior (see Section 4.3). After simulation, the control instance initiates the coverage extraction (2) from simulation logs (see Section 4.4). Based on the achieved coverage and according to the selected fuzzing strategy, the input is mutated (3) and forwarded to the input backlog, where it will be ready for simulation (see Section 4.4).

Figure 4.
Results for fuzzing runs against the digital combination lock. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Note that an overall coverage of 40 in this example indicates a successful fuzzing run, i.e., the fuzzer has found the unknown digital key to unlock the lock. Due to successful fuzzing runs not contributing to the mean coverage beyond the step in which they unlocked the lock, the mean overall coverage may decrease even in “deterministic” mode.
Figure 4.
Results for fuzzing runs against the digital combination lock. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Note that an overall coverage of 40 in this example indicates a successful fuzzing run, i.e., the fuzzer has found the unknown digital key to unlock the lock. Due to successful fuzzing runs not contributing to the mean coverage beyond the step in which they unlocked the lock, the mean overall coverage may decrease even in “deterministic” mode.

Figure 5.
Results for fuzzing runs against the LED driver example. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Here, we can observe that the stochastic approach is not outperforming the deterministic approach in terms of coverage maximization. This indicates that for this setup and number of steps, local maxima are not a limiting factor.
Figure 5.
Results for fuzzing runs against the LED driver example. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Here, we can observe that the stochastic approach is not outperforming the deterministic approach in terms of coverage maximization. This indicates that for this setup and number of steps, local maxima are not a limiting factor.

Figure 6.
Results for fuzzing runs against the wake-up receiver example, simulated with behavioral models implemented in Verilog. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. The “multi”-strategies clearly outperform the “mono”-strategies, as one would expect: an increase in the number of simulated test cases does help in exploring the coverage landscape regardless of the strategy chosen.
Figure 6.
Results for fuzzing runs against the wake-up receiver example, simulated with behavioral models implemented in Verilog. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. The “multi”-strategies clearly outperform the “mono”-strategies, as one would expect: an increase in the number of simulated test cases does help in exploring the coverage landscape regardless of the strategy chosen.

Figure 7.
Results for fuzzing runs against the wake-up receiver example, simulated with the generic netlist. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Note that due to the usage of a generated netlist, the absolute values of the overall coverage are higher compared to the Verilog model version depicted in Figure 6. This makes the coverage landscape more fine grained and potentially easier to explore.
Figure 7.
Results for fuzzing runs against the wake-up receiver example, simulated with the generic netlist. Depicted is the mean and the 95% confidence interval of the overall coverage for each fuzzing step. Note that due to the usage of a generated netlist, the absolute values of the overall coverage are higher compared to the Verilog model version depicted in Figure 6. This makes the coverage landscape more fine grained and potentially easier to explore.

Table 1.
Comparison of different approaches for hardware fuzzers, based on [20] and extended. Abbreviations: HW = hardware, SW = software, MUX = multiplexer, GRM = golden reference model.
Table 1.
Comparison of different approaches for hardware fuzzers, based on [20] and extended. Abbreviations: HW = hardware, SW = software, MUX = multiplexer, GRM = golden reference model.
| Name | Year | Fuzzer Type | Input | Simulator | Coverage Metric | Evaluation | Mixed signal |
|---|---|---|---|---|---|---|---|
| MicroGP [21] | 2005 | HW Fuzzer | Assembly | ModelSim | Instantiated statement | Assertions | no |
| Rfuzz [10] | 2018 | HW Fuzzer | Series of bits | FPGA | Mux Toggle | Assertion | no |
| HyperFuzzer [7] | 2020 | SW AFL Fuzzer | Series of bits | Verilator | High-level | Assertion | no |
| ChiselVerify [22] | 2021 | SW AFL Fuzzer | Series of bits | Treadle | Functional coverage | GRM | no |
| DifuzzRTL [13] | 2021 | HW Fuzzer | Assembly | Any | Register Coverage | GRM | no |
| DirectFuzz [4] | 2021 | HW Fuzzer | Series of bits | Verilator | MUX | GRM | no |
| HW-Fuzzing [5] | 2021 | SW AFL Fuzzer | Byte sequence | Verilator | Edge Coverage | SW Crashes | no |
| RTLFuzzLab [23] | 2021 | SW AFL Fuzzer | Series of bits | Any | (Full) mux toggle, line coverage | Assertion | no |
| Li et al. [16] | 2021 | HW Fuzzer | Series of bits | PyRTL | MUX Toggle | Assertion | no |
| Yoshisue et al. [24] | 2021 | SW AFL Fuzzer | Byte sequence | SystemC | Code coverage | Assertion | no |
| TheHuzz [12] | 2022 | HW Fuzzer | Assembly | Synopsys VCS | FSM, Branch, toggle, conditional | GRM | no |
| HyPFuzz [14] | 2023 | HW Fuzzer | Assertion cover properties, byte sequence | Jasper Gold, Synopsys VCS | FSM, branch, toggle, conditional | GRM | no |
| Processor Fuzz [6] | 2023 | HW Fuzzer | Assembly | Verilator | Control path register, ISA-transition | GRM | no |
| SIGFuzz [8] | 2023 | HW Fuzzer | Assembly | Verilator | Register Coverage | Trace Properties | no |
| SoCFuzzer [11] | 2023 | HW Fuzzer | Byte Sequence | Xilinx ISE | Randomness, target output, input coverage | Database | no |
| TaintFuzzer [25] | 2023 | SW Fuzzer, customized AFL | Series of bits | FPGA | Custom Cost Function | Database | no |
| FuzzWiz [9] | 2024 | HW Fuzzer | Byte sequence | Verilator | Any | SW Crashes, Assertion | no |
| WhisperFuzz [15] | 2024 | HW Fuzzer | Assembly | Synopsys VCS | FSM, branch, toggle, conditional | Trace Properties | no |
| ChipFuzz [26] | 2026 | HW Fuzzer | Instructions | N/A | Toggle, condition, mux branch | GRM | no |
| WTF [27] | 2023 | HW Fuzzer | Series of bits | Any | Any | Assertion | yes |
Table 2.
Mutation operators implemented in WTF. denotes the operator parameters; ℓ is the (scaled) number of consecutively affected samples. : basic set, : full set.
Table 2.
Mutation operators implemented in WTF. denotes the operator parameters; ℓ is the (scaled) number of consecutively affected samples. : basic set, : full set.
| Operator | Parameters | Effect on s | Set |
| BitFlip | index i, bit b, ℓ | flip bit b of ℓ consecutive samples at i | |
| ArithmeticIncrease | index i, ℓ | increment ℓ consecutive samples at i by 1, upper-bounded by | |
| ArithmeticDecrease | index i, ℓ | decrement ℓ consecutive samples at i by 1, lower-bounded by 0 | |
| Insert | position i, value v, ℓ | insert ℓ copies of v at i | |
| Append | value v, ℓ | append ℓ copies of v | |
| Curtail | side , ℓ | remove ℓ samples from the left or right end | |
| Exchange | position i, ℓ | replace ℓ samples at i by newly generated random values | |
| Delete | position i, ℓ | remove ℓ consecutive samples at i | |
| InterestingValues | position i, value , ℓ | replace ℓ samples at i by a boundary value | |
| Delay | position i, ℓ | insert ℓ copies of the existing value at i |
Table 3.
Simulation environment of the three test setups.
| Digital lock | LED driver | Wake-up receiver | |
| Design form | behavioral Verilog | Verilog/VerilogAMS | Generic gate-level netlist |
| Simulation type | digital | mixed-signal, transient | digital |
| Stimulus width w (bits) | 4 | 15 | 7 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.