Search papers, labs, and topics across Lattice.
OpenRTLSet introduces the largest fully open-source dataset for hardware design, comprising over 131,000 diverse Verilog code samples sourced from GitHub, VHDL translations, and synthesizable C/C++ translations. The dataset enables the fine-tuning of language models like Qwen and Granite through paired natural language descriptions generated by the DeepSeek-R1 reasoning model. Key findings reveal that open-source methodologies can outperform proprietary solutions in hardware design tasks, paving the way for broader accessibility in research and industry applications.
Open-source methodologies can outperform proprietary solutions in hardware design, as shown by the performance of models fine-tuned on the new OpenRTLSet dataset.
OpenRTLSet introduces the largest fully open-source dataset for hardware design, offering over 131,000 diverse Verilog code samples to the research community and industry. Our dataset uniquely combines Verilog code from GitHub repositories (102k modules), VHDL translations (5k modules), and synthesizable C/C++ translations (24k modules), all freely accessible without proprietary restrictions. Using the reasoning model DeepSeek-R1, we generated paired natural language descriptions for each code sample, enabling fine-tuning of various language model families (e.g., Qwen and Granite) for Verilog code generation. Our dataset explores multiple options, including Verilator-generated C++ files as additional context during labeling, quantization techniques (INT4 vs. BF16), and performance differences across model sizes (7B-32B parameters). OpenRTLSet demonstrates that open-source approaches can achieve superior performance in hardware design tasks, establishing a new foundation for accessible research and commercial use in this domain.