| Copyright | (c) Galois, Inc. 2014 |
|---|---|
| License | BSD3 |
| Maintainer | jhendrix@galois.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.AIG.Trace
Description
A tracing wrapper AIG interface. Given an underlying AIG interface, this wrapper intercepts all interface calls and logs them to a file for debugging purposes.
Documentation
Constructors
| TraceLit | |
Fields
| |
Instances
data TraceGraph l g s Source
Instances
| (IsAIG l g, Traceable l) => IsAIG (TraceLit l) (TraceGraph l g) |
activateTracing :: TraceGraph l g s -> FilePath -> IO () Source
deactiveTracing :: TraceGraph l g s -> IO () Source
withTracing :: TraceGraph l g s -> FilePath -> IO a -> IO a Source
class TraceOutput l g x where Source
Methods
traceOutput :: (Traceable l, IsAIG l g) => TraceGraph l g s -> x -> String Source
Instances
| TraceOutput l g VerifyResult | |
| TraceOutput l g SatResult | |
| TraceOutput l g () | |
| TraceOutput l g Int | |
| TraceOutput l g x => TraceOutput l g (LitView x) | |
| TraceOutput l g a => TraceOutput l g [a] | |
| TraceOutput l g (TraceLit l s) |
withNewGraphTracing :: (IsAIG l g, Traceable l) => Proxy l g -> FilePath -> (forall s. TraceGraph l g s -> IO a) -> IO a Source