wavepeek
wavepeek is a deterministic CLI for inspecting RTL waveforms (.vcd/.fst) in scripts, CI, and LLM-driven workflows.
Why
- In RTL debugging, waveforms are the primary artifact, but most existing tooling is GUI-first.
- LLM agents and CI jobs need short, composable commands instead of interactive navigation.
- Raw dumps (especially large VCD/FST files) are too heavy for direct, repeated analysis in context-limited systems.
wavepeekcloses this gap with deterministic, bounded, machine-friendly waveform queries.
Quick Start
Install:
# or from source
Run a complete inspection flow:
# 0) Get a dump
# Note: example `.fst` dumps can be downloaded from `rtl-artifacts` releases: https://github.com/kleverhq/rtl-artifacts
WAVES=./dump.fst
# 1) Check dump bounds and time unit
# 2) Discover hierarchy
# 3) Find relevant signals in a scope (--filter is a regex)
# 4) Sample values at one timestamp
# 5) Inspect transitions over a time window (--on is a SystemVerilog-like clocking event expression)
By default, commands print human-readable output. Add --json for strict machine output:
Chain commands in scripts with jq:
scope=""
|
Agentic Flows
wavepeek ships with a ready-to-install agent skill:
- Packaged source (repo):
docs/skills/wavepeek.md - CLI export:
wavepeek skill
Install via your agent:
- Ask your coding agent to install the skill from
docs/skills/wavepeek.mdor from the output ofwavepeek skill.
Manual install examples:
- Codex CLI:
~/.codex/skills/wavepeek/SKILL.md - Claude Code:
~/.claude/skills/wavepeek/SKILL.md
Note: an MCP server for tool-native agent integration is not available yet, but is planned.
Commands
| Command | Status | Purpose |
|---|---|---|
info |
available | Print dump metadata (time_unit, time_start, time_end) |
scope |
available | List hierarchy scopes (deterministic DFS, optional --tree) |
signal |
available | List signals in a scope with metadata |
value |
available | Signal values at a specific time |
change |
available | Delta snapshots over a time range with --on event triggers |
property |
available | Property checks over event triggers with capture modes |
schema |
available | Print canonical JSON schema used by --json output |
docs |
available | Browse embedded narrative docs, search topics, and export Markdown |
skill |
available | Print packaged agent skill Markdown |
help |
available | Print detailed long help for top-level or nested command paths |
Use progressive disclosure via built-in help and docs:
wavepeek -hfor compact lookup helpwavepeek --helpfor detailed top-level reference helpwavepeek help <command-path...>for nested long-help aliaseswavepeek docsfor embedded command guidance, workflows, troubleshooting, reference topics, and exportwavepeek skillfor packaged agent skill Markdown
Development
- Preferred workflow uses
Makefiletargets aligned with CI. - In devcontainer/CI image, run:
License
Apache-2.0