Module Hardcaml__.Always
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
type always= t
module Variable : sig ... endThe type of variables in guarded assignments. Variables may be asychronous
wires, or synchronousregs. The current value of the variable may be accessed through thevaluefield below.
type 'a case= 'a * t Hardcaml__.Import.listtype 'a cases= 'a case Hardcaml__.Import.list
val if_ : Hardcaml.Signal.t -> t Hardcaml__.Import.list -> t Hardcaml__.Import.list -> tif statement
val elif : Hardcaml.Signal.t -> t Hardcaml__.Import.list -> t Hardcaml__.Import.list -> t Hardcaml__.Import.listelse if branch
val when_ : Hardcaml.Signal.t -> t Hardcaml__.Import.list -> tif sel then
...else
val unless : Hardcaml.Signal.t -> t Hardcaml__.Import.list -> tif sel then
else...
val switch : Hardcaml.Signal.t -> Hardcaml.Signal.t cases -> tswitch statement
val proc : t Hardcaml__.Import.list -> tAllows sequences of expressions to be inserted into the code; a syntactic nicety.
val (<--) : Variable.t -> Hardcaml.Signal.t -> tassignment
val (<--.) : Variable.t -> Hardcaml__.Import.int -> tassignment with an integer constant - width is inferred
module State_machine : sig ... endval compile : t Hardcaml__.Import.list -> Hardcaml__.Import.unitcompile to structural code