Auto detect the XPM Libraries that are used in the design and set the XPM_LIBRARIES project property.
Syntax
auto_detect_xpm [‑quiet] [‑verbose]
Usage
Name | Description |
---|---|
[-quiet]
|
Ignore command errors |
[-verbose]
|
Suspend message limits during command execution |
Description
This command collects the list of Xilinx™ Parameterized Macros (XPM) used in RTL design files and sets the XPM_LIBRARIES property. Because it identifies XPM used in the RTL source files, it must be used after the RTL files are read or added to the design as shown in the example.
This command will find all the XPMs used in the user RTL and update the XPM_LIBRARIES property on the current project. Synthesis and simulation will use the XPM_LIBRARIES property to properly support these macros.
This command returns nothing, or returns an error if it fails.
Arguments
-quiet
- (Optional) Execute the command quietly, returning no messages from the command. The command also returns TCL_OK regardless of any errors encountered during execution.
-verbose
- (Optional) Temporarily override any message limits and return all messages from this command.
set_msg_config
command.Examples
The following example reads the specified RTL file, and then uses auto_detect_xpm
to define the XPM_LIBRARIES used in the files:
read_verilog ../top_bgRAM_173_0.v
read_xdc ../top_bgRAM_173_0.xdc
auto_detect_xpm