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

Safe HaskellNone
LanguageHaskell2010

CLaSH.Primitives.Types

Description

Type and instance definitions for Primitive

Synopsis

Documentation

type PrimMap = HashMap Text Primitive Source

Primitive Definitions

data Primitive 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

Name of the primitive

template :: Either Text Text

Either a declaration or an expression template.

Primitive

A primitive that carries additional information

Fields

name :: Text

Name of the primitive

Name of the primitive

primType :: Text

Additional information

Instances