Verifying Hardware Optimizations for Efficient Acceleration

被引:2
作者
Wang, Qianzhou [1 ]
Wong, Yat [1 ]
Que, Zhiqiang [1 ]
Luk, Wayne [1 ]
机构
[1] Imperial Coll London, London, England
来源
PROCEEDINGS OF THE 12TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES, HEART 2022 | 2022年
基金
英国工程与自然科学研究理事会;
关键词
hardware verification; theorem proving; formal methods; simulation; hardware optimization; functional programming;
D O I
10.1145/3535044.3535047
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Verifying the correctness of optimizations is a key challenge in hardware acceleration. Incorrect optimizations can produce designs unfit for purpose. This paper presents a novel approach, Covoh, which captures families of hardware designs as parametric block descriptions, such that the behaviour of design instances can be verified by numerical and symbolic simulation. In this work, hardware optimizations are expressed as transformations of parametric descriptions, and their parametric verification based on the Coq proof assistant is guided by verification strategies. Repositories of design descriptions and verification strategies have been developed to facilitate design development in Covoh. Its use in verifying two optimizations illustrates the capability of Covoh. The first, a variation of Horner's Rule, maps an O(n(2)) design to an O(n) design. The second, used in optimizing avionics monitoring, maps an O(2(n)) design to an O(n) design. The effectiveness of such optimizations is demonstrated with FPGA implementations: varying the value of a single parameter that controls pipelining would, for example, lead to a family of functionally-verified designs with different trade-offs, from ones with low throughput, low resource usage and low power consumption to ones with high throughput, high resource usage and high power consumption.
引用
收藏
页码:17 / 23
页数:7
相关论文
共 23 条
  • [1] Reducing Power Consumption in FPGAs by Pipelining
    Bard, Steve
    Rafla, Nader I.
    [J]. 2008 51ST MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1 AND 2, 2008, : 173 - +
  • [2] Bertot Yves, 2013, Interactive theorem proving and program development: Coq'Art: the calculus of inductive constructions
  • [3] Braibant Thomas, 2013, Computer Aided Verification. 25th International Conference, CAV 2013. Proceedings. LNCS 8044, P213, DOI 10.1007/978-3-642-39799-8_14
  • [4] Braibant Thomas, 2011, Coquet: a Coq library for verifying hardware
  • [5] Clarke EM, 2008, LECT NOTES COMPUT SC, V5000, P196
  • [6] Gordon Michael J. C., 1985, Why higher-order logic is a good formalism for specifying and verifying hardware
  • [7] An integrated system for developing regular array designs
    Guo, SR
    Luk, W
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2001, 47 (3-4) : 315 - 337
  • [8] Industrial hardware and software verification with ACL2
    Hunt, Warren A., Jr.
    Kaufmann, Matt
    Moore, J. Strother
    Slobodova, Anna
    [J]. PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2017, 375 (2104):
  • [9] Intel Corporation, 2017, Technical Report
  • [10] JONES G, 1990, FORMAL METHODS FOR VLSI DESIGN, P13