diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2019-02-01 19:39:52 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2019-02-01 19:39:52 +0000 |
commit | 1067284cc1f6ca8ba646545c5b8d0a79cc2e41ad (patch) | |
tree | 2c9a8d54bf6f9870f0ae62c150803ccec90d46e7 /src/VeriFuzz/Simulator.hs | |
parent | a38289ca9d96e97bc4e65b67c50f5805d56a3d86 (diff) | |
download | verismith-1067284cc1f6ca8ba646545c5b8d0a79cc2e41ad.tar.gz verismith-1067284cc1f6ca8ba646545c5b8d0a79cc2e41ad.zip |
More restructuring
Diffstat (limited to 'src/VeriFuzz/Simulator.hs')
-rw-r--r-- | src/VeriFuzz/Simulator.hs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/VeriFuzz/Simulator.hs b/src/VeriFuzz/Simulator.hs deleted file mode 100644 index a84cd5f..0000000 --- a/src/VeriFuzz/Simulator.hs +++ /dev/null @@ -1,41 +0,0 @@ -{-| -Module : VeriFuzz.Simulator -Description : Simulator module. -Copyright : (c) 2018-2019, Yann Herklotz Grave -License : BSD-3 -Maintainer : ymherklotz [at] gmail [dot] com -Stability : experimental -Portability : POSIX - -Simulator module. --} - -module VeriFuzz.Simulator - ( SimMatrix - , module VeriFuzz.Simulator.General - , module VeriFuzz.Simulator.Yosys - , module VeriFuzz.Simulator.Xst - , module VeriFuzz.Simulator.Icarus - ) -where - -import Control.Monad.Trans.Reader -import Prelude hiding (FilePath) -import Shelly -import VeriFuzz.Simulator.General -import VeriFuzz.Simulator.Icarus -import VeriFuzz.Simulator.Xst -import VeriFuzz.Simulator.Yosys - --- | Environment used to run the main -data SimMatrix = SimMatrix { yosys :: Yosys - , xst :: Maybe Xst - , icarus :: Maybe Icarus - } - -type SimEnv = ReaderT SimMatrix IO - -runAll :: SimEnv () -runAll = do - val <- asks xst - shelly $ run_ "echo" ["Hello World"] |