Copyright | (c) 2019 Yann Herklotz Grave |
---|---|
License | GPL-3 |
Maintainer | yann [at] yannherklotz [dot] com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Simulator implementations.
Synopsis
- data Icarus = Icarus {}
- defaultIcarus :: Icarus
- data Yosys = Yosys {}
- defaultYosys :: Yosys
- data Vivado = Vivado {
- vivadoBin :: !(Maybe FilePath)
- vivadoDesc :: !Text
- vivadoOutput :: !FilePath
- defaultVivado :: Vivado
- data XST = XST {}
- defaultXST :: XST
- data Quartus = Quartus {
- quartusBin :: !(Maybe FilePath)
- quartusDesc :: !Text
- quartusOutput :: !FilePath
- defaultQuartus :: Quartus
- data QuartusLight = QuartusLight {}
- defaultQuartusLight :: QuartusLight
- data Identity = Identity {
- identityDesc :: !Text
- identityOutput :: !FilePath
- defaultIdentity :: Identity
- runEquiv :: (Synthesiser a, Synthesiser b) => FilePath -> a -> b -> SourceInfo -> ResultSh ()
- runSim :: Simulator a => a -> SourceInfo -> [ByteString] -> ResultSh ByteString
- runSynth :: Synthesiser a => a -> SourceInfo -> ResultSh ()
- logger :: Text -> Sh ()
Simulators
Icarus
Icarus | |
|
Instances
Eq Icarus Source # | |
Show Icarus Source # | |
NFData Icarus Source # | |
Defined in Verismith.Tool.Icarus | |
Simulator Icarus Source # | |
Defined in Verismith.Tool.Icarus runSim :: Icarus -> SourceInfo -> [ByteString] -> ResultSh ByteString Source # runSimWithFile :: Icarus -> FilePath -> [ByteString] -> ResultSh ByteString Source # | |
Tool Icarus Source # | |
Synthesisers
Yosys
defaultYosys :: Yosys Source #
Vivado
Vivado | |
|
XST
defaultXST :: XST Source #
Quartus
Quartus | |
|
Quartus Light
data QuartusLight Source #
QuartusLight | |
|
Instances
Eq QuartusLight Source # | |
Defined in Verismith.Tool.QuartusLight (==) :: QuartusLight -> QuartusLight -> Bool # (/=) :: QuartusLight -> QuartusLight -> Bool # | |
Show QuartusLight Source # | |
Defined in Verismith.Tool.QuartusLight showsPrec :: Int -> QuartusLight -> ShowS # show :: QuartusLight -> String # showList :: [QuartusLight] -> ShowS # | |
NFData QuartusLight Source # | |
Defined in Verismith.Tool.QuartusLight rnf :: QuartusLight -> () # | |
Synthesiser QuartusLight Source # | |
Defined in Verismith.Tool.QuartusLight runSynth :: QuartusLight -> SourceInfo -> ResultSh () Source # synthOutput :: QuartusLight -> FilePath Source # setSynthOutput :: QuartusLight -> FilePath -> QuartusLight Source # | |
Tool QuartusLight Source # | |
Defined in Verismith.Tool.QuartusLight toText :: QuartusLight -> Text Source # |
Identity
Identity | |
|
Equivalence
runEquiv :: (Synthesiser a, Synthesiser b) => FilePath -> a -> b -> SourceInfo -> ResultSh () Source #
Simulation
:: Simulator a | |
=> a | Simulator instance |
-> SourceInfo | Run information |
-> [ByteString] | Inputs to simulate |
-> ResultSh ByteString | Returns the value of the hash at the output of the testbench. |
Synthesis
:: Synthesiser a | |
=> a | Synthesiser tool instance |
-> SourceInfo | Run information |
-> ResultSh () | does not return any values |