get_diagnostics
Analyze HDL source code for lint errors and warnings. Returns line, column, severity, and message for Verilog, SystemVerilog, and VHDL.
Instructions
Return structured lint diagnostics (line, column, severity, message) for HDL source. Verilog/SystemVerilog: uses Verilator (primary) with verible-verilog-lint as fallback. VHDL: uses GHDL. All tools are part of OSS CAD Suite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | HDL source code | |
| language | No | HDL language variant | verilog |