English

Tywaves: A Typed Waveform Viewer for Chisel

Hardware Architecture 2024-08-23 v1 Programming Languages

Abstract

Chisel (Constructing Hardware In a Scala Embedded Language) is a broadly adopted HDL that brings object-oriented and functional programming, type-safety, and parameterization to hardware design. However, while these language features significantly improve the process of writing code, debugging Chisel designs with open source tools loses many of the advantages of the source language, as type information and data structure hierarchies are lost in the translation, simulator output, and waveform viewer. This work, Tywaves, presents a new type-centered debugging format that brings the same level of abstraction found in contemporary hardware languages to waveform viewers. Contributions to the Chisel library and CIRCT MLIR compiler as well as the Surfer waveform viewer result in a waveform viewer that better supports the Chisel HDL. Project url: https://github.com/rameloni/tywaves-chisel-demo

Keywords

Cite

@article{arxiv.2408.10082,
  title  = {Tywaves: A Typed Waveform Viewer for Chisel},
  author = {Raffaele Meloni and H. Peter Hofstee and Zaid Al-Ars},
  journal= {arXiv preprint arXiv:2408.10082},
  year   = {2024}
}

Comments

6 pages, 2 tables, 3 figures

R2 v1 2026-06-28T18:16:55.755Z