generate_bd_wrapper
Creates the HDL wrapper for a Vivado block design, adds it to sources_1, and optionally sets it as project top to keep compile order valid.
Instructions
Generate the HDL wrapper for a block design and (by default) add it to sources_1 and set it as project top. Implements the canonical pattern: make_wrapper -files -top; add_files -norecurse ; set_property top [current_fileset]; update_compile_order.
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": {
"bd_name": "<bd_name>"
},
"name": "generate_bd_wrapper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bd_name | Yes | Block design name (no .bd) | |
| set_top | No | Also set the wrapper as project top (default: true) |