dc.contributor.author | Hóu, Z | |
dc.contributor.author | Sanan, D | |
dc.contributor.author | Tiu, A | |
dc.contributor.author | Liu, Y | |
dc.contributor.author | Hoa, KC | |
dc.contributor.author | Dong, JS | |
dc.date.accessioned | 2020-08-25T00:44:47Z | |
dc.date.available | 2020-08-25T00:44:47Z | |
dc.date.issued | 2020 | |
dc.identifier.issn | 0168-7433 | |
dc.identifier.doi | 10.1007/s10817-020-09579-4 | |
dc.identifier.uri | http://hdl.handle.net/10072/396682 | |
dc.description.abstract | The SPARC instruction set architecture (ISA) has been used in various processors in workstations, embedded systems, and in mission-critical industries such as aviation and space engineering. Hence, it is important to provide formal frameworks that facilitate the verification of hardware and software that run on or interface with these processors. In this work, we give the first formal model for multi-core SPARC ISA and Total Store Ordering (TSO) memory model in Isabelle/HOL. We present two levels of modelling for the ISA: The low-level ISA model, which is executable, covers many features specific to SPARC processors, such as delayed-write for control registers, windowed general registers, and more complex memory access. We have tested our model extensively against a LEON3 simulation board, the test covers both single-step executions and sequential execution of programs. We also prove some important properties for our formal model, including a non-interference property for the LEON3 processor. The high-level ISA model is an abstraction of the low-level model and it provides an interface for memory operations in multi-core processors. On top of the high-level ISA model, we formalise two TSO memory models: one is an adaptation of the axiomatic SPARC TSO model (Sindhu et al. in Formal specification of memory models, Springer, Boston, 1992; SPARC in The SPARC architecture manual version 8, 1992. http://gaisler.com/doc/sparcv8.pdf), the other is a new operational TSO model which is suitable for verifying execution results. We prove that the operational model is sound and complete with respect to the axiomatic model. Finally, we give verification examples with two case studies drawn from the SPARCv9 manual. | |
dc.description.peerreviewed | Yes | |
dc.language | English | |
dc.language.iso | eng | |
dc.publisher | Springer Science and Business Media LLC | |
dc.relation.ispartofjournal | Journal of Automated Reasoning | |
dc.subject.fieldofresearch | Formal methods for software | |
dc.subject.fieldofresearch | Software testing, verification and validation | |
dc.subject.fieldofresearch | Artificial intelligence | |
dc.subject.fieldofresearch | Software engineering | |
dc.subject.fieldofresearch | Theory of computation | |
dc.subject.fieldofresearchcode | 461203 | |
dc.subject.fieldofresearchcode | 461208 | |
dc.subject.fieldofresearchcode | 4602 | |
dc.subject.fieldofresearchcode | 4612 | |
dc.subject.fieldofresearchcode | 4613 | |
dc.title | An Isabelle/HOL Formalisation of the SPARC Instruction Set Architecture and the TSO Memory Model | |
dc.type | Journal article | |
dc.type.description | C1 - Articles | |
dcterms.bibliographicCitation | Hóu, Z; Sanan, D; Tiu, A; Liu, Y; Hoa, KC; Dong, JS, An Isabelle/HOL Formalisation of the SPARC Instruction Set Architecture and the TSO Memory Model, Journal of Automated Reasoning, 2020 | |
dc.date.updated | 2020-08-23T23:40:48Z | |
dc.description.version | Accepted Manuscript (AM) | |
gro.description.notepublic | This publication has been entered as an advanced online version in Griffith Research Online. | |
gro.rights.copyright | © 2020 Springer Netherlands. This is an electronic version of an article published in Journal of Automated Reasoning, 2020. Journal of Automated Reasoning is available online at: http://link.springer.com/ with the open URL of your article. | |
gro.hasfulltext | Full Text | |
gro.griffith.author | Hou, Zhe | |
gro.griffith.author | Dong, Jin-Song | |