Module Hardcaml.Parameter
A Parameter.t
is the name and value of a configurable attribute of an instantiated RTL design.
In Verilog they are called parameters
s and in VHDL they are called generic
s.
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
=
{
name : Parameter_name.t;
value : Value.t;
}
val compare : t -> t -> Hardcaml__.Import.int
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
module Unstable : Hardcaml__.Import.Unstable with type t = t
val create : name:Hardcaml__.Import.string -> value:Value.t -> t
val find_name : t Hardcaml__.Import.list -> Parameter_name.t -> Value.t Hardcaml__.Import.Option.t
val find_name_exn : t Hardcaml__.Import.list -> Parameter_name.t -> Value.t
val is_subset : t Hardcaml__.Import.list -> t Hardcaml__.Import.list -> Hardcaml__.Import.bool
is_subset ts1 ts2
returns true iff everyt
ints1
is ints2
.
val sort_by_name : t Hardcaml__.Import.list -> t Hardcaml__.Import.list