clash-lib-1.8.4: Clash: a functional hardware description language - As a library

Copyright | (C) 2020 QBayLogic B.V.
License | BSD2 (see the file LICENSE)
Maintainer | QBayLogic B.V. <devops@qbaylogic.com
Safe Haskell | None
Language | Haskell2010

Clash.Netlist.Id.VHDL

Description

Synopsis

- importedNames :: [Text]
- timeUnits :: [Text]
- keywords :: HashSet Text
- isKeyword :: Text -> Bool
- parseBasic :: Text -> Bool
- parseBasic' :: Text -> Bool
- parseExtended :: Text -> Bool
- toBasic :: Text -> Text
- isBasicChar :: Char -> Bool
- stripDollarPrefixes :: Text -> Text
- unextend :: Text -> Text
- toText :: IdentifierType -> Text -> Text

# Documentation

importedNames :: [Text] Source #

Identifiers which are imported from the following:

use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; use IEEE.MATH_REAL.ALL; use std.textio.all;

Clash should not use these identifiers, as it can lead to errors when interfacing with an EDA tool.

See https://github.com/clash-lang/clash-compiler/issues/1439.

timeUnits :: [Text] Source #

Time units: are added to `reservedWords` as simulators trip over signals named after them.

keywords :: HashSet Text Source #

isKeyword :: Text -> Bool Source #

parseBasic :: Text -> Bool Source #

parseBasic' :: Text -> Bool Source #

parseExtended :: Text -> Bool Source #

toBasic :: Text -> Text Source #

isBasicChar :: Char -> Bool Source #

stripDollarPrefixes :: Text -> Text Source #

unextend :: Text -> Text Source #

toText :: IdentifierType -> Text -> Text Source #