package hardcaml_waveterm

  1. Overview
  2. Docs
A terminal based digital waveform viewer for Hardcaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a6780e4310f46cd71ff8a3cdf12bb51afdf0eaea5e84645a148a4ecd0f02920b

doc/hardcaml_waveterm.kernel/Hardcaml_waveterm_kernel/Display_rules/index.html

Module Hardcaml_waveterm_kernel.Display_rulesSource

A Display_rules.t is an ordered list of rules that specifies the order of ports and the formatting of signals in a waveform.

A port is displayed according to the first rule that it matches, using that rule's wave format. Ports matching rules earlier in the list are displayed above ports matching rules later in the list.

Sourceval sexp_of_t : t -> Sexplib0.Sexp.t

Construct the port order and formatting from the display rules and ports (derived from a testbench simulation object). Unmatched ports are not shown, unless Rule.default (or a similar custom rule) is included as the last display rule.

Sourceval is_displayed : t -> Port.t -> Base.bool

Check if a given port is displayed by any of the rules.

Sourceval is_signal_displayed : t -> Hardcaml.Signal.t -> Base.bool

Check if a given signal (treated as an internal port) is displayed by any of the rules.

Create rules for each signal in the interface.

OCaml

Innovation. Community. Security.