scan_structural_risks
Scans RTL/testbench sources from compile logs to flag structural risk patterns, reporting heuristic findings with coverage status to distinguish clean scans from partial or unsupported coverage.
Instructions
Run a Scope 1 regex-based structural risk scan on RTL/TB source files from the compile file list. This is a heuristic detector: it reports suspicious patterns, not confirmed root causes. Always read coverage_status: only complete with total_risks=0 supports a clean-scan observation; zero_coverage scanned no supported sources, and degraded covers only part of the source set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| simulator | No | vcs / xcelium / auto (default: auto) | auto |
| categories | No | Optional list of risk categories to scan. If omitted, all categories are scanned. | |
| scan_scope | No | Scan scope version. Currently only scope1 is supported. | scope1 |
| compile_log | Yes | Absolute path to a compile or elaborate log |