aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz
diff options
context:
space:
mode:
authorYann Herklotz <git@ymhg.org>2019-04-17 19:20:56 +0100
committerYann Herklotz <git@ymhg.org>2019-04-17 19:20:56 +0100
commit7053c6117f39d39852b3259c677691b5df6e7c04 (patch)
tree8baa488ca37b6f29da6311e2645c328d87c29d91 /src/VeriFuzz
parent43ae318ed36dcf4098a8740029bf6b4bf92e4960 (diff)
downloadverismith-7053c6117f39d39852b3259c677691b5df6e7c04.tar.gz
verismith-7053c6117f39d39852b3259c677691b5df6e7c04.zip
Use new fuzzing technique instead of the old function
Diffstat (limited to 'src/VeriFuzz')
-rw-r--r--src/VeriFuzz/Config.hs2
-rw-r--r--src/VeriFuzz/Sim.hs4
-rw-r--r--src/VeriFuzz/Verilog.hs2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/VeriFuzz/Config.hs b/src/VeriFuzz/Config.hs
index ecda495..a2e4497 100644
--- a/src/VeriFuzz/Config.hs
+++ b/src/VeriFuzz/Config.hs
@@ -124,7 +124,7 @@ defaultConfig = Config (Probability defModItem defStmnt defExpr)
(Property 20 Nothing 3 2 5)
where
defModItem = ProbModItem 5 1 1
- defStmnt = ProbStatement 0 5 1 1
+ defStmnt = ProbStatement 0 15 1 1
defExpr = ProbExpr 1 1 1 1 1 1 0 1 1
twoKey :: Toml.Piece -> Toml.Piece -> Toml.Key
diff --git a/src/VeriFuzz/Sim.hs b/src/VeriFuzz/Sim.hs
index b0905b7..0736856 100644
--- a/src/VeriFuzz/Sim.hs
+++ b/src/VeriFuzz/Sim.hs
@@ -25,6 +25,9 @@ module VeriFuzz.Sim
-- ** XST
, XST(..)
, defaultXST
+ -- ** Quartus
+ , Quartus(..)
+ , defaultQuartus
-- * Equivalence
, runEquiv
-- * Simulation
@@ -37,6 +40,7 @@ where
import VeriFuzz.Sim.Icarus
import VeriFuzz.Sim.Internal
+import VeriFuzz.Sim.Quartus
import VeriFuzz.Sim.Vivado
import VeriFuzz.Sim.XST
import VeriFuzz.Sim.Yosys
diff --git a/src/VeriFuzz/Verilog.hs b/src/VeriFuzz/Verilog.hs
index ae4f82b..4f9fd52 100644
--- a/src/VeriFuzz/Verilog.hs
+++ b/src/VeriFuzz/Verilog.hs
@@ -16,6 +16,8 @@ module VeriFuzz.Verilog
, parseVerilog
, procedural
, proceduralIO
+ , proceduralSrc
+ , proceduralSrcIO
, randomMod
, GenVerilog(..)
, genSource