跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 硬件体系结构

arXiv:2611.31674 (cs)
[提交于 2026年11月23日]

标题:Translation Validation of SystemVerilog-to-SystemC RTL Conversion by Reading the Generated C++

作者:Mayur Kubavat
查看论文《Translation Validation of SystemVerilog-to-SystemC RTL Conversion by Reading the Generated C++》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:SystemC models of register-transfer level (RTL) designs are used for virtual platforms, firmware bring-up and simulation without a commercial license, and more of them now come from translators and language models. A wrong model usually compiles, and it usually agrees with the RTL. SystemVerilog evaluates an 8-bit sum in 8 bits while C++ evaluates it in 64, so a translation that forgets one truncation keeps a carry the RTL drops, and only inputs near the top of the range show it. I built svcc, an open-source SystemVerilog-to-SystemC converter, and my first check of its output read the generated C++ with SystemVerilog's rules. That check passed two wrong models. The check that replaced it gives the generated header the meaning C++17 and SystemC give it and turns undefined behavior into proof obligations. It prints what it read as SystemVerilog with every width change explicit, then proves that equivalent to a netlist of the source by induction over registers matched by name. On 50 author-written designs it proves 45 and reports 5 as outside its model. In a mutation experiment it accepted none of the 17 mutants that compiled SystemC showed to be wrong. Of 2,184 modules from 16 open-source code bases, 1,185 conversions match Verilator in random co-simulation and the check proves 600 of them. The same runs found defects in the front end, in svcc and in Verilator.
评论: 7 pages, 1 figure, 3 tables. Code and results: https://github.com/mayurkubavat/svcc
主题: 硬件体系结构 (cs.AR); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2611.31674 [cs.AR]
  (或者 arXiv:2611.31674v1 [cs.AR] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.31674

提交历史

来自:Mayur Kubavat
[v1] 2026年11月23日 星期一 23:05:06 UTC (27 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AR
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站