Abstract
Verilog is a hardware description language (HDL) that has been standardized and widely used in industry. It contains interesting features such as event-driven computation and shared-variable concurrency. This paper considers how the algebraic semantics links with the operational semantics for Verilog. Our approach is to apply the equational and rewriting logic system Maude in exploring the linking theories. Firstly we present the algebraic semantics for Verilog. We introduce the concept of head normal form and every program is expressed as a guarded choice with location status. Secondly we present the strategy of deriving operational semantics from algebraic semantics. Our mechanical approach using Maude can visually show the head normal form of each program, as well as the execution steps of a program based on the derivation strategy. Finally we also mechanize the derived operational semantics. The results mechanized from the second and third exploration indicate that the transition system of the derived operational semantics is the same as the one based on the derivation strategy.
Original language | English |
---|---|
Title of host publication | Unifying Theories of Programming, 4th International Symposium, UTP 2012, Paris, France, August 27-28, 2012, Revised Selected Papers |
Editors | B. Wolff, M. C. Gaudel, A. Feliachi |
Publisher | Springer Berlin |
Pages | 164-185 |
ISBN (Electronic) | 9783642357053 |
ISBN (Print) | 9783642357046 |
DOIs | |
Publication status | Published - 2012 |
Event | Unifying Theories of Programming, 4th International Symposium - Paris, France Duration: 27 Aug 2012 → 28 Aug 2012 Conference number: 4 |
Publication series
Name | Notes in Computer Science |
---|---|
Publisher | Springer, Berlin |
Volume | 7681 |
Conference
Conference | Unifying Theories of Programming, 4th International Symposium |
---|---|
Abbreviated title | UTP 2012 |
Country/Territory | France |
City | Paris |
Period | 27/08/12 → 28/08/12 |