clash-lib-0.6.11: CAES Language for Synchronous Hardware - As a Library

Copyright(C) 2012-2016, University of Twente
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
Safe HaskellNone
LanguageHaskell2010

CLaSH.Primitives.Types

Description

Type and instance definitions for Primitive

Synopsis

Documentation

type PrimMap a = HashMap Text (Primitive a) Source

Primitive Definitions

data Primitive a Source

Externally defined primitive

Constructors

BlackBox

A primitive that has a template that can be filled out by the backend render

Fields

name :: !Text

Name of the primitive

template :: !(Either a a)

Either a declaration or an expression template.

Primitive

A primitive that carries additional information

Fields

name :: !Text

Name of the primitive

primType :: !Text

Additional information