package hardcaml_verilator

  1. Overview
  2. Docs
type t = {
  1. verilator_version : Verilator_version.t;
  2. optimization_level : Optimization_level.t;
  3. compilation_processes : Threads.t;
  4. runtime_threads : Threads.t;
  5. output_split : Output_split.t;
  6. verbose : bool;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
val default : t

Default verilator compilation settings with no parallelism

val small_cfiles : t

Split C-files and functions into much smaller chunks.

val from_env : t

Small C-files with compilation parallelism specified with VERILATOR_PARALLEL_COMPILE=n

val label : t -> string
val executable : t -> string
val verilator_compilation_command : ?executable:string -> circuit_name:string -> path_to_verilog:string -> obj_dir:string -> path_to_cpp_wrapper:string -> t -> string
val make_compilation_command : circuit_name:string -> obj_dir:string -> t -> string
OCaml

Innovation. Community. Security.