verismith-0.5.0.0: Random verilog generation and simulator testing.

Copyright(c) 2018-2019 Yann Herklotz
LicenseBSD-3
Maintaineryann [at] yannherklotz [dot] com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Verismith.Verilog.Internal

Description

Defaults and common functions.

Synopsis

Documentation

emptyMod :: ModDecl Source #

Create an empty module.

setModName :: Text -> ModDecl -> ModDecl Source #

Set a module name for a module declaration.

addModPort :: Port -> ModDecl -> ModDecl Source #

Add a input port to the module declaration.