suggest_protocol_bundles
Scan a waveform to find AHB or APB protocol bundles, returning ready-to-use inspect_handshake arguments with valid signals and payload for handshake debugging.
Instructions
Scan a waveform for protocol-specific AHB/APB bundles. AHB candidates return ready-to-use inspect_handshake args with valid_htrans + ready + payload (address-phase control), plus hwrite/write_data (HWDATA, for the write data-phase hold check) ONLY on initiator-side interfaces (a responder's HWDATA is an interconnect-mux output that glitches at the clock edge, so the check is withheld there to stay zero-FP), because AHB has no literal valid signal. APB candidates return psel/penable/pready facts and loudly report that inspect_handshake still needs a derived valid signal for psel && penable. Direction tags are mechanical discovery facts only; unknown/conflicting markers degrade to direction_tag='unknown' rather than guessing a side. Reads existing waveforms only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional hierarchy prefix to restrict candidates (e.g. 'tb_top.u_dut'). | |
| protocol | Yes | Protocol bundle family to discover. | |
| wave_path | Yes | Waveform (FSDB or VCD). | |
| max_candidates | No | Max bundles to return. Default 8. |