Hardcaml.Recipe
Hardware generation in an imperative style.
This module is undergoing significant rewriting and refactoring, and subject to many breaking changes.
include Base.Monad.S with type 'a t := 'a t
module Monad_infix : sig ... end
val return : 'a -> 'a t
module Let_syntax : sig ... end
val skip : Base.unit t
skip 1 cycle
val wait : Base.int -> Base.unit t
skip n cycles
Perform ts in parallel. comb_fin
controls the finish signal generation. When false and extra cycle is taken after the ts complete to generate the fin
signal. Otherwise extra combinatorial logic is generated to ensure the fin
signal toggles on the same cycle as the last t to complete.
cond c t f
performs t
if c
is high, otherwise performs f
follow t and get result
read a register, modify value, write a second register
module type Same = sig ... end