UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 67815

[Synth 8-4169] error in use clause: package 'vcomponents' not found in library 'xpm'

Description

When trying to use the XPM (Xilinx Parameterized Macros) to create UltraRAM (URAM), the following errors are seen during Synthesis:

Using VHDL:

[Synth 8-4169] error in use clause: package 'vcomponents' not found in library 'xpm' ["/project_XPM_VHDL/project_XPM_VHDL.srcs/sources_1/new/xpm_vhdl.vhd":243]
[Common 17-69] Command failed: Synthesis failed - please see the console or run log file for details

[Synth 8-1090] 'xpm_memory_sdpram' is not compiled in library work ["/project_XPM_VHDL.srcs/sources_1/new/xpm_vhdl.vhd":268]
[Synth 8-2398] near string "ultra" ; 4 visible types match here ["/project_XPM_VHDL/project_XPM_VHDL.srcs/sources_1/new/xpm_vhdl.vhd":273]
[Synth 8-2396] near character '0' ; 3 visible types match here ["/project_XPM_VHDL/project_XPM_VHDL.srcs/sources_1/new/xpm_vhdl.vhd":296]
[Common 17-69] Command failed: Synthesis failed - please see the console or run log file for details

Using Verilog:


[Synth 8-439] module 'xpm_memory_sdpram' not found ["/project_v/project_v.srcs/sources_1/imports/new/UltraRAM_SDP.v":276]
[Synth 8-285] failed synthesizing module 'UltraRAM_SDP' ["/project_v/project_v.srcs/sources_1/imports/new/UltraRAM_SDP.v":22]
[Common 17-69] Command failed: Synthesis failed - please see the console or run log file for details

Solution

For XPMs to be recognized by the Vivado Design Suite, they must first be enabled using the XPM_LIBRARIES property on the project.

This is a one-time setup on a project-by project basis.

One or more of the available XPM types can be enabled.

In this example, both XPM types are enabled:

set_property XPM_LIBRARIES {XPM_CDC XPM_MEMORY} [current_project]

In this example, one XPM type is enabled:

set_property XPM_LIBRARIES XPM_MEMORY [current_project]

After this property is set, you can use any XPM of the type enabled in your design.

The property is preserved when the project is closed and reopened.

This is documented in (UG974) Vivado UltraScale Libraries Guide.

AR# 67815
Date Created 09/06/2016
Last Updated 09/12/2016
Status Active
Type General Article
Devices
  • Kintex UltraScale
  • Virtex UltraScale
Tools
  • Vivado Design Suite - 2016.2