Safe Haskell | None |
---|---|
Language | Haskell2010 |
Verismith.Verilog2005.PrettyPrinter
Synopsis
- genSource :: Maybe Word -> PrintingOpts -> Verilog2005 -> ByteString
- data LocalCompDir = LocalCompDir {}
- lcdDefault :: LocalCompDir
- lcdTimescale :: Lens' LocalCompDir (Maybe (Int, Int))
- lcdCell :: Lens' LocalCompDir Bool
- lcdPull :: Lens' LocalCompDir (Maybe Bool)
- lcdDefNetType :: Lens' LocalCompDir (Maybe NetType)
- data PrintingOpts = PrintingOpts {
- _poEscapedSpace :: !Bool
- _poTableSpace :: !Bool
- _poEdgeControlZ_X :: !Bool
Documentation
genSource :: Maybe Word -> PrintingOpts -> Verilog2005 -> ByteString Source #
Generates a string from a line length limit and a Verilog AST
data LocalCompDir Source #
All locally applicable properties controlled by compiler directives
Constructors
LocalCompDir | |
lcdTimescale :: Lens' LocalCompDir (Maybe (Int, Int)) Source #
data PrintingOpts Source #
Pretty-printer options
Constructors
PrintingOpts | |
Fields
|