Waveform tools¶
wave.signals and wave.summary read precomputed waveform data indexed from *.wave.json or *.vcd. Enable adapters.waveform_summary: true and re-index before calling these tools.
See Waveform summaries guide for indexing rules and Verilator example for an end-to-end walkthrough.
wave.signals¶
List signals for an indexed test.
| Parameter | Required | Description |
|---|---|---|
test_id | Yes | From tests.list |
start_time_ns | No* | Window start in nanoseconds |
end_time_ns | No* | Window end in nanoseconds |
* If either time parameter is set, both are required.
VCD: When a window is set, Sentinel DV re-reads the source .vcd from artifact_roots and returns value_at_start, value_at_end, and toggles in range.
Example (full trace):
Example (2–3 µs on Verilator demo, trace uses 1ps timescale with 100 ns steps):
Example (20–30 µs with $timescale 1 us in VCD):
wave.summary¶
Bounded highlights and metadata for the same indexed test. Accepts the same time-window parameters as wave.signals, plus:
| Parameter | Default | Description |
|---|---|---|
include_signals | false | When true, includes the full per-signal list (same as calling wave.signals) |
Response fields (typical): format, highlight_groups (highlights grouped by category), highlights, signal_groups (from JSON fixtures), metadata, optional signals when include_signals is true.
Typical workflow¶
tests.list— findtest_idfor the simulation under debug.wave.summary— trace length,highlight_groups, and busiest intervals.wave.signalsorwave.summarywithinclude_signals: true— per-signal toggles; add a time window to narrow to a failure interval.