package hardcaml_waveterm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val expect : (?show_digest:Base.bool -> ?serialize_to:Base.string -> Waveform.t -> Base.unit) Waveform.with_options

Print waveforms in expect tests. This is very similar to print except it always outputs to stdout and will optionally serialize the waveform to disk for offline viewing.

Waveforms are serialized if:

  • environment variable EXPECT_TEST_WAVEFORM=1 and the serialize_to filename is set.
  • EXPECT_TEST_WAVEFORM=digest then the waveform file will be named by the digest of the waveform (serialize_to is not used regardless of if it is set or not).

Simulation digests are shown by default.

OCaml

Innovation. Community. Security.