指令级抽象(ILA):片上系统(SoC)验证的统一规范
Instruction-Level Abstraction (ILA): A Uniform Specification for System-on-Chip (SoC) Verification
摘要:
现代片上系统(SoC)设计越来越异构,除了可编程处理器外,还包含专用的半可编程加速器。与加速器之前的时代相比,ISA在验证中发挥了重要作用,实现了软件和硬件之间的清晰分离,这些“加速器丰富”的SoC的验证提出了新的挑战。从硬件设计者的角度来看,缺乏一个共同的框架,加速器行为的正式功能规范。从软件开发人员的角度来看,不存在用于推理与加速器交互的程序的软件/硬件交互的统一框架。本文通过为加速器功能行为提供正式规范和高级抽象来解决这些挑战。它形式化的指令级抽象(ILA),在我们以前的工作中非正式开发的概念,并显示其在建模和验证的加速器的应用。这种形式化的ILA将熟悉的指令概念扩展到加速器,并为加速器和可编程处理器的软件可见行为建模提供了统一的、模块化的和分层的抽象。我们通过加速器(用于图像处理、机器学习和密码学)和通用处理器(RISC-V)的几个案例研究来证明ILA的适用性。我们展示了ILA模型如何促进两个ILA之间的等价性检查,以及ILA与其硬件有限状态机(FSM)实现之间的等价性检查。此外,这种等效性检查支持使用ILA兼容性的概念的加速器升级,类似于使用ISA兼容性的处理器升级。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。