RTL bug localization through LTL specification mining (WIP). Iyer, V., Kim, D., Nikolic, B., & Seshia, S. A. In Proceedings of the 17th ACM-IEEE International Conference on Formal Methods and Models for System Design, of MEMOCODE '19, pages 1–5, New York, NY, USA, October, 2019. Association for Computing Machinery.
RTL bug localization through LTL specification mining (WIP) [link]Paper  doi  abstract   bibtex   
As the complexity of contemporary hardware designs continues to grow, functional verification demands more effort and resources in the design cycle than ever. As a result, manually debugging RTL designs is extremely challenging even with full signal traces after detecting errors in chip-level software simulation or FPGA emulation. Therefore, it is necessary to reduce the burden of verification by automating RTL debugging processes. In this paper, we propose a novel approach for debugging with the use of LTL specification mining. In this approach, we extract fine-grained assertions that are implicitly encoded in the RTL design, representing the designer's assumptions, to localize bugs that are only detected when high-level properties are violated from long-running full-system simulations. We employ template-based RTL spec mining to infer both safety and bounded liveness properties. We propose strategies to convert multi-bit signals to atomic propositions based on common RTL design idioms such as ready-valid handshakes and specific state transitions using automatic static analysis. Our initial results with a tiny RISC-V core design show that this methodology is promising for localizing bugs in time and space by demonstrating that the mined fine-grained LTL properties are violated before a high-level test failure condition occurs, such as a timeout or hanging, and can point to specific lines of suspect RTL.
@inproceedings{iyer_rtl_2019,
	address = {New York, NY, USA},
	series = {{MEMOCODE} '19},
	title = {{RTL} bug localization through {LTL} specification mining ({WIP})},
	isbn = {978-1-4503-6997-8},
	url = {https://doi.org/10.1145/3359986.3361202},
	doi = {10.1145/3359986.3361202},
	abstract = {As the complexity of contemporary hardware designs continues to grow, functional verification demands more effort and resources in the design cycle than ever. As a result, manually debugging RTL designs is extremely challenging even with full signal traces after detecting errors in chip-level software simulation or FPGA emulation. Therefore, it is necessary to reduce the burden of verification by automating RTL debugging processes. In this paper, we propose a novel approach for debugging with the use of LTL specification mining. In this approach, we extract fine-grained assertions that are implicitly encoded in the RTL design, representing the designer's assumptions, to localize bugs that are only detected when high-level properties are violated from long-running full-system simulations. We employ template-based RTL spec mining to infer both safety and bounded liveness properties. We propose strategies to convert multi-bit signals to atomic propositions based on common RTL design idioms such as ready-valid handshakes and specific state transitions using automatic static analysis. Our initial results with a tiny RISC-V core design show that this methodology is promising for localizing bugs in time and space by demonstrating that the mined fine-grained LTL properties are violated before a high-level test failure condition occurs, such as a timeout or hanging, and can point to specific lines of suspect RTL.},
	urldate = {2021-04-26},
	booktitle = {Proceedings of the 17th {ACM}-{IEEE} {International} {Conference} on {Formal} {Methods} and {Models} for {System} {Design}},
	publisher = {Association for Computing Machinery},
	author = {Iyer, Vighnesh and Kim, Donggyu and Nikolic, Borivoje and Seshia, Sanjit A.},
	month = oct,
	year = {2019},
	keywords = {\#broken, Jab/\#Pre, RTL verification, bug localization, specification mining},
	pages = {1--5},
}

Downloads: 0