Randomised testing of a microprocessor model using SMT-solver state generation

17Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We validate a HOL4 model of the ARM Cortex-M0 microcontroller core by testing the model's behaviour on randomly chosen instructions against a real chip. The model and our intended application involve precise timing information about instruction execution, but the implementations are pipelined, so checking the behaviour of single instructions would not give us sufficient confidence in the model. Thus we test the model using sequences of randomly chosen instructions. The main challenge is to meet the constraints on the initial and intermediate execution states: we must ensure that memory accesses are in range and that we respect restrictions on the instructions. By careful transformation of these constraints an off-the-shelf SMT solver can be used to find suitable states for executing test sequences. © 2014 Springer International Publishing.

Cite

CITATION STYLE

APA

Campbell, B., & Stark, I. (2014). Randomised testing of a microprocessor model using SMT-solver state generation. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8718 LNCS, pp. 185–199). Springer Verlag. https://doi.org/10.1007/978-3-319-10702-8_13

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free