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

Safe HaskellNone

CLaSH.Primitives.Types

Description

Type and instance definitions for Primitive

Synopsis

Documentation

type PrimMap = HashMap Text PrimitiveSource

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