RTLMarker: Protecting LLM-Generated RTL Copyright via a Hardware Watermarking Framework

Kun Wang, Kaiyan Chang, Mengdi Wang, Xinqi Zou, Haobo Xu +2 more
1/5/2025
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

Recent advances of large language models in the field of Verilog generation have raised several ethical and security concerns, such as code copyright protection and dissemination of malicious code. Researchers have employed watermarking techniques to identify codes generated by large language models. However, the existing watermarking works fail to protect RTL code copyright due to the significant syntactic and semantic differences between RTL code and software code in languages such as Python. This paper proposes a hardware watermarking framework RTLMarker that embeds watermarks into RTL code and deeper into the synthesized netlist. We propose a set of rule-based Verilog code transformations , ensuring the watermarked RTL code's syntactic and semantic correctness. In addition, we consider an inherent tradeoff between watermark transparency and watermark effectiveness and jointly optimize them. The results demonstrate RTLMarker's superiority over the baseline in RTL code watermarking.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025rtlmarker,
  title  = {RTLMarker: Protecting LLM-Generated RTL Copyright via a Hardware Watermarking Framework},
  author = {Kun Wang and Kaiyan Chang and Mengdi Wang and Xinqi Zou and Haobo Xu and Yinhe Han and Ying Wang},
  year   = {2025},
  eprint = {2501.02446},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02446v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.02446.svg)](https://codeofpaper.com/paper/2501.02446)

Discussion