Module Structural.Base
the comb API must be (rebuilt) between each circuit
Parameters
Signature
include Hardcaml__.Comb_intf.Gates
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val empty : t
the empty signal
val is_empty : t -> Hardcaml__.Import.bool
val width : t -> Hardcaml__.Import.int
returns the width of a signal
val of_constant : Hardcaml.Constant.t -> t
creates a constant
val to_constant : t -> Hardcaml.Constant.t
val concat : t Hardcaml__.Import.list -> t
concatenates a list of signals
val select : t -> Hardcaml__.Import.int -> Hardcaml__.Import.int -> t
select a range of bits
val (--) : t -> Hardcaml__.Import.string -> t
names a signal
val to_string : t -> Hardcaml__.Import.string
create string from signal
val mux : t -> t Hardcaml__.Import.list -> t
multiplexer