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# 40023

NCSim - ncvhdl_p: *E,SELLI: unit (VCOMPONENTS) not found in library (UNISIM)

Description


When trying to simulate a design using Xilinx primitives from the UNISIM library under NCSim, I receive the following error:
 

ncvhdl_p: *E,SELLIB (../ref_design_xebp1_64.vhd,72|10): unit (VCOMPONENTS) not found in library (UNISIM).

 
The libraries are correctly declared in the cds.lib file.

I have declared the library as follows:
 

use UNISIM.ALL;
use UNISIM.Vcomponents.ALL;

 
I do not have this issue with any other Simulator.

What is causing the problem?
 

Solution


During elaboration with NCSim, the "-lib_binding" switch is required. 

This switch allows NCSim to perform a typical library search order.

This search allows NCSim to find the UNISIM library which contains your primitive.
 
To add this switch, check the "Add other options" box during NCSim and then add "-lib_binding".
 
Alternatively, you can try using the "-relax" switch for NCSim. 

This switch provides a "catch all" method for binding primitives instantiated in your RTL.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
58890 Xilinx Simulation Solution Center - Design Assistant - Third Party Simulators - Cadence IES N/A N/A
AR# 40023
Date Created 01/12/2011
Last Updated 01/20/2015
Status Active
Type General Article