On Applications of Dependent Types to Parameterised Digital Signal Processing Circuits

被引:0
|
作者
Ramsay, Craig [1 ]
Crockett, Louise H. [1 ]
Stewart, Robert W. [1 ]
机构
[1] Univ Strathclyde, Glasgow, Lanark, Scotland
基金
英国工程与自然科学研究理事会;
关键词
D O I
10.1109/MWSCAS47672.2021.9531730
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We explore the use of dependent types to address the disparity between the theory and the practical hardware description of DSP circuits. After discussing an approach to modeling synchronous circuit behaviour in Idris (a pure functional language with dependent types), two DSP case studies are introduced - an FIR filter with optimal wordlengths and a CIC decimator with register pruning. Both of these scenarios prove difficult to describe in a parameterised fashion using traditional HDLs and, as such, many implementations rely on ad hoc circuit generators which are challenging to test and evaluate. This work demonstrates that such circuits are readily described in an environment with dependent types. Dependent types can also encode various contracts between the IP designer and its user. These contracts are automatically verified by the Idris type checker before compilation, precluding many common mistakes in IP development and evaluation.
引用
收藏
页码:787 / 791
页数:5
相关论文
共 50 条