add_module_to_bd
Adds an RTL module from your Vivado project to the current block design as a module-reference cell, with optional CONFIG parameter settings for customization.
Instructions
Add an RTL module (Verilog/VHDL already in the project, see add_sources) to the current block design as a module-reference cell (create_bd_cell -type module -reference). Optional config sets its parameters, e.g. {'CONFIG.WIDTH': '8'}; string parameters keep their quotes, e.g. {'CONFIG.init': '"0011"'}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Dict of CONFIG.* parameters | |
| module | Yes | Top module name of the RTL | |
| cell_name | Yes | Instance name in the BD |