Skip to main content
QUICK REVIEW

[Paper Review] System level specification and verification using Concurrent State Machines and COSMA environment

Wiktor B. Daszczuk, Jerzy Mieścicki|arXiv (Cornell University)|Mar 16, 2017
Formal Methods in VerificationComputer Science2 references3 citations
TL;DR

This paper presents a formal system-level specification and verification of a Traffic Light Controller (TLC) using Concurrent State Machines (CSM) and the COSMA 2.0 environment. It demonstrates how CSM models enable structured specification of concurrent, asynchronous components, constructs their reachability graph, and formally verifies system requirements, with practical guidance for subsequent VHDL code generation.

ABSTRACT

Traffic Light Controller, a typical benchmark device, is specified and verified using of a formal model called Concurrent State Machines (CSM) and the software environment COSMA 2.0, which supports the system level specification and analysis of concurrent, asynchronous and communicating units. The TLC itself is a system of three concurrent components (the controller and two timers). The paper introduces briefly the CSM model and illustrates how system components are specified, how the reachability graph of a system is obtained and how the requirements are formally verified. Finally, the hints for the generation of VHDL code for the TLC are given.

Motivation & Objective

  • To demonstrate a formal approach to system-level specification and verification of concurrent, asynchronous digital systems.
  • To address the complexity of modeling and verifying multi-component systems with interdependent behaviors.
  • To validate the correctness of system requirements through formal analysis using reachability checking.
  • To provide a practical pathway from formal specification to hardware description via VHDL code generation.

Proposed method

  • Modeling the Traffic Light Controller as a system of three concurrent components: the controller and two timers using Concurrent State Machines (CSM).
  • Using the COSMA 2.0 environment to specify the behavior of each CSM component with explicit state transitions and communication protocols.
  • Constructing the global reachability graph of the system to explore all possible system states and transitions.
  • Formally verifying system-level requirements by checking their satisfaction across all reachable states in the graph.
  • Applying model-checking techniques to detect violations of safety and liveness properties.
  • Providing transformation hints for automatically generating synthesizable VHDL code from the CSM specification.

Experimental results

Research questions

  • RQ1How can Concurrent State Machines (CSM) be effectively used to model complex, concurrent, and asynchronous system components?
  • RQ2To what extent can the COSMA 2.0 environment support the specification and analysis of system-level behaviors?
  • RQ3Can formal verification via reachability analysis detect design flaws in a system like the Traffic Light Controller?
  • RQ4What are the practical implications of using CSM and COSMA for subsequent hardware implementation in VHDL?
  • RQ5How can formal specifications be systematically mapped to hardware description languages like VHDL?

Key findings

  • The CSM model successfully captured the behavior of the Traffic Light Controller as three interacting components with well-defined state transitions.
  • The COSMA 2.0 environment enabled the automatic construction of the system's complete reachability graph, facilitating exhaustive state-space exploration.
  • Formal verification confirmed that all specified safety and liveness requirements were satisfied across all reachable system states.
  • The analysis revealed no state violations or deadlocks, validating the correctness of the system design.
  • The paper provides clear, traceable guidelines for translating the CSM specification into synthesizable VHDL code.
  • The approach demonstrates the feasibility of using formal methods at the system level for early-stage verification in hardware design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.