verismith-1.1.0: Random verilog generation and simulator testing.
Copyright(c) 2018-2019 Yann Herklotz
LicenseGPL-3
Maintaineryann [at] yannherklotz [dot] com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Verismith.Verilog.Internal

Description

Defaults and common functions.

Synopsis

Documentation

emptyMod :: ModDecl ann Source #

Create an empty module.

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

Set a module name for a module declaration.

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

Add a input port to the module declaration.

addModDecl :: ModDecl ann -> Verilog ann -> Verilog ann Source #