simulate
Compile and run a Verilog testbench with Icarus Verilog from specified source files and an optional top module, verifying a clean exit and no FAIL/ERROR output.
Instructions
Compile and run a Verilog testbench with Icarus Verilog.
sources: files relative to cwd, testbench included. top: testbench module, if ambiguous. The run passes when the simulator exits 0 and prints no FAIL/ERROR text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sources": "<sources>"
},
"name": "simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| top | No | ||
| sources | Yes | ||
| timeout_s | No |