English

Tydi-lang: A Language for Typed Streaming Hardware

Hardware Architecture 2023-11-15 v2

Abstract

Transferring composite data structures with variable-length fields often requires designing unique protocols, causing incompatibility issues and decreased collaboration among hardware developers, especially in the open-source community. Because the high-level meaning of a protocol is often lost in translation to low-level languages when a custom protocol needs to be designed, extra documentation is required, the interpretation of which introduces new opportunities for errors. The Tydi specification (Tydi-spec) was proposed to address the issues by codifying the complex structures in a type and providing a standard protocol to transfer typed data among components. This paper presents Tydi-lang, a language that incorporates Tydi-spec for describing typed streams and offers templates for reusable components. An open-source compiler from Tydi-lang to Tydi intermediate representation (Tydi-IR) is implemented, and a Tydi-IR to VHDL compiler is utilized. Through Tydi-lang examples translating high-level SQL to VHDL, we demonstrate its efficiency in raising abstraction levels and reducing design effort.

Keywords

Cite

@article{arxiv.2212.06259,
  title  = {Tydi-lang: A Language for Typed Streaming Hardware},
  author = {Yongding Tian and Matthijs A. Reukers and Zaid Al-Ars and Peter Hofstee and Matthijs Brobbel and Johan Peltenburg and Jeroen van Straten},
  journal= {arXiv preprint arXiv:2212.06259},
  year   = {2023}
}

Comments

8 pages and 1 page of reference, 4 figures, 4 tables

R2 v1 2026-06-28T07:31:47.981Z