package hardcaml_waveterm

  1. Overview
  2. Docs

Display format for a single wave (a row in the complete waveform).

type alignment =
  1. | Left
  2. | Right
val sexp_of_alignment : alignment -> Ppx_sexp_conv_lib.Sexp.t
type t =
  1. | Binary
    (*

    Binary.

    *)
  2. | Bit
    (*

    Like Binary, but shows a single bit as a line.

    *)
  3. | Bit_or of t
    (*

    If width=1 then Bits otherwise t

    *)
  4. | Hex
    (*

    Hexadecimal.

    *)
  5. | Unsigned_int
    (*

    Unsigned integer.

    *)
  6. | Int
    (*

    Signed integer.

    *)
  7. | Index of Base.String.t Base.List.t
    (*

    Use data as index into given list of strings.

    *)
  8. | Custom of Hardcaml.Bits.t -> Base.String.t
    (*

    User defined formatting.

    *)
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t

Custom constructors are compared for physical equality.

include Base.Equal.S with type t := t
val equal : t Base.Equal.equal
OCaml

Innovation. Community. Security.