waveform
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
Analyze Buckyball VCD or FST waveforms with waveform-mcp when waveform analysis is explicitly requested, or when diff and itrace/mtrace leave a specific timing question unresolved. Use debug-verilator or debug-p2e first for failure debugging.
In this repository25 other files it gives its agents.
- agent-runtimeSkill
- ball-alignSkill
- canvas-clientSkill
- checkSkill
- chip-designerSkill
- collaboration-panelSkill
- debug-bemuSkill
- debug-compilerSkill
- debug-p2eSkill
- debug-performanceSkill
- debug-verilatorSkill
- domain-modelingSkill
- graph-contractSkill
- grillingSkill
- grill-with-docsSkill
- ip-designerSkill
- model-optimizeSkill
- model-portSkill
- model-recipeSkill
- plugin-verifySkill
- programming-principlesSkill
- repo-installSkill
- reportSkill
- role-identitySkill
- workload-testsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Call list_signals before reading a path.
- Very specific: line 15
Use find_conditional_events(waveform_id=..., condition=..., start_time_index?=..., end_time_index?=..., limit?=...) for handshakes and …
- Very specific: line 28
Use exact paths returned by list_signals.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Waveform Analysis
For failure debugging, first follow $debug-verilator or $debug-p2e: enable
diff on the initial focused run, then inspect itrace/mtrace when it fails.
Waveforms are a last resort for a specific timing question those traces cannot
answer. When the user explicitly requests waveform analysis, perform it directly.
- Locate a
.vcdor.fstunder the simulation log directory and open it withopen_waveform(file_path=...). - Call
list_signalsbefore reading a path. Passrecursive=trueorrecursive=falseexplicitly; do not depend on the tool default. Signal hierarchy and Chisel-generated names vary by chip and build. - Use
find_conditional_events(waveform_id=..., condition=..., start_time_index?=..., end_time_index?=..., limit?=...)for handshakes and edges. Usefind_signal_eventswith the same time-index parameter names for transitions. Useread_signalfor exact values andget_signal_infofor widths. - Close the waveform with
close_waveformwhen analysis is complete.
Checks
- Command issue:
cmdReq.valid && cmdReq.ready. - Command completion:
cmdResp.valid && cmdResp.ready. - SRAM: locate request and response on clock edges; verify
resp.validon the next clock cycle afterreq.fire. - FSM: inspect state-register transitions around the failed transaction.
- Data: read bank request address/data and response data at the relevant clock edges.
Waveform time indices are simulator sample points, not automatically clock-cycle numbers. Find the clock signal and correlate request and response with successive active clock edges; do not assume time_index + 1 is one cycle.
Use exact paths returned by list_signals. Typical hierarchy names such as TOP, bbtile, ballDomain, bbus, and balls_0 are examples only.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

