aboutsummaryrefslogtreecommitdiffstats
path: root/src/Verismith/Tool/Internal.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-11-10 21:13:06 +0000
committerYann Herklotz <git@yannherklotz.com>2019-11-10 21:13:06 +0000
commite2f6a008feb304fd4e6497bfc41a4a32740e2adf (patch)
tree3e5522243e32b4c7d9932ed329076f8f2cfb2ede /src/Verismith/Tool/Internal.hs
parent0438eb4999c3d03ec9a22afbc88b30e0fa131aa6 (diff)
downloadverismith-e2f6a008feb304fd4e6497bfc41a4a32740e2adf.tar.gz
verismith-e2f6a008feb304fd4e6497bfc41a4a32740e2adf.zip
Add counter example parsing
Diffstat (limited to 'src/Verismith/Tool/Internal.hs')
-rw-r--r--src/Verismith/Tool/Internal.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Verismith/Tool/Internal.hs b/src/Verismith/Tool/Internal.hs
index c2e3a0c..ee31c4e 100644
--- a/src/Verismith/Tool/Internal.hs
+++ b/src/Verismith/Tool/Internal.hs
@@ -54,6 +54,7 @@ import Prelude hiding (FilePath)
import Shelly
import Shelly.Lifted (MonadSh, liftSh)
import System.FilePath.Posix (takeBaseName)
+import Verismith.CounterEg (CounterEg)
import Verismith.Internal
import Verismith.Result
import Verismith.Verilog.AST
@@ -74,7 +75,7 @@ class Tool a => Simulator a where
-> ResultSh ByteString
data Failed = EmptyFail
- | EquivFail
+ | EquivFail CounterEg
| EquivError
| SimFail
| SynthFail