CAPER: Circuit-Aware Parameter-Efficient Reasoning in LLMs for Analog Verification
Saion K. Roy
Abstract
Large language models (LLMs) are increasingly used to generate analog circuits, yet every netlist must also be verified. We propose LLMs as verification assistants for analog circuits that flag unmet specifications and reliability issues that appear under process, voltage, and temperature (PVT) variation. These issues emerge from how circuit stages combine, a structure that generic parameter-efficient fine-tuning (PEFT) methods such as LoRA do not capture. To this end, we introduce CAPER, a circuit-aware PEFT method that adds a small branch alongside LoRA to read each stage's properties from the LLM and combine them from the relevant stages. In deciding whether a feedback loop is negative, LoRA and a high-rank adapter stay at chance, whereas CAPER answers every test case correctly. For comparator latches, where 11 of 90 LLM-written designs that work under nominal conditions fail under PVT variation, CAPER likewise learns to flag such latent failures, while generic adapters stay near chance. These results show that adding circuit knowledge to PEFT makes such analog verification checks learnable through fine-tuning.
Create a lesson
Related papers
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminology · Hyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
SAFTAC: Simulation-Augmented Fine-Tuning of Open-Source LLMs for Analog Circuit Design
Shared title terminology · Junsheng Huang, Yifan Sun, Zhuoer Zhang et al.
AnalogScout: Simulation-Efficient PVT-Aware Analog Sizing with LLM Agents
Shared title terminology · Yichen Long, Keren Zhu
AnalogPortBench: Benchmarking LLMs on Analog Circuit Porting
Shared title terminology · Saeid Rajabi, Aly Moussa, Vishal Saxena et al.
MicroAssert: Microarchitecture-Aware Structured Assertion Generation for CPU Verification
Shared title terminology · Hongqin Lyu, Yonghao Wang, Zhiteng Chao et al.
PVTSizing 2.0: A Fast and Reliable Analog Circuit Sizing Operator for Agentic EDA Workflows
Shared title terminology · Zichen Kong, Minghuan Song, Xiyuan Tang et al.