Module Parameter.Std_logic
9-state VHDL std_logic enumeration
type t=|UUninitialized
|XUnknown
|L0Logic 0
|L1Logic 1
|ZHigh impedance
|WWeak - neither prefer 0 or 1
|LWeak - prefer 0
|HWeak - prefer 1
|Don't_careDont care
module Unstable : Hardcaml__.Import.Unstable with type t = tval to_int : t -> Hardcaml__.Import.intProvide the index of
tin textual order. When passing a std_logic parameter from verilog to vhdl, we need to encode this type into an integer. For example, L1 = 4'd3.
val of_char_exn : Hardcaml__.Import.char -> tThe OCaml
charused inof_charandto_charis the same as used in VHDL.
val to_char : t -> Hardcaml__.Import.char