DocumentCode :
2599952
Title :
Formalizing hardware/software interface specifications
Author :
Li, Juncao ; Xie, Fei ; Ball, Thomas ; Levin, Vladimir ; McGarvey, Con
Author_Institution :
Microsoft Corp., Redmond, WA, USA
fYear :
2011
fDate :
6-10 Nov. 2011
Firstpage :
143
Lastpage :
152
Abstract :
Software drivers are usually developed after hardware devices become available. This dependency can induce a long product cycle. Although co-simulation and co-verification techniques have been utilized to facilitate the driver development, Hardware/Software (HW/SW) interface models, as the test harnesses, are often challenging to specify. Such interface models should have formal semantics, be efficient for testing, and cover all HW/SW behaviors described by HW/SW interface protocols. We present an approach to formalizing HW/SW interface specifications, where we propose a semantic model, relative atomicity, to capture the concurrency model in HW/SW interfaces; demonstrate our approach via a realistic example; elaborate on how we have utilized this approach in device/driver development process; and discuss criteria for evaluating our formal specifications. We have detected fifteen issues in four English specifications. Furthermore, our formal specifications are readily useful as the test harnesses for co-verification, which has discovered twelve real bugs in five industrial driver programs.
Keywords :
concurrency control; device drivers; formal specification; formal verification; peripheral interfaces; program debugging; protocols; English specifications; HW/SW behaviors; HW/SW interface models; HW/SW interface protocols; HW/SW interface specifications; co-simulation techniques; co-verification techniques; concurrency model; driver development; formal semantics; formal specifications; hardware devices; hardware/software interface models; hardware/software interface specifications; industrial driver programs; product cycle; relative atomicity; semantic model; software drivers; Barium; Concurrent computing; Hardware; Protocols; Registers; Semantics; Software;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
Conference_Location :
Lawrence, KS
ISSN :
1938-4300
Print_ISBN :
978-1-4577-1638-6
Type :
conf
DOI :
10.1109/ASE.2011.6100048
Filename :
6100048
Link To Document :
بازگشت