From Informal Specifications to an ABV Framework for Industrial Firmware Verification - VLSI-SoC: Design Trends
Conference Papers Year : 2021

From Informal Specifications to an ABV Framework for Industrial Firmware Verification

Samuele Germiniani
  • Function : Author
  • PersonId : 1158059
Moreno Bragaglio
  • Function : Author
  • PersonId : 1158060
Graziano Pravadelli
  • Function : Author
  • PersonId : 1015128

Abstract

Firmware verification for small and medium industries is a challenging task; as a matter of fact, they generally do not have personnel dedicated to such activity. In this context, verification is executed very late in the design flow, and it is usually carried on by the same engineers involved in coding and testing. The specifications initially discussed with the customers are generally not formalised, leading to ambiguity in the expected functionalities. The adoption of a more formal design flow would require the recruitment of people with expertise in formal and semi-formal verification, which is not often compatible with the budget resources of small and medium industries. The alternative is helping the existing engineers with tools and methodologies they can easily adopt without being experts in formal methods.The paper follows this direction by presenting MIST, a framework for the automatic generation of an assertion-based verification environment and its integrated execution inside an off-the-shelf industrial design tool. In particular, MIST allows generating a complete environment to verify C/C++ firmware starting from informal specifications.Given a set of specifications written in natural language, the tool guides the user in translating each specification into an XML formal description, capturing a temporal behaviour that must hold in the design. Our XML format guarantees the same expressiveness of linear temporal logic, but it is designed to be used by designers that are not familiar with formal methods. Once each behaviour is formalised, MIST automatically generates the corresponding testbench and checker to stimulate and verify the design. To guide the verification process, MIST employs a clustering procedure that classifies the internal states of the firmware. Such classification aims at finding an effective ordering to check the expected behaviours and to advise for possible specification holes.MIST has been fully integrated into the IAR System EmbeddedWorkbench. Its effectiveness and efficiency have been evaluated to formalise and check a complex test plan for industrial firmware.
Fichier principal
Vignette du fichier
512096_1_En_9_Chapter.pdf (1.84 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03759721 , version 1 (24-08-2022)

Licence

Identifiers

Cite

Samuele Germiniani, Moreno Bragaglio, Graziano Pravadelli. From Informal Specifications to an ABV Framework for Industrial Firmware Verification. 28th IFIP/IEEE International Conference on Very Large Scale Integration - System on a Chip (VLSI-SoC), Oct 2020, Salt Lake City, UT, United States. pp.179-204, ⟨10.1007/978-3-030-81641-4_9⟩. ⟨hal-03759721⟩
24 View
30 Download

Altmetric

Share

More