RustSFQ:一种用于 SFQ 电路设计的领域特定语言
RustSFQ: A Domain-Specific Language for SFQ Circuit Design
AI总结:
本文提出嵌入 Rust 的 DSL RustSFQ,借助所有权系统在编译期保证 SFQ 电路扇出一致性并生成仿真网表,还首次实现并验证了 10 GHz 的 4 位 SFQ Reed-Solomon 编码器。
摘要:
基于单元的单磁通量子(SFQ)数字电路设计要求输入-输出一致性;每个输出信号必须且只能被后续组件的一个输入消费一次,这是不同于传统 CMOS 数字电路设计的独特约束。尽管已有一些用于 SFQ 电路开发的单元库和仿真工具,但它们并不验证输入-输出一致性,设计人员需要承担大量责任来手动确保这一点。此外,设计人员还必须谨慎管理线网名称,避免意外重复,并保证网表中各线网之间连接正确,以便进行仿真。我们提出 RustSFQ,这是一种嵌入在 Rust 中的领域特定语言(DSL),通过利用 Rust 的所有权系统自动确保 SFQ 电路中的输入-输出一致性。每个 SFQ 电路元件表示为一个函数,而导线表示为实例,Rust 编译器通过所有权系统验证多个元件不会共享同一根导线。RustSFQ 中的电路描述可成功编译为用于模拟和数字电路仿真的底层网表,并且该 DSL 比传统设计流程具有更高的生产率。使用 RustSFQ,我们作为案例研究首次开发了一种基于 SFQ 的 4 位宽 Reed-Solomon 编码器。通过电路仿真,我们确认该电路可在 10 GHz 下正确运行。
英文摘要:
Cell-based design of a single-flux-quantum (SFQ) digital circuit requires input-output consistency; every output signal must be consumed only once by the input of the following component, which is a unique constraint, unlike the traditional CMOS digital circuit design. While there are some cell libraries and simulation tools for SFQ circuit development, they do not verify the input-output consistency, and designers have significant responsibilities to ensure it manually. Additionally, designers have to carefully manage net names without unintended duplication and correct connectivity among nets in a netlist for simulations. We propose RustSFQ, a domain-specific language (DSL) embedded in Rust that automatically ensures the input-output consistency in the SFQ circuit by leveraging the ownership system of Rust. Each SFQ circuit element is represented as a function while wires are represented as instances, and the Rust compiler verifies that multiple elements do not share a single wire through the ownership system. Circuit descriptions in the RustSFQ are successfully compiled into low-level netlists for both analog and digital circuit simulations, and the DSL provides higher productivity than the conventional design flow. Using the RustSFQ, we developed an SFQ-based Reed-Solomon encoder with a 4-bit width for the first time as a case study. We confirmed that the circuit operated correctly at 10 GHz through circuit simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。