Less is more: Increasing the scope of hardware debugging with compression

Fotis Kostarelos, George Charitopoulos, D. Pnevmatikatos
{"title":"Less is more: Increasing the scope of hardware debugging with compression","authors":"Fotis Kostarelos, George Charitopoulos, D. Pnevmatikatos","doi":"10.1109/PACET.2017.8259958","DOIUrl":null,"url":null,"abstract":"In this work we consider the slow and tedious phase of hardware debugging in FPGAs. The process of hardware debugging is normally done via Internal Logic Analyzer (ILA) circuits, which add user observability in internal FPGA signals. The user first defines the target for debugging signal and a triggering condition. Then the ILA stores traces of it in trace buffers, these traces are finally transferred to a host PC for the user to observe. The user also has to consider the limited FPGA memory resources, which result in small-sized trace buffers, an important restriction of hardware debugging. In this paper, we attempt to increase the scope of hardware tracing, i.e. the number of samples written on the trace buffers, with the use of compression. We use the LZW algorithm and find that we can increase the debugging signals number of recorded samples by 90%, i.e. have double the amount of useful data with the same memory usage. On the memory plane we conclude that, for the same number of recorded samples, our architecture uses less than half the resources compared to the standard Xilinx ILA block for signal tracing.","PeriodicalId":171095,"journal":{"name":"2017 Panhellenic Conference on Electronics and Telecommunications (PACET)","volume":"232 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 Panhellenic Conference on Electronics and Telecommunications (PACET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PACET.2017.8259958","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this work we consider the slow and tedious phase of hardware debugging in FPGAs. The process of hardware debugging is normally done via Internal Logic Analyzer (ILA) circuits, which add user observability in internal FPGA signals. The user first defines the target for debugging signal and a triggering condition. Then the ILA stores traces of it in trace buffers, these traces are finally transferred to a host PC for the user to observe. The user also has to consider the limited FPGA memory resources, which result in small-sized trace buffers, an important restriction of hardware debugging. In this paper, we attempt to increase the scope of hardware tracing, i.e. the number of samples written on the trace buffers, with the use of compression. We use the LZW algorithm and find that we can increase the debugging signals number of recorded samples by 90%, i.e. have double the amount of useful data with the same memory usage. On the memory plane we conclude that, for the same number of recorded samples, our architecture uses less than half the resources compared to the standard Xilinx ILA block for signal tracing.
少即是多:通过压缩增加硬件调试的范围
在本工作中,我们考虑了fpga硬件调试的缓慢和繁琐阶段。硬件调试过程通常通过内部逻辑分析仪(ILA)电路完成,增加了用户对FPGA内部信号的可观察性。用户首先定义调试信号的目标和触发条件。然后,ILA在跟踪缓冲区中存储它的跟踪,这些跟踪最终被传输到主机PC供用户观察。用户还必须考虑有限的FPGA内存资源,这导致跟踪缓冲区较小,这是硬件调试的一个重要限制。在本文中,我们试图通过使用压缩来增加硬件跟踪的范围,即写入跟踪缓冲区的样本数量。我们使用LZW算法,发现我们可以将记录样本的调试信号数量增加90%,即在相同的内存使用情况下有两倍的有用数据量。在内存平面上,我们得出结论,对于相同数量的记录样本,与标准Xilinx ILA块相比,我们的体系结构使用的信号跟踪资源不到一半。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信