DiffLo: A Graph-based Method for Functional Discrepancy Localization in High-level Synthesis

被引:0
作者
Chen, Liangji [1 ]
Liang, Tingyuan [1 ]
Zhang, Wei [1 ]
Sinha, Sharad [2 ]
机构
[1] Hong Kong Univ Sci & Technol, Hong Kong, Peoples R China
[2] Indian Inst Technol Goa, Ponda, India
来源
2023 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY, ICFPT | 2023年
关键词
Fault Localization; High-level Synthesis; Debugging;
D O I
10.1109/ICFPT59805.2023.00055
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
High-level synthesis (HLS) is becoming increasingly popular in hardware design. However, since current HLS tools are not fully verified, the semantics of a desired high-level design and the actual behavior of the HLS-generated hardware might be different, causing a functional discrepancy. Existing solutions locate functional discrepancies by adding checkpoints into the internal design, but they do not treat resource usage as a hard constraint. In this work, we propose a graph-based method, called DiffLo, which considers 1) coarse-grained localization effectiveness, 2) fine-grained localization effectiveness, and 3) resource usage, to selectively and analytically add checkpoints into the design under a resource constraint so that HLS users can reduce their effort to locate the portion in the high-level source code that relates to the functional discrepancy. Our experiments on our real example and the CHStone benchmarks show that the proposed method can significantly reduce the effort required for functional discrepancy localization.
引用
收藏
页码:300 / 301
页数:2
相关论文
共 10 条
[1]  
[Anonymous], Vivado High-Level Synthesis
[2]  
Calagar N., 2014, FIELD PROGRAMMABLE L, P1, DOI DOI 10.1109/FPL.2014.6927496
[3]  
Campbell K.A., 2015, Proc. IEEE/ACM Design Automation Conf, P1
[4]  
Fezzardi P, 2015, 2015 33RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), P251, DOI 10.1109/ICCD.2015.7357111
[5]  
Hara Y, 2008, IEEE INT SYMP CIRC S, P1192
[6]   An Empirical Study of the Reliability of High-Level Synthesis Tools [J].
Herklotz, Yann ;
Du, Zewei ;
Ramanathan, Nadesh ;
Wickerson, John .
2021 IEEE 29TH ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM 2021), 2021, :219-223
[7]   LLVM: A compilation framework for lifelong program analysis & transformation [J].
Lattner, C ;
Adve, V .
CGO 2004: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2004, :75-86
[8]   Source Code Error Detection in High-Level Synthesis Functional Verification [J].
Schafer, Benjamin Carrion .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2016, 24 (01) :301-312
[9]   mu-grind: A Framework for Dynamically Instrumenting HLS-Generated RTL [J].
Vahdatniya, Parmida ;
Sharifian, Amirali ;
Hojabr, Reza ;
Shriraman, Arrvindh .
PROCEEDINGS OF THE 2022 31ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PACT 2022, 2022, :346-358
[10]   AutoSLIDE: Automatic Source-Level Instrumentation and Debugging for HLS [J].
Yang, Liwei ;
Gurumani, Swathi ;
Chen, Deming ;
Rupnow, Kyle .
2016 IEEE 24TH ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2016, :127-130