verilog-0.0.7: Verilog parser and DSL.

Safe HaskellSafe-Inferred

Language.Verilog.DSL

Contents

Description

An embedded DSL for Verilog.

Synopsis

Documentation

elaborate :: String -> a -> Verilog a () -> (a, Module)Source

setMeta :: a -> Verilog a ()Source

Signal Declarations

reg :: String -> Int -> Verilog a ()Source

Module Statements

Expressions

mappend :: Monoid a => a -> a -> a

An associative operation

mconcat :: Monoid a => [a] -> a

Fold a list using the monoid. For most types, the default definition for mconcat will be used, but the function is included in the class definition so that an optimized version can be provided for specific types.

(<>) :: Monoid m => m -> m -> m

An infix synonym for mappend.