package hardcaml_circuits

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Simple pipelined incrementer.

val create : part_width:Base.int -> clock:Hardcaml.Signal.t -> clear:Hardcaml.Signal.t -> set:Hardcaml.Signal.t Hardcaml.With_valid.t -> increment:Hardcaml.Signal.t -> Hardcaml.Signal.t

Split the addition into width / part_width sub-adders. The increment value must be no wider than part_width.

The value can be set at any time.

OCaml

Innovation. Community. Security.