VeriSegue: Local RL and Cloud LLM Collaborative Verification Across RISC-V Processors and AI Accelerators
Abstract
Pre-silicon verification of RISC-V processors and AI accelerators faces a trade-off between local throughput and deep-state reachability: local reinforcement-learning (RL) generators stall before multi-step preconditions, whereas one-way large language model (LLM) pipelines suffer from template ceilings, retry latency, hidden offsets, parameter collapse, and cold-reset restarting. We present VeriSegue, a closed-loop local-cloud framework pairing compact on-premise RL with execution-guided frozen-LLM reasoning. Grounded in our findings, this paradigm points to a promising direction across chip design and verification, keeping proprietary RTL and waveforms local for R&D privacy while uniting local speed with bounded cloud reasoning for stronger effectiveness. VeriSegue triggers handoff via control-flow velocity () and returns deep contexts to local rollouts at zero extra cloud cost; Stage 2 integrates backward-slice CF-UCB scheduling, constructor synthesis (SynLib), hybrid formal/trace inversion (TraceSMT), and boundary batching under a three-oracle gate. Across five open-source RTL designs (RocketChip, SonicBOOM, Gemmini, AxCore, and unseen CVA6), eight LLMs, and Verilator/VCS, Stage-1 GRPO outperforms masked GenHuzz PPO on all five VCS metrics in 1.96x less time. Under equal wall-clock horizons, VeriSegue wins 5/5 seeds () over FLAME on every target, lifting real RTL coverage by +20.2%-41.4% (+9.17 pp VCS Score), reaching 100% zero-shot CVA6 functional closure, and cutting accelerator cost by 4.1x-4.5x (9.0/10 AxCore defects). Differential triage exposes 20 new root causes (11 RTL bugs and live 0-day GEM-D8), 53 silent Gemmini escapes, and a formally checked 45 nm AxCore patch eliminating a -47.8 pp ImageNet-1K ResNet-18 collapse and 100% quantized-LLM NaN failure.
Create a lesson
Metadata
- Comments
- 16 pages, 13 figures, 6 tables
Related papers
Native Block-Quantized Matrix Multiplication and Explicit K/V Residency with Dual-View Access for LLM Inference on RISC-V Vector Processors
Shared title terminologycs.ARWeiying Wang, Yuanyang Xiang, Zhiwei Zhang
Stratum: A Hardware-Software Co-Design Framework for SNN Inference on RISC-V
Shared title terminologycs.ARWajahat Riaz, Muhammad Adeel Pasha, Shahid Masud et al.
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminologycs.ARVikash Kumar
TSUMIKI: Local Open-Weight LLMs for Analog IC Layout Behind the Foundry Firewall
Shared title terminologycs.ARKentaro Yoshioka
PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching
Shared title terminologycs.ARGeraldo F. Oliveira, Ahmet Caner Yüzügüler, Renzo Andri et al.
Sattva: A Hardware-Algorithm Co-Designed SAT Solving Accelerator with Off-Chip Scalability
Shared title terminologycs.ARHuifeng Ke, Michael Lo, Justin Oh et al.