Language.Verilog.Types
Documentation
type Identifier = StringSource
Constructors
| Module Identifier [Identifier] [ModuleItem] |
data ModuleItem Source
Constructors
| Paremeter (Maybe Range) Identifier Expr | |
| Input (Maybe Range) [(Identifier, Maybe Range)] | |
| Output (Maybe Range) [(Identifier, Maybe Range)] | |
| Inout (Maybe Range) [(Identifier, Maybe Range)] | |
| Wire (Maybe Range) [(Identifier, Maybe Range)] | |
| Reg (Maybe Range) [(Identifier, Maybe Range)] | |
| Initial Stmt | |
| Always Sense Stmt | |
| Assign LHS Expr | |
| Instance Identifier [(Identifier, Maybe Expr)] Identifier [(Identifier, Maybe Expr)] |
Instances
Constructors
| String String | |
| Number String | |
| ExprLHS LHS | |
| ExprCall Call | |
| Not Expr | |
| And Expr Expr | |
| Or Expr Expr | |
| BWNot Expr | |
| BWAnd Expr Expr | |
| BWXor Expr Expr | |
| BWOr Expr Expr | |
| Mul Expr Expr | |
| Div Expr Expr | |
| Mod Expr Expr | |
| Add Expr Expr | |
| Sub Expr Expr | |
| ShiftL Expr Expr | |
| ShiftR Expr Expr | |
| Eq Expr Expr | |
| Ne Expr Expr | |
| Lt Expr Expr | |
| Le Expr Expr | |
| Gt Expr Expr | |
| Ge Expr Expr | |
| Mux Expr Expr Expr | |
| Repeat Expr [Expr] | |
| Concat [Expr] |
Constructors
| Sense LHS | |
| SenseOr Sense Sense | |
| SensePosedge LHS | |
| SenseNegedge LHS |
Constructors
| LHS Identifier | |
| LHSBit Identifier Expr | |
| LHSRange Identifier Range |