The W-CALCULUS: A Synchronous Framework for the Verified Modelling of Digital Signal Processing Algorithms

被引:0
|
作者
Arias, Emilio Jesus Gallego [1 ]
Jouvelot, Pierre [2 ]
Ribstein, Sylvain
Desblancs, Dorian [3 ]
机构
[1] Inria Paris, Equipe R2, Paris, France
[2] PSL Univ, MINES ParisTech, Paris, France
[3] Ecole Normale Super Paris Saclay, Paris, France
关键词
Digital Signal Processing; Programming Language Semantics; Synchronous Programming; Formal Verification; Linear Time-invariance;
D O I
10.1145/3471872.3472970
中图分类号
C [社会科学总论];
学科分类号
03 ; 0303 ;
摘要
We introduce the W-CALCULUS, an extension of the call-by-value lambda-calculus with synchronous semantics, designed to be flexible enough to capture different implementation forms of Digital Signal Processing algorithms, while permitting a direct embedding into the Coq proof assistant for mechanized formal verification. In particular, we are interested in the different implementations of classical DSP algorithms such as audio filters and resonators, and their associated high-level properties such as Linear Time-invariance. We describe the syntax and denotational semantics of the W-CALCULUS, providing a Coq implementation. As a first application of the mechanized semantics, we prove that every program expressed in a restricted syntactic subset of W is linear time-invariant, by means of a characterization of the property using logical relations. This first semantics, while convenient for mechanized reasoning, is still not useful in practice as it requires re-computation of previous steps. To improve on that, we develop an imperative version of the semantics that avoids recomputation of prior stream states. We empirically evaluate the performance of the imperative semantics using a staged interpreter written in OCaml, which, for an input program in W, produces a specialized OCaml program, which is then fed to the optimizing OCaml compiler. The approach provides a convenient path from the high-level semantical description to low-level efficient code.
引用
收藏
页码:35 / 46
页数:12
相关论文
共 50 条
  • [21] A TRANSPUTER PROCESSING SYSTEM INTERFACE FOR THE EVALUATION OF DIGITAL SIGNAL-PROCESSING ALGORITHMS
    POINTON, CT
    CARRASCO, RA
    INTERNATIONAL JOURNAL OF ELECTRICAL ENGINEERING EDUCATION, 1994, 31 (01) : 54 - 65
  • [22] Scheduling of digital signal processing algorithms on StarCore VLIW DSP
    Sadiq, MS
    Khan, SA
    PARALLEL AND DISTRIBUTED COMPUTING SYSTEMS, 2001, : 196 - 199
  • [23] On computational aspects of certain optimal digital signal processing algorithms
    Melnik, KN
    Melnik, RVN
    COMPUTATIONAL TECHNIQUES AND APPLICATIONS: CTAC 97, 1998, : 433 - 440
  • [24] Architectural Synthesis of Digital Signal Processing Algorithms Using “IRIS”
    D.W. Trainor
    R.F. Woods
    J.V. McCanny
    Journal of VLSI signal processing systems for signal, image and video technology, 1997, 16 : 41 - 55
  • [25] Architectural synthesis of digital signal processing algorithms using ''IRIS''
    Trainor, DW
    Woods, RF
    McCanny, JV
    JOURNAL OF VLSI SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 1997, 16 (01): : 41 - 55
  • [26] Self-correction algorithms and applications to digital signal processing
    Liu, JG
    MEASUREMENT, 2002, 31 (02) : 107 - 116
  • [27] A computation core for communication refinement of digital signal processing algorithms
    Huet, Sylvain
    Casseau, Emmanuel
    Pasquier, Olivier
    DSD 2006: 9TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN: ARCHITECTURES, METHODS AND TOOLS, PROCEEDINGS, 2006, : 240 - +
  • [28] INTERPROCESSOR COMMUNICATION IN SYNCHRONOUS MULTIPROCESSOR DIGITAL SIGNAL-PROCESSING CHIPS
    DECALUWE, J
    RABAEY, JM
    VANMEERBERGEN, JL
    DEMAN, HJ
    IEEE TRANSACTIONS ON ACOUSTICS SPEECH AND SIGNAL PROCESSING, 1989, 37 (12): : 1816 - 1828
  • [29] A synchronous digital filter for 50 Hz line frequency signal processing
    Vainio, O
    IECON '97 - PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON INDUSTRIAL ELECTRONICS, CONTROL, AND INSTRUMENTATION, VOLS. 1-4, 1997, : 228 - 233
  • [30] Modelling of machine dynamics using digital signal processing techniques
    Kelly, K
    Young, P
    Byrne, G
    MODERN PRACTICE IN STRESS AND VIBRATION ANALYSIS, 1997, : 241 - 248