clash-lib-1.7.0: Clash: a functional hardware description language - As a library
Copyright(C) 2019 Myrtle Software Ltd
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Clash.Primitives.GHC.Literal

Description

Blackbox generation for literal data constructors. (System)Verilog only!

Synopsis

Documentation

literalTF Source #

Arguments

:: Text

Base name of constructors (for example: GHC.Word.W)

-> (Bool -> [Either Term Type] -> Int -> (BlackBoxMeta, BlackBox))

Functions processing

-> BlackBoxFunction 

Constructs "clean" literals.