Module Hardcaml.Instantiation

Instantiation of sub-modules.

For use with generated RTL when we want to reference some non-hardcaml modules.

val create : ?lib:Base.string -> ?arch:Base.string -> ?instance:Base.string -> ?parameters:Parameter.t Base.list -> ?attributes:Rtl_attribute.t Base.list -> Base.unit -> name:Base.string -> inputs:(Base.string * Signal.t) Base.list -> outputs:(Base.string * Base.int) Base.list -> Signal.t Base.Map.M(Base.String).t
module With_interface (I : Interface.S) (O : Interface.S) : sig ... end
val create_with_interface : (module Interface.S_Of_signal with type Of_signal.t = 'i) -> (module Interface.S_Of_signal with type Of_signal.t = 'o) -> ?lib:Base.string -> ?arch:Base.string -> ?instance:Base.string -> ?parameters:Parameter.t Base.list -> ?attributes:Rtl_attribute.t Base.list -> name:Base.string -> 'i -> 'o