← Latest papers
💬 NLP

OpenRTLSet: A Fully Open-Source Dataset for Large Language Model-based Verilog Module Design

OpenRTLSet is a fully open-source dataset comprising over 131,000 diverse Verilog modules paired with AI-generated natural language descriptions, designed to advance large language model capabilities in hardware design and demonstrate that open-source approaches can achieve superior performance in Verilog code generation.

Original authors: Jinghua Wang, Lily Jiaxin Wan, Sanjana Pingali, Scott Smith, Manvi Jha, Shalini Sivakumar, Xing Zhao, Kaiwen Cao, Deming Chen

Published 2026-06-10
📖 4 min read☕ Coffee break read

Original authors: Jinghua Wang, Lily Jiaxin Wan, Sanjana Pingali, Scott Smith, Manvi Jha, Shalini Sivakumar, Xing Zhao, Kaiwen Cao, Deming Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a brilliant but inexperienced apprentice how to build complex digital circuits. In the world of electronics, these circuits are described using a special language called Verilog. For a long time, the best "teachers" (Large Language Models or LLMs) for this task were struggling because they didn't have enough good textbooks to study. Most of the existing books were locked away in private libraries (proprietary industrial data), or they were just too short and full of errors.

The paper introduces OPENRTLSET, which is essentially the world's largest, completely free library of Verilog textbooks designed specifically to train these AI apprentices.

Here is a breakdown of how they built this library and what they found, using simple analogies:

1. Gathering the Raw Materials (The Dataset)

The researchers didn't just copy-paste code; they built a massive collection from three different sources, like gathering ingredients from three different gardens:

  • The Verilog Garden: They found over 100,000 existing Verilog designs on GitHub (the "open-source" internet for code).
  • The VHDL Garden: They found about 5,000 designs written in a different language called VHDL and translated them into Verilog, like translating a French recipe into English so everyone can read it.
  • The C++ Garden: They found about 24,000 designs written in C/C++ (a high-level programming language) and used a special tool to convert them into Verilog. Think of this as taking a high-level architectural blueprint and automatically generating the detailed brick-by-brick instructions.

The Golden Rule: Every single piece of code in this library is "open source." This means anyone—students, researchers, or companies—can use it for free without worrying about legal restrictions or hidden fees.

2. Writing the Teacher's Notes (Labeling)

Raw code is like a pile of bricks; it's hard to understand what the building is supposed to be without a description. To fix this, the team used a super-smart AI (DeepSeek-R1) to write a natural language description for every single module.

  • The "Context" Trick: Sometimes, to help the AI understand the code better, they also generated a "C++ version" of the circuit alongside the Verilog. It's like giving the student both the blueprint and a 3D model of the building to help them understand the structure better.
  • The Result: They created pairs of "Code + Description," turning a pile of bricks into a set of "Here is what this does, and here is how to build it" lessons.

3. The Training Camp (Fine-Tuning)

The researchers took this new library and used it to train several different AI models (like Qwen and Granite). They tested these models to see how well they could generate new, correct Verilog code from scratch.

What they discovered:

  • More Data is Better: When they trained the AI on the full 131,000-module library, the AI got significantly better than when they only trained it on a smaller, 11,000-module slice. It's like the difference between reading one chapter of a book versus reading the whole encyclopedia.
  • Quality Matters: The AI trained on OPENRTLSET performed much better than AIs trained on older, smaller datasets. In fact, the new AI models could generate correct circuits about 14% more often than previous attempts.
  • Small Models Can Win: They found that even a smaller AI model (8 billion parameters), when trained on this high-quality data, could outperform much larger, famous models that hadn't been trained on this specific hardware data.

4. The Bottom Line

The paper claims that OPENRTLSET removes the biggest barrier to teaching AI how to design hardware: the lack of free, high-quality data. By providing a massive, clean, and legally safe dataset, they have shown that open-source approaches can actually beat proprietary ones in this specific field.

In short, they built the ultimate "training manual" for AI to learn hardware design, proving that when you give AI the right open-source tools, it can become a master builder.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →