package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val value : Always.Variable.t t -> Signal.t t
val reg : ?enable:Signal.t -> Reg_spec.t -> Always.Variable.t t
val apply_names : ?prefix:Base.string -> ?suffix:Base.string -> ?naming_op:(Signal.t -> Base.string -> Signal.t) -> Always.Variable.t t -> Base.unit

Performs a "pattern match" on a Signal.t t, and "executes" the branch that matches the signal value. Semantics similar to switch in verilog.

OCaml

Innovation. Community. Security.