Binary.Of_signal
type comb = Signal.t
val priority_select :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
( comb, comb t ) Comb.with_valid2 )
Comb.optional_branching_factor
val priority_select_with_default :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
default:comb t ->
comb t )
Comb.optional_branching_factor
val onehot_select :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
comb t )
Comb.optional_branching_factor
val reg : ?enable:Signal.t -> Reg_spec.t -> t -> t
val pipeline :
?attributes:Rtl_attribute.t Base.list ->
?enable:Signal.t ->
n:Base.int ->
Reg_spec.t ->
t ->
t
val inputs : Base.unit -> t
val validate : t -> Base.unit
Tests for equality between two enums. For writing conditional statements based on the value of the enum, consider using match_
below, or Of_always.match_
instead
Creates a Cases value from a raw value. Note that this only performs a check widths, and does not generate circuitry to validate that the input is valid. See documentation on Casess for more information.
Multiplex on an enum value. If there are unhandled cases, a default
needs to be specified.