S. Merniz and M. Benmohammed


Formal verification, RISC designs, functional programming, state functions


Formal verification of a pipelined micro-architectural (PMA) implementation against an instruction-set-architecture (ISA) specification is a common approach, which still requires considerable efforts because it is impossible to find a meaningful point where the implemen- tation state and the specification state can be compared easily. An alternative solution to such problem is to verify a PMA implementation against a sequential multi-cycle implementation. Because both models are formalized in terms of clock cycles, all synchronous intermediate states represent interesting points where the comparison could be achieved easily. Furthermore, by decomposing the state, the overall proof decomposes systematically into a set of verification conditions more simple to reason about and to verify. A major advantage of this elegant choice is the ability to carry out the proof by induction within the same specification language rather than by symbolic simulation through a proof tool which remains very tedious. Also, because both models relate to the micro-architectural(MA) level, there is no need for a data abstraction function, only a time abstraction function is needed to map between the times used by the two models. The potential features of the proposed proof methodology are demonstrated over the pipelined MIPS RISC processor within Haskell framework.

Important Links:

Go Back