vix.ing · top · new · best · stats · spec

A Deep Learning Framework for Verilog Autocompletion Towards Design and Verification Automation

2023/04/26 by Enrique Dehaerne, Dehaerne, Enrique, Bappaditya Dey +5 · 2 citations
Computer Science · Engineering · #FOS: Computer and information sciences #Ferroelectric and Negative Capacitance Devices #I.2.2 #Machine Learning (cs.LG) #Semiconductor materials and devices #Software Engineering (cs.SE) #VLSI and Analog Circuit Testing

paper · pdf · doi:10.48550/arxiv.2304.13840

openalex publication_date 2023/04/26 · openalex created_date 2023/04/30 · openalex updated_date 2026/07/28

Abstract

Innovative Electronic Design Automation (EDA) solutions are important to meet the design requirements for increasingly complex electronic devices. Verilog, a hardware description language, is widely used for the design and verification of digital circuits and is synthesized using specific EDA tools. However, writing code is a repetitive and time-intensive task. This paper proposes, primarily, a novel deep learning framework for training a Verilog autocompletion model and, secondarily, a Verilog dataset of files and snippets obtained from open-source repositories. The framework involves integrating models pretrained on general programming language data and finetuning them on a dataset curated to be similar to a target downstream task. This is validated by comparing different pretrained models trained on different subsets of the proposed Verilog dataset using multiple evaluation metrics. These experiments demonstrate that the proposed framework achieves better BLEU, ROUGE-L, and chrF scores by 9.5%, 6.7%, and 6.9%, respectively, compared to a model trained from scratch. Code and data are made available at: https://github.com/99EnriqueD/verilogautocompletion .

Cited by

Related