aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Sim/XST.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@ymhg.org>2019-04-17 19:19:14 +0100
committerYann Herklotz <git@ymhg.org>2019-04-17 19:19:14 +0100
commit56583318135a6a281d0f880637d5e0408ef690ee (patch)
treeca8c0a7ba0ac3ce7af2927c911b1457417813432 /src/VeriFuzz/Sim/XST.hs
parent3e78950eed93462bad170b70368cc41e47c4be3c (diff)
downloadverismith-56583318135a6a281d0f880637d5e0408ef690ee.tar.gz
verismith-56583318135a6a281d0f880637d5e0408ef690ee.zip
Add Show instances to simulators
Diffstat (limited to 'src/VeriFuzz/Sim/XST.hs')
-rw-r--r--src/VeriFuzz/Sim/XST.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/VeriFuzz/Sim/XST.hs b/src/VeriFuzz/Sim/XST.hs
index 866563c..488c404 100644
--- a/src/VeriFuzz/Sim/XST.hs
+++ b/src/VeriFuzz/Sim/XST.hs
@@ -30,7 +30,10 @@ import VeriFuzz.Verilog.CodeGen
data XST = XST { xstPath :: {-# UNPACK #-} !FilePath
, netgenPath :: {-# UNPACK #-} !FilePath
}
- deriving (Eq, Show)
+ deriving (Eq)
+
+instance Show XST where
+ show _ = "xst"
instance Tool XST where
toText _ = "xst"