Stepwise Debugging for Hardware Accelerators
Griffin Berlstein, Rachit Nigam, Christophe Gyurgyik, Adrian Sampson
摘要
High-level programming models for hardware design let domain experts quickly produce specialized accelerators. However, tools for debugging these accelerators remain tied to low-level hardware description languages (HDLs). High-level descriptions contain control-flow information that is lost in HDL code. We describe Cider, a stepwise debugger that exploits this information to provide software-like debugging abstractions for languages that compile to hardware. Cider uses Calyx, an intermediate language for accelerator generators that preserves control information. Cider provides breakpoints, watchpoints, state inspection, and source-level position mapping. Using case studies that examine one new and two preexisting accelerator generators, we demonstrate how Cider helps find and localize previously unreported bugs. By directly simulating a control-rich representation, Cider avoids wasting effort on inactive parts of the design and, despite being largely unoptimized, performs competitively with open-source HDL simulators.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A compiler infrastructure for accelerator generators 引用了 Predictable accelerator design with time-sensitive affine types
- A compiler infrastructure for accelerator generators 引用了 Type-directed scheduling of streaming accelerators
- Understanding Accelerator Compilers via Performance Profiling 引用了 A compiler infrastructure for accelerator generators
- Understanding Accelerator Compilers via Performance Profiling 引用了 Unifying Static and Dynamic Intermediate Languages for Accelerator Generators
- Understanding Accelerator Compilers via Performance Profiling 引用了 Predictable accelerator design with time-sensitive affine types
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators 引用了 A compiler infrastructure for accelerator generators
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators 引用了 Predictable accelerator design with time-sensitive affine types
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators 引用了 Type-directed scheduling of streaming accelerators
- Type-directed scheduling of streaming accelerators 引用了 Predictable accelerator design with time-sensitive affine types
引用它的顶会 Paper2
它引用的 Paper8
- Predictable accelerator design with time-sensitive affine typesRachit Nigam, Sachille Atapattu, Samuel Thomas, Zhijing Li 等PLDI 2020 · 58 次引用
- The essence of Bluespec: a core language for rule-based hardware designThomas Bourgeat, Clément Pit-Claudel, Adam Chlipala, ArvindPLDI 2020 · 55 次引用
- A compiler infrastructure for accelerator generatorsRachit Nigam, Samuel Thomas, Zhijing Li, Adrian SampsonASPLOS 2021 · 54 次引用
- Type-directed scheduling of streaming acceleratorsDavid Durst, Matthew Feldman, Dillon Huff, David Akeley 等PLDI 2020 · 49 次引用
- Efficiently Exploiting Low Activity Factors to Accelerate RTL SimulationScott Beamer, David DonofrioDAC 2020 · 36 次引用
相关 Paper
- Hestia: An Efficient Cross-Level Debugger for High-Level SynthesisRuifan Xu, Jin Luo, Yawen Zhang, Yibo Lin 等MICRO 2024 · 4 次引用
- Bringing source-level debugging frameworks to hardware generatorsKeyi Zhang, Zain Asgar, Mark HorowitzDAC 2022 · 7 次引用
- Effective simulation and debugging for a high-level hardware language using software compilersClément Pit-Claudel, Thomas Bourgeat, Stella Lau, Arvind 等ASPLOS 2021 · 12 次引用
- Compiler-Driven Simulation of Reconfigurable Hardware AcceleratorsZhijing Li, Yuwei Ye, Stephen Neuendorffer, Adrian SampsonHPCA 2022 · 4 次引用
- LLHD: a multi-level intermediate representation for hardware description languagesFabian Schuiki, Andreas Kurth, Tobias Grosser, Luca BeniniPLDI 2020 · 35 次引用
