Salvato in:
Dettagli Bibliografici
Autori principali: Mu, Jianan, Shi, Mingyu, Wang, Yining, Yang, Tianmeng, Sun, Bin, Hu, Xing, Ye, Jing, Li, Huawei
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2510.08664
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908585554870272
author Mu, Jianan
Shi, Mingyu
Wang, Yining
Yang, Tianmeng
Sun, Bin
Hu, Xing
Ye, Jing
Li, Huawei
author_facet Mu, Jianan
Shi, Mingyu
Wang, Yining
Yang, Tianmeng
Sun, Bin
Hu, Xing
Ye, Jing
Li, Huawei
contents LLM-based RTL generation is an interesting research direction, as it holds the potential to liberate the least automated stage in the current chip design. However, due to the substantial semantic gap between high-level specifications and RTL, coupled with limited training data, existing models struggle with generation accuracy. Drawing on human experience, design with verification helps improving accuracy. However, as the RTL testbench data are even more scarce, it is not friendly for LLMs. Although LLMs excel at higher-level languages like Python/C, they have a huge semantic gap from RTL. When implementing the same functionality, Python/C code and hardware code differ significantly in the spatiotemporal granularity, requiring the LLM not only to consider high-level functional semantics but also to ensure the low-level details align with the circuit code. It is not an easy task. In this paper, we propose a function abstracted verifiable middleware (Faver) that streamlines RTL verification in LLM-based workflows. By mixing LLM-friendly code structures with a rule-based template, Faver decouples the details of circuit verification, allowing the LLM to focus on the functionality itself. In our experiments on the SFT model and open-source models, Faver improved the model's generation accuracy by up to 14%.
format Preprint
id arxiv_https___arxiv_org_abs_2510_08664
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Faver: Boosting LLM-based RTL Generation with Function Abstracted Verifiable Middleware
Mu, Jianan
Shi, Mingyu
Wang, Yining
Yang, Tianmeng
Sun, Bin
Hu, Xing
Ye, Jing
Li, Huawei
Software Engineering
Artificial Intelligence
LLM-based RTL generation is an interesting research direction, as it holds the potential to liberate the least automated stage in the current chip design. However, due to the substantial semantic gap between high-level specifications and RTL, coupled with limited training data, existing models struggle with generation accuracy. Drawing on human experience, design with verification helps improving accuracy. However, as the RTL testbench data are even more scarce, it is not friendly for LLMs. Although LLMs excel at higher-level languages like Python/C, they have a huge semantic gap from RTL. When implementing the same functionality, Python/C code and hardware code differ significantly in the spatiotemporal granularity, requiring the LLM not only to consider high-level functional semantics but also to ensure the low-level details align with the circuit code. It is not an easy task. In this paper, we propose a function abstracted verifiable middleware (Faver) that streamlines RTL verification in LLM-based workflows. By mixing LLM-friendly code structures with a rule-based template, Faver decouples the details of circuit verification, allowing the LLM to focus on the functionality itself. In our experiments on the SFT model and open-source models, Faver improved the model's generation accuracy by up to 14%.
title Faver: Boosting LLM-based RTL Generation with Function Abstracted Verifiable Middleware
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2510.08664