Module Field_ops_lib.With_shift
Internal module.
type t = {x : Hardcaml.Signal.t; |
shift : int; |
}val no_shift : Hardcaml.Signal.t -> tval create : shift:int -> Hardcaml.Signal.t -> tval sll : t -> by:int -> tval map : f:( Hardcaml.Signal.t -> Hardcaml.Signal.t ) -> t -> tval uresize : t -> int -> tval pipe_add :
scope:Hardcaml.Scope.t ->
enable:Hardcaml.Signal.t ->
clock:Hardcaml.Signal.t ->
stages:int ->
t list ->
tval mixed : init:t -> [ `Add of t | `Sub of t ] list -> tval to_signal : t -> Hardcaml.Signal.t