Module Hardcaml.Rtl
VHDL and Verilog netlist generation
module Language : sig ... end- module Output_mode : sig ... end
- RTL generation options. 
- module Blackbox : sig ... end
- Control blackbox generation. - Noneimplies blackboxes are not used.- Topmeans the circuit will be turned into a blackbox.- Instantiationsmeans that the top level circuit will be written as normal, but submodules will be written as blackboxes.
- val output : ?output_mode:Output_mode.t -> ?database:Circuit_database.t -> ?blackbox:Blackbox.t -> Language.t -> Circuit.t -> Hardcaml__.Import.unit
- Write circuit to - Verilogor- Vhdl. Instantiations are (recursively) looked up in- databaseand if a circuit exists it is also written. The- output_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:Circuit_database.t -> ?blackbox:Blackbox.t -> Language.t -> Circuit.t -> Hardcaml__.Import.unit
- printis- output ~output_mode:(To_channel stdout)