diff options
author | Yann Herklotz Grave <git@yannherklotzgrave.com> | 2019-02-25 16:27:35 +0000 |
---|---|---|
committer | Yann Herklotz Grave <git@yannherklotzgrave.com> | 2019-02-25 16:27:35 +0000 |
commit | 79f7d262ed0246ea6556478c611c0db59bb47191 (patch) | |
tree | 0ba641865d69e02345283553d0f636544ddea719 /src/VeriFuzz/Gen.hs | |
parent | d4b2664d8ecddbfa0e0aae42d32f39edae2f930b (diff) | |
download | verismith-79f7d262ed0246ea6556478c611c0db59bb47191.tar.gz verismith-79f7d262ed0246ea6556478c611c0db59bb47191.zip |
Reformat using brittany
Diffstat (limited to 'src/VeriFuzz/Gen.hs')
-rw-r--r-- | src/VeriFuzz/Gen.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VeriFuzz/Gen.hs b/src/VeriFuzz/Gen.hs index 3413ee6..1e83888 100644 --- a/src/VeriFuzz/Gen.hs +++ b/src/VeriFuzz/Gen.hs @@ -54,7 +54,12 @@ randomMod inps total = do let other = drop inps ident let y = ModCA . ContAssign "y" . fold $ Id <$> drop inps ids let yport = [wire (sumSize other) "y"] - return . initMod . declareMod other . ModDecl "test_module" yport inputs_ $ x ++ [y] + return + . initMod + . declareMod other + . ModDecl "test_module" yport inputs_ + $ x + ++ [y] where ids = toId <$> [1 .. total] end = drop inps ids |