package hardcaml_verify

  1. Overview
  2. Docs
Hardcaml Verification Tools

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_verify-v0.15.0.tar.gz
sha256=a469d63c76bd86fbd04aa38d391dc736d4bc291ad5ffe0090b31cc4ae3ba6622

doc/hardcaml_verify.kernel/Hardcaml_verify_kernel/Nusmv/index.html

Module Hardcaml_verify_kernel.NusmvSource

Sourceval sexp_of_property : property -> Sexplib0.Sexp.t
Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : ?outputs:Hardcaml.Signal.t Base.list -> name:Base.string -> property Base.list -> t

create ?outputs ~name properties creates a NuSMV model with the provided name.

properties is a list of LTL and/or CTL formula that should be satified by the circuit. During construction all atomic_propositions (which are the signals in the design used to build the temporal formula) are created as outputs. They are given the prefix "__ap_" which should not otherwise be used to name signals.

The important part of the circuit is traced back from the atomic_propositions. However, it is possible to include the complete circuit if required by passing outputs.

Sourceval circuit : t -> Hardcaml.Circuit.t

Return the circuit generated for the NuSMV model.

Write the NuSMV model to a file.

Sourcemodule Counter_example_trace : sig ... end
Sourcemodule Proof_result : sig ... end
Sourcemodule Output_parser : sig ... end
Sourcemodule Circuit_properties : sig ... end
OCaml

Innovation. Community. Security.