Skip to main content
QUICK REVIEW

[Paper Review] Instruction-Level Abstraction (ILA): A Uniform Specification for System-on-Chip (SoC) Verification

Bo-Yuan Huang, Hongce Zhang|Rare & Special e-Zone (The Hong Kong University of Science and Technology)|Jan 3, 2018
Formal Methods in VerificationComputer Science41 references14 citations
TL;DR

This paper introduces Instruction-Level Abstraction (ILA) as a formal, uniform specification for system-on-chip (SoC) verification, enabling modular, hierarchical, and formally verifiable modeling of both processors and accelerators. By treating accelerator commands as 'instructions' with defined state transitions, ILA supports equivalence checking between ILA models and RTL implementations, enabling ISA-like compatibility for accelerator upgrades and scalable formal verification across heterogeneous SoCs.

ABSTRACT

Modern Systems-on-Chip (SoC) designs are increasingly heterogeneous and contain specialized semi-programmable accelerators in addition to programmable processors. In contrast to the pre-accelerator era, when the ISA played an important role in verification by enabling a clean separation of concerns between software and hardware, verification of these "accelerator-rich" SoCs presents new challenges. From the perspective of hardware designers, there is a lack of a common framework for the formal functional specification of accelerator behavior. From the perspective of software developers, there exists no unified framework for reasoning about software/hardware interactions of programs that interact with accelerators. This paper addresses these challenges by providing a formal specification and high-level abstraction for accelerator functional behavior. It formalizes the concept of an Instruction Level Abstraction (ILA), developed informally in our previous work, and shows its application in modeling and verification of accelerators. This formal ILA extends the familiar notion of instructions to accelerators and provides a uniform, modular, and hierarchical abstraction for modeling software-visible behavior of both accelerators and programmable processors. We demonstrate the applicability of the ILA through several case studies of accelerators (for image processing, machine learning, and cryptography), and a general-purpose processor (RISC-V). We show how the ILA model facilitates equivalence checking between two ILAs, and between an ILA and its hardware finite-state machine (FSM) implementation. Further, this equivalence checking supports accelerator upgrades using the notion of ILA compatibility, similar to processor upgrades using ISA compatibility.

Motivation & Objective

  • To address the lack of a common formal specification framework for accelerator behavior in modern, heterogeneous SoCs.
  • To provide a uniform abstraction that enables formal verification of both processors and accelerators using the same methodology.
  • To close the abstraction gap between software and hardware in accelerator-rich systems by modeling accelerator interactions as instruction-like operations.
  • To enable scalable, formal verification of hardware-software interactions through a high-level, modular, and hierarchical specification.
  • To support accelerator upgrades via ILA compatibility, analogous to ISA-level processor upgrades.

Proposed method

  • Defining ILA as a formal model where each accelerator command is treated as an instruction that induces state transitions in a persistent architectural state.
  • Modeling both processors and accelerators using the same ILA formalism, enabling uniform specification and verification.
  • Using SMT solvers and formal equivalence checking to verify that an ILA model is functionally equivalent to its RTL finite-state machine (FSM) implementation.
  • Applying hierarchical composition to model complex instructions as sequences of sub- and micro-instructions, enabling modularity and abstraction.
  • Leveraging existing processor verification techniques—such as equivalence checking and model checking—on ILA models of accelerators.
  • Validating the approach through case studies on RISC-V (Rocket core), and accelerators for image processing (Gaussian Blur), cryptography (AES), and machine learning (RBM).

Experimental results

Research questions

  • RQ1How can a uniform, formal specification model be defined for both processors and accelerators to enable consistent verification?
  • RQ2To what extent can ILA support modular, hierarchical, and composable modeling of complex accelerator behavior?
  • RQ3Can equivalence checking between ILA models and RTL implementations be effectively scaled for real-world accelerators?
  • RQ4How does ILA enable compatibility-based upgrades of accelerators, similar to ISA-level processor upgrades?
  • RQ5Can ILA-based formal verification detect implementation bugs in real accelerator and processor designs?

Key findings

  • The ILA model successfully enables formal equivalence checking between ILA specifications and RTL implementations for both accelerators and processors, achieving substantial completeness in verification.
  • The paper identifies a modeling gap in prior ISA formalizations (e.g., ISA Formal) related to the distinction between specification hierarchy and implementation structure.
  • A bug was discovered in the RISC-V Rocket core implementation through ILA-based formal verification, demonstrating the method's practical utility in real-world design validation.
  • Verification of the AES accelerator from OpenCores and the RISC-V Rocket core using ILA-based model checking shows scalability and practical feasibility for industrial applications.
  • The ILA framework supports reliable simulator generation, concurrency reasoning, and memory consistency modeling in accelerator-rich systems.
  • The approach enables accelerator replacement via ILA compatibility, analogous to ISA-level processor upgrades, providing long-term software portability and maintainability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.