parse_sim_log
Parse VCS or Xcelium simulation logs to group runtime failures by signature. Includes surrounding log context for the first error group.
Instructions
Parse a VCS or Xcelium simulation log and return grouped runtime failures by signature. The simulator argument is required and is not auto-detected here. candidate_previous_logs uses bounded evidence sampling and excludes compile/elaboration logs. The first error group automatically includes about 100 lines of surrounding log context in first_group_context; use get_error_context for other groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_path | Yes | Absolute path to the simulation log, for example irun.log | |
| simulator | Yes | vcs / xcelium | |
| max_groups | No | Maximum number of error groups to return. Default: 20 | |
| detail_level | No | Detail level to return. Default: summary | summary |
| max_events_per_group | No | Maximum failure_events returned per group in compact/full modes. Default: 3 |