Hardcaml.Rtlinclude module type of struct include Rtl endmodule Language : sig ... endmodule Circuit_instance : sig ... endmodule Hierarchical_circuits : sig ... endGenerated top levels and sub circuits.
val create :
?database:Circuit_database.t ->
?config:Hardcaml__.Rtl_config.t ->
Language.t ->
Circuit.t list ->
Hierarchical_circuits.t listCreate a hierarchical set of circuit instances that can be traversed to get the RTL implementation(s).
val full_hierarchy : Hierarchical_circuits.t list -> Rope.tCreate RTL for the top level circuits and everything it instantiates.
val top_levels_only : Hierarchical_circuits.t list -> Rope.tCreate RTL just for the top level circuits.
val top_levels_as_blackboxes : Hierarchical_circuits.t list -> Rope.tCreate blackboxes of the top level circuits.
val top_levels_and_blackboxes : Hierarchical_circuits.t list -> Rope.tCreate RTL for the top level circuits, and black boxes for the things they instantiate.
val print :
?database:Circuit_database.t ->
?config:Hardcaml__.Rtl_config.t ->
Language.t ->
Circuit.t ->
unitprint RTL for a circuit, with optional hierarchy (if database is provided), to stdout.
module Digest : sig ... endmodule Ast : sig ... endmodule Name : sig ... endmodule Verilog : sig ... endmodule Vhdl : sig ... endmodule Config : sig ... end