Synergistic Verification of Hardware Peripherals through Virtual Prototype Aided Cross-Level Methodology Leveraging Coverage-Guided Fuzzing and Co-Simulation
Author:
Ahmadi-Pour Sallar1ORCID, Logemann Mathis1, Herdt Vladimir12, Drechsler Rolf12ORCID
Affiliation:
1. Institute of Computer Science, University of Bremen, 28359 Bremen, Germany 2. Cyber-Physical Systems, DFKI GmbH, 28359 Bremen, Germany
Abstract
In this paper, we propose a Virtual Prototype (VP) driven verification methodology for Hardware (HW) peripherals. In particular, we combine two approaches that complement each other and use the VP as a readily available reference model: We use (A) Coverage-Guided Fuzzing (CGF) which enables comprehensive verification at the unit-level of the Register-Transfer Level (RTL) HW peripheral with a Transaction Level Modeling (TLM) reference, and (B) an application-driven co-simulation-based approach that enables verification of the HW peripheral at the system-level. As a case-study, we utilize a RISC-V Platform Level Interrupt Controller (PLIC) as HW peripheral and use an abstract TLM PLIC implementation from the open source RISC-V VP as the reference model. In our experiments we find three behavioral mismatches and discuss the observation of these, as well as non-functional timing behavior mismatches, that were found through the proposed synergistic approach. Furthermore, we provide a discussion and considerations on the RTL/TLM Transactors, as they embody one keystone in cross-level methods. As the different approaches uncover different mismatches in our case-study (e.g., behavioral mismatches and timing mismatches), we conclude a synergy between the methods to aid in verification efforts.
Funder
German Federal Ministry of Education and Research
Reference31 articles.
1. IEEE Std (2023, July 03). 1666. IEEE Standard SystemC Language Reference Manual. Available online: https://paginas.fe.up.pt/~ee07166/lib/exe/fetch.php?media=1666-2011.pdf. 2. De Schutter, T. (2014). Better Software. Faster!: Best Practices in Virtual Prototyping, Synopsys Press. 3. Herdt, V., Große, D., and Drechsler, R. (2020). Enhanced Virtual Prototyping: Featuring RISC-V Case Studies, Springer. 4. Bruns, N., Herdt, V., and Drechsler, R. (2022, January 14–16). Unified HW/SW Coverage: A Novel Metric to Boost Coverage-guided Fuzzing for Virtual Prototype based HW/SW Co-Verification. Proceedings of the 2022 Forum on Specification & Design Languages (FDL), Linz, Austria. 5. Trippel, T., Shin, K.G., Chernyakhovsky, A., Kelly, G., Rizzo, D., and Hicks, M. (2022, January 10–12). Fuzzing Hardware Like Software. Proceedings of the 31st USENIX Security Symposium (USENIX Security 22), Boston, MA, USA.
|
|