package hardcaml_verify

  1. Overview
  2. Docs
Hardcaml Verification Tools

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a09a904776ad848f685afb4ebe85e0d449acb81f6f2425fccc52a3c5b76be629

doc/hardcaml_verify.kernel/Hardcaml_verify_kernel/Comb_gates/Sop/index.html

Module Comb_gates.SopSource

Signed vector operations (ie may operate on Bits.t or Signal.t directly).

Sourceval of_signal : t -> t

Convert to v from a Comb.t.

Sourceval to_signal : t -> t

Convert v to a Comb.t.

Sourceval (+:) : t -> t -> t

Addition. Arguments are extended appropriately and result is 1 bit wider to avoid truntraction.

Sourceval (-:) : t -> t -> t

Subtraction. Arguments are extended appropriately and result is 1 bit wider to avoid truntraction.

Sourceval (*:) : t -> t -> t

Mulitplication.

Comparison operations

. Arguments need not be the same width.

Sourceval (<:) : t -> t -> t
Sourceval (>:) : t -> t -> t
Sourceval (<=:) : t -> t -> t
Sourceval (>=:) : t -> t -> t
Sourceval (==:) : t -> t -> t
Sourceval (<>:) : t -> t -> t
Sourceval resize : t -> Base.int -> t

Resize argument to given width. Appropriate extension is performed.

OCaml

Innovation. Community. Security.