Fix Verilog that does not build
fix_chipFixes Verilog that does not compile or gives warnings, such as syntax errors, width mismatches or unintended latches. Builds it with Yosys and Verilator, corrects it, and builds it again after each change. Returns the corrected code, anything still wrong, and a link that opens it with its diagram. Counts toward the daily design limit, except when the code already builds clean (then nothing is changed).
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": {
"code": "<code>"
},
"name": "fix_chip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The Verilog source code, one or more modules (at most 20,000 characters). |