Higher-Order Abstraction in Hardware Descriptions with CλaSH

Autor: Gerards, Marco Egbertus Theodorus, Baaij, C.P.R., Kuper, Jan, Kooijman, Matthijs, Kitsos, P.
Rok vydání: 2011
Předmět:
Zdroj: Proceedings of the 14th EUROMICRO Conference on Digital System Design, DSD 2011, 495-502
STARTPAGE=495;ENDPAGE=502;TITLE=Proceedings of the 14th EUROMICRO Conference on Digital System Design, DSD 2011
DSD
Popis: Synchronous hardware can be straight forwardly modelled as a function from input and (current) state to an updated state and output. The C?aSH compiler can translate such a transition function, described in a functional language, to synthesisable VHDL. Taking a hardware-oriented viewpoint, components can then be seen as an instantiation of such atransition function. An abstraction called Arrows is used to directly model components by combining a transition function and its state. The abstraction also provides an uniform interface for composition, without losing the referential transparency offered by a functional description. Furthermore, readability of hardware designs is increased by the use of the ?-syntax, that automatically composes components according to the Arrow interface. The advantages of the Arrow abstraction and the?-syntax are demonstrated by means of a realistic example circuit consisting of multiple components. This is a significant extension to C?aSH and enables many high level abstractions.
Databáze: OpenAIRE