Stepwise Debugging for Hardware Accelerators
Griffin Berlstein, Rachit Nigam, Christophe Gyurgyik, Adrian Sampson
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A compiler infrastructure for accelerator generators cites Predictable accelerator design with time-sensitive affine types
- A compiler infrastructure for accelerator generators cites Type-directed scheduling of streaming accelerators
- Understanding Accelerator Compilers via Performance Profiling cites A compiler infrastructure for accelerator generators
- Understanding Accelerator Compilers via Performance Profiling cites Unifying Static and Dynamic Intermediate Languages for Accelerator Generators
- Understanding Accelerator Compilers via Performance Profiling cites Predictable accelerator design with time-sensitive affine types
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators cites A compiler infrastructure for accelerator generators
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators cites Predictable accelerator design with time-sensitive affine types
- Unifying Static and Dynamic Intermediate Languages for Accelerator Generators cites Type-directed scheduling of streaming accelerators
- Type-directed scheduling of streaming accelerators cites Predictable accelerator design with time-sensitive affine types
Cited by top-tier papers2
- Unifying Static and Dynamic Intermediate Languages for Accelerator GeneratorsCaleb Kim, Pai Li, Anshuman Mohan, Andrew Butt et al.OOPSLA 2024 · 1 citation
- Understanding Accelerator Compilers via Performance ProfilingAyaka Yorihiro, Griffin Berlstein, Pedro Pontes García, Kevin Laeufer et al.OOPSLA 2026
Builds on8
- Predictable accelerator design with time-sensitive affine typesRachit Nigam, Sachille Atapattu, Samuel Thomas, Zhijing Li et al.PLDI 2020 · 58 citations
- The essence of Bluespec: a core language for rule-based hardware designThomas Bourgeat, Clément Pit-Claudel, Adam Chlipala, ArvindPLDI 2020 · 55 citations
- A compiler infrastructure for accelerator generatorsRachit Nigam, Samuel Thomas, Zhijing Li, Adrian SampsonASPLOS 2021 · 54 citations
- Type-directed scheduling of streaming acceleratorsDavid Durst, Matthew Feldman, Dillon Huff, David Akeley et al.PLDI 2020 · 49 citations
- Efficiently Exploiting Low Activity Factors to Accelerate RTL SimulationScott Beamer, David DonofrioDAC 2020 · 36 citations
Related papers
- Hestia: An Efficient Cross-Level Debugger for High-Level SynthesisRuifan Xu, Jin Luo, Yawen Zhang, Yibo Lin et al.MICRO 2024 · 4 citations
- Bringing source-level debugging frameworks to hardware generatorsKeyi Zhang, Zain Asgar, Mark HorowitzDAC 2022 · 7 citations
- Effective simulation and debugging for a high-level hardware language using software compilersClément Pit-Claudel, Thomas Bourgeat, Stella Lau, Arvind et al.ASPLOS 2021 · 12 citations
- Compiler-Driven Simulation of Reconfigurable Hardware AcceleratorsZhijing Li, Yuwei Ye, Stephen Neuendorffer, Adrian SampsonHPCA 2022 · 4 citations
- LLHD: a multi-level intermediate representation for hardware description languagesFabian Schuiki, Andreas Kurth, Tobias Grosser, Luca BeniniPLDI 2020 · 35 citations
