verilator_simulate
Run RTL simulation for Verilog/SystemVerilog designs with automatic testbench generation, waveform output, and coverage collection.
Instructions
Run RTL simulation with automatic testbench generation if needed
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | Yes | Design file or compiled directory | |
| testbench | No | Testbench file (will auto-generate if missing) | |
| topModule | No | Top module name | |
| autoGenerateTestbench | No | Auto-generate testbench if missing | |
| outputDir | No | Output directory for simulation artifacts | sim_output |
| timeout | No | Simulation timeout in milliseconds | |
| enableWaveform | No | Generate waveform dump | |
| waveformFormat | No | Waveform format | vcd |
| waveformFile | No | Waveform output file | |
| enableCoverage | No | Enable coverage collection | |
| coverageTypes | No | Coverage types to collect | |
| enableAssertions | No | Enable assertion checking | |
| optimizationLevel | No | Optimization level | |
| defines | No | Macro definitions | |
| plusargs | No | Plusargs to pass to simulation | |
| useExistingBuild | No | Use existing compiled output | |
| simulationTime | No | Override simulation time | |
| verbose | No | Verbose output |