verilog_compile
Check Verilog syntax and elaboration using iverilog or Verilator, with optional top module specification, skipping full simulation to quickly catch errors.
Instructions
Performs syntax validation and elaboration checking on Verilog files using iverilog or verilator without running full simulation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. | |
| files | Yes | List of Verilog source files to compile. | |
| compiler | No | Compiler engine to use ('iverilog' or 'verilator'). Defaults to 'iverilog'. | |
| top_module | No | Top-level module name for elaboration. |