Module Hierarchy.With_interface

Parameters

module I : Interface.S
module O : Interface.S

Signature

val create : ?attributes:Rtl_attribute.t Base.list -> ?config:Circuit.Config.t -> ?instance:Base.string -> Circuit_database.t -> name:Base.string -> Circuit.With_interface(I)(O).create -> Circuit.With_interface(I)(O).create

create database ~name create_fn inputs creates a sub-circuit using create_fn inputs and adds it to database. It is then referenced in current circuit by an instantiation.