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

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

Clash.Primitives.Util

Description

Utility functions to generate Primitives

Synopsis

Documentation

parsePrimitive :: FromJSON a => FilePath -> IO [a] Source #

generatePrimMap Source #

Arguments

:: [FilePath]

Directories to search for primitive definitions

-> IO (PrimMap Text) 

Generate a set of primitives that are found in the primitive definition files in the given directories.