| Copyright | (c) 2013 Tom Hawkins & Lee Pike |
|---|---|
| Safe Haskell | None |
| Language | Haskell98 |
Language.Atom.Code
Description
Atom C code configuration and generation
Documentation
C code configuration parameters.
Constructors
| Config | |
Fields
| |
Data associated with sampling a hardware clock. For the clock to work
correctly, you MUST assign __global_clock the current time (according to
clockName) the first time you enter the main Atom-generated function
calling your rules.
Constructors
| Clock | |
Fields
| |
writeC :: Name -> Config -> StateHierarchy -> [Rule] -> Schedule -> [Name] -> [Name] -> [(Name, Type)] -> IO RuleCoverage Source
Default C code configuration parameters (default function name, no pre/post code, ANSI C types).
Default hardware clock parameters (name "clk", Word64, delta 1, delay
function is "delay", no error function).
type RuleCoverage = [(Name, Int, Int)] Source