Module Hardcaml__.Rtl
include Hardcaml__.Rtl_intf.Rtl
module Language : sig ... endmodule Output_mode : sig ... endRTL generation options.
val output : ?output_mode:Output_mode.t -> ?database:Hardcaml.Circuit_database.t -> Language.t -> Hardcaml.Circuit.t -> Hardcaml__.Import.unitWrite circuit to
VerilogorVhdl. Instantiations are (recursively) looked up indatabaseand if a circuit exists it is also written. Theoutput_modespecifies how the circuit should be written - either to a single file (or buffer, or channel) or to a directory with one file for each for the top level circuit and any instantiated circuits contained in the database.
val print : ?database:Hardcaml.Circuit_database.t -> Language.t -> Hardcaml.Circuit.t -> Hardcaml__.Import.unitprintisoutput ~output_mode:(To_channel stdout)