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: 
Participant rdelario
Participant
26,797 Views
Registered: ‎06-27-2008

ModelSim ERROR: unisim.vcomponents

 

 Hi,

 

I have these lines in my code:

library UNISIM;
use UNISIM.Vcomponents.ALL

 

and when I tried to vcom the vhd file that has that code in modelsim, I got this error:

 

# ** Error: (vcom-11) Could not find unisim.vcomponents.
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(27): (vcom-1195) Cannot find expanded name: 'unisim.vcomponents'.
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(27): Unknown record element "vcomponents".
# ** Error: ./../rtl/rtl_reorg/psa_d/psa_core/clock_gen/dll_div_s3e.vhd(30): VHDL Compiler exiting

 

any idea how to resolve this??

 

many thanks

0 Kudos
9 Replies
Participant rdelario
Participant
26,796 Views
Registered: ‎06-27-2008

Re: ModelSim ERROR: unisim.vcomponents

nevermind this...

I found it out... just had to copy all unisim vhd files to unisim directory of modelsim, and compile them separately...

0 Kudos
Visitor krzysiu-m
Visitor
24,287 Views
Registered: ‎11-19-2008

Re: ModelSim ERROR: unisim.vcomponents

hi

 

I have found the same problem as you discover. I read your solution but i dont' understand it. can you describe useing more detail exactly what files, from where and what is destination files to copy this things.

 

best regards

 

0 Kudos
Participant rdelario
Participant
24,278 Views
Registered: ‎06-27-2008

Re: ModelSim ERROR: unisim.vcomponents

you can find unisim files in your Xilinx installation directory, in my case:

C:\Xilinx\webpack10.1\ISE\vhdl\src\unisims

 

what I did was, I copied those necessary files to my simulation directory.  then, your modelsim .do file will have to compile them:

 

 

vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/unisim_vcomp.vhd}

  vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/unisim_VPKG.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/bufg.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/ibufg.vhd}
   vcom -93 -explicit -reportprogress 300 -work unisim  {./XilinxCoreLib/dcm_sp.vhd}

 

give that a try...

cheers

0 Kudos
Visitor gortipavan
Visitor
23,759 Views
Registered: ‎01-02-2009

Re: ModelSim ERROR: unisim.vcomponents

Hello all...

 

 I am having the same problem as below.can anyone tell me how to get rid of this?

0 Kudos
Visitor gortipavan
Visitor
23,757 Views
Registered: ‎01-02-2009

Re: ModelSim ERROR: unisim.vcomponents

hello all...

 

I am having te same problem as below.Can anyone tell me how to get rid of it?

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
23,752 Views
Registered: ‎01-03-2008

Re: ModelSim ERROR: unisim.vcomponents

Copying the simulation library files to your working directory isn't the best way.  Instead you should run the compxlib program to compile the libraries correctly for your simulator.  More information can be found here:

http://www.xilinx.com/itp/xilinx10/isehelp/pp_p_process_compile_hdl_simulation_libraries.htm

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor gortipavan
Visitor
23,735 Views
Registered: ‎01-02-2009

Re: ModelSim ERROR: unisim.vcomponents

Than you very much...that helped!
0 Kudos
Visitor rameshr1987
Visitor
22,606 Views
Registered: ‎03-09-2009

Re: ModelSim ERROR: unisim.vcomponents

 Hi,

 

I have these lines in my code:

library UNISIM;
use UNISIM.Vcomponents.ALL

 

and when I tried to vcom the vhd file that has that code in modelsim, I got this error:

 

# ** Error: des.vhd(20): Library unisim not found.
# ** Error: des.vhd(21): (vcom-1136) Unknown identifier "unisim".
# ** Error: des.vhd(23): VHDL Compiler exiting
# ** Error: d:/win32xoem/vcom failed.

 

how to solve this errors?

please reply me

0 Kudos
Newbie hakim_15
Newbie
16,344 Views
Registered: ‎05-20-2011

Re: ModelSim ERROR: unisim.vcomponents

 

thank you so much

0 Kudos