Title :
Design via executable specification
Author :
Cheng, Mantis H M
Author_Institution :
Dept. of Comput. Sci., Victoria Univ., BC, Canada
Abstract :
A description is presented of two approaches to the design of a simple string matching machine: a direct approach and a transformational approach. In the latter approach, Horn clause logic is chosen as the specification language. It has the advantage that the specifications themselves are executable as logic programs: hence they can be used as prototype implementations. The simple formal semantics of Horn clause logic allows one to perform equivalence-preserving transformations semi-automatically on the specifications to derive more `efficient´ ones. When using the specifications as executable prototypes, immediate feedback is gained on the design specifications. Any errors uncovered from these executable prototypes relate directly to the designs themselves. Thus, the risk of introducing unintended errors in a prototype implementation, such as careless coding errors, translation errors caused by misunderstanding, etc., is reduced
Keywords :
CAD; formal specification; specification languages; Horn clause logic; design specifications; digital circuit design; equivalence-preserving transformations; executable prototypes; executable specification; formal semantics; immediate feedback; logic programs; prototype implementations; simple string matching machine; specification language; Computer errors; Computer science; Digital circuits; Feedback; Logic circuits; Logic design; Logic programming; Process design; Prototypes; Specification languages;
Conference_Titel :
Communications, Computers and Signal Processing, 1991., IEEE Pacific Rim Conference on
Conference_Location :
Victoria, BC
Print_ISBN :
0-87942-638-1
DOI :
10.1109/PACRIM.1991.160758