package hardcaml

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

Module Hardcaml.ParameterSource

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.

Sourcemodule Value : sig ... end
Sourcetype t = {
  1. name : Parameter_name.t;
  2. value : Value.t;
}
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
include Base.Equal.S with type t := t
Sourceval create : name:Base.string -> value:Value.t -> t
Sourceval find_name_exn : t Base.list -> Parameter_name.t -> Value.t
Sourceval is_subset : t Base.list -> t Base.list -> Base.bool

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

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

Innovation. Community. Security.