One_hot.Of_signaltype comb = Signal.tval priority_select :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
( comb, comb t ) Comb.with_valid2 )
Comb.optional_branching_factorval priority_select_with_default :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
default:comb t ->
comb t )
Comb.optional_branching_factorval onehot_select :
( ( comb, comb t ) Comb.with_valid2 Base.list ->
comb t )
Comb.optional_branching_factorval reg : ?enable:Signal.t -> Reg_spec.t -> t -> tval pipeline :
?attributes:Rtl_attribute.t Base.list ->
?enable:Signal.t ->
n:Base.int ->
Reg_spec.t ->
t ->
tval inputs : Base.unit -> tval validate : t -> Base.unitTests 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.