arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.13436cs.PL
收藏

面向可组合类型化流式数据流设计的中间表示

An Intermediate Representation for Composable Typed Streaming Dataflow Designs

Matthijs A. Reukers, Yongding Tian, Zaid Al-Ars, Peter Hofstee, Matthijs Brobbel, Johan Peltenburg, Jeroen van Straten

AI总结:

本文提出一种开源 Tydi 中间表示,用于声明类型、连接 Streamlet、保留高层接口信息并支持测试与 VHDL 后端,以提升流式数据流硬件设计的可组合性与复用性。

摘要:

Tydi 是一项用于数字电路中流式数据流设计的开放规范,使设计者能够借助清晰、以数据为中心的类型来表达复合及可变长度数据结构如何通过流传输。这些数据类型广泛应用于众多应用领域,例如大数据和 SQL 应用。通过这种方式,与现有的基于位和字节的接口规范相比,Tydi 提供了一种更高级的方法来定义组件之间的接口。本文介绍了一种开源中间表示(IR),它允许声明 Tydi 的类型。该 IR 支持创建并连接以 Tydi Streams 作为接口的组件,这类组件称为 Streamlet。它还允许用于综合和仿真的后端保留高级信息,例如文档。类型和 Streamlet 可在多个项目之间轻松复用,并且 Tydi 的流和类型层次结构可用于定义接口契约,从而在设计较大系统时协助协作。该 IR 将 Tydi 规范中确立的规则和属性编入法典,并用于补充面向计算的硬件设计工具,为其提供以数据为中心的接口视图。为支持不同的后端和目标,该 IR 专注于表达接口,并补充由硬件描述语言和其他 IR 所描述的行为。此外,本文还提出了一种测试语法,用于依据抽象数据流验证输入和输出,以及替换相互依赖的组件,从而支持行为规范。为演示该 IR,我们创建了语法、解析器和查询系统,并将其与面向 VHDL 的后端配对。

英文摘要:

Tydi is an open specification for streaming dataflow designs in digital circuits, allowing designers to express how composite and variable-length data structures are transferred over streams using clear, data-centric types. These data types are extensively used in a many application domains, such as big data and SQL applications. This way, Tydi provides a higher-level method for defining interfaces between components as opposed to existing bit and byte-based interface specifications. In this paper, we introduce an open-source intermediate representation (IR) which allows for the declaration of Tydi's types. The IR enables creating and connecting components with Tydi Streams as interfaces, called Streamlets. It also lets backends for synthesis and simulation retain high-level information, such as documentation. Types and Streamlets can be easily reused between multiple projects, and Tydi's streams and type hierarchy can be used to define interface contracts, which aid collaboration when designing a larger system. The IR codifies the rules and properties established in the Tydi specification and serves to complement computation-oriented hardware design tools with a data-centric view on interfaces. To support different backends and targets, the IR is focused on expressing interfaces, and complements behavior described by hardware description languages and other IRs. Additionally, a testing syntax for the verification of inputs and outputs against abstract streams of data, and for substituting interdependent components, is presented which allows for the specification of behavior. To demonstrate this IR, we have created a grammar, parser, and query system, and paired these with a backend targeting VHDL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑