From 56583318135a6a281d0f880637d5e0408ef690ee Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 17 Apr 2019 19:19:14 +0100 Subject: Add Show instances to simulators --- src/VeriFuzz/Sim/Yosys.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/VeriFuzz/Sim/Yosys.hs') diff --git a/src/VeriFuzz/Sim/Yosys.hs b/src/VeriFuzz/Sim/Yosys.hs index 3e1754a..17f52df 100644 --- a/src/VeriFuzz/Sim/Yosys.hs +++ b/src/VeriFuzz/Sim/Yosys.hs @@ -32,7 +32,7 @@ import VeriFuzz.Verilog.CodeGen import VeriFuzz.Verilog.Mutate newtype Yosys = Yosys { yosysPath :: FilePath } - deriving (Eq, Show) + deriving (Eq) instance Tool Yosys where toText _ = "yosys" @@ -40,6 +40,9 @@ instance Tool Yosys where instance Synthesiser Yosys where runSynth = runSynthYosys +instance Show Yosys where + show _ = "yosys" + defaultYosys :: Yosys defaultYosys = Yosys "yosys" -- cgit