package hardcaml_waveterm

  1. Overview
  2. Docs

Module for connecting the waveform tracer to a hardcaml simulator.

val wrap : ?cfg:(string * Wave_format.t) list -> ('i, 'o) Hardcaml.Cyclesim.t -> ('i, 'o) Hardcaml.Cyclesim.t * Hardcaml_waveterm__.Wave.t array

Wraps a hardcaml simulator with a waveform tracer. This returns a simulator object with waveform traced. Both simulators are interchangable (ie: calling Sim.cycle on one cycles the other as well, but only the simulator returned from the function traces waveforms.

OCaml

Innovation. Community. Security.