| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Avc
Documentation
A Signal has a name
May be useful to keep vector comments
Constructors
| Comment ByteString | |
| CNil |
A statement is a "FORMAT a b c;" definition or a "RXX devcyc vecdata; comment"
parseAvcFile :: FilePath -> IO [Statement] Source
Parse a simple AVC which may be gzipped Only handles simple files with one character per state like:
# Begin AVC FORMAT a b c; R10 10X ; vector comment # other comment R10 01H ;
toString :: Statement -> ByteString Source