MicroAssert: Microarchitecture-Aware Structured Assertion Generation for CPU Verification
Hongqin Lyu, Yonghao Wang, Zhiteng Chao, Wenxing Li, Tiancheng Wang, Evangeline F. Y. Young, Huawei Li
Abstract
Automatic assertion generation reduces manual verification effort, yet existing approaches struggle to capture microarchitectural behaviors and cross-region interactions in CPUs. We present MicroAssert, a microarchitecture-aware framework that identifies functional regions directly from RTL and generates local and composite assertions through structured contracts and deterministic verification primitives. Coverage-guided feedback further improves verification completeness by progressively expanding proof-relevant RTL coverage. Evaluated on five open-source RISC-V CPUs against three existing assertion generation approaches, MicroAssert achieves 100% syntax correctness and complete branch, statement, and toggle coverage, with an average proven rate of 74.82% and Proof Core coverage of 90.96%. Mutation testing further demonstrates its advantage, achieving an average error detection rate of 28.73%, 1.99 to 3.51 times higher than existing methods. These results demonstrate the effectiveness of microarchitecture-aware assertion generation.
Create a lesson
Related papers
FPGA-GEN: Target-Aware RTL Generation via HLS
Shared title terminology · Luke Ztz Hu, Zhihan Xiao, Zhe Zhao et al.
Rule-Guided and Trajectory-Aware Repair for LLM-Based HLS Generation
Shared title terminology · Xianjing Zhu, Wenqi Lou, Yuanbo Wen et al.
BOOMerang: Autonomous Translation from RTL to Microarchitectural Simulators and Back
Shared title terminology · Ferran Hermida-Rivera, Jack Toubes, Angela Cui et al.
SGLayout: Schema-Guided Closed-Loop Refinement for LLM-Driven Parameterized Layout Generation
Shared title terminology · Siyang Chen, Yuan Pu, Yuhan Qin et al.
Bottom-Up FPGA Reconfigurable Accelerator Overlay Generation
Shared title terminology · Mohamed Bouaziz, Suhaib A. Fahmy
Inference-Time Scaling in Agentic Hardware Verification Workflows: A Multi-Strategy Characterization Across Protocol Complexity
Shared title terminology · Vikash Kumar