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

Newad:一个针对Verilog的寄存器映射自动化工具

Newad: A register map automation tool for Verilog

Vamsi K Vytla, Larry Doolittle

AI总结:

针对FPGA设计中大量寄存器手动管理繁杂易错的问题,提出Newad工具,通过扫描原生HDL源文件自动生成多时钟域寄存器映射、总线解码器及地址映射JSON文件。

摘要:

大规模科学仪器与控制FPGA底层硬件设计包含大量运行时可设置的参数。这些参数可用于用户级控制或自动化流程(例如校准)。单个设计中此类参数的数量可达约1000个,并随着底层硬件及其功能的演进而持续变化。开发者必须追踪寄存器所属的模块、寄存器需要解码的位置,以及如何向更高层级的用户或软件表达寄存器的属性(甚至语义)。需要注意的是,这些寄存器可能嵌入在整个模块层级的任何位置。在这种规模下,完全由HDL开发者手动处理这些任务既繁重又容易出错。通常,这些寄存器可通过一个类似VME的片上总线进行写入,并由片上或片外CPU控制。社区曾尝试在不同层面解决此任务。然而,我们尚未发现能够以对开发者最小的开销生成寄存器映射、解码器和编码器的工具。因此,我们在此提出一款工具,它能全面扫描原生HDL源文件,查找特定语言支持的属性,并自动生成寄存器映射和总线解码器,同时兼顾多时钟域,并向网络呈现一个将寄存器名称映射到地址的JSON文件。

英文摘要:

Large scale scientific instrumentation-and-control FPGA gateware designs have numerous run-time settable parameters. These can be used either for user-level control or by automated processes (e.g., calibration). The number of such parameters in a single design can reach on the order of 1000, and keeps evolving as the gateware and its functionality evolves. One must keep track of which module the registers belong to, where the registers need to be decoded, and how to express the properties (or even semantics) of the register to the next level of user or software. Note, the registers maybe embedded anywhere throughout the module hierarchy. Purely manual handling of these tasks by HDL developers is considered burdensome and error-prone at this scale. Typically these registers are writable via an on-chip bus, vaguely VME-like, that is controlled by an on-chip or off-chip CPU. There have been several attempts in the community to address this task at different levels. However, we have found no tool that is able to generate a register map, generate decoders and encoders with minimal overhead to the developer. So, here we present a tool that scours native HDL source files and looks for specific language-supported attributes and automatically generates a register map and bus decoders, respecting multiple clock domains, and presents a JSON file to the network that maps register names to addresses.

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

↑