Theoretical and Practical Approaches to the Denotational Semantics for MDESL based on UTP

  • Feng Sheng
  • , Huibiao Zhu*
  • , Jifeng He
  • , Zongyuan Yang
  • , Jonathan P. Bowen
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

9 Scopus citations

Abstract

The hardware description language Verilog has been standardized and widely used in industry. Multithreaded Discrete Event Simulation Language (MDESL) is a Verilog-like language and it contains a rich variety of interesting features such as the event-driven computation and shared-variable concurrency as well as the realtime feature. In this paper, we present the denotational semantics for MDESL based on UTP. First a discrete time semantic model is proposed to describe the observation-oriented semantics for MDESL. The observations record the change of variables of atomic actions over time. Then the healthy formulae are defined to denote all different behaviors of programs and the semantics of programs is expressed in terms of healthy formulae. In addition, we demonstrate some interesting properties about the MDESL programs expressing as algebraic laws and their proofs are supported by our formalized denotational semantics. Our theoretical approach is complemented by a practical one, we use the theorem proof assistant Coq to formalize the UTP-based semantics for MDESL. The correctness of the algebraic laws is also verified via the mechanical approach in Coq. Our work provides a novel way to verify the correctness of UTP-based semantics forMDESL both in a theoretical approach and in a practical approach. It is also a new attempt for the application of Coq in the mechanized semantics.

Original languageEnglish
Pages (from-to)275-314
Number of pages40
JournalFormal Aspects of Computing
Volume32
Issue number2-3
DOIs
StatePublished - 1 Jul 2020

Keywords

  • Coq
  • Denotational semantics
  • Multithreaded Discrete Event Simulation Language (MDESL)
  • Unifying Theories of Programming (UTP)
  • Verilog

Fingerprint

Dive into the research topics of 'Theoretical and Practical Approaches to the Denotational Semantics for MDESL based on UTP'. Together they form a unique fingerprint.

Cite this