Synthesizing Formal Models of Hardware from RTL for Efficient Verification of Memory Model Implementations
Yao Hsiao, Dominic P. Mulligan, Nikos Nikoleris, Gustavo Petri, Caroline Trippel
摘要
Modern hardware complexity makes it challenging to determine if a given microarchitecture adheres to a particular memory consistency model (or MCM). This observation inspired the Check tools, which formally check that a specific microarchitecture correctly implements an MCM with respect to a suite of litmus test programs. Unfortunately, despite their effectiveness and efficiency the Check tools must be supplied a microarchitecture in the guise of a manually constructed axiomatic specification, called a 𝜇spec model.
To facilitate MCM verification-and enable the Check tools to consume processor RTL directly-we introduce a methodology and associated tool, rtl2𝜇spec, for automatically synthesizing 𝜇spec models from microprocessor designs written in Verilog, with the help of modest user-provided design metadata. As a case study, we use rtl2𝜇spec to facilitate the Check-based verification of the four-core RISC-V V-scale (or multi-V-scale) processor's MCM implementation. We show that rtl2𝜇spec can synthesize a complete, and proven correct by construction, 𝜇spec model from the Verilog design of the multi-V-scale processor in 6.90 minutes. Subsequent Check-based MCM verification of the synthesized 𝜇spec model takes less than one second per litmus test.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper7
- Axiomatic hardware-software contracts for securityNicholas Mosier, Hanna Lachnitt, Hamed Nemati, Caroline TrippelISCA 2022 · 26 次引用
- Pensieve: Microarchitectural Modeling for Security EvaluationYuheng Yang, Thomas Bourgeat, Stella Lau, Mengjia YanISCA 2023 · 23 次引用
- RTL2MμPATH: Multi-μPATH Synthesis with Applications to Hardware Security VerificationYao Hsiao, Nikos Nikoleris, Artem Khyzha, Dominic P. Mulligan 等MICRO 2024 · 12 次引用
- AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing AttacksMulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li 等HPCA 2023 · 3 次引用
- Control Logic Synthesis: Drawing the Rest of the OWLZachary D. Sisco, Andrew David Alex, Zechen Ma, Yeganeh Aghamohammadi 等ASPLOS 2024 · 2 次引用
它引用的 Paper2
- TransForm: Formally Specifying Transistency Models and Synthesizing Enhanced Litmus TestsNaorin Hossain, Caroline Trippel, Margaret MartonosiISCA 2020 · 9 次引用
- PerpLE: Improving the Speed and Effectiveness of Memory Consistency TestingThemis Melissaris, Markos Markakis, Kelly A. Shaw, Margaret MartonosiMICRO 2020 · 3 次引用
相关 Paper
- PipeSynth: Automated Synthesis of Microarchitectural Axioms for Memory ConsistencyChase Norman, Adwait Godbole, Yatin A. ManerkarASPLOS 2023 · 4 次引用
- HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence ProtocolsNicolai Oswald, Vijay Nagarajan, Daniel J. Sorin, Vasilis Gavrielatos 等HPCA 2022 · 15 次引用
- QED: Scalable Consistency Verification of Memory Instruction Reordering in HardwareGokulan Ravi, Xiaokang Qiu, Mithuna Thottethodi, T. N. VijaykumarISCA 2026 · 1 次引用
- CAAT: consistency as a theoryThomas Haas, Roland Meyer, Hernán Ponce de LeónOOPSLA 2022 · 11 次引用
- HMC: Model Checking for Hardware Memory ModelsMichalis Kokologiannakis, Viktor VafeiadisASPLOS 2020 · 29 次引用
