package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A Parameter.t is the name and value of a configurable attribute of an instantiated RTL design.

In Verilog they are called parameterss and in VHDL they are called generics.

module type Unstable = sig ... end
module Std_logic : sig ... end

9-state VHDL std_logic enumeration

module Std_logic_vector : sig ... end
module Bit_vector : sig ... end
module Value : sig ... end
type t = {
  1. name : Parameter_name.t;
  2. value : Value.t;
}
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
include Base.Equal.S with type t := t
val equal : t Base.Equal.equal
module Unstable : Unstable with type t = t
val create : name:Base.string -> value:Value.t -> t
val find_name_exn : t Base.list -> Parameter_name.t -> Value.t
val is_subset : t Base.list -> t Base.list -> Base.bool

is_subset ts1 ts2 returns true iff every t in ts1 is in ts2.

val sort_by_name : t Base.list -> t Base.list
OCaml

Innovation. Community. Security.