| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
ReWire.Config
Synopsis
- interpret :: [Flag] -> Either ErrorMsg Config
- data Config
- getOutFile :: Config -> FilePath -> FilePath
- eidosFile :: Config -> FilePath -> FilePath
- synolonFile :: Config -> FilePath -> FilePath
- data Language
- data ResetFlag
- data OutFlag
- data Certify
- verbose :: Lens' Config Bool
- pretty :: Lens' Config Bool
- flatten :: Lens' Config Bool
- target :: Lens' Config Language
- clock :: Lens' Config Text
- reset :: Lens' Config Text
- resetFlags :: Lens' Config (HashSet ResetFlag)
- outFlags :: Lens' Config (HashSet OutFlag)
- inputSigs :: Lens' Config [Text]
- stateSigs :: Lens' Config [Text]
- outputSigs :: Lens' Config [Text]
- vhdlPackages :: Lens' Config [Text]
- inputsFile :: Lens' Config FilePath
- defaultInputsFile :: FilePath
- outFile :: Lens' Config (Maybe FilePath)
- noWarn :: Lens' Config Bool
- wError :: Lens' Config Bool
- start :: Lens' Config Text
- top :: Lens' Config Text
- loadPath :: Lens' Config [FilePath]
- cycles :: Lens' Config (Maybe Natural)
- depth :: Lens' Config Natural
- dump :: Lens' Config (Natural -> Bool)
- source :: Lens' Config Language
- rtlOpt :: Lens' Config Natural
- eidos :: Lens' Config Bool
- synolon :: Lens' Config Bool
- certify :: Lens' Config Certify
- noHalt :: Lens' Config Bool
- debugLint :: Lens' Config Bool
- testbench :: Lens' Config Bool
- stableNames :: Lens' Config Bool
- locators :: Lens' Config Bool
- noLocators :: Lens' Config Bool
- pDebug :: MonadIO m => Config -> Text -> m ()
Documentation
eidosFile :: Config -> FilePath -> FilePath Source #
The Eidos IR dump beside the output (the --eidos dump): <out>.eir.
synolonFile :: Config -> FilePath -> FilePath Source #
The Synolon IR dump beside the output — the --synolon dump, and the
--certify source artifact (both the writer and the validator
invocation compute the path here): <out>.syn.
Constructors
| Inverted | |
| Synchronous |
Instances
| Generic ResetFlag Source # | |
Defined in ReWire.Config | |
| Show ResetFlag Source # | |
| Eq ResetFlag Source # | |
| Ord ResetFlag Source # | |
| Hashable ResetFlag Source # | |
Defined in ReWire.Config | |
| type Rep ResetFlag Source # | |
Instances
| Generic OutFlag Source # | |||||
Defined in ReWire.Config Associated Types
| |||||
| Show OutFlag Source # | |||||
| Eq OutFlag Source # | |||||
| Ord OutFlag Source # | |||||
| Hashable OutFlag Source # | |||||
Defined in ReWire.Config | |||||
| type Rep OutFlag Source # | |||||
Defined in ReWire.Config type Rep OutFlag = D1 ('MetaData "OutFlag" "ReWire.Config" "rewire-base-2.8-FlLB0CaWUZ0C08bXxr65qo" 'False) (C1 ('MetaCons "Flatten" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Pretty" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Verbose" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
--certify: off, best-effort with an unsuppressible status report
(--certify=warn), or required (plain --certify: compilation fails
unless the validator returns VALIDATED).
Constructors
| CertifyOff | |
| CertifyWarn | |
| CertifyRequired |
resetFlags :: Lens' Config (HashSet ResetFlag) Source #
outputSigs :: Lens' Config [Text] Source #
vhdlPackages :: Lens' Config [Text] Source #
inputsFile :: Lens' Config FilePath Source #
defaultInputsFile :: FilePath Source #
The default value of the inputsFile field: when the user hasn't named an inputs file explicitly, its absence is not warning-worthy.
stableNames :: Lens' Config Bool Source #
noLocators :: Lens' Config Bool Source #