Hierarchy.With_interface
module I : Interface.S
module O : Interface.S
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.