verdi-regression-diff
/verdi-regression-diff
Use when the same signal behaved differently between two runs or two builds. Compares signals against another FSDB in nWave and captures the diff as an image; documents the verified limit that Verdi gives no textual comparison report.
- Author
- fayememe ↗
- Repository
- verdimcp ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when the same signal behaved differently between two runs or two builds. Compares signals against another FSDB in nWave and captures the diff as an image; documents the verified limit that Verdi gives no textual comparison report.
Original author description
Use when the same signal behaved differently between two runs or two builds. Compares signals against another FSDB in nWave and captures the diff as an image; documents the verified limit that Verdi gives no textual comparison report.
How it works
- Scope
- Flow
- Limits (verified)
- Reporting
- Rules
SKILL.md preview
---
name: verdi-regression-diff
description: Use when the same signal behaved differently between two runs or two builds. Compares signals against another FSDB in nWave and captures the diff as an image; documents the verified limit that Verdi gives no textual comparison report.
---
# Regression diff (two runs)
## Scope
**In:** "this worked in the previous run", "the transfer is one cycle later now", "did my fix change anything".
**Out:** formal equivalence checking, and any diff that needs a second pane's textual report (not
scriptable — see limits).
## Flow
1. Confirm the **two artifacts**: current session FSDB (`verdi_session_info` → `fsdb`) and the reference
FSDB path. Both must exist and be readable; the reference can be a copy of an older run.
2. **Do this before any cone capture** in the session (ordering hazard below).
3. `verdi_waveform_compare {signals, against_fsdb: [ref], capture: true}`.
- Signals are normalized to `/`-prefixed GUI names; if they are not yet in the window the tool adds them
once and reports `added_signals: true`.
- Returns `{window_id, signals, against_fsdb, image:{path,width,height,bytes,sha256}, text_available:false, warning}`.
4. Read the screenshot and state the difference shape per signal:
| Visual difference | Usual meaning |
|---|---|
| Same edges, offset by N cycles | pipeline/latency change or a new stall |
| Extra / missing transition | state machine path changed |
| Value differs on the same edge | data path or constant changed |
| Same picture, identical sha256 | no visible difference in this ROI |
5. If the diff must be quantified (e.g. "late by 2 cycles"), get the numbers with
`verdi_transitions_get` on each run separately and compare the times yourself. The compare tool gives
the picture; the evidence for "2 cycles" is the two transition lists.
## Limits (verified)
- `wvCompareResult -file ...` writes
`"You must open another waveform pane before running this option!"` — a second pane cannot be scripted,
so **no textual diff file exists**. The screenshot is the artifact. Never quote a diff report.
- Comparing a signal that exists only in one FSDB fails with `not_supported`; check the name in both runs
with `verdi_signals_list` first.
- **Ordering hazard:** comparing in a session that already opened nSchema windows killed Verdi W-2024.09
once. The tool returns `warning` when schematic windows are present; if so, prefer a fresh session.
## Reporting
```
run A: demo/sim/sync_fifo.fsdb (VERIFIED)
run B: /tmp/old_run/sync_fifo.fsdb (VERIFIED)
signal: /tb_sync_fifo/rd_data[7:0]
diff: first valid beat at 40 ns (A) vs 44 ns (B) (VERIFIED from two transitions_get calls)
visual: compare-<sid>-<ts>.png sha256 afb02699… (VERIFIED image, INFERRED about logic)
verdict: 1-cycle latency regression on the read path (INFERRED)
```
## Rules
- Never claim "no difference" from a screenshot alone; say "no visible difference in this ROI" and give
the ROI (`start`/`end`/zoom) and the sha256.
- Never claim a cycle count from pixels. Use transitions.
- Always name both FSDB paths — a diff without provenance is useless a week later.
Versions
The database has no other skills named verdi-regression-diff.
Database snapshot: 13.11.2026 · package version 29d65380e968 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100verdi
Entry point for any Synopsys Verdi / nWave / FSDB work through the verdi MCP tools. Routes a symptom to the right skill, states the safety rules, and explains the GUI-vs-NPI cost model. Use when the user says Verdi, nWave, FSDB, waveform, simulation debug, signal is X, bus never… - 100verdi-performance
Use when a Verdi query or render is slow, when the FSDB is large, or when deciding between GUI and NPI for a big view. Covers the measured cost model, the hard render bounds, and which performance questions have no tool behind them. - 100x-npi
当 AI agent 需要使用 Synopsys pynpi 编写 Python 脚本,进行批量 FSDB 波形统计、值扫描、APB/AXI/valid-ready stream 协议分析、VCS/Verdi coverage database 查询,或静态设计 driver/load 查询时使用。离线大规模分析脚本和报告优先使用本 skill;xdebug 风格的实时 active-driver 根因定位或 PVC active-driver 检查不要使用本 skill。