[Discuss OpenCPI] [UK OFFICIAL] Using Xilinx Parameterised Macros in OpenCPI

From: Walters Dominic A <dawalters_at_mail.dstl.gov.uk>
Date: Thu, 05 Dec 19 15:46:03 +0000

Classification: UK OFFICIAL


Hi,

I'm trying to use a Xilinx Parameterised Macro for a Synchronous FIFO inside of an OpenCPI worker.
My design compiles, simulates, and synthesizes in Vivado.
However, when I try to use "ocpidev build" on the worker, I get the following error:

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

I found a related answer record<https://www.xilinx.com/support/answers/67815.html> on the Xilinx forums that indicates that to use XPM components, a property in the current Vivado project needs to be set.
This was already set for a new project that I made in Vivado (I think it was set the first time I simulated), but I assume that this isn't true for when OCPI uses Vivado.
The following line of tcl sets this property to enable use of all of the available FIFOs within XPM:

set_property XPM_LIBRARIES {XPM_FIFO} [current_project]

Is there a way for me to give this tcl line to OCPI to give to Vivado?
Is there a different way to get OCPI to force Vivado to recognise the XPM library?
Or am I going to have to go down the route of making a design checkpoint file/finding a non-XPM replacement component?

Thank you for any help you can provide,
D. Walters


"This e-mail and any attachment(s) is intended for the recipient only. Its unauthorised use,
disclosure, storage or copying is not permitted. Communications with Dstl are monitored and/or
recorded for system efficiency and other lawful purposes, including business intelligence, business
metrics and training. Any views or opinions expressed in this e-mail do not necessarily reflect Dstl policy."

"If you are not the intended recipient, please remove it from your system and notify the author of
the email and centralenq_at_dstl.gov.uk"


Received on Thu Dec 05 2019 - 15:46:03 CST

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT