Module Field_ops_lib.Modulo_double_pipe

Computes (2 * x) mod p

val latency : stages:int -> int
val hierarchical : stages:int -> p:Z.t -> scope:Hardcaml.Scope.t -> clock:Hardcaml.Signal.t -> enable:Hardcaml.Signal.t -> Hardcaml.Signal.t -> Hardcaml.Signal.t