blarney
Copyright(c) 2019 Matthew Naylor Dillon Huff
LicenseMIT
Maintainermattfn@gmail.com
Stabilityexperimental
Safe HaskellSafe-Inferred

Blarney.Recipe

Description

Recipe is a lightweight imperative language, aiding concise definitions of complex state machines.

Synopsis

Documentation

data Recipe Source #

Abstract syntax of Recipe

runOnce :: Recipe -> Module () Source #

Same as runRecipe. For backwards compatibility.

runRecipe :: Recipe -> Module () Source #

Run a recipe with a start pulse that is high only on the first cycle of execution, and ignore the finish pulse.

runRecipeOn :: Bit 1 -> Recipe -> Module (Bit 1) Source #

Run a recipe, triggered by the given start pulse. Returns the finish pulse.