Copyright | (C) 2020 QBayLogic B.V. |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | QBayLogic B.V. <devops@qbaylogic.com |
Safe Haskell | None |
Language | Haskell2010 |
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.
Time units: are added to reservedWords
as simulators trip over signals
named after them.
parseBasic :: Text -> Bool Source #
parseBasic' :: Text -> Bool Source #
parseExtended :: Text -> Bool Source #
isBasicChar :: Char -> Bool Source #
stripDollarPrefixes :: Text -> Text Source #