Skip to content
Open access

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

Sep 2026 · Journal of Signal Processing Systems · Vol 98 · 0 citations · 40 references
Computer Science

TL;DR

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.

Abstract

Formal specification techniques have been introduced to address the ambiguities inherent in natural-language hardware specifications. One such approach is the Universal Specification Format (USF), which provides a machine-readable, formal reference for Register-Transfer Level (RTL) verification. However, verifying against USF requires that the specification itself is functionally correct, which is typically assessed through use-case simulation. To this end, we present a model-driven code generator transforming static USF specifications into executable software simulations that abstract cycle-accurate timing. These simulations express hardware behavior by reordering state updates and employing event-based statements that mirror handshake protocols at the component interface. Additionally, the simulations incorporate automated activity checks that can detect specification gaps at runtime, thereby reducing manual validation effort. We evaluate the approach on hardware components spanning functional units, peripheral devices, and a RISC-V core, demonstrating the versatility of the simulation method and reusability of its generator. The simulations operate at a higher level of abstraction than RTL and, for most evaluated components, run faster than their corresponding RTL simulations. For the randomized instruction-memory workload used in the evaluation of the RISC-V model, the automatically generated functional model executes 11.0 million instructions per second without manual optimization. By providing fast, early-available simulations, our approach helps shorten validation cycles, ultimately reducing the risk of costly design flaws.

Read PDF

Similar papers

#artificial intelligence Preprint Mar 2026

Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specifications

Comparisons of classical and prompt-based JML synthesis approaches are compared, and it is found that prompt optimization through verification feedback raises pass rates but reaches a clear ceiling, and Spec-Harness is introduced, a framework that measures the behavioral adequacy of a specification along four dimension...

M. Rakib, Hossain Misu, IrisMa et al. · 3 citations
Sep 2026

LLM-enabled Behavior Driven Development Workflow for Formally Verified Hardware Designs

This work proposes an integrated view on the use of LLMs for EDA and establishes an LLM-enabled behavior driven hardware development workflow, introducing and defining Formal Verification Gherkin Scenarios (FV Gherkin Scenarios), unlocking CNL specifications as the foundation for formally verified hardware designs via...

Luca Müller, Qian Liu, Rolf Drechsler · 0 citations
Preprint Oct 2026

Are LLM-Generated Formal Specifications Faithful to Their Requirements? A Study on Bimodal Formal Specification Generation

Formal specification generation is a critical step towards formal verification and correctness assurance of software. Recently, large language models have been widely adopted in automatic generation of formal specifications. However, existing LLM-based specification generation approaches often assume that the input pro...

Wen-Han Wang, Shi-Ming Chen, Ze-Yu Sun et al. · 0 citations
#software testing Book Open access Sep 2026

Towards Tractable Hardware Model Validation Against Real Hardware

This work presents a methodology that lets us validate an abstract formal model against real hardware by generating test cases, executing them on real hardware to capture traces of observable behavior, and employing a synthesis approach to identify the internal microarchitectural steps that explain the observable behav...

Rishika Varma Kalidindi, Reto Achermann · 0 citations
Book Open access Oct 2026

Spec2V: Planning-Guided Specification-to-Verilog Generation Framework with Verification-Driven Debugging

Field Programmable Gate Array (FPGA) is essential in mission-critical fields like aerospace. It offers high flexibility and deterministic real-time response. With the increase in development demands and system complexity, the traditional design paradigm that relies on manual expertise has become inefficient. Although l...

Xu-Ming Liu, Chi Zhang, Jing-Long Xu et al. · 0 citations
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

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