Module Twiddle_update.Of_always

Helper functions to ease usage of the Always API when working with interfaces.

Assign a interface containing variables in an always block.

Creates a interface container with register variables.

val wire : ( Base.int -> Hardcaml.Signal.t ) -> Hardcaml.Always.Variable.t t

Creates a interface container with wire variables, e.g. Foo.Of_always.wire Signal.zero, which would yield wires defaulting to zero.