Module Circuit.With_interface
Parameters
Signature
type create
= Hardcaml.Signal.t Hardcaml.Interface.Create_fn(I)(O).t
val create_exn : (?port_checks:Port_checks.t -> ?add_phantom_inputs:Hardcaml__.Import.bool -> name:Hardcaml__.Import.string -> create -> t) with_create_options
Create a circuit with
inputs
andoutputs
automatically defined and labelled according to the input (I
) and output (O
) interfaces.