diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-17 19:19:14 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-17 19:19:14 +0100 |
commit | 56583318135a6a281d0f880637d5e0408ef690ee (patch) | |
tree | ca8c0a7ba0ac3ce7af2927c911b1457417813432 /src/VeriFuzz/Sim/XST.hs | |
parent | 3e78950eed93462bad170b70368cc41e47c4be3c (diff) | |
download | verismith-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.hs | 5 |
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" |