Fast Turnaround HLS Debugging Using Dependency Analysis and Debug Overlays

Al-Shahna Jamal, Eli Cahill, Jeffrey B. Goeders, S. Wilton
{"title":"Fast Turnaround HLS Debugging Using Dependency Analysis and Debug Overlays","authors":"Al-Shahna Jamal, Eli Cahill, Jeffrey B. Goeders, S. Wilton","doi":"10.1145/3372490","DOIUrl":null,"url":null,"abstract":"High-level synthesis (HLS) has gained considerable traction over recent years, as it allows for faster development and verification of hardware accelerators than traditional RTL design. While HLS allows for most bugs to be caught during software verification, certain non-deterministic or data-dependent bugs still require debugging the actual hardware system during execution. Recent work has focused on techniques to allow designers to perform in-system debug of HLS circuits in the context of the original software code; however, like RTL debug, the user must still determine the root cause of a bug using small execution traces, with lengthy debug turns. In this work, we demonstrate techniques aimed at reducing the time HLS designers spend performing in-system debug. Our approaches consist of performing data dependency analysis to guide the user in selecting which variables are observed by the debug instrumentation, as well as an associated debug overlay that allows for rapid reconfiguration of the debug logic, enabling rapid switching of variable observation between debug iterations. In addition, our overlay provides additional debug capability, such as selective function tracing and conditional buffer freeze points. We explore the area overhead of these different overlay features, showing a basic overlay with only a 1.7% increase in area overhead from the baseline debug instrumentation, while a deluxe variant offers 2×--7× improvement in trace buffer memory utilization with conditional buffer freeze support.","PeriodicalId":162787,"journal":{"name":"ACM Transactions on Reconfigurable Technology and Systems (TRETS)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-01-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Reconfigurable Technology and Systems (TRETS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3372490","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

High-level synthesis (HLS) has gained considerable traction over recent years, as it allows for faster development and verification of hardware accelerators than traditional RTL design. While HLS allows for most bugs to be caught during software verification, certain non-deterministic or data-dependent bugs still require debugging the actual hardware system during execution. Recent work has focused on techniques to allow designers to perform in-system debug of HLS circuits in the context of the original software code; however, like RTL debug, the user must still determine the root cause of a bug using small execution traces, with lengthy debug turns. In this work, we demonstrate techniques aimed at reducing the time HLS designers spend performing in-system debug. Our approaches consist of performing data dependency analysis to guide the user in selecting which variables are observed by the debug instrumentation, as well as an associated debug overlay that allows for rapid reconfiguration of the debug logic, enabling rapid switching of variable observation between debug iterations. In addition, our overlay provides additional debug capability, such as selective function tracing and conditional buffer freeze points. We explore the area overhead of these different overlay features, showing a basic overlay with only a 1.7% increase in area overhead from the baseline debug instrumentation, while a deluxe variant offers 2×--7× improvement in trace buffer memory utilization with conditional buffer freeze support.
快速周转HLS调试使用依赖分析和调试覆盖
近年来,高级合成(High-level synthesis, HLS)获得了相当大的关注,因为它允许比传统RTL设计更快地开发和验证硬件加速器。虽然HLS允许在软件验证期间捕获大多数错误,但某些不确定或数据相关的错误仍然需要在执行期间调试实际的硬件系统。最近的工作集中在技术上,使设计人员能够在原始软件代码的背景下执行HLS电路的系统内调试;然而,与RTL调试一样,用户仍然必须使用少量的执行跟踪来确定bug的根本原因,而调试周期则很长。在这项工作中,我们演示了旨在减少HLS设计人员执行系统内调试所花费时间的技术。我们的方法包括执行数据依赖分析,以指导用户选择由调试工具观察的变量,以及相关的调试覆盖,允许调试逻辑的快速重新配置,允许在调试迭代之间快速切换变量观察。此外,我们的覆盖层提供了额外的调试功能,如选择性函数跟踪和条件缓冲冻结点。我们探索了这些不同的覆盖功能的面积开销,显示了一个基本的覆盖,与基线调试仪器相比,面积开销只增加了1.7%,而一个豪华的变体在跟踪缓冲区内存利用率方面提供了2 -7倍的改进,并具有条件缓冲区冻结支持。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信