package hardcaml_c

  1. Overview
  2. Docs

Parameters

Signature

type t = (Hardcaml.Bits.t Stdlib.ref I.t, Hardcaml.Bits.t Stdlib.ref O.t) Hardcaml.Cyclesim.t
val create : ?config:Hardcaml.Cyclesim.Config.t -> ?circuit_config:Hardcaml.Circuit.Config.t -> ?combine_with_cyclesim:bool -> ?compiler_command:string -> Hardcaml.Circuit.With_interface(I)(O).create -> t

Create a simulator using the provided Create_fn. The returned simulator ports are coerced to the input and output interface types.

Coerce simulator port types to use the provided input and output interfaces.

OCaml

Innovation. Community. Security.