package hardcaml_step_testbench

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Input_monad : sig ... end
type ('i, 'o) t_
type (!'i, !'o) t =
  1. | T of ('i, 'o) t_
val sexp_of_t : ('i -> Sexplib0.Sexp.t) -> ('o -> Sexplib0.Sexp.t) -> ('i, 'o) t -> Sexplib0.Sexp.t
type (!'i, !'o) t_module = (module Digital_components__Component_intf.Module.S with type Input.t = 'i and type Output.t = 'o)
val sexp_of_input : ('i, 'a) t -> 'i -> Base.Sexp.t
val sexp_of_output : ('a, 'o) t -> 'o -> Base.Sexp.t
val input_module : ('i, 'a) t -> 'i Digital_components.Data.t
val output_module : ('a, 'o) t -> 'o Digital_components.Data.t
val create : ('i, 'o) t_module -> ('i, 'o) t
val output : ('i, 'o) t -> 'i -> 'o
val update_state : ?prune:Base.bool -> ('i, 'a) t -> 'i -> Base.unit
val run_with_inputs : ('i, 'o) t -> 'i Base.list -> ('i * 'o) Base.list
val prune_children : ('i, 'o) t -> Base.unit
val has_children : ('i, 'o) t -> Base.bool
module Next_input : sig ... end
val run_until_finished : ?show_steps:Base.bool -> ('i, 'o) t -> first_input:'i -> next_input:('o -> 'i Next_input.t Input_monad.t) -> Base.unit Input_monad.t
val sequence : ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t
val map_input : ('i2, 'o) t -> 'i1 Digital_components.Data.t -> f:('i1 -> 'i2) -> ('i1, 'o) t
val map_output : ('i, 'o1) t -> 'o2 Digital_components.Data.t -> f:('o1 -> 'o2) -> ('i, 'o2) t
module Combinational : sig ... end
val create_combinational : ('i, 'o) Combinational.t -> ('i, 'o) t
val and_ : (Base.bool * Base.bool, Base.bool) t
val not_ : (Base.bool, Base.bool) t
val flip_flop : Base.unit -> (Base.bool, Base.bool) t
module Flip_flop_with_load_enable : sig ... end
OCaml

Innovation. Community. Security.