verismith-0.5.0.1: Random verilog generation and simulator testing.

Copyright(c) 2019 Yann Herklotz
LicenseGPL-3
Maintaineryann [at] yannherklotz [dot] com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Verismith.Fuzz

Contents

Description

Environment to run the simulator and synthesisers in a matrix.

Synopsis

Documentation

type Fuzz m = StateT FuzzState (ReaderT FuzzEnv m) Source #

The main type for the fuzzing, which contains an environment that can be read from and the current state of all the results.

fuzz :: MonadFuzz m => Gen SourceInfo -> Fuzz m FuzzReport Source #

fuzzInDir :: MonadFuzz m => Gen SourceInfo -> Fuzz m FuzzReport Source #

fuzzMultiple :: MonadFuzz m => Gen SourceInfo -> Fuzz m [FuzzReport] Source #

runFuzz :: MonadIO m => FuzzOpts -> Yosys -> Fuzz Sh a -> m a Source #

sampleSeed :: MonadSh m => Maybe Seed -> Gen a -> m (Seed, a) Source #

Helpers

make :: MonadSh m => FilePath -> m () Source #

pop :: (MonadBaseControl IO m, MonadSh m) => FilePath -> m a -> m a Source #