diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-13 12:21:05 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-13 12:21:05 +0100 |
commit | b281cee59daa51ba4607229092274dfa2f801806 (patch) | |
tree | 5b8b232f593e4c2d14aaa93ea5856231f12f8623 /src/VeriFuzz/Verilog/Gen.hs | |
parent | 79a6b80ada570123e85590d484a72c810d4d8d0c (diff) | |
download | verismith-b281cee59daa51ba4607229092274dfa2f801806.tar.gz verismith-b281cee59daa51ba4607229092274dfa2f801806.zip |
Fix tests passing
Diffstat (limited to 'src/VeriFuzz/Verilog/Gen.hs')
-rw-r--r-- | src/VeriFuzz/Verilog/Gen.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VeriFuzz/Verilog/Gen.hs b/src/VeriFuzz/Verilog/Gen.hs index 8da4d1a..c325f66 100644 --- a/src/VeriFuzz/Verilog/Gen.hs +++ b/src/VeriFuzz/Verilog/Gen.hs @@ -54,7 +54,7 @@ toId = Identifier . ("w" <>) . T.pack . show toPort :: Identifier -> Gen Port toPort ident = do - i <- Hog.int $ Hog.linear 0 100 + i <- Hog.int $ Hog.linear 1 100 return $ wire i ident sumSize :: [Port] -> Int |