arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.04913cs.ARcs.PL
收藏

vlang:将Verilog网表映射到现代技术

vlang: Mapping Verilog Netlists to Modern Technologies

Nicholas V. Giamblanco, Andrew Schmidt

摘要:

硬件设计在可编程逻辑器件(PLD)之间的可移植性可以通过使用诸如Verilog或VHDL的与器件无关的硬件描述语言(HDL)来实现。硬件设计人员可以使用HDL在设备之间迁移硬件设计,并探索性能、面积和功耗的权衡,以及将端口设计转换为替代设备。但是,如果设计文件损坏或丢失,则设计的可移植性将丢失。虽然逆向工程努力可能能够恢复原始设计的HDL网表,但HDL网表使用设备特定的原语,限制了可移植性。另外,恢复的设计可以受益于其他计算技术(例如,$μ$ P,GPGPU),但限于PLD的域。在这项工作中,我们提供了一个新的框架,vlang,它自动映射到LLVM的中间表示(IR)的Verilog网表。重新映射的设计可以使用LLVM框架来针对许多设备技术,例如:x86-64组装,RISC-V,ARM或其他具有现代高级综合工具的PLD。我们的框架能够在软件可执行文件中保留原始设计的确切功能。vlang生成的软件可执行文件可以与其他软件程序一起使用,或者用于验证重新映射设计的功能和正确性。我们使用OpenCores的一套硬件设计来评估我们的工作。我们比较我们的框架对国家的最先进的模拟器,从而概述了我们的框架的能力,产生一个功能齐全,周期准确的软件可执行文件。我们还探索了vlang作为高级合成工具前端的使用。

英文摘要:

Portability of hardware designs between Programmable Logic Devices (PLD) can be accomplished through the use of device-agnostic hardware description languages (HDL) such as Verilog or VHDL. Hardware designers can use HDLs to migrate hardware designs between devices and explore performance, area and power tradeoffs, as well as, port designs to an alternative device. However, if design files are corrupt or missing, the portability of the design is lost. While reverse engineering efforts may be able to recover an HDL-netlist of the original design, HDL-netlists use device-specific primitives, restricting portability. Additionally, the recovered design may benefit from other computational technologies (e.g., $μ$P, GPGPUs), but is restricted to the domain of PLDs. In this work, we provide a new framework, vlang, which automatically maps Verilog-netlists into LLVM's intermediate representation (IR). The remapped design can use the LLVM-framework to target many device technologies such as: x86-64 assembly, RISC-V, ARM or to other PLDs with a modern high-level synthesis tool. Our framework is able to preserve the exact functionality of the original design within the software executable. The vlang-produced software executable can be used with other software programs, or to verify the functionality and correctness of the remapped design. We evaluate our work with a suite of hardware designs from OpenCores. We compare our framework against state-of-the-art simulators, thereby outlining our framework's ability to produce a fully-functional, cycle accurate software-executable. We also explore the usage of vlang as a front-end for high-level synthesis tools.

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

↑