Module Hardcaml_waveterm.Wave_format

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

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

Binary.

| Bit

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

| Bit_or of t

If width=1 then Bits otherwise t

| Hex

Hexadecimal.

| Unsigned_int

Unsigned integer.

| Int

Signed integer.

| Index of Hardcaml_waveterm__.Import.string Hardcaml_waveterm__.Import.list

Use data as index into given list of strings.

| Custom of Hardcaml_waveterm__.Import.Bits.t -> Hardcaml_waveterm__.Import.string

User defined formatting.

val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t

Custom constructors are compared for physical equality.

include Hardcaml_waveterm__.Import.Equal.S with type t := t
type t
val equal : t Hardcaml_waveterm__.Import.Equal.equal