Copyright | (C) 2019 Myrtle Software Ltd |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | QBayLogic B.V. <clash@qbaylogic.com> |
Safe Haskell | Safe |
Language | Haskell2010 |
Control module instance, and register, names in generated HDL code.
Synopsis
- prefixName :: forall (name :: Symbol) a. a -> name ::: a
- suffixName :: forall (name :: Symbol) a. a -> name ::: a
- setName :: forall (name :: Symbol) a. a -> name ::: a
Documentation
prefixName :: forall (name :: Symbol) a. a -> name ::: a Source #
Prefix instance and register names with the given Symbol
suffixName :: forall (name :: Symbol) a. a -> name ::: a Source #
Suffix instance and register names with the given Symbol
setName :: forall (name :: Symbol) a. a -> name ::: a Source #
Name the instance or register with the given Symbol
, instead of using
an auto-generated name. Pre- and suffixes annotated with prefixName
and
suffixName
will be added to both instances and registers named with
setName
and instances and registers that are auto-named.