Field_ops_lib.Arbitrate
Internal module to arbitrate access to an expensive resource.
val arbitrate :
enable:Hardcaml.Signal.t ->
clock:Hardcaml.Signal.t ->
valid:Hardcaml.Signal.t ->
f:( Hardcaml.Signal.t -> Hardcaml.Signal.t ) ->
Hardcaml.Signal.t list ->
Hardcaml.Signal.t list
Arbitrate a resource between N items
val arbitrate2 :
enable:Hardcaml.Signal.t ->
clock:Hardcaml.Signal.t ->
valid:Hardcaml.Signal.t ->
f:( Hardcaml.Signal.t -> Hardcaml.Signal.t ) ->
(Hardcaml.Signal.t * Hardcaml.Signal.t) ->
Hardcaml.Signal.t * Hardcaml.Signal.t
Arbitrate a resource between two items