Vitis Model Composer opens the Black Box Configuration Wizard automatically when a new black box block is added to a model.
Note: Before running the Configuration Wizard,
ensure the VHDL or Verilog you are importing meets the specified Black Box HDL Requirements and Restrictions.
For the Configuration Wizard to find your module, you must save the model in the same directory as the module you are trying to import.
Note: The wizard only searches for .vhd and .v files in the
same directory as the model. If the wizard does not find any files it issues a warning and
does not automatically configure the black box. The warning is as follows:
Figure 1. Warning
After searching the model's directory for .vhd and .v files, the Configuration Wizard opens a new window that lists the possible files that it can import. The following figure shows an example screenshot.
Figure 2. Files to Import

You can select the file to import by selecting the file, and then pressing the Open button. At this point, the configuration wizard generates a configuration M-function, and associates it with the black box block.
Note: The configuration M-function saves in the
model's directory as <module>_config.m.
<module> is the name of the module that you
are importing.