Module Hardcaml__.Cosim2
include Hardcaml__.Cosim2_intf.Cosim2
type delta_message={sets : (int * int32 list) list;gets : int list;delta_time : int64;}run
sets, thengetsthen schedule next callback at cur_time+delta_time
type control_message=|Finish|Run of delta_messagecontrol message
module Comms : sig ... endbasic TCP communications between client (simulation) and server (hardcaml)
val control : Unix.file_descr -> control_message -> response_messagesend a control message to the simulation
val write_testbench : ?dump_file:string -> name:string -> inputs:(string * int) list -> outputs:(string * int) list -> (string -> unit) -> unitwrite test harness
val write_testbench_from_circuit : ?dump_file:string -> (string -> unit) -> Hardcaml.Circuit.t -> unitwrite test hardness derivied from a hardcaml circuit
val derive_clocks_and_resets : Hardcaml.Circuit.t -> string list * string listfind clocks and resets in a hardcaml circuit
module type Simulator = Hardcaml__.Cosim2_intf.Simulator