aboutsummaryrefslogtreecommitdiffstats
path: root/src/Verismith.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-11-24 13:13:40 +0000
committerYann Herklotz <git@yannherklotz.com>2019-11-24 13:13:40 +0000
commit87e87a45e22ddc55cdf0beb1b154abd8c590abe5 (patch)
tree6101ebb6c6a27069155359da57c065f6157f572c /src/Verismith.hs
parent373d747b7f6e94de3b4b3caa40483eefb6b13ad9 (diff)
downloadverismith-87e87a45e22ddc55cdf0beb1b154abd8c590abe5.tar.gz
verismith-87e87a45e22ddc55cdf0beb1b154abd8c590abe5.zip
Add cross-check between netlists
Diffstat (limited to 'src/Verismith.hs')
-rw-r--r--src/Verismith.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Verismith.hs b/src/Verismith.hs
index 48f851e..077fd98 100644
--- a/src/Verismith.hs
+++ b/src/Verismith.hs
@@ -144,13 +144,13 @@ randomise config@(Config a _ c d e) = do
ce = config ^. configProbability . probExpr
handleOpts :: Opts -> IO ()
-handleOpts (Fuzz o configF f k n nosim noequiv noreduction file top) = do
+handleOpts (Fuzz o configF f k n nosim noequiv noreduction file top cc) = do
config <- getConfig configF
gen <- getGenerator config top file
datadir <- getDataDir
_ <- runFuzz
(FuzzOpts (Just $ fromText o)
- f k n nosim noequiv noreduction config (toFP datadir))
+ f k n nosim noequiv noreduction config (toFP datadir) cc)
defaultYosys
(fuzzMultiple gen)
return ()