Projects per year
Abstract / Description of output
We validate a HOL4 model of the ARM Cortex-M0 microcontroller core by testing the model's behaviour on randomly chosen instructions against real chips from several manufacturers. 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. We also use additional constraints to test our hypotheses about the timing anomalies encountered.
Original language | English |
---|---|
Pages (from-to) | 60-76 |
Number of pages | 17 |
Journal | Science of Computer Programming |
Volume | 118 |
Early online date | 31 Oct 2015 |
DOIs | |
Publication status | Published - 1 Mar 2016 |
Keywords / Materials (for Non-textual outputs)
- SMT
Fingerprint
Dive into the research topics of 'Randomised testing of a microprocessor model using SMT-solver state generation'. Together they form a unique fingerprint.Projects
- 1 Finished
Profiles
-
Ian Stark
- School of Informatics - Senior Lecturer
- Laboratory for Foundations of Computer Science
- Foundations of Computation
Person: Academic: Research Active