analyze_failures
Pinpoint the first failure in a simulation log, then retrieve error context and a waveform snapshot around the failure time to debug RTL testbench issues.
Instructions
Core failure-analysis tool. Focuses on the first occurrence of a single failure group and returns the log summary, raw error context, and waveform snapshot. FSDB support depends on fsdb_runtime.enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_path | Yes | Simulation log path, for example irun.log | |
| simulator | Yes | vcs / xcelium | |
| wave_path | Yes | Waveform file path, for example top_tb.fsdb | |
| window_ps | No | Waveform window around each failure time in ps. Default: 2000 | |
| group_index | No | Failure group index to analyze. Default: 0 | |
| signal_paths | Yes | Signal paths to inspect. Clients should confirm full paths with search_signals after inferring candidates from RTL or log output. | |
| extra_transitions | No | Extra transitions to include before the window for each signal. Default: 5 |