diff options
Diffstat (limited to 'src/VeriFuzz/Sim/Vivado.hs')
-rw-r--r-- | src/VeriFuzz/Sim/Vivado.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VeriFuzz/Sim/Vivado.hs b/src/VeriFuzz/Sim/Vivado.hs index c17334e..ee67a78 100644 --- a/src/VeriFuzz/Sim/Vivado.hs +++ b/src/VeriFuzz/Sim/Vivado.hs @@ -16,6 +16,7 @@ module VeriFuzz.Sim.Vivado ) where +import Control.DeepSeq (NFData, rnf, rwhnf) import Data.Text (Text, unpack) import Prelude hiding (FilePath) import Shelly @@ -42,6 +43,9 @@ instance Synthesiser Vivado where synthOutput = vivadoOutput setSynthOutput (Vivado a b _) = Vivado a b +instance NFData Vivado where + rnf = rwhnf + defaultVivado :: Vivado defaultVivado = Vivado Nothing "vivado" "syn_vivado.v" |