User guide
System Generator for DSP User Guide www.xilinx.com 323
UG640 (v 12.2) July 23, 2010
Black Box Configuration Wizard
• The name of a clock enable must be the same as that for the corresponding clock, but
with ce substituted for clk. For example, if the clock is named src_clk_1, then the
clock enable must be named src_ce_1.
• Falling-edge triggered output data cannot be used.
Black Box Configuration Wizard
System Generator provides a configuration wizard that makes it easy to associate a VHDL
or Verilog module to a Black Box block. The Configuration Wizard parses the VHDL or
Verilog module that you are trying to import, and automatically constructs a configuration
M-function based on its findings. It then associates the configuration M-function it
produces to the Black Box block in your model. Whether or not you can use the
configuration M-function as is depends on the complexity of the HDL you are importing.
Sometimes the configuration M-function must be customized by hand to specify details
the configuration wizard misses. Details on the construction of the configuration M-
function can be found in the topic
Black Box Configuration M-Function.
Using the Configuration Wizard
The Black Box Configuration Wizard opens 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, the model must be saved in the same
directory as the module you are trying to import. This means, in particular, that the model
must be saved to same directory.
Note:
The wizard only searches for .vhd and .v files in the same directory as the .mdl file. If the
wizard does not find any files it issues a warning and the black box is not automatically configured.
The warning looks like the following: