Cyclesim.With_interface
module I : Interface.S
module O : Interface.S
val sexp_of_t : t -> Sexplib0.Sexp.t
val create :
?config:Config.t ->
?circuit_config:Circuit.Config.t ->
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.
val coerce : t_port_list -> t
Coerce simulator port types to use the provided input and output interfaces.