aboutsummaryrefslogtreecommitdiffstats
path: root/src/Test/VeriFuzz/VerilogAST.hs
blob: 897855b47610f5b468376e12990ddc459c0af7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Test.VeriFuzz.VerilogAST where

data ModuleItem = 

-- | 'module' module_identifier [list_of_ports] ';' { module_item } 'end_module'
data ModuleDecl = ModuleDecl { moduleId   :: Text
                             , ports      :: [Port]
                             , moduleItem :: ModuleItem
                             }

type Description = ModuleDecl

type SourceText = [Description]