论文标题
迈向硬件DSL生态系统:Rubyrtl和朋友
Towards a Hardware DSL Ecosystem : RubyRTL and Friends
论文作者
论文摘要
几年来,硬件设计一直在进行令人惊讶的复兴:由开源计划推动,最近出现了各种工具和体系结构。这种复兴还涉及新的硬件说明语言。受到Migen Python社区的启发,我们提出Rubyrtl,这是一种嵌入红宝石语言的硬件设计的新型内部域特异性语言。 Ruby(在Web设计领域中最著名)已被证明是该DSL设计的绝佳解决方案,因为其元编程功能。本文介绍了Rubyrtl的主要方面,并说明了例子。我们还提出了一种名为Sexpir的语言中性互换格式,该格式允许在Migen Python DSL和Rubyrtl之间无缝地交换RTL设计。这为开源硬件设计领域的各个敏捷社区之间的交互铺平了道路。
For several years, hardware design has been undergoing a surprising revival: fueled by open source initiatives, various tools and architectures have recently emerged. This resurgence also involves new hardware description languages. Inspired by the Migen Python community, we present RubyRTL, a novel internal domain-specific language for hardware design embedded in the Ruby language. Ruby -- which is best known in the field of web design -- has proven to be an excellent solution for the design of such DSLs, because of its meta-programming features. This paper presents the main aspects of RubyRTL, along with illustrating examples. We also propose a language-neutral interchange format, named Sexpir, that allows to seamlessly exchange RTL designs between Migen Python DSL and RubyRTL. This paves the way for interactions between various agile communities in the field of open source hardware design.