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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
4,541 Views
Registered: ‎05-21-2009

Using UNISIM components in Questa

Jump to solution

Hi guys,

 

I'm having some issues with Questa Sim. I'm trying to simulate a design with BUFG and DCM components. The following library declarations exist in my top level design as well as in my testbench:

 

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_unsigned.all ;
use IEEE.std_logic_textio.all; 
use std.textio.all ;



library UNISIM;
use UNISIM.all;
use UNISIM.vcomponents.all;

 

However, I get the following errors when synthesizing in Questa:

 

"Identifier "BUFG" is not directly visible." and "Identifier "DCM_BASE" is not directly visible."

 

The UNISIM library is available and compiled in Questa (I see it under the libraries-tab). Why are these components not directly visible? I have an ICAP instantiates as well and this seem to simulate correctly. What am I doing wrong?

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
5,784 Views
Registered: ‎07-16-2008

Re: Using UNISIM components in Questa

Jump to solution

Try removing "use UNISIM.all".

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
5,785 Views
Registered: ‎07-16-2008

Re: Using UNISIM components in Questa

Jump to solution

Try removing "use UNISIM.all".

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Explorer
Explorer
4,529 Views
Registered: ‎05-21-2009

Re: Using UNISIM components in Questa

Jump to solution
Hi graces, Thanks a lot! That worked like a charm. Why did that cause a problem? Are the component-libraries included multiple times by UNISIM.all and UNISIM.vcomponents? Why can't I just include UNISIM.all since vcomponents are inluded by "alll"?
0 Kudos