clash-lib
Copyright(C) 2019 Myrtle Software Ltd
LicenseBSD2 (see the file LICENSE)
MaintainerChristiaan Baaij <christiaan.baaij@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Clash.Primitives.GHC.Literal

Description

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

Synopsis

Documentation

literalTF Source #

Arguments

:: NonEmpty Text

Base names of constructors (for example: GHC.Word.W :| [GHC.Internal.Word.W]). The * variant is needed for GHC >= 9.14, which moved the constructors into 'ghc-internal'; base re-exports them.

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

Functions processing

-> BlackBoxFunction 

Constructs "clean" literals.