aboutsummaryrefslogtreecommitdiffstats
path: root/src/Test/VeriFuzz
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-11-30 23:34:41 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-11-30 23:34:41 +0000
commit14b900abdcd96ad540e7ea0c086cd78bb96ccc4a (patch)
tree2984ff4d93979294be74bccfe38a8bf93da56f53 /src/Test/VeriFuzz
parentd5b0ff4cba238f52765c56b21c4efd01e355bb88 (diff)
downloadverismith-14b900abdcd96ad540e7ea0c086cd78bb96ccc4a.tar.gz
verismith-14b900abdcd96ad540e7ea0c086cd78bb96ccc4a.zip
Add assignment to ModuleItem
Diffstat (limited to 'src/Test/VeriFuzz')
-rw-r--r--src/Test/VeriFuzz/VerilogAST.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Test/VeriFuzz/VerilogAST.hs b/src/Test/VeriFuzz/VerilogAST.hs
index d4514cc..8314acb 100644
--- a/src/Test/VeriFuzz/VerilogAST.hs
+++ b/src/Test/VeriFuzz/VerilogAST.hs
@@ -65,7 +65,7 @@ data Port = Port { _portName :: Identifier
} deriving (Show)
makeLenses ''Port
-newtype ModuleItem = ModuleItem { _getModuleItem :: Text }
+data ModuleItem = Assign ContAssign
deriving (Show)
makeLenses ''ModuleItem
@@ -81,6 +81,5 @@ newtype Description = Description { _getDescription :: ModuleDecl }
makeLenses ''Description
newtype SourceText = SourceText { _getSourceText :: [Description] }
- deriving (Show
- )
+ deriving (Show)
makeLenses ''SourceText