Overview
Recurrent Neural Network Stimulus Generation is a feedback-driven test-application technique for hardware verification. In the described approach, a recurrent neural network (RNN) acts as an optimizer that dynamically alters the constraints of a pseudorandom generator during verification. The goal is to improve coverage by using coverage feedback from completed simulations to guide later stimulus generation. [C1]
Verification workflow
The technique operates as an iterative closed loop:
- The RNN optimizer generates changes to the pseudorandom-generator constraints.
- The pseudorandom generator creates a processor program stimulus.
- The generated program is loaded directly into the processor memory.
- The simulation runs on the design under verification.
- Coverage feedback is collected after simulation.
- The coverage feedback is fed back to the RNN optimizer for the next iteration. [C2]
In the reported use case, the generated stimuli were programs of approximately 100 instructions loaded into processor memory. [C3]
Coverage-driven objective
The quality function for the approach was determined from coverage analysis data. The evidence specifically lists Functional Coverage, statement coverage, branch coverage, expression coverage, and FSM coverage as inputs to the quality function. [C4]
Because Functional Coverage is one of the explicit coverage inputs used to score generated stimuli, this technique uses Functional Coverage as part of its optimization feedback. [C5]
Reported behavior
The cited thesis reports that experiments with the RNN-based constraint-adjustment approach showed a considerable increase in achieved functional coverage. It also notes that, during some initial period, the default approach appeared to be more efficient than the RNN-guided method. [C6]
Role in verification automation
The technique fits into the broader test-application phase of verification automation, where the problem is how to apply available directed or parameterized constrained-random sequences to maximize verification coverage over multiple trials. The evidence frames this as part of autonomous coverage closure with reduced regression test time. [C7]