The parameters are initially determined during the Create and Package New IP wizard by parsing the top-level HDL file. When you want to update parameters from the top-level HDL source file due to a change to the HDL source after packaging, you can re-import the parameters.
When importing parameters from the HDL, the values are determined at the time of
import or merge. If a parameter is calculated based on an expression, the expression
is evaluated at the time of import. To keep the expression, you must edit the
parameter to create the XPATH
expression. For more
information on editing a parameter, see Editing a Parameter.
To import IP parameters:
- From the Customization Parameters page, right-click and select Import IP Parameters.
- Set the following options in the Import IP
Parameters dialog box.
- Top-Level source file
- Contains the top-level entity or module of the custom IP.
- Top entity name
- The name of the top-level entity or module that contains the parameters of your custom IP.
- Make all imported HDL parameters visible
- Sets all the imported parameters to be visible in the customization GUI.
- Modify names of all imported HDL parameters
- Lets you change the imported HDL parameter names.
- Click OK.