用于生成同步数字电路 Verilog 模型的基于 Python 的 DSL
Python-based DSL for generating Verilog model of Synchronous Digital Circuits
AI总结:
本文提出一种基于 Python 的 DSL,通过串行、并行和循环事务建模同步数字电路,并自动生成可综合的行为级 Verilog,支撑 FPGA/ASIC 设计与多领域案例验证。
摘要:
我们设计了一种基于 Python 的领域特定语言(DSL),用于对同步数字电路进行建模。在该 DSL 中,硬件被建模为一组事务的集合——这些事务可以串行、并行以及循环运行。当模型由 Python 解释器执行时,会输出可综合的行为级 Verilog,该 Verilog 可与其他 RTL 设计集成,或直接用于 FPGA 和 ASIC 流程。本文介绍:1)该语言(DSL),它允许用户通过串行/并行/循环结构表达计算,并具有显式周期边界;2)一个用于生成可综合 Verilog 的简单 Python 实现的内部机制;3)若干设计示例与案例研究,涉及后量子密码学、立体视觉、数字信号处理和优化技术等应用。最后,我们列出了扩展该框架的若干思路。
英文摘要:
We have designed a Python-based Domain Specific Language (DSL) for modeling synchronous digital circuits. In this DSL, hardware is modeled as a collection of transactions -- running in series, parallel, and loops. When the model is executed by a Python interpreter, synthesizable and behavioural Verilog is generated as output, which can be integrated with other RTL designs or directly used for FPGA and ASIC flows. In this paper, we describe - 1) the language (DSL), which allows users to express computation in series/parallel/loop constructs, with explicit cycle boundaries, 2) the internals of a simple Python implementation to produce synthesizable Verilog, and 3) several design examples and case studies for applications in post-quantum cryptography, stereo-vision, digital signal processing and optimization techniques. In the end, we list ideas to extend this framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。