Verifying SystemC TLM Peripherals using Modern C++ Symbolic Execution Tools
Sprache des Vortragstitels:
Englisch
Original Tagungtitel:
Design Automation Conference 2022
Sprache des Tagungstitel:
Englisch
Original Kurzfassung:
In this paper we propose an effective approach for verification of real-world SystemC TLM peripherals using modern C++ symbolic execution tools. We designed a lightweight SystemC peripheral kernel that enables an efficient integration with the modern symbolic execution engine KLEE and acts as a drop-in replacement for the normal SystemC kernel on pre-processed TLM peripherals. The pre-processing step essentially replaces context switches in SystemC threads with normal function calls which can be handled by KLEE. Our experiments, using a publicly available RISC-V specific interrupt controller, demonstrate the scalability and bug hunting effectiveness of our approach.